I'm developing an add-on for the excellent Mozilla WebThings Gateway that will allow MySensors devices to work with it.
THE MOZILLA WEBTHINGS GATEWAY
This smart home software, made by the people behind Firefox, focuses on being very user friendly. Here are my MySensors devices in the things overview:
You can also log data with it:
Developing an add-on for the Gateway has been relatively easy (I'm not a great programmer at all). The code can be found here:
It's based on the excellent work on pyMySensors by Theo Lind, as well as the example add-on created by Michael Stegeman, who works for Mozilla. Thanks to both!
In the future it should only take a few click in the interface.
For now, you can test it like this:
- Grab the Mozilla Webthings image and burn in to an SD card. Insert it into a Raspberry Pi, and connect to the new Wifi Network. Follow the steps.
- Enable SSH (under settings) and log into the device.
- Download the code via Github:
git clone https://github.com/createcandle/Webthings-mysensors-adapter.git
You can now go into the Mozilla Gateway interface, wait 30 seconds for the devices to be populated in the add-on, and press the (+) on the things page. You should see the found devices.
This is work in progress. Fully supported are things like:
- motion, smoke, door, binary, lock
- temperature, humidity, barometer, air quality
- various others, but those have not all been tested yet. Feedback is welcome on the github issue que, but first please check if your sensor type is enabled at the bottom of this file.
The name might still change. In that case the links will be updated.