BlueSonosButton icon indicating copy to clipboard operation
BlueSonosButton copied to clipboard

Losing connection to remote.

Open gmglickman opened this issue 7 years ago • 0 comments

After installation and setup on my Pi3 running node-sonos-http-api, the remote is found but has no effect, seems to be repeatedly losing connection.

I'm getting this every time ~/BlueSonosButton $ python controlSonos.py Script started. Searching for Satechi Media Button... Button found: device /dev/input/event3, name "Satechi Media Button", phys "b8:27:eb:aa:cd:14" Received event KEY_PLAYPAUSE -> Sending command playpause '' Lost connection! Start searching... Button found: device /dev/input/event3, name "Satechi Media Button", phys "b8:27:eb:aa:cd:14" Received event KEY_PLAYPAUSE -> Sending command playpause '' Lost connection! Start searching... Button found: device /dev/input/event3, name "Satechi Media Button", phys "b8:27:eb:aa:cd:14" Received event KEY_PREVIOUSSONG -> Sending command previous '' Lost connection! Start searching... Button found: device /dev/input/event3, name "Satechi Media Button", phys "b8:27:eb:aa:cd:14" Received event KEY_VOLUMEDOWN -> Sending command volume/-2 '' Lost connection! Start searching... Button found: device /dev/input/event3, name "Satechi Media Button", phys "b8:27:eb:aa:cd:14" Received event KEY_VOLUMEDOWN -> Sending command volume/-2 '' Lost connection! Start searching... Despite 'Sending command...' nothing changes. Any suggestions? Thanks.

As an aside, would you consider accommodating multiple remotes? Perhaps identifying by MAC address rather than name.

gmglickman avatar Dec 13 '17 16:12 gmglickman