Home Assistant running for years on Pi , EWELINK add-on is current version, devices are on latest firmware. This problem has existed for me for over a year on many different releases of Home Assistant etc.
When I reboot the Pi, all devices show as normal in EWELINK. Then within a short time nearly all of my devices their given name is replaced with the device name (e.g. 100024b24a) with the message underneath saying “Device is not under your account”, and I can’t use them in Home Assistant.
The device types affected are:
S26 (firmware 3.5.1)
S20 (3.5.1)
Mini (3.6)
Basic R3 (3.6)
“SONOFF” (3.5) (believe these are original Basics)
I have two devices which are not affected and these are both Micros on 3.7.1.
This happens every time, and can be fixed by pressing Refresh in EWELINK. As such it is massively inconvenient.
Happy to supply logs (tell me which ones) and screenshots if required.
The only other report I have found on this forum said it was fixed by firmware, but not in my case.
They do not same the same simple name in the entity area. That is because eWeLink has their name ID with *.sonoff_ (deviceID#)in it and the Alexx_IT has just it’s name without *.(deviceID#).
I don’t use Alexx_IT any more. I’m talking about the EWElink Smart Home screen, reached from the side bar.
Immediately after reboot the devices appear with their correct names. I now think these are probably coming from the browser cache.
Then sometimes after a few minutes some (but not all) of them lose their names as I have described above. Any automations etc using those names fail. I can recover them by using the Sync button at the top right corner of the EWELINK screen.
As I often forget to do this, it is an annoying bug as the first I know is that an automation doesn’t fire.
It would be useful if it re-tried to sync a few minutes after loading.
I probably could go back to using ALEXX_IT, or flash Tasmota, but I really would prefer to not do that.