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

Second Device in Scene Not Switching #3

Closed
andykartman opened this issue Aug 14, 2016 · 9 comments
Closed

Second Device in Scene Not Switching #3

andykartman opened this issue Aug 14, 2016 · 9 comments
Assignees
Labels

Comments

@andykartman
Copy link

Thanks for the great plugin. Seems to be running really well for me. One issue I have though, not sure it a plugin / homebridge or Apple Home issue.

I am using the new apple Home App on IOS 10, and I have 3 x watts clever power sockets running. All the on / off switching works flawlessly, except in the Scenes. If I have two of the sockets doing something in the Scene, only the first socket that was added to the scene will switch according to the scene requirements.

I don't have that issue with other items such as my milights which also run on homebridge. I can have mulitple of those in the scene and they switch OK.

Maybe a timing thing? I have also noticed if I turn the switch on and off very quickly via the app it also misses the signal, which also does not happen with the milights.

Any clues on what I could do to resolve the issue? Can I add a slight delay somehow in between signals being sent?

Many thanks

@n8henrie
Copy link
Owner

Huh, I've never used Scenes. Did they exist before iOS10? I may have to check this out once I update to see if I can reproduce the issue.

Yes, I imagine it may have to do with trying to switch them all at once.

@andykartman
Copy link
Author

Thanks for the reply.

Scenes are part of the new Apple Home App that has now been included with the IOS 10 (beta at the moment).

@n8henrie
Copy link
Owner

Well, I will definitely take a look at this once I upgrade to iOS 10, but that likely won't be before the official release. Sorry for the delay. If you find a workaround in the meantime please update here or send a PR.

@andykartman
Copy link
Author

Ok, Thanks

@n8henrie
Copy link
Owner

iOS 10 installed -- I can confirm the issue.

@n8henrie n8henrie added the bug label Sep 16, 2016
@n8henrie n8henrie self-assigned this Sep 16, 2016
@n8henrie
Copy link
Owner

n8henrie commented Sep 16, 2016

Oddly, Homebridge's debug output thinks the switches are getting called, but I'm not seeing any output at all with RFSniffer, as if they weren't doing anything at all... but occasionally one of the switches works, so I know it is. Odd.

@n8henrie
Copy link
Owner

Sorry for the extended delay. @andykartman -- any updates since September on your end?

Thinking through this, I really wonder if it may be an issue with Homebridge calling both switches in the scene simultaneously, making the transmitter (especially with its default number of repeats) try to call both switches at the same time and mucking up the signal.

Maybe -- at least for debugging -- I could add a small random delay between each transmission? Though I wonder -- if this is indeed the problem -- if a better solution might be upstream in Homebridge, having it call devices in a scene in serial instead of async / simultaneously (assuming it doesn't do this already).

@n8henrie
Copy link
Owner

I can no longer replicate with homebridge 0.4.16 and homebridge-rcswitch-gpiomem, a scene with 2 of my RCSwitch accessories is working reliably. @andykartman can you update and try again?

Given no updates since September and now working for me, I am going to go ahead and close -- will reopen if needed.

@andykartman
Copy link
Author

Thanks for the update. Traveling at the moment but will update and check next week.

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

2 participants