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.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
MQTT publish to openplotter server
#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, as you found out earlier using the Signal K to Prometheus Plugin.

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

[Image: PiZeroFlow.png]
Reply


Messages In This Thread
MQTT publish to openplotter server - by juancho38 - 2019-08-26, 10:36 AM
MQTT publish to openplotter server - by tkurki - 2019-08-26, 03:22 PM
RE: MQTT publish to openplotter server - by JeroenAdam - 2019-08-29, 03:11 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)