2018-06-09, 09:36 AM
Hi,
Must have understood something yet.
In openplotter MQTT.
Username and password set, so connect with Local Brocker.
Topic created:
topic "satellites" of type "General" and signal K key is "notification.satellites" Source "MQTT.satellites".
In openplotter actions.
Trigger created:
trigger "navigation.gnss.satellites.value" operator <10 and the action "Publish on topic: satellites" data as a test is string "Sattellites <10" repeat 1.0 seconds.
In Node Red.
MQTT input created:
The MQTT input from Node Red has the topic "satellites" and is linked to the MQTT local broker.
Debug Node msg.payload.
I assume that the local Brocker passes the action "topic.satellites" to the MQTT input of Node red.
But he probably does not, right?
Here is probably a mistake.
Must have understood something yet.
In openplotter MQTT.
Username and password set, so connect with Local Brocker.
Topic created:
topic "satellites" of type "General" and signal K key is "notification.satellites" Source "MQTT.satellites".
In openplotter actions.
Trigger created:
trigger "navigation.gnss.satellites.value" operator <10 and the action "Publish on topic: satellites" data as a test is string "Sattellites <10" repeat 1.0 seconds.
In Node Red.
MQTT input created:
The MQTT input from Node Red has the topic "satellites" and is linked to the MQTT local broker.
Debug Node msg.payload.
I assume that the local Brocker passes the action "topic.satellites" to the MQTT input of Node red.
But he probably does not, right?
Here is probably a mistake.