Hi, i have made an flow that i want to use that the train has an delay or is on time. But i want add the wheater temperature. i have made an function node with some javascript. i want to retrieve the whole msg in my message. I hope someone can help me.
here is my flow:
[{"id":"29abe4afdf2e5645","type":"api-call-service","z":"eff08008135be678","name":"Notify mobile","server":"2ac5e9467e57d943","version":5,"debugenabled":false,"domain":"notify","service":"mobile_app_iphone_van_willem","areaId":[],"deviceId":[],"entityId":[],"data":"{\t \"message\": & msg.payload}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1130,"y":300,"wires":[["797e77afcb16f5fe"]]},{"id":"2ac5e9467e57d943","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":": ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"default","statusTimeFormat":"h:m","enableGlobalContextStore":false}]