Hi, I’ve been failing miserably at creating my own parser and was wondering if someone could help?
I’ve linked a Netvox R718AB from TTI to Tago and the raw_payload I recieved is :
[
{
“variable”: “ttn_payload_v3”,
“value”: “{“end_device_ids”:{“device_id”:“r718ab-00a767”,“application_ids”:{“application_id”:“netvox-r718ab-01”},“dev_eui”:“00137A100000A767”,“join_eui”:“70B3D57ED001148C”,“dev_addr”:“270000BF”},“correlation_ids”:[“as:up:01ERPT961B2X5KQGEP4AD3JNTC”,“gs:conn:01ERP3SY22B14Y37VFTD6BJSYV”,“gs:up:host:01ERP3SY2B943XWNWJTWGV219G”,“gs:uplink:01ERPT95NCXHJZJQJYTTC1CVFN”,“ns:uplink:01ERPT95Q13F3MZ6N28QTR77WW”,“rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01ERPT95Q15P4C8DX5X3JDQX71”],“received_at”:“2020-12-04T12:05:30.284678404Z”,“uplink_message”:{“session_key_id”:“AXBoEzlrushcDXyFDdA85Q==”,“f_port”:6,“f_cnt”:27775,“frm_payload”:“ARMBJAHsJcIAAAA=”,“decoded_payload”:{“aamsg_type”:“weather”,“abstatus”:0,“batteryV”:3.6,“battery_low”:“no”,“humiP”:96.7,“tempC”:4.9},“rx_metadata”:[{“gateway_ids”:{“gateway_id”:“02-0003”,“eui”:“FCC23DFFFE0A90D0”},“time”:“2020-12-04T12:05:29.867913Z”,“timestamp”:1814215899,“rssi”:-106,“channel_rssi”:-106,“snr”:1.2,“uplink_token”:“ChUKEwoHMDItMDAwMxII/MI9//4KkNAQ2/mK4QYaDAiJzKj+BRDK5J6tAyD47sa95qIG”,“channel_index”:4}],“settings”:{“data_rate”:{“lora”:{“bandwidth”:125000,“spreading_factor”:7}},“data_rate_index”:5,“coding_rate”:“4/5”,“frequency”:“867300000”,“timestamp”:1814215899,“time”:“2020-12-04T12:05:29.867913Z”},“received_at”:“2020-12-04T12:05:29.953950644Z”,“consumed_airtime”:“0.061696s”}}”,
“serie”: 1607083530529
},
{
“variable”: “application_id”,
“value”: “netvox-r718ab-01”,
“serie”: 27775
},
{
“variable”: “device_id”,
“value”: “r718ab-00a767”,
“serie”: 27775
}
]
I’ve gone through all the help documents I can find to enlighten me on how to pull the tempC variable out for example but I admit defeat (for today). Could someone show me what documentation I should be reading or tell me the magical function I’m missing to search through ttn_payload_v3?
Regards,
Paul