MQTT Client Plugin
This plugin provides the ability to publish out any user defined variable to an MQTT Broker.
It is based on the code found here
This is my first plugin so odds are there will be some bugs although so far seems to be working fine.
This plugin is designed for use on systems running UI7.
Features
[ul][li]User defined Variables to watch[/li]
[li]User defined Device Alias which makes Logic much more intuitive and makes it easier when replacing devices
[/li][/ul]
MQTT Message Example
{"Payload":{"DeviceId":45,"OldOnOff":"1","OnOff":"0","Time":1453209965},"Topic":"Vera/Events/TestSocket"}
Installation and Configuration
[ul][li]Upload the attached files[/li]
[li]Create a new device with device_file set to D_SensorMqtt1.xml[/li]
[li]Set desired variable watches on the Watchdog tab[/li]
li Set desired Alias on the Alias tab[/li]
[li]Have fun[/li][/ul]
Dependencies
There are a few dependencies that should be copied to /usr/lib/lua folder
Source code