Skip to content

MQTT writer

2

The MQTT writer node is the primary tool for sending commands from ERGS to the MQTT broker. It "publishes" a value to a chosen mqtt path. This can happen automatically whenever the input value changes, or manually by triggering the send action.

When to use this node: * Hardware Control: Turning on external relays, motors, or custom-built Wi-Fi props. * Updating Dashboards: Sending game data to external monitoring tools or web interfaces. * Triggering Remote Events: Telling another instance of ERGS or a separate system to perform an action.

Technical Note: Use the MQTT retain property if you want the broker to store the last sent value and immediately provide it to any device that connects later.

Connectors in

  • send [type: action]
  • value [type: variant]
  • mqtt path [type: variant]

Node properties

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