Saturday, November 5, 2016

MQTT functions

The MQTT portion of gateway is now supporting following:
  • Publish of any sensor that is connected to it.
  • Subscribe and pass messages to any input.
  • Subscribe to send SMS messages to contacts listed in contact list.
There is simple panel, screenshot on right picture, allowing you to set the MQTT server IP address and it's port, and enable or disable this function globally.

This means that if you have a MQTT gateway running, you can setup further any automation you like. There can be:
  • Domoticz or any Home Automation System connected, all of them allows MQTT.
  • Any mobile device gateway for MQTT like MQTT dashboard on Android. Where you can in minutes create buttons, dials, or switches to trigger actions on your nodes, like in the picture on left.
  • NodeRed an excellent piece of software for more advanced automation system. I use it for logging sensor values to database.
MQTT topic for subscribe is: OHS/#
And gateway listens on: OHS/In/#

No comments:

Post a Comment