gurumitts / pylutron-caseta

Apache License 2.0
153 stars 98 forks source link

Multiple button presses not handled correctly #141

Open lastacorn opened 1 year ago

lastacorn commented 1 year ago

While setting up some automations in HomeAssistant I discovered that multiple Pico presses are not handled properly. I'm using a PJ2-3BRL-GXX-X01 and a Lutron Pro bridge.

I threw in a few logpoints in leap.py and captured the attached detail. It looks to me like the bridge is the one handling this incorrectly, but figured I'd open a bug anyway in case there is some way to work around it.

See https://github.com/home-assistant/core/issues/92654 for more context.

Logpoints at: Leap.py: 69 -- "Write: {text}" Leap.py: 80 -- "Read: {received}"

leap.log

nickmayer commented 1 year ago

I thought this maybe used to work with the lutron_caseta_pro telnet based interface, but I guess not. Similar results. Probably not much to be done about it ☹️

Press Up, Press Down, Release Up, Release Down DEVICE,52,2,3 DEVICE,52,4,3 DEVICE,52,4,4

Press Up, Press Down, Release Down, Release Up DEVICE,52,2,3 DEVICE,52,2,3 DEVICE,52,2,4

nickmayer commented 1 year ago

I opened a ticket with Lutron support and got this response

The Caseta device (Pico/switch/dimmer) itself can only handle one press and release sequence from a single button at a time. Pressing and holding a button, and pressing another button will cause the device to not track the first button so a release command will never be sent. This is expected behavior within the Caseta system.