OpenMarine

Full Version: MQTT publish to openplotter server
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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 !
Did you check https://github.com/tkurki/signalk-mqtt-g.../README.md ?

How have you configure the plugin now?


Sent from my iPhone using Tapatalk
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).
[attachment=516]

Thanks for your help.
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...ter/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...lowPiZeroW 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

[Image: PiZeroFlow.png]
(2019-08-26, 03:22 PM)tkurki Wrote: [ -> ]Did you check https://github.com/tkurki/signalk-mqtt-g.../README.md ?

How have you configure the plugin now?


Sent from my iPhone using Tapatalk

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