Sonoff POW Elite with ESPHome

Hello ESPHome enthusiasts,
I’m planning on getting the Sonoff POW Eliter power meter and flashing it with ESPHome. The question is, what sensor is the meter using (ADE7953, BL0939 etc.). I couldn’t find anything online, so I came here. Any replies are appreciated.

Thanks

Hi Pzdrs,

Thanks for your first post on the HA forum. I have just gotten a new sonoff pow elite (and I found your post). To be honest i didn’t even think to check the specs before buying as every sonoff device i have owned has been well-supported by Tasmota (and in recent years ESPhome). It looks like the power sensor is a CSE7766. I am planning on flashing ESPhome basing it off the yaml example here:

I will report back when i get to flashing it but i expect it will be quite similar to the other sonoff devices.

Just reporting back - got it running with the yaml example linked - There was an issue with the energy sensor not working until I commented out the baud rate in the logger entry - so i created a pull request to remove it in the example and it should be good to go.

1 Like

Hi,
My Sonoff POW Elite (20A version) works perfect with esphome but how to change the code if there will be power outage that the power will be always ON?
(I know I have to use: restore_mode: always_on but where to put it in code?)
Kind Regards,

I think that it should be done on the template switch like this:

switch:
  - platform: template
    name: $friendly_name
    restore_mode: ALWAYS_ON
    optimistic: true
    id: relay_1
    turn_off_action:
      - switch.turn_on: relay_off
    turn_on_action:
      - switch.turn_on: relay_on
1 Like

Thank you - that works!