Hello,
is there a step by step explanation how to get the data out from the payload to the ui/or something similar anywhere?
Software i use: node-red v0.16.2 / node-red-contrib-ttn v2.0.0 / node-red-dashboard
I can connect to the ttn backend with no problem and get following data in die debug window:
object
- app_id: “ttn_hennef01”
- dev_id: “ttn-hennef-badgerboard01”
- hardware_serial: “70B3D5B020035CC6”
- port: 19
- counter: 302
payload_raw: buffer[21]raw- [0 … 9]
- [10 … 19]
- [20 … 20]
payload_fields: object- payload: “{“T”:24.82,“H”:39.46}”
metadata: object- time: “2017-02-04T12:08:31.8886388Z”
- frequency: 868.5
- modulation: “LORA”
- data_rate: “SF12BW125”
- coding_rate: “4/5”
- gateways: array[1]
- 0: object
- gtw_id: “eui-fb10b827eb9798fa”
- timestamp: 950283428
- time: “2017-02-04T12:08:31.869213Z”
- channel: 2
- rssi: -57
- snr: 6.8
- rf_chain: 1
- latitude: 50.77577
- longitude: 7.28401
- altitude: 85
payload: object- payload: “{“T”:24.82,“H”:39.46}”
_msgid: “c4bdabc2.861d88”
My question is how to get the temperature and humidity out of the payload object? Is there any help on the net for my to learn how to do it? Most sites i find about decoding payloads have just a long bunch of text to copy & paste to node-red to create a hole bunch of nodes without explaining what they do… i am a bit lost (being new to node-red) with what to start and what to look for?
Thank you very much!