Can someone show me what syntax I need to use to get json data from MQTT looks like I tried everything without any success, I installed LOG to see but nothing really help.
Here is my advanced flow,
I’m receiving message as follow (from sys log node) and I can’t see any results (valid or error) after node logic
id,timestamp,message,severity,facility,app
2024/05/06$45,2024-05-06T17:47:40.566Z,"{"id":"58:2D:34:12:33:DC","name":"CGG_1233DC","rssi":-75,"brand":"ClearGrass/Qingping","model":"Round TH","model_id":"CGG1_ATC1441","type":"THB","tempc":20.7,"tempf":69.26,"hum":58,"batt":70,"volt":2.837,"mac":"58:2D:34:12:33:DC"}",,,
2024/05/06$44,2024-05-06T17:45:32.965Z,"{"id":"58:2D:34:12:33:DC","name":"CGG_1233DC","rssi":-76,"brand":"ClearGrass/Qingping","model":"Round TH","model_id":"CGG1_ATC1441","type":"THB","tempc":20.8,"tempf":69.44,"hum":58,"batt":71,"volt":2.84,"mac":"58:2D:34:12:33:DC"}",,,
2024/05/06$42,2024-05-06T17:43:15.371Z,"{"id":"58:2D:34:12:33:DC","name":"CGG_1233DC","rssi":-74,"brand":"ClearGrass/Qingping","model":"Round TH","model_id":"CGG1_ATC1441","type":"THB","tempc":20.7,"tempf":69.26,"hum":58,"batt":73,"volt":2.865,"mac":"58:2D:34:12:33:DC"}",,,
So my question is what do I need to put to get for example volt
value from JSON?
Tried without any luck
$.volt
message.volt
volt
this is just driving me mad
Thanks