How can I find the JSON Path for my Device?

I have a ESP32 + Temperature Sensor which submits to a Mosquitto Instance on a Raspberry. But I'm not able to find the right JSON Path.

I tried getting a JSON response locally on the rasp with "mosquitto_sub -h 127.0.0.1 -t Sensor1/Temperatur -v -F %J" and this was the answer:

{"tst":1600896025,"topic":"Sensor1/Temperatur","qos":0,"retain":0,"payloadlen":4,"payload":23.5}

I tried "$.Sensor1/Temperatur " but this seems to be wrong...


Article Comments

Hi there,

Did you also tried to use something like "$.Sensor1/Temperatur.payload". According to our manual, you need to specify a certain matric from which the value should be displayed in the Sensor.


Sep, 2020 - Permalink