Hi @arjanvanb and @mvbakel,
I have been reading through this post and the node-red quick start as well.
I finally made the flow as shown below.
But when I inject the time stamp, it shows
22/08/2017, 19:40:32node: function
msg : Object
object
_msgid: "8cd2f01e.744d4"
topic: ""
payload: 1494689048489
Can you please let me know what I am doing wrong.
Regards,
Sid
My flow is :
[{“id”:“f2a8dc4b.63b01”,“type”:“ttn message”,“z”:“ba1baf4e.520de”,“name”:"",“app”:“9a11302e.19f89”,“dev_id”:“sidsfirstdevice”,“field”:"",“x”:256,“y”:212,“wires”:[[“9f122e7e.f7cfc”]]},{“id”:“a86ec9a1.145318”,“type”:“debug”,“z”:“ba1baf4e.520de”,“name”:“device”,“active”:true,“console”:“false”,“complete”:“true”,“x”:511,“y”:124,“wires”:[]},{“id”:“d53d0a4b.c61a18”,“type”:“ttn send”,“z”:“ba1baf4e.520de”,“name”:"",“app”:“9a11302e.19f89”,“dev_id”:“sidsfirstdevice”,“port”:“1”,“x”:550,“y”:386,“wires”:[]},{“id”:“b62e1981.26e528”,“type”:“ttn device”,“z”:“ba1baf4e.520de”,“name”:"",“app”:“9a11302e.19f89”,“dev_id”:“sidsfirstdevice”,“event”:“activations”,“x”:249,“y”:124,“wires”:[[“a86ec9a1.145318”]]},{“id”:“9f122e7e.f7cfc”,“type”:“debug”,“z”:“ba1baf4e.520de”,“name”:“message”,“active”:true,“console”:“false”,“complete”:“true”,“x”:507,“y”:218,“wires”:[]},{“id”:“f3454569.753e38”,“type”:“debug”,“z”:“ba1baf4e.520de”,“name”:“function”,“active”:true,“console”:“false”,“complete”:“true”,“x”:551,“y”:303,“wires”:[]},{“id”:“4549c7c1.fa3508”,“type”:“inject”,“z”:“ba1baf4e.520de”,“name”:"",“topic”:"",“payload”:"",“payloadType”:“date”,“repeat”:"",“crontab”:"",“once”:false,“x”:188,“y”:324,“wires”:[[“d53d0a4b.c61a18”,“f3454569.753e38”]]},{“id”:“9a11302e.19f89”,“type”:“ttn app”,“z”:“ba1baf4e.520de”,“appId”:“sidsfirstapplication”,“region”:“se”,“accessKey”:“ttn-account-v2.R7yqoOfazcI7IWHgMCVmeOM8tXI9mC7QwcE6H2VYCtg”}]