bwssytems / ha-bridge

Home automation bridge that emulates a Philips Hue light system and can control other systems such as a Vera, Harmony Hub, Nest, MiLight bulbs or any other system that has an http/https/tcp/udp interface. This is a compact impl to run on small format computers. This is impl started from this project https://github.com/armzilla/amazon-echo-ha-bridge.
Apache License 2.0
1.45k stars 198 forks source link

Even after deleting Amazons device history and device.db 10 devices are still detected by Alexa #1319

Open NilsRo opened 3 years ago

NilsRo commented 3 years ago

Hi,

I got a problem...after my Alexas could not control lights anymore I am looking for the issue. I deleted all devices from Alexa and Amazons Device history and deleted device.db. I add one new Test-Device but Alexa still does detect the 10 devices that should not be there . It looks like the devices are cached somewhere and I did not know where...

I am using a Apache setup as proxy on Port 80 to 8080 to encapsulate HA-Bridge. I still tried HA-Bridge on Port 80 but it shows the same behaviour. Every time 10 devices are detected...

Sum up:

  1. Deleted all devices in Alexa App
  2. Deleted device history in Privacy Settings of my Amazon Account
  3. Deleted device.db and habridge.config
  4. Waited 24 hours and tried again without success

HA-Bridge version: 5.4.1RC1

Actually it would be nice if no or only one device (my testdevice) is detected. :-) Any ideas about it? As I do not want to spam logs I will create it on request.

Cheers, Nils

smartypantsuk commented 3 years ago

This is a known issue and is caused by Amazon's rubbish software design. It is of course a caching issue that looks to plague us all until we're all dead.... or zombies.

The general consensus was to delete the devices via the Web interface first. Then wait x amount of time, then try again. But people report different with different methods. I think I was finally successful clearing them out via web interface, leaving them 24 hours, turning off all alexa devices for a few minutes then powering everything back on

npaisnel commented 3 years ago

I have been waiting with every thing for 3-4 days now. Deleted all the devices manually de registered Echo Dot devices re registered them Stopped HA-Bridge deleted habridge config and device.db

Created a few new test devices ---not found

restored device.db backup 9 Octet, re numbered,

still nothing found

But i have managed to create a new problem FFS! now when I hit the Test On/Dim/off buttons, even that does not work any more ...grrr.jsut get a Not Authorised or authorisation error...FFS! rather than getting close just getting further away. Lost an Echo Dot device (again) too. anyone else with the EchoDot Gen2/Gen 3 devices...almost impossible to get the bastards in to orange ring setup mode..Press and hold the Mic and Vol- button ..or the action button so the instructions say...bollox press and hold for many minutes..never bloody go in to Setup. took me about 40 minutes of trying before i launched the bloody thing across the room agains a brick wall...bastard thing won't upset me again!

The way things are going at the moment I could well be ripping all this bloody home automation shit out the house

Rant over !!! ;)

Now been exploring all the other alternatives HomeAssistant, Homebridge, HomeKit, Indigo, node red mochad, etc etc etc.

so m

npaisnel commented 3 years ago

After threatening Alexa with more physical violence again..discovery worked...it found all devices No dupes

But change one single devices..a renaming, and adding two more devices, and back to the same old problem again of not discovering any new items.

No idea if this is in ANY way relevant, but the only thing i changed in Bridge Control was adding an IP address and name to the Harmony Hub line Alexa then found the Harmony Activities and Devices and the other X-10 devices.

Cant see the relevance myself, but mentioning it here for completeness