- Platform information: PI3
- openHAB version:2.5.7-1
- Issue of the topic: Trying to extract temperature from MQTT using PaperUI interface and JSONPATH Transformation.
As per pic I can see the full SENSOR MQTT string being returned on control page of Paper UI, but can’t for the life of me figure out syntax to get just temperature reading presented. I did try mqtt.things file but no joy.Using a Wifi8266 with Tasmota and DHT11 sensor attached.
MQTT broker is mqtt:systemBroker:MQTT2Thingbroker
Wifi8266 is labeled Tasmota_87_26-2 mqtt:topic:9e5040d6 showing as online.
I created a channel called Temperature1 - mqtt:topic:9e504d6:9e50406:Temperature1 type is String
Incoming Transformation Value set to JSONPATH:$.temperature
I have tried numerous variants on this including “JSONPATH:$.tele/tasmota_0D354A/SENSOR.DHT11.temperature” etc etc
Temperature1 is linked to Temperature-N (Tasmota_87_26_Temperature) type is Number.
Also did try type as String which is when I get the full SENSOR output being displayed including Temperature.
Please someone put me out of my misery
I’m assuming it is possible to do this all via PaperUI and I don’t have to use txt files, was going to move towards those once I got this working in any case.