Problem with MQTT Shelly Temperature

Hello, I was trying to acquire a temperature reading from a DHT22 sensor connected to a Shelly Plus UNI. From the web interface, the Shelly responds and I can see the data (temperature and humidity). I installed an MQTT broker on the server, activated the MQTT function on the Shelly, and from a monitoring program (MQTT Explorer)
image
, everything seems to be working perfectly. I then created the MQTT broker on the OpenHAB binding, and I can normally see it ONLINE. At this point, I created a Generic MQTT Thing and linked the channel with the temperature topic.


The problem is that when creating the ITEM, it always shows the value NULL, as if it isn’t reading the value.

Do I need to set up any JSON configuration at the input level?

You have a quote " at the start of the JSONPATH in your screen shot.

Yes, but also without this doesn’t work.

hi, i think you jsonpath is wrong… maybe you’ll find the correct value in your mqttexplorer.
Greets

something like: JSONPATH:$.tC

Yes that looks correct I was just about to reply with the same because of the MQTT state topic he chose.

it works thanks!