Thanks guys that helps
I understood your comment tkurki I just didn’t know how to do it, but it’s obviously dead easy - thanks PaddyB.
So the final part of the problem now seems to be the Java JSON format which I understand nothing about. But I guess it’s a format where I have to state e.g that it’s a temp value and it’s measure in degC, or a wind value in this case, measured in knts.
I can see that in node red it’s possible to add a json node and this is something I would like to investigate if someone could just let me know how the standard format should look like. I’ll study it a bit maybe it will become obvious
So I studied a bit more and now understand that you can send anything as json, so if I just send a message like temp, c, number will SignalK then automatically understand it’s a temperature, it’s in degree c and it’s that number? Or does SignalK require a specific json setup?
Thanks guys
Peter
Ps: tkurki, I know you have provided me the answer in your code I just don’t understand it so please do not be frustrated with me...
Ok I found this:
http://signalk.org/specification/1.0.0/d...ranch.html
One more step closer I think.
I understood your comment tkurki I just didn’t know how to do it, but it’s obviously dead easy - thanks PaddyB.
So the final part of the problem now seems to be the Java JSON format which I understand nothing about. But I guess it’s a format where I have to state e.g that it’s a temp value and it’s measure in degC, or a wind value in this case, measured in knts.
I can see that in node red it’s possible to add a json node and this is something I would like to investigate if someone could just let me know how the standard format should look like. I’ll study it a bit maybe it will become obvious
So I studied a bit more and now understand that you can send anything as json, so if I just send a message like temp, c, number will SignalK then automatically understand it’s a temperature, it’s in degree c and it’s that number? Or does SignalK require a specific json setup?
Thanks guys
Peter
Ps: tkurki, I know you have provided me the answer in your code I just don’t understand it so please do not be frustrated with me...
Ok I found this:
http://signalk.org/specification/1.0.0/d...ranch.html
One more step closer I think.