HomeKit support for Belkin Wemo devices using HomeControl
Switch branches/tags
Nothing to show
Clone or download
Latest commit ac655bb Dec 29, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE initial commit Dec 23, 2017
README.md update README Dec 30, 2017
main.go update power consumption when the switch state changes Dec 30, 2017

README.md

wemo-homecontrol

HomeKit support for Wemo devices using HomeControl.

Currently this service only supports Wemo (outlet) switches and light switches. If it is a newer "insight" switch, power consumption is reported with characteristics that are compatible with the Elgato Eve app.

Once the device is paired with your iOS Home app, you can control it with any service that integrates with HomeKit, including Siri ("Turn off the Christmas tree") and Apple Watch. If you have a home hub like an Apple TV or iPad, you can control the device remotely.

Installing

The tool can be installed with:

go get -u github.com/joeshaw/wemo-homecontrol

Then you can run the service:

wemo-homecontrol

The service will search for Wemo devices on your local network at startup, and even every 30 seconds afterward.

To pair, open up your Home iOS app, click the + icon, choose "Add Accessory" and then tap "Don't have a Code or Can't Scan?" You should see the Leaf under "Nearby Accessories." Tap that and enter the PIN 00102003. You should see one entry appear for each Wemo device on your network.

Contributing

This code is fairly hacky, with some hardcoded values like timeouts. It also has limited device support.

Issues and pull requests are welcome. When filing a PR, please make sure the code has been run through gofmt.

License

Copyright 2017 Joe Shaw

wemo-homecontrol is licensed under the MIT License. See the LICENSE file for details.