Control Sonoff Devices with eWeLink (original) firmware over LAN and/or Cloud

Yes installs fine from HACS.
Url / instructions are in the readme in the repository.

1 Like

Alexandru have you had any success with the RF and DW1 sensors? I m on the same boat as you. Seems we need to dig deeper with those.

Sensors don’t show in GUI. They don’t have any status because they don’t send closed / no motion signal.

1 Like

@AlexxIT
Great component. I successfully added a Sonoff S31 (USA version) with power monitoring. The switch works but the power data (voltage, current, power) only updates when the switch turns off. How do I make the power data update in real time or at least periodically? I tried making sensors to reflect the power data but they don’t update either.

Known bug of pow firmware


You can create automation or wait a similar solution from me.
I don’t know when I will find time to do it.

I released a new beta version. It can manage both local and cloud control at the same time!

It solves a bunch of user problems.

1 Like

Thanks Alexx. That solves my problem with the power refresh.

I just started using this recently. I am moving from HASS-sonoff-ewelink.

The entities list seems to only list the button name for multi-gang devices. This causes confusion when selecting the entities for button with same name.
E.g. Sonoff T1 3-gang devices. One unit in a room with a gang named “Fan”. Another unit in another room with a gang also named “Fan”. I have multiple fans.

Is there a way to include the device name with the gang name? Instead of “Fan”, it would be “Bedroom.Fan”, “Living Room.Fan”, “Baby.Fan”.

Works great with Sonoff L1 Light strip.
Thank you so much!

Not sure I understand, but you can give all entities a friendly name in configuration.yaml.

homeassistant:
 customize:
    switch.sonoff_1000AAAAAA:
      friendly_name: Bedroom.Fan

    switch.sonoff_1000BBBBBB:
      friendly_name: Living_Room.Fan

And so on


You can change device name:

  • in eWeLink mobile app (requires updating sonoff.json file)
  • in component config devices section
  • in global config customize section
  • in GUI (recomended) - howto video in readme

Latest master version supports Sonoff GK-200MP2-B camera PTZ

2 Likes

Hi, my integration won’t settle down from hacs.

config: hassio 0.110.2
hacs 1.0.3

Thanks for your help

1 Like

New update with unavailable state support in latest master (beta) version

I have the same problem. Did you find a solution?

No, still not, I feel like it’s hacs who doesn’t want to install it.

New features in version 2.0:

  • can manage both local and cloud control at the same time!
  • support old devices wih 2.7 firmware (only cloud connection)
  • support new device types: color lights, sensors, covers
  • support eWeLink cameras with PTZ (read more)
  • support unavailable device state for both local and cloud connection
  • support refresh interval for Sonoff TH and Sonoff POW (read more)
  • added new debug mode for troubleshooting (read more)
3 Likes

I would love to see this as an official integration

@AlexxIT added new howto video about new HACS in readme

1 Like

Yes, I just saw it, thank you. I installed it, everything works, but in HACS I have the impression that it appears not to be installed. It’s weird, isn’t it? Thanks you.