Skip to content
An adapter that connects MySensorsdevices to the Mozilla Webthings Gateway
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pkg
.gitignore Install dependencies on device. Apr 25, 2019
LICENSE
README.md Update README.md Jul 16, 2019
bootstrap.py Add files via upload Jul 16, 2019
main.py Install dependencies on device. Apr 25, 2019
mysensors-adapter-0.0.1.tgz Added .tgz file of version 0.0.1 Apr 25, 2019
mysensors-adapter-0.0.2.tgz 0.0.2 May 1, 2019
mysensors-adapter-0.0.3.tgz
mysensors-adapter-0.0.4.tgz 0.0.4 May 12, 2019
mysensors-adapter-0.0.5.tgz Version 0.0.5 May 23, 2019
mysensors-adapter-0.0.6.tgz 0.0.6 May 31, 2019
mysensors-adapter-0.0.7.tgz 0.0.7 Jun 10, 2019
mysensors-adapter-0.0.8.tgz 0.0.8 Jun 18, 2019
mysensors-adapter-0.0.9.tgz 0.1.0 Jun 20, 2019
mysensors-adapter-0.1.0.tgz Version 0.1.0 Jun 20, 2019
mysensors-adapter-0.1.1.tgz 0.1.1 Jun 23, 2019
mysensors-adapter-0.1.2.tgz 0.1.2 Jul 16, 2019
package.json 0.1.2 Jul 16, 2019
package.sh Install dependencies on device. Apr 25, 2019
requirements.txt
setup.cfg First alpha version Apr 22, 2019

README.md

MySensors-adapter

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

Status

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.

You can’t perform that action at this time.