0.41.3 • Published 20 days ago

homebridge-homeconnect v0.41.3

Weekly downloads
332
License
ISC
Repository
github
Last release
20 days ago

homebridge-homeconnect

npm npm npm Build and Lint verified-by-homebridge

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

  1. Connect your home appliances with Home Connect:
    1. Install Home Connect from the Apple App Store for your country (e.g. UK or USA).
    2. 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.
    3. Connect the appliances to your home network, either via the app or using Wi-Fi Protected Setup (WPS).
    4. Connect the appliances to the app (by following the installation guide provided with the appliance).
  2. 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

  1. Sign-up for a free Home Connect Developer Program account and login.
  2. 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
  3. 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
  4. Copy and save the displayed Client ID; it will be required to configure this plugin.
  5. Wait 15 minutes for changes to the application to be deployed to the Home Connect authorisation servers.

Step 3(a) - Homebridge Plugin Installation (recommended approach using Homebridge UI)

  1. On the Homebridge UI Plugins page search for and install the HomeConnect plugin.
  2. 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.
  3. Click on the AUTHORISE button to open a new Home Connect browser window. Login to your Home Connect account and approve access.
  4. Save the plugin settings and restart Homebridge.

Step 3(b) - Homebridge Plugin Installation (alternative method using command line)

  1. Install this plugin using: npm install -g homebridge-homeconnect
  2. Edit config.json and add the HomeConnect platform (see example below).
  3. Run (or restart) Homebridge.
  4. 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. See config.json for a description of all supported configuration options.

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.

Cooking Appliances

  • 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.

Cleaning Appliances

  • 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.

Cooling Appliances

  • 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

Report any issues on GitHub.

Before raising an issue please check whether it relates to an expected error message and whether any similar issues already exist. If the issue relates to a problem connecting to the Home Connect servers or with controlling an appliance then please also:

  • Using the official Home Connect app:
    • Confirm that the appliance can be properly controlled as expected.
    • Open the appliance Settings, scroll to the Network section, and verify that all three lines (for the links between the appliance, cloud, and phone) and green.
  • Check the Home Connect Server Status. Home Connect Server Status

Please attach the relevant section of the Homebridge log file, either pasted into the issue or attached as a text file (not a screenshot). Extra debug should be enabled and captured if appropriate:

  • Homebridge debug logging: Start Homebridge with the -D option to capture the debug level messages. Alternatively, set the Log Debug as Info debug option in the plugin's config.json configuration. These are used by this plugin to log basic information about each request to the Home Connect servers (but not the actual contents of the requests or responses) and other internal state. Please enable this for any issues that involve problems connecting to the Home Connect servers, API errors, or other problems with appliance state or control.
  • Home Connect API logging: Set Log API Bodies in the plugin's config.json configuration, and capture debug logging as described above. Please enable this for any issues relating to the Home Connect API.
  • HomeKit Accessory Protocol (HAP) logging: Setting the DEBUG=* environment variable before starting Homebridge results in verbose logging of all HAP-NodeJS HomeKit exchanges. Please enable this for any issues that involve problems controlling appliances from HomeKit or Siri.

License

ISC License (ISC)Copyright © 2019-2024 Alexander Thoukydides

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.

0.41.3

20 days ago

0.41.2

22 days ago

0.41.1

29 days ago

0.41.0

1 month ago

0.40.1

2 months ago

0.40.0

2 months ago

0.39.1

2 months ago

0.38.0

3 months ago

0.37.12

3 months ago

0.39.0

2 months ago

0.37.11

3 months ago

0.37.10

3 months ago

0.37.9

3 months ago

0.37.8

3 months ago

0.37.7

3 months ago

0.37.6

3 months ago

0.37.3

3 months ago

0.37.5

3 months ago

0.37.4

3 months ago

0.37.2

3 months ago

0.37.1

3 months ago

0.37.0

3 months ago

0.36.0

3 months ago

0.34.2

3 months ago

0.34.1

3 months ago

0.34.0

3 months ago

0.35.0

3 months ago

0.33.1

3 months ago

0.33.0

3 months ago

0.32.0

4 months ago

0.31.0

4 months ago

0.30.2

4 months ago

0.30.1

4 months ago

0.30.0

5 months ago

0.29.8

5 months ago

0.29.7

7 months ago

0.29.6

8 months ago

0.29.5

9 months ago

0.29.4

9 months ago

0.29.0

11 months ago

0.29.3

11 months ago

0.29.2

11 months ago

0.29.1

11 months ago

0.28.0

1 year ago

0.27.0

1 year ago

0.26.3

1 year ago

0.26.2

1 year ago

0.26.1

2 years ago

0.26.0

2 years ago

0.25.0

2 years ago

0.24.5

2 years ago

0.24.6

2 years ago

0.24.4

2 years ago

0.24.3

2 years ago

0.24.2

2 years ago

0.23.8

2 years ago

0.24.1

2 years ago

0.24.0

2 years ago

0.23.6

2 years ago

0.23.5

2 years ago

0.23.4

2 years ago

0.23.7

2 years ago

0.23.3

3 years ago

0.23.2

3 years ago

0.23.1

3 years ago

0.23.0

3 years ago

0.22.0

3 years ago

0.21.0

3 years ago

0.20.0

3 years ago

0.19.2

3 years ago

0.19.1

3 years ago

0.19.0

3 years ago

0.18.3

3 years ago

0.18.2

4 years ago

0.18.1

4 years ago

0.18.0

4 years ago

0.17.3

4 years ago

0.17.2

4 years ago

0.17.1

4 years ago

0.17.0

4 years ago

0.16.9

4 years ago

0.16.8

4 years ago

0.16.7

4 years ago

0.16.5

4 years ago

0.16.6

4 years ago

0.16.4

4 years ago

0.16.3

4 years ago

0.16.2

4 years ago

0.16.1

4 years ago

0.16.0

4 years ago

0.15.0

4 years ago

0.14.0

4 years ago

0.13.0

4 years ago

0.10.0

4 years ago

0.11.0

4 years ago

0.10.1

4 years ago

0.12.0

4 years ago

0.9.1

4 years ago

0.9.0

4 years ago

0.8.0

4 years ago

0.7.0

4 years ago

0.6.0

4 years ago

0.5.0

4 years ago

0.4.0

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago