2020-04-04, 11:54 AM
(This post was last modified: 2020-04-04, 11:55 AM by Screenshot.)
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.
Thanks
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.
Thanks