Full Version: How to read data from SignalK using ESP32
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
You would normally send a subscription to the server so that you are notified any time that value changes.
I use mqtt & node red.
For the record, it was quite easy using FloatSKListener from the SensESP setup
You can find how to read from SignalK on ESP32
from this project