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

[Bug] Toggle state is wrong sometimes #7

Closed
Dexwell opened this issue Sep 20, 2017 · 10 comments
Closed

[Bug] Toggle state is wrong sometimes #7

Dexwell opened this issue Sep 20, 2017 · 10 comments
Assignees

Comments

@Dexwell
Copy link

Dexwell commented Sep 20, 2017

Thanks for the fantastic plugin.

Sometimes the toggle says my TV it's on when it's not. Can this be fixed?

@merdok merdok self-assigned this Sep 25, 2017
@merdok
Copy link
Owner

merdok commented Sep 25, 2017

Should be fixed with version 0.8.3!
Please let me know if it works better now!

@Dexwell
Copy link
Author

Dexwell commented Sep 26, 2017

Seems to work great so far 🙌🏼

@merdok
Copy link
Owner

merdok commented Sep 26, 2017

Good to hear! Thanks for the info!

@merdok merdok closed this as completed Sep 26, 2017
@Dexwell
Copy link
Author

Dexwell commented Sep 30, 2017

Hmm, seems it isn't completely fixed after all. Siri says the TV is on when turned off with the remote. Only after I open the Home app first the TV accessories update to the correct state.

@merdok
Copy link
Owner

merdok commented Oct 1, 2017

I could reproduce the issue once with my setup, but after i asked Siri the second time right after the first one, then Siri announced the correct state.
Anyway i will check that out and see if i can improve it even further.

@merdok merdok reopened this Oct 1, 2017
@Dexwell
Copy link
Author

Dexwell commented Oct 3, 2017

Yeah, HomeKit probably does the same state 'Updating' after the first voice command.

@merdok
Copy link
Owner

merdok commented Oct 3, 2017

The TV doesn't sends out any signal to homebridge after it was turned off with the remote that is why the state needs to be checked every time the user requests the tv state. I believe the issue with siri is that it just lags the first time when she is asked about the tv state.
But still, this should not happen and i will check out if i can come up with a solution for that. I am currently busy, but i will check it out next week.

@georgkreimer
Copy link

The homebridge-yeelight plugin has a heartbeat that checks the status of the WiFi lamp every 10secs. Maybe this helps with building a solution: https://github.com/vvpossible/homebridge_yeelight/blob/master/yeelight/lib/yee.js#L90

@merdok
Copy link
Owner

merdok commented Dec 3, 2017

Thanks for that. Will check it out!

@merdok
Copy link
Owner

merdok commented Dec 10, 2017

I did some modifications, hopefully this is fixed now with the last release.

@merdok merdok closed this as completed Dec 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants