Hi, i've recently setup the sonoff pow with the tasmota firmware.
The switch in hass works, but i don't know to setup the sensor that show the current,energy,voltage and power.
Can anyone help me?
Thank you
The example doesnt work
Believe you may need to change 'ENERGY' to 'SENSOR' now though?
I'm going to submit a change request to the Wiki.
nope it doesnt work again
but i found the problem the new tele message is like this : 21:51:31 MQT: tele/sonoff-pow/SENSOR = {"Time":"2018-02-14T21:51:31","ENERGY":{"Total":0.984,"Yesterday":0.000,"Today":0.984,"Period":12,"Power":145,"Factor":0.90,"Voltage":220,"Current":0.731}}
instead of this: tele/sonoff/ENERGY = {"Time":"2018-01-10T19:35:58","Total":2.491,"Yesterday":0.088,"Today":0.000,"Period":0,"Power":0,"Factor":0.00,"Voltage":117,"Current":0.000}
and the the setup look likes this:
```
sensor:
if can help put this in the wiki
it work with homeassistant 0.63.2 and tasmota 5.11.1
Wiki updated.
Everyone with a github account can update the wiki :)
Yep, know that.
haha so i did not say that to you :D
:)
Ah thank you, I didn't know that
Changed here https://github.com/arendst/Sonoff-Tasmota/wiki/Sonoff-Pow as well.
Ok good job
I guess this issue can be closed ?
Yes, thanks
The issue can be closed
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue will be auto-closed because there hasn't been any activity for a few months. Feel free to open a new one if you still experience this problem.
Most helpful comment
nope it doesnt work again
but i found the problem the new tele message is like this :
21:51:31 MQT: tele/sonoff-pow/SENSOR = {"Time":"2018-02-14T21:51:31","ENERGY":{"Total":0.984,"Yesterday":0.000,"Today":0.984,"Period":12,"Power":145,"Factor":0.90,"Voltage":220,"Current":0.731}}instead of this:
tele/sonoff/ENERGY = {"Time":"2018-01-10T19:35:58","Total":2.491,"Yesterday":0.088,"Today":0.000,"Period":0,"Power":0,"Factor":0.00,"Voltage":117,"Current":0.000}and the the setup look likes this:
```
sensor:
name: "Energy"
state_topic: "tele/sonoff-pow/SENSOR"
value_template: '{{ value_json["ENERGY"]["Today"] }}'
unit_of_measurement: "kWh"
name: "Power"
state_topic: "tele/sonoff-pow/SENSOR"
value_template: '{{ value_json["ENERGY"]["Power"] }}'
unit_of_measurement: "W"
name: "Voltage"
state_topic: "tele/sonoff-pow/SENSOR"
value_template: '{{ value_json["ENERGY"]["Voltage"] }}'
unit_of_measurement: "V"
name: "Current"
state_topic: "tele/sonoff-pow/SENSOR"
value_template: '{{ value_json["ENERGY"]["Current"] }}'
unit_of_measurement: "A"```