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

Check out my post above

Yup I understand that the server is down, do you know of anywhere to check when it comes back up again?

Of course, when my L1 starts working again, thatā€™ll be a good sign, but it would be handy if there was a status page somewhere.

To answer my own question, hopefully useful for others;

https://twitter.com/ewelinkapp

Luke

Figured I find this after I flash 1 out of 3 sonoffs s31 switches for smart washer dryer and dishwasher

What to do now?

Continue flashing or stop
Ahhhh

@Sharkbyte - Flashed with Tasmota/ESPHome?

@crlogic yep flashed the first one with tasmota then found this intergration

I went Tasmota and never looked back. Working great, 16 S31ā€™s and countingā€¦

Thaks! It works :slight_smile:

Thank for the update! Its Huge!

Iā€™m not the sharpest knife in the drawer. I am trying to create a sensor for the current attribute on my S31. Reason is I want to use the Riemann sum integral integration to summarize the power used by that smart plug.

Thereā€™s this in the Github doc.

Custom sensors
If you want some additional device attributes as sensors:
sonoff:
sensors: [staMac, bssid, host]

ā€¦but I donā€™t know what to put in for staMac, bssid, host

Can anyone help my knife get sharper?

Eric

I have 11 existing lamps all working fine in Home Assistant.

I tried adding 2 more lamps and get this message in the logs

This error originated from a custom integration.

Logger: custom_components.sonoff.core.ewelink.cloud
Source: custom_components/sonoff/core/ewelink/cloud.py:323
Integration: Sonoff (documentation, issues)
First occurred: 13:21:30 (1 occurrences)
Last logged: 13:21:30

Cloud WS exception
Traceback (most recent call last):
  File "/config/custom_components/sonoff/core/ewelink/cloud.py", line 323, in connect
    raise Exception(resp)
Exception: {'error': 406, 'reason': 'Authentication Failed', 'apikey': '8335c1eb-ad52-4c25-bdd1-afa5fc9dff87', 'sequence': '1694866890684', 'actionName': 'userOnline'}

All existing lamps work okay, new lamps are working in the eWeLink app.

Any suggestions to fix this and add new lamps to Home Assistant thanks.

Just a little warning, SonoffLAN does not work well with HA 2024.1, wait before updating.

1 Like

Also experiencing a host of issues that have been reported. Hoping for a quick fix to this one. Fingers :crossed_fingers: as they are my majority of devices used.

A very basic question Iā€™m afraid.

Iā€™m setting up HA to (amongst other things) control several Sonoff relays and switches and I see that Sonoff have their own add-on for this which raises the question:-

What is the difference between Sonoffā€™s eWeLink Home Assistant Add-on and this custom component?

Do they both actually provide the same functionality, or does either provide greater functionality or am I completely missing the point and they are 2 entirely different things and if so, what is the difference?