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
Add generic support for Device ID 0x0203 "Window Covering Controller" (e.g. Sunricher SR-ZG9080A) #2432
Conversation
Did you check the open/close logic? Some devices have it reversed. When fully |
I'm very interested in this device, but unfortunately for me the patch doesn't work. See the debug output of deConz ( |
Any news here? |
If it is wired according to the manual (i"up" is connected to Q1 connector and "down" to Q2), it follows the proper logic. I.e. state.on is true when opened and false when closed. |
Hi! thanks a lot @slugzero, It works like a charm! The only think to point out is that I need to use If not the API returns an error with description By the way, @ebaauw, can you confirm this is the expected cover behavior for the deconz API?
Because deconz integration in home-assistant do it the other way around. If it is a home-assistant bug, I can fill an issue and provide a PR to fix it. |
I'm afraid it's not, sorry for that. Updated my comment. This always confuses the hell out of me (I sure hope I got it right this time):
I don't know if HA uses "percentage open" or "percentage closed". Best double-check; as I mentioned before, this always confuses the hell out of me. |
So with your updated comment, I can confirm the open/close logic is reversed for the Sunricher SR-ZG9080A. Should this issue be reopen or we create a new one just for SR-ZG9080A? HA uses "percentage closed", so Its integration of the deconz REST API is correct. |
This adds support for Sunricher window covering controller SR-ZG9080A cf.
https://sunricher.en.alibaba.com/product/62134471426-811954196/Zigbee_3_0_Zigbee_Curtain_Motor_Controller_Zigbee_Curtain_Controller_Smarthome.html
https://en.robbshop.nl/rollershutter-control-400w-zigbee-robb-smart?sqr=rollershutter%20controller&