oiv/ruuvigw_node-red_ha

parsetag error

Opened this issue · 1 comments

my json payload (debug out)

ruuvi/F3:54:5E:C9:7B:74 : msg.payload : Object

{"gw_mac":"DC:A6:32:85:B2:8B",
"rssi":-34,
"aoa":[],
"gwts":"1692223108",
"ts":"1692223108",
"data":"0201001BFF990405115F769BB97700AC0010FC10AF564DECB8F3545EC97B74",
"coords":""}

gives this function: (error) in the parsetag function node:
TypeError: Cannot read properties of undefined (reading 'replace')

oiv commented

Sorry for the delay. Did not notice this issue.
Did you find a solution to this. Hard to tell what is wrong with this information. Payload looks ok I think..