Skip to content
Sonic edited this page Dec 27, 2023 · 5 revisions

Welcome to the trunk-recorder-node-red-stats wiki!

  1. Download and Import trunk-recorder-node-red-dashboard.json into node-red

# MQTT Setup

  1. Goto image Block and enter the MQTT Server Details by clicking on the pencil next to "Local MQTT Server"

  2. On the Connection Tab change the Server Field to point to the IP/Hostname of your MQTT Server and the Port Field to the correct port your MQTT Server is listening on. image

  3. On the Security Tab change the Username and Password Fields to reflect the authentication login for your MQTT Server Note: If you don't use Authentication for your MQTT Server then this should be blank

  4. Once all setting are correct hit the image button in the top right hand corner

  5. Back in the MQTT Node change the Topic Field to the topic that you set in the MQTT Status Plugin. By Default it's "topic": "robotastic/feeds", in the plugin so you would enter robotastic/# into the topic field in node-red and click image in the top right hand corner

# Topic Setup

  1. Goto the image Block and double click on it.

  2. Change anything in here to what you put in the MQTT status Plugin By Default it's "topic": "robotastic/feeds", in the plugin so you would enter feeds/system or feeds/recorders etc into the topic field

Everthing should now work!!

# Persistent Data Storage Setup

For persistent data, it's recommended to save context storage to disk by editing the node-red settings.js:

     default: {
         module:"localfilesystem",
         config: {
             flushInterval: 60
        }
     },
     memoryOnly: {
         module: 'memory'
     },
 },

Clone this wiki locally