-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Ubisys S1/2 commandToggle #1850
Comments
Yes, why not? But you might also want to test if actions will also be emitted by Z2M in the standard binding configuration (with inputs bound to outputs) and if they have any negative impact on the average user. And as for the the converters, you could probably rename |
I did some testing, I repaired a switch that was on on/off mode with the default bindings, it does not emit any commandXXX. Unbinding and binding it to either the coordinator or to a group seems to work though. I'll play with adding ubisys_c4_onoff to my S1 to see if that is enough. Looking at the S1 and S2's endpoints I think those would only have onoff, level, and scenes as there are no endpoints for anything else. Should not be to hard to figure out which device support what by looking at the endpoints. |
This was with jus the converter added without looking at the ep mappings, for a S1 and S2 Also looks like we missed a few:
It might also be possible to just leverage
command_toggle command_on command_off command_recall command_cover_open command_cover_close command_cover_stop command_move command_stop For S1 and S2 they will provide all the info and with same naming as other devices. |
That seems to give nice results:
|
* Ubisys S1/S2 can support action When the control endpoints of a S1 (only 1 endpoint) or an S2 (2 endpoints) are bound to a group they emit commands. Before they were only captured for Ubisys C4, we now capture them for S1 and S2 too. I don't have access to other devices to add them. I've decided to go with the standard way of implementing this instead of extending ubisys_c4_* fromZigbee converters. As the default way of handling this works nicely. * Ubisys S1/S2 update exposes with action
cc @felixstorm
Just noticed, we can probably also add an action to the Ubisys devices. Say you have the client genOnOff/genlevelCtrl unbound from the server side. If we expose this we could use them in hass for example to control server side automatons.
Not sure it's worth it though, thoughts on this? the actual command may vary based on the configuration. Mine are momentum switches so commandToggle makes sense here.
So would this be worth adding? If so I could have a go at this.
The text was updated successfully, but these errors were encountered: