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

Having to repeat command #605

Closed
lemrock opened this issue Apr 19, 2017 · 12 comments
Closed

Having to repeat command #605

lemrock opened this issue Apr 19, 2017 · 12 comments
Labels

Comments

@lemrock
Copy link

lemrock commented Apr 19, 2017

Ever since release 4.1.1 (and releases thereafter) I find myself having to repeat a command. It's not that Echo doesn't hear clearly...the device answers with the affirmative "OK". But nothing gets executed. When I repeat the command a second time everything works as expected. It doesn't happen on every command and I can't tell you how often. I've experimented with the different releases and found that with 3.5.1 the issue seems to not be there at all.

@wookienow
Copy link

I have seen similar behavior and thought it was just me or that the devices ha-bridge was talking to were not reacting to the commands.

@bwssytems
Copy link
Owner

what is your target system that is having this issue?

@lemrock
Copy link
Author

lemrock commented Apr 20, 2017 via email

@bwssytems
Copy link
Owner

let's turn on debug for the huemulator and httpdevice so we can see what is happening.

@lemrock
Copy link
Author

lemrock commented Apr 21, 2017

I turned on the proper debugger for the huemulator but not sure for httpdevice. Anyway, I got the issue to happen. I asked to turn on the Ceiling Lights, Echo said "OK" but no execution. I asked again and then it worked. I have attached a log.
Log.docx

@bwssytems
Copy link
Owner

It looks like it is getting double requests to change the light state within milliseconds of each other. One set of items is going out with intensity levels and the other ones are going out saying turn off. Is there something else that can control you ha-bridge?

@lemrock
Copy link
Author

lemrock commented Apr 21, 2017 via email

@bwssytems
Copy link
Owner

Well my thought is incorrect on that as it is coming from the same IP Address and user id. Does the echo have duplicate devices from multiple discoveries?

@bwssytems
Copy link
Owner

Looking at the code is that the ha-bridge is being called twice from the same device, your echo. I would do a forget all devices and discover again. Also, could you post your device.db file. Thanks

@lemrock
Copy link
Author

lemrock commented Apr 24, 2017

I realized that I have a second HA bridge initialized on another port but with no devices attached. This was from the days when there was a device limit per bridge. Could this be the reason for my issue?

I didn't mean to close this comment but I can't see how to reopen it.

@lemrock lemrock closed this as completed Apr 24, 2017
@bwssytems
Copy link
Owner

Yes, This is the issue. The other echo is sending the response through the original echo. They have hive minds and share configurations.

@bwssytems
Copy link
Owner

Also, they use each other to execute commands. i.e. echo2 hears command and when it comes back from amazon it goes to echo1.

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