Sonoff TH16 JSONPATH for Temperature need coaching

Hi all,
I’ve tried several times now to parse the temperature from a Sonoff TH16 running Tasmota 8.2.0. The MQTT message generated by the TH16 for the sensor (AM2301) is:

18:52:09 MQT: tele/TH16/SENSOR = {“Time”:“2020-07-11T18:52:09”,“AM2301”:{“Temperature”:25.8,“Humidity”:59.8,“DewPoint”:17.4},“TempUnit”:“C”}

I’ve added the channel in PaperUI:


MQTT State Topic : tele/TH16/SENSOR
MQTT Command Topic:
Incoming Value Transformations: JSONPATH:$,AM2301.Temperature
Outgoing Value Format: %s

My log file has the following entry: 2020-07-11 14:32:09.714 [WARN ] [t.generic.ChannelStateTransformation] - Executing the JSONPATH-transformation failed: An error occurred while transforming JSON expression.

The issue must be with my transformation declaration, however, I just can’t figure it out.

Thank you for your support openHAB community.



Seems to be a comma , after $ instead of the required stop .

Indeed… Thank you @rossko57