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

Multiple Switches in same device respond together on remote #140

Open
wayfarer003 opened this issue Oct 6, 2018 · 5 comments
Open

Multiple Switches in same device respond together on remote #140

wayfarer003 opened this issue Oct 6, 2018 · 5 comments

Comments

@wayfarer003
Copy link

Declaring multiple switches in the same AVRECEIVER device results in all switches being toggled on the physical remote UI at the same time. Controller log only shows switch 1 actually receiving a transition but the UI shows all changing state upon using interaction.

The IOS app for iphone does not have this behavior.

Each switch is assigned its own getter/setter to avoid conflicts.

@MichaelKohler
Copy link
Member

Thanks for filing this issue. Am I correct with the assumption that you are exposing these switches in the driver and then you add them as shortcuts?

Is your code available somewhere so we can try to reproduce this?

@wayfarer003
Copy link
Author

Yes, correct in your assumptions.

Another odd effect. If I remove all four switches and only add back a single switch say #2....the console log only indicates that switch #1 is the one being affected. Again, this is different than the IOS app.

Using the SDK example drop the following code into ./lib/cs_ls10 and set the devices/index.js correctly.
The remote has a basic projector + the sdk example media device in the room.

cs_ls10.zip

@MichaelKohler
Copy link
Member

Thanks, I will have a look on Monday and report back.

@MichaelKohler
Copy link
Member

Hi @wayfarer003 . Thanks for filing this bug. I just verified that this is indeed reproducible. This is a known bug we are already tracking in our internal system. I've set the labels here accordingly.

Internal reference: IUI-4438

@wayfarer003
Copy link
Author

Hi Michael,

Thanks for confirming.

@MichaelKohler MichaelKohler removed their assignment Apr 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants