OpenMarine
How to publish NMEA data to an external MQTT Broker - 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: How to publish NMEA data to an external MQTT Broker (/showthread.php?tid=3757)



How to publish NMEA data to an external MQTT Broker - Nettuno - 2021-10-30

Hi,

I've recently installed OpenPlotter to my boat and connected to my NMEA200 Network. All working fine! 

I've also an MQQT Broker installed and accessible via Internet. The boat also have Internet connection.

As far as I know, there is no IOT App available yet... so how do I publish my NMEA2000 data network to this external MQTT broker?  Dodgy


RE: How to publish NMEA data to an external MQTT Broker - Spidgrou - 2021-11-08

(2021-10-30, 10:45 AM)Nettuno Wrote: Hi,

I've recently installed OpenPlotter to my boat and connected to my NMEA200 Network. All working fine! 

I've also an MQQT Broker installed and accessible via Internet. The boat also have Internet connection.

As far as I know, there is no IOT App available yet... so how do I publish my NMEA2000 data network to this external MQTT broker?  Dodgy

HI,
you have two possibilities.
The first is to use a signalK plugin called: signalk-mqtt-gw, so all data from signalk will be publish in your mqtt
The other way, that I prefer is to send only what you need with the name that you like with NodeRed.

Enjoy


RE: How to publish NMEA data to an external MQTT Broker - Nettuno - 2021-11-08

Thanls Spidgrou,

I've tried the plugin called signalk-mqtt-gw and it works. You can select what kind of data you want to publish. The issue I find is that all the data is published to the same topic and you can not (or I didn't find how) modify it.

I'll have a look into NodeRed...

Is there any other simple way to publish the NMEA Data you want to a MQQT topic of a Broker available on the Internet? I'm thinking on a simple python script to do it...


RE: How to publish NMEA data to an external MQTT Broker - Spidgrou - 2021-11-08

Nettuno,
try NodeRed, very easy, super easy Wink

Ciao


RE: How to publish NMEA data to an external MQTT Broker - Nettuno - 2021-11-13

(2021-11-08, 08:01 AM)Spidgrou Wrote: Nettuno,
try NodeRed, very easy, super easy Wink

Ciao

Thanks Spidgrou, I've tried node red and you are right. Super easy  Smile