Sonoff Temp error (trying to gt info from mqtt)

Tags: #<Tag:0x00007f616dba2f90> #<Tag:0x00007f616dba2db0> #<Tag:0x00007f616dba2ba8>

Hi all,
Trying to get output from my sonoff basic with a DHT22 attached and see this error in the log, not sure whats broke - any pointers?

org.openhab.core.transform.TransformationException: Invalid path ‘$.DTH22.Temperature’ in

In the sonoff console i see :
15:35:21 MQTT: tele/sonoffsingle1/SENSOR = {“Time”:“2017-10-26T15:35:21”, “DHT22-14”:{“Temperature”:19.7, “Humidity”:64.2}, “TempUnit”:“C”}
So all looling good from that side

Thanks :slight_smile:

I had a typo :slight_smile:
Checking to see if that fixed it!

Boo - Fixed typo still broken

2017-10-26 15:46:22.551 [ERROR] [.mqtt.internal.MqttMessageSubscriber] - Error processing MQTT message.
org.openhab.core.transform.TransformationException: Invalid path ‘$.DHT22.Temperature’ in ‘{“Time”:“2017-10-26T15:46:21”, “DHT22-14”:{“Temperature”:19.9, “Humidity”:64.7}, “TempUnit”:“C”}’

I’m lost :frowning:

Fixed!
I had the wrong .item call in my mqtt string, correct string below:

mqtt="<[openhab:tele/sonoffsingle1/SENSOR:state:JSONPATH($.DHT22-14.Temperature)]" }