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 to SignalK
Hi, i'm trying to set up wireless sensors in my boat, and wanted to connect them to OpenPlotter using Wi-Fi. 
I am searching for the simplest (easiest) way to send the values of the sensors from the Arduino boards to the signal K server.

MQTT seems simple, I've created a depth topic on the pi for testing, and I send a value to this topic every second. 
I've set up the topic as a signal K Key (environment.depth), but nothing happens in signal K, the environment.depth value is not created in instrumentPanel... 


I'm just sending a number (also tried a sting) via MQTT, don't know if it's the right way to do it with signal K key. 

I'm not using OP2 yet, maybe things are simpler there...

Maybe MQTT is not the best tool but seemed simple. 

If you know what I'm doing wrong, or if you know a better way to transmit data using Wi-Fi to signal k, do not hesitate. 

Option 1: use

Option 2: send sk delta messages over UDP, create an incoming UDP connection in SK server config

Sent from my iPhone using Tapatalk
UDP works pretty well, but I was never able to get SensESP to work on ESP32.

Here's what I did with UDP:
I tried sending sk updates via udp, works perfectly ! I'll give SenseESP a try, thanks a lot !
on an unrelated note, boy does OP2 run smooth on a pi4, night and day on openCPN with openGL enabled

Forum Jump:

Users browsing this thread: 1 Guest(s)