Belkin WeMo Platform plugin for the awesome Homebridge project.
- Wemo Switch
- Wemo Light Switch
- Wemo Insight Switch (on/off/in use only)
- Wemo Bulb (via Wemo Link - on/off/brightness)
- Wemo Maker
- Wemo Motion
- Wemo NetCam (Sensor)
- Install homebridge using:
npm install -g homebridge
- Install this plugin using:
npm install -g homebridge-platform-wemo
- Update your configuration file. See the sample below.
Recently refactored to increase speed of operation and update on/off/brightness status more reliably.
- npm update -g homebridge-platform-wemo
Configuration sample:
no_motion_timer
is optional, defaults to 60 and applies to WeMo Motion Only. It is a timer in seconds for how long after motion is not detected that the state is changed.
"platforms": [
{
"platform": "BelkinWeMo",
"name": "WeMo Platform",
"no_motion_timer": 60
}
]
The module will try and find all your WeMo Devices and make them available to HomeBridge / HomeKit / Siri. It will use the name you have set up with the Belkin app as the name used for Homekit and hence Siri so ensure your naming is distinct so poor Siri has some chance of getting you commands right. To change a name simply use the Wemo App on your smartphone and restart homebridge to pick up the changes.
The discovery process can be a little hit or miss with the Wemo platform so if all your devices are not discovered try restarting homebridge a few times and make sure all Lights (Bulbs) are on!
Update to increase the speed of status checking by persisting the WemoClient objects properly - work is in progress and may remove the necessity for the brute force crashing of homebridge if the expected number of devices isn't found.
Credit goes to
- Timon Reinhard for his awesome Wemo Client module and advise
- Andy Lindeman for the homebridge-smartthings that this is work is based on.
- David Parry for his contributions.
Published under the MIT License.