Open CSdread opened 1 year ago
hi @aarons22 im also running into a closely related issue that can be similarly solved: https://forum.bondhome.io/t/need-to-hold-repeat-rf-signal-for-a-few-seconds/1059
hey @CSdread - thanks for putting this together. I took a look at your code and delay_in_seconds
doesn't appear to be used anywhere beyond the config validation. Did you still need that or should it be removed?
Adds two configuration options: 1) request_timeout which controls the timeout for requests to the bond bridge, this solves the timeout issue on initialization of the accessories on first startup 2) delay_in_seconds which controls the delay between issuing commands through the bond bridge. When there are a lot of shades or accessories in a scene commands can get lost due to quantity in a short period of time.
The defaults keep behavior as it is now, but allows for tuning to make things work. These changes are required for the plugin to function with a Bond Bridge Pro and 24 shades with scenes that contain almost all of those shades.