-
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
Alexa cannot discover devices which used to work. #1293
Comments
I just tried the Anymote app again, and it was able to discover devices and turn them on and off. Here is the relevant portion of the log: |
So, if the Alexa asked for the list of lights, this will be an issue of IDs cached by amazon. Did you renumber your devices with a different seed? |
Yes, I re-numbered the devices using seeds of 200, 300, 400, and 500 (originally the seed was 100). I also went into my Alexa device history and deleted the device history. |
I probably have the same problem. A few days ago I had to install HA-Bridge 5.4.0 and reallocate the IDs (100,200,etc.). Finally, again assign new IDs and Alexa had all my devices once. About two days later, Alexa independently searched for new devices at night. I saw that because I had seen in the morning a notification under Android the found devices. In the AlexaApp were then again all possible devices double and triple. From now on I can do what I want it will only Hue lamps that are integrated via the HA bridge found. All other devices via HA-Bridge are no longer found even with new IDs. |
Same thing happened to me a few days ago. I didn't make any changes in my local setup at all, so my guess is that Amazon pushed an Alexa update that broke compatibility. In the morning this happened, I had a big pile of notifications from the Alexa App on my iPad saying that it had discovered many of my devices again, and as others experienced, I had duplicates of most devices in my device list in the app. The last time this happened a few months ago, the solution was to forget all the devices on the Alexa side, renumber them in ha-bridge, and go through Alexa discovery again. No luck with that approach this time. Alexa is discovering a random subset of the devices on each attempt (and it's really irritating because it keeps adding duplicates each time it does), but none of them work. In some cases, Alexa just won't find them, and in other cases, it'll find them, but it can't reach them with commands: on commands, it'll spin for about 30 seconds and finally time out with "X is not responding, please check its network connection and power supply". Nothing I've tried so far makes any difference. |
Unfortunately, you have to delete the devices in Alexa individually. The button to delete all does not work properly, then they come back again and again. And yes, something must have happened at Amazon last night. |
One more small note. If I include real Hue lamps from Philips via the HA-Bridge and do not use the Hue Skill, they are still found by Alexa. The current problem seems to affect only simulated Hues. |
Interesting that other people have experienced this problem or something like it as well. It does make me wonder if it is related to an update Amazon pushed out. But all of my other real physical devices to work, only to fake devices seem to be having problems. |
There's nothing to wonder about - that's all but certain, based on my setup. Everything else I run is local and manually configured, and I haven't changed anything in a long time. (In fact, the last time I changed anything was the last time this happened, which was also caused by an Alexa update that Amazon pushed out.) The only thing in my system that can be screwed up by remote control is Alexa. The problem spontaneously appeared one morning, coinciding with a bunch of Alexa App notifications about newly discovering all of my devices. The most plausible explanation by far is an Alexa update. |
Yeah, I am agreeing with you. The fact that real physical devices are still working maybe exposes a weakness in the emulation, though? |
I faced the same problem yesterday - after some searching i found another thread, where a solution was described: |
I just tried that now and it does not work. All My devices now have these 2 values identical after the MAC address. |
Strange - I also removed the "copy"-text from mapid AND enabled the link-button, but the one change which definitely led to success was the edit of the unique IDs. I stopped the service during the edit, have you re-initialized the bridge? |
Yes, I have reinitialized. I turned off the HA bridge with systemctl, edited the devices.db via nano and restarted the HA bridge. I still have a defective Fibaro switch where the relay is defective and only the ZWave part works. Thus, I can find and address my defective switch from Alexa via the official Fibaro Skill. The switch only triggers a LUA script which sends an HTTP request to switch my fake device (air conditioner). This is total overkill (50€ each) but at least I can now switch myA/C on and off. :D |
I can confirm that the same problem happened to me last week. |
Same problem here.... I removed all cache from my echo device, reinitiated the echo, reinstalled ha-bridge, renumbered and renamed my devices...nothing seems to make Alexa discover my devices. |
Same here, one 'curious' thing is that along with the missed hue , Alexa has detected my HP printer as a new device, the printer has been there for years and Alexa never said nothing about it (also tried deleting on alexa devices, renumbering on ha-bridge and other things that did work on my last discovery issue, but not working this time...) |
I hope bwssystems finds out what Amazon has done. Would be a pity for the actually good software and especially my devices. At the moment I use my fingers like stone age people. |
Same issue here. I guess it's due to an update of the Echo devices. I tried several solutions like deleting everything and adding them one at a time, downgrade ha-bridge to 3.x, 4.x and 5.x, change the unique-ID's, renumber devices with different seeds, but none of the solutions worked for me. Eventually I ended up with using Controlicz as a workaround. I really would like to have ha-bridge working again, but I guess for now it's waiting on a solution that works. |
For me as well. Started last weekend when notifications on my phone says it discovered new devices where were old instances. Worked to remove and disconnected all echo's. Started with just one but it won't discover devices anymore even by renumber or editing the device ID's. Trace shows the handshake between my Echo and the RPi but it the Echo doesn't seem to do anything with the responce. Like someone said, it did now find my HP Printer (no big deal to me). Hope I'm wrong and this is just a short lived breakage. |
That seems unlikely given that everyone so far has reported that the real Hue devices are still working with Alexa. If Amazon were intentionally trying to disable Hue devices to extract a payment from Philips, it would have been pretty incompetent to leave the real Philips devices working and only break an emulator that they've probably never heard of and probably don't test against. My guess is that it's just that they don't test their changes against HA-Bridge, and they made some change that works with the original Philips hubs but exposes some new compatibility defect in the emulator. |
Hi, can someone check this out: 00:17:88:XX:XX:XX-XX = this is what my uids from ha-bridge look like so i stop the bridge and extend some uid in the device.id by the way, the last digits are not the same in my test! coincidence or can you do that too? |
It just worked for me on one device! I'm just deleting all skill devices again and test it now again completely via the HA-Bridge. Let's see. |
Just to add some further confusion/insights, my experience has been as exactly described by mjrgh et al with one exception. I moved my bridge from a RPI running HA Bridge 5.1 (connected to my Vera controllers) to HA Bridge 5.4 on Synology (running a virtual LAN to implement port 80 versus 8080 which Alexa can't find). I needed to move to 5.4 to incorporate Home Assistant which 5.1 does not support. Alexa discovered all the applicable devices but then started doubling up (on my Vera ones only, not my HA devices) and of course, the rest of the story has already been documented in the above posts. In desperation though, I shut down the service on my Synology and turned the PI back on, ran the discovery and everything came back with no issues and has been running very well for the last 3 days. Initially, I was going to suggest it was 5.4 related or UID or seed number etc, but it seems everyone has test those solutions and nothing has worked. So net, net, I have no idea why my original service work (has the shorter uids) but hopefully SelmaUrban is onto |
Thank you it works with all my devices! |
I'll give that a try and see what happens. Interestingly, check out this old post on issue #1243 from bwssystems, Dec 1 2020, #1243 (comment):
So it was too LONG, and now it's too SHORT... Makes me wonder if Amazon is making us run around in circles here by repeatedly changing the UID format Alexa recognizes. |
I'm runing a Conbee II stick on a rpi and all ids (Ikea,...) are like the hue ids. All devices found by my echos. |
It's not working here. I changed Is there anything else I need to change? |
I had too been wondering why I had data being ‘saved’ even after deleting habridge.config and device.db.... I had persistent data that survived the deletion. As you too have found... the basic concept of remembering to stop the service running is vital ! probably obvious to many, and obvious once you know.... but not obvious until pointed out ! |
OK thx |
Yes I have all my X10 stuff controlled by heyu and these are executed on habridge (commands put in via habridge web gui). Alexa discover and they appear. I’m having new discovery issues but existing X10 devices are all still working |
You could just try creating new devices AND NOT doing a discovery Earlier this month I created ‘Everything in Bedroom’ and ‘Everything in livingroom ‘ devices Alexa would not discover them, I gave up trying... but I did not delete them from HA-Bridge GUI About 3 days ago Alexa Turn Everything off’ stopped working with Alexa giving the ‘There is more than one device named Everything’ , which one do you want. Seems there is some auto unannounced discovery going on. |
The discovery issue is fixed now by setting the Oct 9 thing in settings to true and then doing renumber in devices. Habridge version 5.4.1RC1 everything is working perfectly now after doing that |
Seems to work for some, and not others |
Im not having any luck with it here. Have tried fresh install using RC1 on a different pc. Running on widows 10. have allowed java through the firewall etc.. and even tried with the firewall off - still nothing. am i supposed to have the hue skill installed on alexa? i dont remember having to do this before. THanks,. |
You need to enable the Link button Worth trying to delete all the two files config and db file. I use the GUI to backup my devices. Then stop ha-bridge if you do it like that . then delete those files. If you do not stop the service first..data 'carries over' Shut it all down Delete all your devices..ONE AT A TIME :( Leave it for 24 hours or more if you can. Restart the Pi after 24 hours and restore your device database using the HA-bridge Bridge Control page..scroll to the bottom and change your seed number to some thing much higher. Renumber you devices From Bridge Devices page. Now either Ask Alexa to discover devices...OR >>JUST leave it for another period of time . i have had some luck with Alexa seeming to Auto discover devices.. Leave it another 24 hours.. It might work..it might not it did for me ..but only because I had given up and I had just left it uconfigured for the weekend..I came home and it was working again ??? |
Hello guys, I am struggeling with the issue more then a week. Was trying a lot of things and read on different pages. What I did, I reset and logged out my three Alexas. Put the power off for 3 days. After three days I was using a new Amazon account. First I used my Echo Dot 2nd generation. I made a backup from my HA Bridge.
Maybe this is helpful for the developers. This log from the Echo 3rd Gen. The Echo 3rd. Gen. is sending the Request to my Phillips HUE bridge with the IP 192.168.1.98 and NOT to my PI SSDP packet from 192.168.1.98:1900, body: NOTIFY * HTTP/1.1 HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 LOCATION: http://192.168.1.98:80/description.xml SERVER: Hue/1.0 UPnP/1.0 3.14.0/IpBridge NTS: ssdp:alive hue-bridgeid: 001788FFFEA236AC NT: uuid:2f402f80-da50-11e1-9b23-001788a236ac USN: uuid:2f402f80-da50-11e1-9b23-001788a236ac This log was from my Echo Dot 2nd. Generration The Echo Dot 2nd Gen. is sending the request to my PI where the IP is 192.168.1.99 And again I can control all my devices through HB sendUpnpResponse to address: 192.168.1.110:50000 with discovery responseTemplate1 is <<<HTTP/1.1 200 OK HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 EXT: LOCATION: http://192.168.1.99:8080/description.xml SERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.17.0 hue-bridgeid: B827EBFFFEF3D452 ST: urn:schemas-upnp-org:device:basic:1 USN: uuid:2f402f80-da50-11e1-9b23-b827ebf3d452 >>> Sending response string: <<<HTTP/1.1 200 OK HOST: 239.255.255.250:1900 CACHE-CONTROL: max-age=100 EXT: LOCATION: http://192.168.1.99:8080/description.xml SERVER: FreeRTOS/6.0.5, UPnP/1.0, IpBridge/1.17.0 hue-bridgeid: B827EBFFFEF3D452 ST: urn:schemas-upnp-org:device:basic:1 USN: uuid:2f402f80-da50-11e1-9b23-b827ebf3d452 >>> HB Version 5.4.1RC1 Edit: Just added a new device in HB and Alexa found it. Cheers |
I was able to add additional devices by changing the unique ID of the device to a 9 octet number. You do this by directly editing the device.db file, saving the file, and then re-intializing the HA-bridge. xx:xx:xx:xx:xx:xx:xx:xx:xx All colons with no hyphens, all letters in lowercase. What a hassle though to get to that point. |
I update to V5.4.1RC1. I delete the 'device.db' file and added a couple of devices and tested them. I performed a factory reset of the Amazon Show and linked it to an Amazon account that has never had an Echo device connected to it. I set security to allow links and pressed the link button. I then searched for a new device and found nothing. |
I'm not sure if this has anything to do with your issue, or for that matter anyone else that is still manually updating their device.db file to set to the 9 octet number, but recently I realized that I had not actually turned on the setting in V5.4.1RC1. This setting, the way it is listed in the application and the way other settings are listed can be interpreted(at least by me!) as being in the "on" state by default, and if you touch the "false" setting you would be turning it OFF! But I realized after reinstalling everything and Alexa being unable to find any of my X10 modules, that the setting actually has to be changed to "true". Unique ID to use 9 Octets (Renumber after saving this setting) | true I incorrectly "assumed" the new version V5.4.1RC1 would have the setting already enabled since it was released specifically to correct the issue with creating 9 octet numbers in the first place. However, this is NOT on by default so you MUST turn it to "true" and renumber again using the application. Once this is done, Alexa will be able to find the devices! Good luck! |
Thanks for the latest comment! I changed the setting and renumbered the devices. I turned discovery on. It went through the motions and told me it didn't find anything. Then a few seconds later, they showed up one at a time. Being the glutton for punishment that I am, I reset the Echo Show and connected it to my original account. The Echo discovered everything again. |
I am so glad I was able to offer someone advice that helps! I figured I am not the only one to make this bad assumption. The settings seem intuitive, but apparently not to all of us! |
Thank you @HalRum - I enabled this setting (without any cleanup on Amazon or so) and Alexa find new devices again. |
Think you just got lucky |
npaisnel, did you also do the renumbering as advised within the application? If yours was set to 'true' at some point but never renumbered, it would not have regenerated the 9 octet numbers and Alexa would never find them. |
I have gone back to a fresh instal, deleting all in the data folder (device.db and the other... I forget its name) Just seems random if it finds them or not. |
That is so frustrating... I want to add new devices but nothing is discovered any more. 5.4.1RC1 with 9 octet numbers enabled, but not renumbered, as I do not want to lose the existing devices - which still work... Any idea what else to try? TBH, deleting existing devices from Alexa is not an option before I do not have a serious idea to get them back. |
While looking for alternatives, I found, that Homeassistant also has a hue emulation feature... which I tried and it works. Maybe somebody with more skills than me could compare what is the difference :-) |
Steviehs, In the end I was so frustrated and started losing already connected devices so I took the risk of doing the re-number and then everything worked. did make a backup first as much as I could but didn’t need to use any of these. |
Just recently in the last week Alexa stopped working properly. It seems that she started seeing my devices with the wrong address so if I said turn on den light she would turn on a living room. Everything seemed to be renumbered incorrectly. Nothing had changed on my HG/HA setup. What I did a few days earlier was ask Alexa to discover new devices because she wasn't able to see my PLEX server properly. The discovery process did not fix the PLEX issue and I eventually discovered my NAS had an update that needed to be applied. So, my feeling is that the "discover devices" request somehow loaded up old settings. On my Alexa phone app I found a few entries duplicated that hadn't been there the last time I got everything working earlier. My solution was the following and it has repaired everything to normal again.
I stress that this did not involve ANY settings/changes to the HG/HA on my PI system. In fact I did not even touch them or restart them. Alexa broke due to either the discover devices request I made to originally fix a PLEX issue or something was changed by Amazon since the last time I got everything working months ago. This is some kind of Amazon bug where they might have restored old settings somewhere along the line. |
The solution described above worked fine for me as well! My setup had 1 echo and 4 dots and after updating one of my devices on HA Bridge and running discovery, the number of bridge devices doubled, and Alexa couldn't control anything (insisting that I "use unique names"). This persisted despite renumbering. I'm running v5.4.1RC1. Some additional observations on the above steps:
Just wanted to send big THANK-YOU to HalRum for this discovering and posting this solution. |
Alexa cannot (as of today, january 2023) recognize any devices. Considering all the hints here. |
Hi, I'm using HA-bridge on a daily basis with my Alexa echo dot (2nd gen I think). It's working fine, although I don't add or remove devices that often. It can be a bit of a hassle to get it working (there are a lot of hints in this thread), but it should still work . |
I can agree that HA-Bridge devices which are created recently are not discovered any more these days - even with the long unique IDs. In the past, the duplicated devices have been annoying. This seems now to be solved by Amazon. But now new HA-Bridge devices are not found any more. Original Hue Bridge devices work fine with Alexa. |
Thank you SelmaUrban, the long ids fixed my problems when searching for new devices! |
THX this works for me |
Thank you so much, finally it made my day. @Quiphainyr @SelmaUrban |
Had found a small, easier way. When you inspect the uniqueID field in the gui, you can remove the "readonly"-attribute then change the uniqueID in the field, press "Update Bridge Device". that's it. Followed by the 4 last steps!!! |
I apologize if this should have been a reply to another issue, but I have been reading quite a few threads on discovery issues and none of them seem to explain what is happening.
I had been using HA Bridge for quite a few years, most recently version 5.3, with a couple of devices on a Raspberry Pi 3 B. The day before yesterday, Alexa on my Echo Dot started reporting that the devices were not responding. I started digging into this, and confirmed that the devices still responded through the HA Bridge web interface. So, I deleted the devices from the Alexa app and tried to rediscover them. Initially, it looked like this wasn't working because because of a warning about the UPNP IP address about matching a known address on the host, but I was able to fix that by removing a Wi-Fi dongle from the Pi that I didn't need anyway, and resetting the hostname. I also upgraded the bridge to version 5.4. However, the discovery will still not work.
I believe I have tried everything in the troubleshooting page at least once. In particular, I have verified that my Netgear Nighthawk X6 router has UPNP enabled, and the bridge is using a static IP. The logs are interesting. In this case, the Pi running the bridge is IP address 192.168.1.110, the Echo is .14, and my Synology NAS is .12. You can see that the Echo does request a list of the lights, but I don't see a response.
habridgelog.txt
EDIT: One other little tidbit that I forgot to add. My friend was over trying to help me with this issue yesterday and he tried to see if we could discover the devices with the Anymote app on his cell phone connected to my network. He was able to, but I wasn't able to do that later.
Any help would be most appreciated.
The text was updated successfully, but these errors were encountered: