Skip to content

5. Rocrail Configuration

Chris edited this page Aug 29, 2022 · 10 revisions

Rocrail configuration settings to work with Roc-MQTT-Display

These are the basic setup steps to enable an MQTT controller in Rocrail.
A Demo Workspace with the following settings is here: https://github.com/chrisweather/RocMQTTdisplay/tree/main/demo

File / Rocview Properties...

Enable 'UTF-8'

Rocrail Enable UTF-8

File / Rocrail Properties...

Hostname: Enter here the IP address of your MQTT Broker

Rocrail MQTT IP

File / Rocrail Properties...

Define an MQTT Controller

Rocrail MQTT Controller

MQTT Controller Properties, Address: Enter here the IP address of your MQTT Broker

Rocrail MQTT Props

Tables / Text...

Create a new text field

This text field will be updated by the different activities like Actions in Rocrail. The text field is mapped to the MQTT controller. So every change in this field will trigger a MQTT message.

Rocrail MQTT IP

Rocrail MQTT IP

Tables / Actions...

Create an Action

This is an example for an Action in Rocrail to send a message to a display.

Rocrail MQTT IP