-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Welcome to the trunk-recorder-node-red-stats wiki!
- Download and Import trunk-recorder-node-red-dashboard.json into node-red
-
Goto
Block and enter the MQTT Server Details by clicking on the pencil next to "Local MQTT Server"
-
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.
-
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
-
Once all setting are correct hit the
button in the top right hand corner
-
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
in the top right hand corner
-
Goto the
Block and double click on it.
-
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!!
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'
},
},