@k8gg it is really weird, because I can not find where I am authenticating with anything. How is this working? lol
I have a Shelly 1 that apparently is having an issue since the update too. I just noticed I have a Repair notice… It is complaining about “Push update Failure” even though I have CoIoT set, and that functioned for months without complaining before the update.
I am going to purchase a couple more S31s, and hope they have the new firmware already installed. I am going to backup the SD card tomorrow afternoon, and then see if I can add the new S31s to HA, and see if the firmware makes a difference.
UPDATE:
I added the following to my configuration.yaml:
sonoff:
username: !secret sonoff_usr
password: !secret sonoff_pwd
mode: local
reload: always # update device list every time HA starts
#default_class: light # (optional) to set the class, default class being switch
force_update: [power]
scan_interval: 300 # this is in seconds; so every 5 minutes
sensors: [power]
and obviously made the additions in my secrets.yaml
2 new smart plugs are using firmware 3.6.0. It was the usual pain to pair them, but they finally do work both in the eWelink app, and in HA. However, they are significantly slower to respond than my 12 original S31s running firmware 3.5.0.
using the eWelink app it takes almost 15 seconds to respond. my original S31s take about 1 second.
HA takes about 2 seconds with the new S31s, but my original S31s are instantaneous (I would say milliseconds). Very disappointing!
AND the same symptoms with the power monitoring. If the eWelink app is not open I just get a flat line of the last state it saw when the app was open. Turning it off and on works, but the amps and watts do not change in developer tools or history.
One thing I noticed is that if I remove all the yaml I added, it now reports 0A 0W when the device is on, and when I turn the device off it will report the last known state. very weird. It happens on old and new S31s. This was not the case prior to adding the yaml. I have not tried to pop the clone I made of my SD card in yet, but the core is now 2 versions back. I keep hoping the newer versions will somehow magically fix the issue.
I am in the middle of house repairs, so time is a commodity, but I will play more when I get a chance. Let me know if you have any thoughts.
I ended up sending the new S31s back. I am wondering if I received counterfeit units… the MAC addresses had a totally different prefix and even with the firmware update I could not resolve the lag in HA or the eWelink app. Oddly, the power readings started working again in HA, until I removed the units I sent back, and reloaded the integration.
After doing some research I found this issues post, and it looks like there is a v2 API that maybe the culprit: https://github.com/AlexxIT/SonoffLAN/issues/1219#issuecomment-1705530160 and if this issue persists, it is likely there is a fix, but it appears it may require a reinstall with a new API Key or at least copying the new files and editing the YAML.
ADDITIONAL UPDATE: After the last Core Update, and subsequent HACS update, I noticed the original S31s are reporting Amps, Watts, and Voltage again. I have not intentionally changed anything with the SonoffLAN Integration, so I am not sure what made it start working again, but it has been working since the 2023.9.3 update.