jvandenaardweg / homebridge-homewizard-energy-socket

This verified Homebridge plugin exposes your HomeWizard Energy Sockets to Apple HomeKit. So you can use the Home App to switch your Energy Sockets on or off and integrate the Energy Sockets into your Home Automations.
MIT License
8 stars 0 forks source link
apple apple-home apple-homekit home-automation homebridge homebridge-plugin homebridge-plugins homekit homekit-accessory homewizard homewizard-energy homewizard-energy-api homewizard-energy-socket

npm   github   github   github sponsor   mit license

Homebridge plugin for HomeWizard Energy Socket

This verified Homebridge plugin exposes your HomeWizard Energy Sockets to Apple HomeKit. So you can use the Home App to switch your Energy Sockets on or off and integrate the Energy Sockets into your Home Automations.

Features

This plugin does not provide a way to show the current power consumption of the Energy Sockets. This is a limitation of HomeKit and not of this plugin. I do however have a way to trigger automations based on the Outlet In Use characteristic.

Getting started

For Homebridge to communicate with your Energy Sockets, it is required to enable the "Local API" setting and disable the "Switch lock" setting from within the HomeWizard Energy App. You must do this for each Energy Socket you want to expose in the Home App. It is also advised to use DHCP Reservations for each Energy Socket in your network to improve reliability.

1. Enabling the Local API setting and disable the Switch lock setting

  1. Open your HomeWizard Energy app
  2. Go to settings and choose "Meters"
  3. Tap on each Energy Socket you want to use and follow step 4 and 5
  4. Enable the "Local API" setting
  5. Disable the "Switch lock" setting

More on this on the HomeWizard support page: Integrating Energy with other systems (API)

2. Installation of the plugin bridge

This package is published on NPM, so available on the Homebridge plugin page

  1. Go to your Homebridge UI and click on "Plugins"
  2. Search for homebridge-homewizard-energy-socket and select the plugin Homebridge HomeWizard Energy Socket from @jvandenaardweg and click "Install"
  3. On the plugin Settings, set the name you want to use for this plugin, or leave it empty to use the default. Click Save.
  4. Click the little QR code icon for the plugin and enable the bridge. Save it and restart Homebridge.
  5. After restarting Homebridge, click the QR code icon again and scan the QR code with your iPhone using the Home App. This will add the plugin bridge to your Home App.
  6. Your Energy Sockets should now be available to configure in the Home App

Make sure to read this Wiki article about Identifying the Energy Socket in the Home App

Troubleshooting

By default the plugin will automatically discover the Energy Sockets in your network that have the "Local API" setting enabled using Multicast DNS. Multicast DNS is a feature of all routers. So unless you have changed these settings specifically, or using multiple different LAN networks, there should be no need to change any settings for this. It should just work.

More on this in the HomeWizard API documentation about Discovery.

If no Energy Sockets could be found, maybe this could help:

Still experience an issue? Please open an issue on GitHub.