I'm quite new to Node Red and like it already.
What I want to achieve is to send a message with the following contents;
If the train is delayed: yes/no
The departure time of the train
The departure platform of the train
I can get these entities from a sensor from the Dutch National Railroads:
As I yet don't know how to get this specific information inside a message notification I would like some help
There’s a great page in the docs (Working with messages : Node-RED) that will explain how to use the debug panel to find the right path to any data item.
Pay particular attention to the part about the buttons that appear under your mouse pointer when you over hover a debug message property in the sidebar.
In the data you show above there is a msg.data.attributes.departure_delay.
You probably want to get this into msg.payload.departure_delay to pass on to a notification.
You can use a change node for that.
Thanks a lot, that will be definitely what I was looking for!
Just didn't search properly