In this video I'm taking advantage of the built-in dimming commands in the IKEA bulbs, to achieve a seamless and smooth dimming with minimal traffic on the Zigbee network.
----------------------------------------------------
In most of my house I have IKEA Zigbee bulbs and on/off switches. I use binding to enable the switches to talk directly to the bulbs.
This gives me several advantages:
1) The light switches work even if my HA is down.
2) The dimming is very smooth
I'm currently introducing switches that are NOT Zigbee, so I'm not able to use binding for those. Therefore I had to make the dimming in Node-Red and typically that is done with a delay and sending a lot of Zigbee messages to the bulbs. And to get a somewhat smooth dimming, you need to fiddle with the timing, the step size and it is very vulnerable to the performance on your hardware. Further more it will spam your Zigbee network unnecessarily.
So I choose to explore how IKEA does the direct dimming so smooth and it turns out that there is actually dimming built-in to the bulbs and you can activate it with a Zigbee command.
The dimming commands is documented here: www.zigbee2mqt...
In this video I'm using the MQTT node in Node-Red to send Zigbee commands to the bulbs, to utilize the built-in dimming function and leave the dimming up to the bulbs.
That will give me a seamless and smooth dimming with minimal traffic on the Zigbee network and the ability to control the dimming speed without any chunking issues.
The subflow can be found here: gist.github.co...
* Remember to set the subflow's topic using either the friendly_nam or ID of either a Zigbee2MQTT light or light group.
6 сен 2024