-
-
Notifications
You must be signed in to change notification settings - Fork 71
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 support for ICTC-G-1 controller #5
Conversation
Hi @EPMatt , First of all, thank you for your support and for bringing this new device integration to this repository. I casually was changing the code when you submitted the PR, so I integrated your functionality on it. I had to change the base code so new devices can be integrated in a much easier way. Unfortunately, I do not have a Would you be able to check the code and let me know if it works as expected? Thank you very much! |
Hi @xaviml, nice work on the app refactor!
It looks like in IKEA Zigbee implementation the dimmer directly sets the bulb brightness by sending it in the payload to the light. But since we deal with just the So messages trigger the
I could try to reimplement the |
Hi @EPMatt, Thanks for your detailed reply. I observed that there was a bug related to the "hold" action. The problem was that if "hold" was called one after the other, each thread would go through the loop. Now I fixed it, so the hold function of the "rotate_right" should be called once and then it will called released when "rotate_stop". Let me know if this fixed the problem. |
Hi @xaviml, |
Okay @EPMatt. If needed, you can create new functions (with an "action" decorator) to the LightController that can be called from the device integration. Good luck with it! |
Thanks @xaviml! I'm closing this PR and opening a new one with the fix. |
The ICTC-G-1 wireless dimmer from IKEA is out of production but it's still being sold around.
It works differently from the other controllers but I managed to integrate it quite well, although sometimes the dimming function is not totally fluent and could be a little slow. This is probably caused by the large quantity of messages sent by the dimmer itself and the whole zigbee2mqtt/hass/appdaemon software roundtrip.
Succesfully tested with
delay : 150
in the app configuration.