I’m trying to figure out how to make automations that emulate the way the IKEA controller works on IKEA lights.
The simple one is of course the middle button, that will toggle the light, and that works.
But how do I make an automation that dims the light 10% per click for the ‘brightness’ buttons, and how do I make the ‘arrow’ buttons change between colours in a range?
I found this page but that seems to get very complex if I have more than one light, 4 automations, and 4 scripts per light.
I know it’s written for the z-wave, but I guess I can use the same methods for zigbee.
Secondly the ‘colors’, I guess I can make a script that goes through an array, and just set’s colours stored in the array? I have no idea on how to do that right now.
Finally the ‘effects’ is the effects even settable through the integration?
Do you use DeCONZ or ZigBee2MQTT?
I’m asking because I created an app available in HACS for DeCONZ that allows smooth dimming with long press/release of a button and more and I could probably easily extend this app to include the color changing. Currently it says that it’s only for the Hue Dimmer switch, but adding other remotes is relatively easy (doing this right now for two other remotes and will merge it to the app once I get positive feedback from the testers)
Some other guy created an app available in HACS for ZigBee2MQTT, which I think supports the color change already.
Regarding this app, it currently supports zigbee2mqtt, but I have been working to give support to deConz as well. The code for deConz is currently on development and waiting to get some feedback. Some day this week I will release the latest code. As @Burningstone says, it now supports color changing for light controllers and lights that work with xy color.
You guys are the greatest! Thankyou @Burningstone and @xaviml!
Sorry for being unclear, I’m using conbee. I did consider the zigbee2mqtt, but I had to give up, sorry!
In answer to the effect
in the lovelace UI no not even the speed show’s up just the details down the botton in the more-info
through service call you can set all
it seems you have to setup it up with MQTT to have a proper Ui Card with effect and speed list that you can select in the UI.
i do have another question for you
why does my existing deconz integration keep dropping after a complete system reboot
i have to delete what is there and configure the newly discovered one, but its always the same gateway ID
i’m probably going to answer my own question, i don’t think i disabled the modemmanger
i did enable the dialout user