I am trying to do a transformation to Get a value “Power” on a Thing Channel in Paper UI. My telemetry looks like this:
02:18:54 MQT: tele/washer/SENSOR = {“Time”:“2020-01-02T02:18:54”,“ENERGY”:{“TotalStartTime”:“2019-03-18T02:24:30”,“Total”:43.474,“Yesterday”:0.123,“Today”:0.137,“Power”:88,“ApparentPower”:180,“ReactivePower”:156,“Factor”:0.49,“Voltage”:123,“Current”:1.463}}
The MQTT Broker sees
{
“Time”: “2020-01-02T02:20:38”,
“ENERGY”: {
“TotalStartTime”: “2019-03-18T02:24:30”,
“Total”: 43.476,
“Yesterday”: 0.123,
“Today”: 0.138,
"Power": 88,
“ApparentPower”: 129,
“ReactivePower”: 0,
“Factor”: 1,
“Voltage”: 123,
“Current”: 1.053
}
}
My Channel has a topic of:
tele/washer/SENSOR
The Incoming Value Transformation is:
"JSONPATH:$.ENERGY.Power"
but all I get in Paper UI is
a value of NaN
I suspect I am doing something wrong with the incoming transformation or maybe something incorrect on the item but I have tried several combinations to no avail.