OpenMarine
How to read data from SignalK using ESP32 - 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 read data from SignalK using ESP32 (/showthread.php?tid=4234)



How to read data from SignalK using ESP32 - jetkit - 2022-09-18

Writing into SignalK is easy. I need to read the status of some paths to enable/disable automation routines in ESP32s.
Example: one ESP32 has an automated routine to run a pump every x amount of time, and check current draw and rpm. I want it to run only if a signalk path has a specific value, like environment. AutoOK.status= 12.
I could not find any code yet that can read this data.
Thanks for anything that can point me in the right direction.


RE: How to read data from SignalK using ESP32 - seandepagnier - 2022-09-18

You would normally send a subscription to the server so that you are notified any time that value changes.


RE: How to read data from SignalK using ESP32 - PaddyB - 2022-09-18

I use mqtt & node red.


RE: How to read data from SignalK using ESP32 - jetkit - 2023-06-21

For the record, it was quite easy using FloatSKListener from the SensESP setup
https://github.com/SignalK/SensESP


RE: How to read data from SignalK using ESP32 - mgrouch - 2023-06-21

You can find how to read from SignalK on ESP32
from this project

https://github.com/bareboat-necessities/bbn-m5stack-tough