-
Notifications
You must be signed in to change notification settings - Fork 199
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HA-Bridge stopped - Alexa still finds devices #1216
Comments
I noticed this issue(feature?) of Alexa picking up stored(?) devices from other alexa/echo devices. One workaround is to keep deleting "one-by-one" (remove-all doesn't seem to work) the devices. Then detect, clear again. You can also experiment by shutting down the other alexa devices in your home and then re-detect. |
Same issue here with HA-Bridge and > 10 Amazon Echo devices. A caching mechanism seems to store the devices e.g. on Echo with integrated Zigbee Hub or maybe on other Echo devices or in the Amazon cloud. I stopped HA-Bridge and the devices "Philips Electronics intelligentes Gerät" are found again and again. |
My issue: cannot delete HA-Bridge hosted pseudo Hue devices (and the many double named entries), while the real Philips Hue (Hue-Bridge) hosted ones work as expected in general. For short:
Now is the time to power on step by step my devices and hubs. I decided this order:
Finally I ended up without full success, even with the workaround to delete single devices. But I reduced the devices from 400 to 200 :-) => Amazon local echo devices (regardless if a Zigbee hub is present) seem to cache parts of the smart home device list. The button "delete all" neither deletes the devices from the Amazon Cloud nor from the in-house caches permanently. So a combination of weak Amazon user interface / device list behavior, Philips software updates (which are known to be not stable for years) and incomplete or wrong HA-Bridge behavior can drive you crazy. HA-Bridge helped me for years to make my home smart. Sorry, but I must say that this fine software probably will not or cannot fix these complex issues in the future in behalf of a weak software architecture of Amazon and Philips. |
Because the caching issue seems to be related to the duplicate names, please find here this related story in detail: #1180 (comment) |
The workaround described by Superczar #1180 worked fine for me. The details I checked so far:
Yeah! For me no further devices doubles are found. However, I did not dare a device search again (currently I am tired of deleting devices again and again as you may unterstand). Remember that my system works fine for half a year, when I firstly detected the caching issues after software updates. The current June 2020 update of Philips probably triggered the revival of the cached zombies.
Maybe the great HA-Bridge team may find a holistic solution for caching issues which also fixes other annoying issues by reviewing the ID handling? Numbering / ID handling of devices is IMHO not stable in HA-Bridge and may also cause the caching errors even if HA-Bridge is not running! |
Same issue here. I have another third party hue bridge (deconz/phoscon) and from there i have never duplicate devices. Hoping the devs find the culprit. Keep up the good work |
I have a workaround/solution, at least for me on RPI 4B with Raspbian buster. I have the following echo devices:
The trick is to identify the problematic devices which are caching/sending the duplicates.
Do this for every alexa:
So now you have a list with BAD and GOOD devices and all echos should have NO power!
!! DONT PLUG IN ALL ECHOS; AND DO NOT SEARCH FOR DEVICES NOW !! Now comes the fun part with ufw to block the UPNP traffic of the BAD guys.
Now allow all incomming traffic (default is deny!!!!) Change the DEFAULT_INPUT_POLICY to ACCEPT: Save the file with CTRL-X and y + Enter Enable the ufw: Status should look like:
Disable ufw for now: edit the "/etc/ufw/before.rules" files with nano: Now comment these lines out:
This will prevent that every UPNP discovery request will be accepted. Add the following block with the correct IP for every GOOD device to accept UPNP:
And for every BAD device to block UPNP (dont forget to correct the IP):
And before the COMMIT line, add the following. Just to be sure we block UPNP for new devices/echos which will be online in the future on the same network:
Be aware that the COMMIT line has to be the last line. Save the file with CTRL-X and y + Enter and restart ufw with: NOW connect every echo back to power and do a device search. Thanks a lot to all people from #806, from there i had the idea. Hope this is helping you and others to eliminate the issue. |
Uff! @popy2k14 : good workaround, but too complicated to be really accepted by the folks that have the double name / umlaut issue. I really do not understand why Amazon's Alexa software does not enhance the list of devices in the Alexa portal |
Yeah, for sure it takes long to find the problematic devices and its complicated. I mean just an idea for an workaround: Sure i am not deep in the hue-api and dont know much about it. pOpY |
You are right. I am really frustrated, because of the "duplicated device" and "umlaut" issues arising again and again for years. A complex infrastructure with several companies involved needs a basic and stable model (based on a simple list of devices identified using unique ID and name; grouped by rooms as an option). I cannot believe that this simple model around a complex technical communication network is in general the issue #1! |
In the Alexa app, Settings/Device Discovery, there is an option to "Show available devices on my wifi network...". Turning it off will cause Alexa to forget the "inappropriately remembered" devices. You can then turn it back on and start with a clean slate. |
Thx for the hint. I don't find the option in my German alexa app. Can you please exactly tell us where we find the option? |
Open Settings, then Device Discovery (in the Preferences subsection). It is the only option under Device Discovery. There is another setting that might have potential. Under Settings/Alex Privacy there is a menu item called "Manage Smart Home Devices History. Under it, there is a single option called "Deleve Smart Home Devices History. I haven't tried it. |
Sadly i dont find the setting you descibed here on my "german" alexa app on android 10 (Oneplus 6T). When i go to "More" (Mehr) -> "Settings" (Einstellungen) -> there is no option named "Device discovery" (Geräte Suche) My Alexa App Version are:
Which Versions do you have und Info in the App? thx |
I am in the US--only a few miles from Amazon. Maybe I'm getting special treatment. :) |
@popy2k14 Don't feel too left out, I do not see this option either, iOS: |
@tbclark3 thx for the info. Seems you have a newer App version than me here in Austria. Hope the update drops soon here. Does it work for you so you don't get duplicates from 'Philips Royale...'? @audiofreak9 that's good so I am not alone 🙂 |
I can't say whether it would eliminate all duplicates from Philips Royale. I can, however, give you a summary of my experience. During my attempts to get Alexa to discover habridge devices, I resorted to renumbering all habridge devices, power cycling all of the Alexa devices, and trying a device discovery. I was surprised that Alexa discovered 17 of the approximately 50 devices in habridge, and even more surprised that she "discovered" the old, no longer active, device numbers. I could not figure out the reason for those particular 17 devices. Obviously Amazon is caching this information on their servers. I started looking for settings and discovered that the "Device Discovery" setting made Amazon forget the incorrect device numbers. Afterward, Alexa discovered 0 devices. One could debate whether that was an improvement. That is when I decided to route all of the devices through Smartthings, and that has worked flawlessly and without any duplicates showing up. If Alexa ever directly discovers the habridge devices, then all of them will be duplicated. I could send you the apk from my phone, but I doubt if it would give you the device discovery option if it doesn't already exist on whatever European server you are using. If you want to try it, we will need to figure out a way of transferring it privately. |
Thanks for the info. |
Don´t forget the FireTV´s ... these devices and services are not made for sustainable usage ... |
If I hadn't now standing around 6 of this s***boxes in my house, I would stop using them, but I really love using them for switching lights.... Now maybe it would helpful for some of you, I wrote a small piece of robotframework code which automagically does the "delete every device one by one" part. Slow but working. |
@popy2k14 wow, I ignored your one hint to remove the device from each echo while connected... this one Echo 2nd gen. does not forget anything even after a factory reset. So, yes, the way to go is really to delete each device step by step with this echo set up.... |
@steviehs It's bad that amazon just dont fix such major issues! Yes, it's time consuming but i hope you got your setup working? |
Haha, atm there are no double or old devices shown... still, I see error messages like |
That's good! Sorry, dont know much about homeassistant. Thanks for your script, maybe someone else (or i, when i change my setup) can profit of it. |
Maybe related with that? now i have a smiliar situation as described here... |
@jayjupdhig I would recommend to try: delete every single device in Alexa Web manually, this is important! If you see, that you have to do this more than once, try the robot script above. All this is still such a crap... but hey, I am so used to not use my light switches manually anymore... |
No difference between delete all and delete once... i see device they don't exist on that HA-Bridge instance... 1.) I've done a HW reset (then it was an access point again) 2.) I also deleted the device cache / history (that's "global", for all device in the account) in Amazon Alexa Web GUI 3.) Re-Numbering the IDs does also not help so i think, beacuse also our smart home system (which includes HA-Bridge) is a completely new installation... That [these facts] all make ABSOLUTELY NO SENSE - NO LOGIC BEHIND THAT S**T... |
Do exactly the steps above #1216 (comment) I have dropped HA bridge because of that issue and using fhem connector without it. |
ok thx :-) (the thing is that i only have 1 active device in my account, the other 3 ones are turned off, so offline...) |
oh, that's bad. Can you use replace the one with an 1st generation? |
We don't have any Gen. 1 devices here - thank you anyway :-) |
Nobody knows about that issue...? |
How is this happening? Maybe it is related to having duplicate devices in Alexa list.
The text was updated successfully, but these errors were encountered: