MQTT publish to openplotter server - Printable Version +- OpenMarine (https://forum.openmarine.net) +-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1) +--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3) +--- Thread: MQTT publish to openplotter server (/showthread.php?tid=1958) |
MQTT publish to openplotter server - juancho38 - 2019-08-26 Hi, I would like to be able to get some signalK datas through MQTT. I tried tp configure MQTT (openplotter interface). I can connect to my MQTT openplotter server from a application (MQTT Dash), but I can not get any configured topics ... I must miss something. Or is it that MQTT plugin is only to publish to external MQTT server ? Thanks for any help ! MQTT publish to openplotter server - tkurki - 2019-08-26 Did you check https://github.com/tkurki/signalk-mqtt-gw/blob/master/README.md ? How have you configure the plugin now? Sent from my iPhone using Tapatalk RE: MQTT publish to openplotter server - juancho38 - 2019-08-26 Thanks for your reply ! Yes, I checked the git page ... But I don't have SignalK MQTT plugin config page for it. Should I install it ? Wouldn't it mess with openplotter built-in function ? I did not install yet SignalK MQTT plugin, I went through the openplotter setting app (see attached picture). Thanks for your help. RE: MQTT publish to openplotter server - JeroenAdam - 2019-08-29 I'm currently sending 3 data streams from Signal K Node Red to a 2nd Pi Zero using MQTT. How I did: - activate local MQTT server using OpenPlotter GUI - import my small flow https://github.com/JeroenAdam/IoT-aboard/blob/master/flowOP into Signal K Node Red and add the user/password in the security tab (only once, on one flow), you'll need to know the Signal K paths on your server, for that you can use an optionall API endpoint http://10.10.10.1:3000/signalk/v1/api/prometheus , this is the new (optional) Signal K to Prometheus Plugin, install it first. - import my flow https://github.com/JeroenAdam/IoT-aboard/blob/master/flowPiZeroW into the Pi Zero Node Red and add the user/password in the security tab (only once, on one flow), you'll see it's configured to connect to the broker 'OpenPlotter' on IP 10.10.10.1. Fyi, the data is outputted to a bright LED matrix, that is the goal of it. - I also have a mini router running OpenWRT which sends MQTT messages to the Pi Zero on a button press, it fonctions as a remote control to cycle the display trough the views The MQTT topics have to be inputted correctly of course, as you found out earlier using the Signal K to Prometheus Plugin. Result: https://www.youtube.com/watch?v=Q_b3sqklpFo RE: MQTT publish to openplotter server - BartStevens - 2020-01-12 (2019-08-26, 03:22 PM)tkurki Wrote: Did you check https://github.com/tkurki/signalk-mqtt-gw/blob/master/README.md ? Dear Tkurki, Good evening. I have an Arduino set up to send Temp (via Wifi) to Signal K. Am able to configure a Connection in OP2. I installed the Node Red plugin (via SignalK app store) But now I do not know what the next steps are ... (I just want to see the temp in a dashboard (created via Node Red), nothing more. I can not find the next steps (knowing that I'm a newbie) in the forum (expect this one) Hope you can help with some pointers. Best, Bart |