This is an adapter for the Mozilla WebThings Gateway that allows it to connect to MySensors devices.
MySensors is an Arduino framework that makes it easy to create your own smart devices, such as sensors for your smart home. They are generaly connected wirelessly, and can form a mesh network together, allowing the network to reach further. https://www.mysensors.org
This adapter connects your MySensors network to the Mozilla WebThings Gateway, which is an open source smart home controller built by the Mozilla Foundation. You might know them from the Firefox webbrowser. It allows you to control devices in your home, log their data, and create home automations. It has an easy to user interface. https://github.com/mozilla-iot/gateway
This adapter is built on top of the pyMySensors library by Theo Lind. This great library does the heavy lifting, and turns messages from the network into an easy to use stream of updates. This adapter turns that stream of messags into devices in the gateway. https://github.com/theolind/pymysensors
It was created as part of the Candle project, which aims to create a prototype of a smart home that is much more privacy friendly that existing solutions. It's goal is to show that you can have a home that is both smart and privacy friendly. https://www.createcandle.com
This is beta code. It currently supports most sensor inputs, as well as most actuators.
Missing or just partially implemented are:
- Thermostat/HVAC devices. The Gateway does not support them yet.
- IR sender/receiver
Version 0.0.2 added the ability to select different radio gateways (serial, ethernet, MQTT), and had some improvements to property support.
Version 0.0.3 adds persistence, in the sense that handed out node ID's are remembered.
Version 0.0.4 makes persistance selectable, and adds the ability to send a discover command to all nodes so that they re-present themselves. This is done at start and when the user clicks on the (+) button. It also improves the temperature property's presentation.
Version 0.0.5 improves type support, implements smarter device removal, makes persistance work as you'd expect (recreates nodes as soon the gateway is restarted), and better implements capabilities support from the Mozilla IoT schema.
Version 0.0.6 added a debug option.
Version 0.0.7 fixed an issue where prefered capability to be centrally displayed was forgotton when the add-on restarted. Also removes the persistence option, and replaces it with the option to show a device as connected only after receiving a signal from it.
Version 0.0.8 made reading the configuration more robust, but introduced a bug.
Version 0.0.9 removed that bug, and then turned into:
Version 0.1.0 rewrote how persistence works in an attempt to fix an issue a user was having.
Version 0.1.1 tried to anticipate small changes in the upcoming version (0.9) of the WebThings gateway.
Version 0.1.2 added automatic serial port searching, and implemented support for multipleOf. The latter should help show a sane amount of decimals on numeric variables.