Closed Bein85 closed 5 months ago
Your json is not correct. "fields" is not an array like that. It's an object.
And why not put this stuff in signalk and use the sk-to-nmea2000 plugin?
good question, i have just started playing with SignalK and NMEA2000 signals. I have a Siemens PLC reading the sensor data from the engines, and use Node-Red to read from the PLC and brodcast data to my mobile. I wanted to send the same engine data to Raymarine Axiom plotter via PiCAN-m. since Node-Red was there, and a plugin was available i thought that was the easy solution. (i use the Node-Red plugin within SingalK)
How do i move it over to signalk?
Use send-path-value or send-delta and use the standard sk paths. Make sure use get the sk units right.
https://signalk.org/specification/1.7.0/doc/vesselsBranch.html
Thank you so much for the tips, i now use send-path-value and send-delta and let sk handle the data.
I am stuck, I keep encountering this error message at Server Logs within SignalK:
In my Node-Red function i have this code:
Output of the function looks like this: