/MQTTSwitch

Easily control and update the state of switches via MQTT

Primary LanguageC++OtherNOASSERTION

MQTTSwitch

Build Status Coverage Status

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.

Examples

The library comes with a number of example sketches. See File > Examples > MQTTSwitch within the Arduino IDE.

Documentation can be found in the wiki.

Testing

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

How to Contribute

Bug Reports

Bug reports can be reported using the Issues List. Please start your title with [Bug] to help keep things organised.

Feature Requests

Feature requests can be submitted using the Issues List. Please start your title with [Feature] to help keep things organised.

Licence

This code is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License.