neeo-sdk icon indicating copy to clipboard operation
neeo-sdk copied to clipboard

Multiple Switches in same device respond together on remote

Open wayfarer003 opened this issue 7 years ago • 5 comments

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.

wayfarer003 avatar Oct 06 '18 19:10 wayfarer003

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?

MichaelKohler avatar Oct 06 '18 20:10 MichaelKohler

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

wayfarer003 avatar Oct 06 '18 20:10 wayfarer003

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

MichaelKohler avatar Oct 06 '18 20:10 MichaelKohler

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

MichaelKohler avatar Oct 08 '18 16:10 MichaelKohler

Hi Michael,

Thanks for confirming.

wayfarer003 avatar Oct 09 '18 11:10 wayfarer003