2019-05-13, 07:53 PM
Hi,
I guess that once the data is received using MQTT and is directed to the correct SignalK key SK just knows to interpret incoming data as a number. It gets a unit and all.
I was just fiddling around with the UDP solution:
Looking trough the signal K doc's the json structure should look something like this:
Should i send it to port 3000 or to 10110 ?
BTW. I really do not like Node-Red. My CPU load peeks to 80% as soon as i start thinking about using Node-Red.
Koen.
I guess that once the data is received using MQTT and is directed to the correct SignalK key SK just knows to interpret incoming data as a number. It gets a unit and all.
I was just fiddling around with the UDP solution:
Looking trough the signal K doc's the json structure should look something like this:
Code:
MESSAGE = {
"updates": [
{
"source": {
"label": "ArduinoA0",
},
"values": [
{
"path": "propulsion.engine.revolutions",
"value": 16.341667
},
]
}
]
}
Should i send it to port 3000 or to 10110 ?
BTW. I really do not like Node-Red. My CPU load peeks to 80% as soon as i start thinking about using Node-Red.
Koen.