Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bosch BTH-RA: Possible workaround for OTA problems and adding remote valve calibration #6761

Merged

Conversation

DerDreschner
Copy link
Contributor

@DerDreschner DerDreschner commented Dec 23, 2023

In the last few months, there were several people with problems during/after the OTA process (see i.e. Koenkk/zigbee2mqtt#17740). The thing is, that the native Bosch implementation works totally different then Z2M. With the native system, the new firmware gets uploaded to the device automatically within 2 days and will only be executed when triggered manually via the app. This is the same for all devices in the Bosch eco-system.

After the logfiles from #6752 (which seems to be affected as the displayed firmware version in Z2M doesn't match the actual firmware version), I suspect some kind of timeout issue in heavily congested networks as the device never got an upgradeEndRequestResponse. To mitigate this, I advanced the timeout to 1 hour and will continue to monitor the situation.

Additionally, I added support for remote valve calibration (valve_adapt_process). This is necessary after an update - so, the possibility to do that from Z2M itself instead of walking from device to device is quite handy. It's required to have Koenkk/zigbee-herdsman#836 merged. I hope this false/true implementation is okay as there is no pure "one button triggers something" in the UI. Since a calibration is only possible when the device requests for it, I've added a value to see if that is the case or not (valve_adapt_status). In the future, I'm thinking about triggering the calibration process automatically after an update. In the meantime, an automation in i.e. HA should be sufficient in case someone is missing this feature.

Other changes:

  • Adjusted the default reporting settings to match the default Bosch values. I only changed the already supported attributes. Bosch itself sets up quite more attributes no-one identified yet. Those are not added with this PR - just to avoid any confusion.
  • Added support for monitoring the setpoint source (setpoint_change_source)

@DerDreschner DerDreschner changed the title Bosch BTH-RA: Possible workaround for OTA problems and remote valve calibration Bosch BTH-RA: Possible workaround for OTA problems and adding remote valve calibration Dec 23, 2023
@Koenkk Koenkk merged commit 47412c4 into Koenkk:master Dec 24, 2023
2 checks passed
@Koenkk
Copy link
Owner

Koenkk commented Dec 24, 2023

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants