This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MQTT publish to openplotter server
#1
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 !
  Reply
#2
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
  Reply
#3
Music 
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.
  Reply
#4
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, you can find

Result: https://www.youtube.com/watch?v=Q_b3sqklpFo

[Image: PiZeroFlow.png]
  Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)