This library makes controlling and monitoring switches over MQTT easy.
You can use this library to easily control a digital pin, RGB light or any other kind of switch.
The library comes with a number of example sketches. See File > Examples > MQTTSwitch within the Arduino IDE.
Documentation can be found in the wiki.
This code has been unit tested using virtualised Arduino hardware, ensuring that any reading and writing of digital pins has been verified to work.
Additionally, a virtual MQTT client was used to verify the behaviour of this library. The tests can be found in the tests folder.
Code coverage is shown in the badge below the library name, and can be further inspected at the Coveralls.io repo page
Bug reports can be reported using the Issues List. Please start your title with [Bug]
to help keep things organised.
Feature requests can be submitted using the Issues List. Please start your title with [Feature]
to help keep things organised.
This code is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License.