This repository has been archived by the owner on Feb 4, 2024. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request adds support for submitting configuration data via putParamSet with different rx_mode settings for BidcosRF devices (not HmIP).
BidcosRF devices have a fourth parameter for putParamSet which defines the way the configuration data is sent to the device. See 4.2.7 in HM XML API.
rx_mode BURST, which is the default value, will wake up every device when submitting the configuration data and hence makes all devices use some battery. It is instant, i.e. the data is sent almost immediately.
rx_mode WAKEUP will send the configuration data only after a device submitted updated values to CCU, which usually happens every 3 minutes. It will not wake up every device and thus saves devices battery.
Using less bursts also reduces DutyCycle spikes, i.e. DutyCycle increasing to > 90% during 5-10 minutes or so. That is probably because of too aggressive retries. Since using WAKEUP only I haven't seen those DutyCycle spikes anymore.
I changed the method signature in a backwards compatible way using a default value. So this change shouldn't break any existing code.