#any syntax assistance on using msg
1 messages · Page 1 of 1 (latest)
looks like maybe i just had to change from expression to json...
now it seems like i'm having trouble accessing the arrays... does the node handle that?
Node-RED integration with Home Assistant through the WebSocket and HTTP API
guess i'll just pre-format in a function node
you couldhave changed it back to JSONata and use
{
"dev_id": "something",
"gps": [
payload[0].yCoord,
payload[0].XCoord
]
}
Thank you