2019-01-18, 02:46 PM
Hi,
I've updated to OpenPlotter 1.2.0 alpha... (Haven't tested the bellow in earlier versions so I don't know if version matters)
I'm trying to have the SignalK server subscribe to an MQTT topic (I'm just testing for the moment)
I have an (several in fact but in this case I focus on one only) ESP8266 publishing ambient temperature to the OpenPlotter MQTT server (Mosquitto?) every 2 seconds (remember - just testing functionality) and I would like to have this inserted to the SignalK key environment.outside.temperature (I've selected the Type: "Signal K key input")
I open the MQTT tab in OpenPlotter and try to add an MQTT Topic (the topic my test set-up publish to is boat/temperature) but apparently the "/" is not an allowed character (allowed is 0..9, a..z, A..Z).
(The MQTT server handles all my different multilevel topics fine - it is just the OpenPlotter MQTT <-> SignalK "thing" that I can't get my head around)
Am I understanding this wrongly ? It would be quite clumsy if I have to make my MQTT topic structure absolutely flat (i.e. no "/").....
I know that this is a bad example and I should probably go for a direct UDP message to the SignalK server but I would expect it to work over MQTT as well .
Do I have to go via NodeRed? I can of course use NodeRed could insert data to an SignalK key....
Am I understanding the functionality wrongly or is this a bug (?feature?) ??
/Lars
I've updated to OpenPlotter 1.2.0 alpha... (Haven't tested the bellow in earlier versions so I don't know if version matters)
I'm trying to have the SignalK server subscribe to an MQTT topic (I'm just testing for the moment)
I have an (several in fact but in this case I focus on one only) ESP8266 publishing ambient temperature to the OpenPlotter MQTT server (Mosquitto?) every 2 seconds (remember - just testing functionality) and I would like to have this inserted to the SignalK key environment.outside.temperature (I've selected the Type: "Signal K key input")
I open the MQTT tab in OpenPlotter and try to add an MQTT Topic (the topic my test set-up publish to is boat/temperature) but apparently the "/" is not an allowed character (allowed is 0..9, a..z, A..Z).
(The MQTT server handles all my different multilevel topics fine - it is just the OpenPlotter MQTT <-> SignalK "thing" that I can't get my head around)
Am I understanding this wrongly ? It would be quite clumsy if I have to make my MQTT topic structure absolutely flat (i.e. no "/").....
I know that this is a bad example and I should probably go for a direct UDP message to the SignalK server but I would expect it to work over MQTT as well .
Do I have to go via NodeRed? I can of course use NodeRed could insert data to an SignalK key....
Am I understanding the functionality wrongly or is this a bug (?feature?) ??
/Lars