Sorry, another question about a MQTT device.
I still don’t realy understand it…
I bought a wifi switch with measuring the energy usage:
The device shows the values:
In the device I see:
13:11:31 MQT: tele/sonoff2/SENSOR = {"Time":"2019-05-18T13:11:31","ENERGY":{"TotalStartTime":"2019-05-18T10:45:11","Total":0.122,"Yesterday":0.000,"Today":0.122,"Period":6,"Power":71,"ApparentPower":118,"ReactivePower":95,"Factor":0.60,"Voltage":225,"Current":0.525}}
I want some of this values displayed in the Pimatic gui.
How do I get the wanted value (for example Current) in Pimatic?
And second question, how can I reset the value “Total” to 0.
Thanks in advance.