homebridge-homeconnect
v1.2.3
Published
Home Connect home appliances plugin for Homebridge
Downloads
4,294
Maintainers
Readme
homebridge-homeconnect
Home Connect home appliances plugin for Homebridge.
Home Connect, Balay, Bosch, Constructa, Gaggenau, NEFF, Pitsos, Profilo, Siemens, and Thermador, are trademarks of BSH Home Appliances.
Installation
Step 1 - Setup Home Connect Appliances
- Connect your home appliances with Home Connect:
- Install Home Connect from the Apple App Store for your country (e.g. UK or USA).
- Create an account using your email address, click on the validation link in the email that will be received, and then return to the app and login.
- Connect the appliances to your home network, either via the app or using Wi-Fi Protected Setup (WPS).
- Connect the appliances to the app (by following the installation guide provided with the appliance).
- If you are using a legacy Home Connect account then also create a SingleKey ID using the same email address, ensuring that it is all in lowercase. Verify that the SingleKey ID works in the Home Connect app.
Step 2 - Obtain a Home Connect Client ID
- Sign-up for a free Home Connect Developer Program account and login.
- Register a new application, ensuring that
- OAuth Flow is set to Device Flow
- Home Connect User Account for Testing is the same as the SingleKey ID email address
- Redirect URI is left blank
- Enable One Time Token Mode is not ticked
- Sync to China is ticked if you are located within China, otherwise leave it not ticked
- If the application is subsequently edited then additionally ensure that:
- Forces the usage of PKCE is not ticked
- Status is Enabled
- Client Secret Always Required is No
- Copy and save the displayed Client ID; it will be required to configure this plugin.
- Wait 15 minutes for changes to the application to be deployed to the Home Connect authorisation servers.
Step 3 - Homebridge Plugin Installation
Recommended approach using Homebridge UI
- On the Homebridge UI Plugins page search for and install the HomeConnect plugin.
- Open the HomeConnect plugin settings and set the Client ID to the value obtained from the Home Connect Developer Program for the created Device Flow application.
- If you are located within China then set the Server Location to China, otherwise leave it as Worldwide.
- Click on the AUTHORISE button to open a new Home Connect browser window. Login to your Home Connect account and approve access.
- Save the plugin settings and restart Homebridge.
Installation using Command Line
- Install this plugin using:
npm install -g homebridge-homeconnect
- Edit
config.json
and add the HomeConnect platform (see example below). - Run (or restart) Homebridge.
- The Homebridge log output will include an authorisation URL. Copy the listed URL into a web browser, login to your Home Connect account, and approve access.
Example config.json
{
"platforms":
[{
"platform": "HomeConnect",
"clientid": "0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF0123456789ABCDEF"
}]
}
The clientid
should be set to the Client ID obtained from the Home Connect Developer Program for the created Device Flow application.
Additional configuration is recommended to customise the appliance programs, and to select optional features. The easiest way to configure this plugin is via the Homebridge UI configuration editor. This plugin implements a custom user interface that dynamically updates with the appropriate options for the connected appliances. Manual configuration via the config.json
file is possible, but not recommended.
Appliance Support
This plugin supports most capabilities of the Home Connect API that can be sensibly mapped to Apple-defined HomeKit services and characteristics. More details can be found in the functionality summary.
Apple's Home app does not support all of the features of this plugin. Some third-party HomeKit apps are recommended due to their extra functionality.
CoffeeMaker:
- Switch on/off, start/stop programs with preset options, and turn cup warmer on/off.
- Control child lock.
- Monitor door, program time remaining, remote control, and general operation status.
- Automation triggers for bean container empty, water tank empty, drip tray full, milk requires cooling, and for when cleaning/descaling is needed.
CookProcessor:
- Switch on/off.
- Monitor program time remaining and general operation status.
- Automation triggers for finished and aborted.
Hob:
- Control alarm clock and child lock.
- Monitor power, remote control, and general operation status.
- Automation triggers for finished, alarm clock finished, and preheat finished.
Hood:
- Switch on/off.
- Switch fan on/off, set fan speed/intensive levels, and select manual/auto mode.
- Switch functional light on/off, change brightness, and select colour temperature.
- Switch ambient light on/off, change brightness, and select colour.
- Monitor remote control and general operation status.
- Automation triggers for finished, grease filter nearly saturated, and grease filter saturated.
Oven:
- Switch on/off and start/stop programs with preset options.
- Open or partly open the door.
- Set sabbath mode.
- Control alarm clock and child lock.
- Monitor door, programs, program time remaining, remote control, and general operation status.
- Automation triggers for finished, aborted, alarm clock finished, fast preheat finished, and regular preheat finished.
WarmingDrawer:
- Switch on/off and start/stop programs with preset options.
- Control child lock.
- Monitor remote control and general operation status.
CleaningRobot:
- Switch on/off and start/stop programs with preset options.
- Monitor battery level, battery charging, dock, and general operation status.
- Automation triggers for finished, aborted, dust box full, stuck, and lost.
Dishwasher:
- Switch on/off and start/stop programs with preset options.
- Switch ambient light on/off, change brightness, and select colour.
- Control child lock.
- Monitor door, program time remaining, remote control, and general operation status.
- Automation triggers for finished, aborted, salt supply low, and rinse aid supply low.
Dryer:
- Start/stop programs with preset options.
- Control child lock.
- Monitor power, door, program time remaining, remote control, and general operation status.
- Automation triggers for finished, aborted, and drying finished.
Washer:
- Start/stop programs with preset options.
- Control child lock.
- Monitor power, door, program time remaining, remote control, and general operation status.
- Automation triggers for finished, aborted, i-Dos 1 fill level low, and i-Dos 2 fill level low.
WasherDryer:
- Start/stop programs with preset options.
- Control child lock.
- Monitor power, door, program time remaining, remote control, and general operation status.
- Automation triggers for finished, aborted, i-Dos 1 fill level low, i-Dos 2 fill level low, and drying finished.
Freezer / FridgeFreezer / Refrigerator:
- Set freezer/refrigerator super, eco, sabbath, refrigerator vacation, refrigerator fresh, and ice dispenser modes.
- Switch interior/exterior light on/off and change brightness.
- Open the door.
- Control child lock.
- Monitor power and door.
- Automation triggers for freezer/refrigerator door and freezer temperature alarms.
WineCooler:
- Set sabbath mode.
- Control child lock.
- Monitor power and door.
Changelog
All notable changes to this project are documented in the CHANGELOG.md
file.
Reporting Issues
If you have discovered an issue or have an idea for how to improve this project, please open a new issue using the appropriate issue template or start a discussion.
Pull Requests
This project does NOT accept pull requests. Any PRs submitted will be closed without discussion. For more details refer to the CONTRIBUTING.md
file.
ISC License (ISC)
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.