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

Websocket (cloud push) support to enable automation with D2SCS scene controller buttons #3

Open
dannyvfilms opened this issue Nov 9, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@dannyvfilms
Copy link

I was happy to find this integration to hopefully be able to use the Scene Controller Buttons of my D2SCS in Home Assistant instead of through HomeKit. If I manually press the buttons in the Home Assistant interface my automations trigger, but the light switch doesn't seem to be sending any data whenever I press the buttons on the switch itself.

The main load control switch works properly and updates when pressed on the light switch, so the issue is only with the scene controller buttons. All switches are on the latest 1.6.4 firmware.

@schmittx
Copy link
Owner

schmittx commented Nov 9, 2024

Yeah, this is a known limitation as the integration works by intermittently polling the Leviton API. There is a websocket connection available, which the official app uses, that pushes updates from the API; but that's not implemented in this integration yet.

@schmittx schmittx added the enhancement New feature or request label Nov 9, 2024
@mxfire
Copy link

mxfire commented Nov 23, 2024

I have been also trying to trigger an action in HA when I press the buttons on the D2SCS. Any plans get the websocket connection to work ? The official Leviton integration is useless, yours is working so much better. thanks.

@schmittx
Copy link
Owner

Yeah, websocket support is the ultimate goal but I personally have very little experience with that and async operation, so it's a big learning curve. If someone else wants to give it a go, please feel free to.

@schmittx schmittx changed the title D2SCS Scene Controller Buttons always Unknown/Unavailable Websocket (cloud push) support to enable automation with D2SCS scene controller buttons Nov 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants