Skip to content

MQTT reader

1

The MQTT reader node acts as a listener for information coming from the MQTT broker. It subscribes to a specific mqtt path (topic) and monitors it for updates. Whenever a new value is published to that topic, the node captures the payload and triggers the onChange event.

When to use this node: * Sensor Integration: Receiving data from external Wi-Fi sensors, such as temperature, motion, or contact sensors. * Inter-Device Communication: Listening for triggers sent by secondary controllers or third-party hardware in the room. * Status Monitoring: Keeping track of the current state of smart devices (e.g., checking if a light is already on).

Pro Tip: Enable convert UTF8 if you are expecting text-based messages from modern IoT devices to ensure special characters and symbols are parsed correctly within ERGS.

Connectors out

  • topic [type: variant]
  • payload [type: variant]
  • onChange [type: action]

Node properties

  • convert UTF8 [type: bool]
  • mqtt path [type: string]
  • MQTT QoS [type: integer]
  • MQTT retain [type: bool]
  • name [type: string]