Open thk-socal opened 8 months ago
This is a great suggestion. I think we do not even need to make this configurable but just add a random offset to each Adaptive Lighting switch.
[Copy pasting this message in a few recent open issues]
I just wanted to take a moment to express my heartfelt thanks to everyone that is active in this repo. Your contributions, from answering questions to addressing issues, have been invaluable. It's amazing to see how supportive and helpful our community is!
Adaptive Lighting is all about enhancing your living spaces with smart, sunlight-responsive lighting. We've had quite a few discussions and open issues recently, and I see this as a positive sign of our community's engagement and growth. If you come across anything in the documentation that's unclear or if you have suggestions for improvement, please don't hesitate to share!. Your feedback is crucial for making Adaptive Lighting better for everyone.
On a personal note, I've recently welcomed twin boys into my family, which has been an incredible and life-changing experience. As you can imagine, my time is now more limited, and while I'm doing my best to keep up with the project, there may be delays in my responses. I appreciate your understanding and patience during this time.
Rest assured, I'm fully committed to addressing any bugs, especially those related to new Home Assistant updates, as swiftly as possible. I understand that many issues may stem from hardware limitations or misunderstandings about things like Zigbee groups. Your continued support and collaboration in helping each other out not only strengthen our community but also enhance the Adaptive Lighting experience for all.
Thank you once again for your understanding, patience, and support. Let's keep our houses well lit and adaptive for maximal enjoyment of life! ๐๐ ๐
This is a great suggestion. I think we do not even need to make this configurable but just add a random offset to each Adaptive Lighting switch.
While I see why you would think that it should not be configurable, I would argue that in some cases the transition time will be short enough that a random offset would be noticeable if you have multiple groups to dim in the same room. How about it is random unless you include something that groups the lights? That was for specific scenarios the option is there to keep groups in sync if you have a short transition.
Also, congrats on the twins! Hope you and the family are well and enjoying this very special time!
As I have been working with this in Node-RED, while waiting for an adjustment, I have found the best option is to have a queue that allows 1 message every 1.5 seconds. The queue can build up and continue to function as the messages are sent and the queue empties. So I would love the option to have an "Messages Allowed" and "Message Time Window" setting.
"Messages Alowed": 1 "Message Time Window": 1.5 seconds
That would stop overloads on the Zigbee networks for me as I can send 8 group broadcasts per 10 second window.
I'm having the exact same problem and am intrigued about the Node-RED queue you mentioned @thk-socal. Would you mind sharing more details about it?
Globally limiting the rate at which AL adapts lights across all switches sounds like the right solution to me, e.g. at most one adjustment every 2 seconds.
Random intervals/delays may improve things, but can still lead to overloading the network occasionally.
I have a large Zigbee network and I am utilizing ZHA on Home Assistant. I have a lot of lights and many groups. Adaptive Lighting has been fabulous, but there are some cases where I have 15 Zigbee groups that need to change with the same light adaptation settings. To accomplish this I have created multiple adaptive light settings that are just duplicates of each other and then limit the amount of light groups in those settings and have them have different adjustment times.
So I have two propositions for helping reduce congestion of Zigbee broadcasts:
Allow for an option calld "spread_change" which takes the lights/groups for the light changes and spreads that change across the list. Now of course you will want certain lights to always be in sync so perhaps a format like:
In the situation that there are multiple groups of lights, and you want to avoid network overload with changes allow for an offset for each light in the AL settings. So if there is an offset setting, then the system adds the offset to the change window. So below the Master Bedroom always changes at 300 second interval and the Kitchen always changes 10 seconds after the Master Bedroom etc...