Skip to content
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 Discovers Duplicate Devices #979

Closed
Lorccan opened this issue Jul 24, 2018 · 4 comments
Closed

Alexa Discovers Duplicate Devices #979

Lorccan opened this issue Jul 24, 2018 · 4 comments
Labels

Comments

@Lorccan
Copy link

Lorccan commented Jul 24, 2018

(Issue #806 refers to this. Although that's closed I am getting this with 5.2.1.)

I have 12 devices exposed to Alexa via ha-bridge. Using the Alexa web interface 'Forget All' seems to clear the list, but if I wait for a while the list starts to repopulate with a strange mix of duplicates. These are the variations I've got at the moment:

2 x 'Royal Philips Electronics smart device' + 1 x 'Dimmable light' (7 instances = 21 devices)
1 x 'Royal Philips Electronics smart device' + 1 x 'Dimmable light' (5 instances = 10 devices)

Stopping ha-bridge, forgetting all, then discover finds 0 devices (however many times I try), so I am pretty sure that the duplicates are coming from ha-bridge. I can't see any relationship between the device types and the type of duplicates I get.

In case it's relevant, the devices are a mix of LightwaveRF sockets (some on|off, others dimmable) exposed to ha-bridge via domoticz.

@Lorccan
Copy link
Author

Lorccan commented Jul 24, 2018

I am going to close this as it appears that the duplicates are coming from Amazon's side. (Shortly after I posted the above, devices started to come back - even when ha-bridge was down.)

Amazon's front line support was laughably bad - actually making stuff up on the fly - but I deleted the iPhone and iPad Alexa apps after deleting each device individually on the iPhone app (rather than using the 'Forget All' option) and this seems, finally, to have purged the cached data.

@Lorccan Lorccan closed this as completed Jul 24, 2018
@Lorccan
Copy link
Author

Lorccan commented Jul 24, 2018

Now I am not sure if the problem is with Alexa or ha-bridge:

I removed all Bridge Devices from ha-bridge and restarted it. Alexa's list stayed empty. So far, so good.

I then added a single switch back into the Bridge Devices.

Initial discovery on Alexa finds the correct device as (type) 'Dimmable light'. However, when I do a further discovery I get a duplicate as 'Royal Philips Electronics smart device'.

In case this was an issue with a previously discovered device and a cache of some kind, I created a new (dummy) switch in Domoticz and added this to habridge. As before, initial discovery got 'Dimmable Light' and a second one got the duplicate name as 'Royal Philips Electronics smart device'.

This makes me suspect that the problem is with ha-bridge after all.

Let me know what I can provide in the way of logs to help resolve this. Thanks.

@Lorccan Lorccan reopened this Jul 24, 2018
@bwssytems
Copy link
Owner

please turn on traceupnp and post your log. Thanks

@greendog99
Copy link

@Lorccan I've run into the same thing many times. I've found that using "Forget All" doesn't work right... the devices all re-appear. But if I forget each one individually (which is a pain, obviously) they stay forgotten. Not sure if that helps narrow it down as an Alexa vs. habridge problem, but it's something you can try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants