zigbee-herdsman-converters icon indicating copy to clipboard operation
zigbee-herdsman-converters copied to clipboard

Bosch BTH-RA: Automatic valve adaptation after firmware update

Open DerDreschner opened this issue 2 years ago • 6 comments

This PR is a continuation of #6761. It triggers the valve adaptation process automatically after an successful firmware update on the Bosch BTH-RA thermostat.

DerDreschner avatar Dec 28 '23 02:12 DerDreschner

  • Why is this needed?
  • Can't we make a toZigbee converter for this and let the user trigger it manually?

Koenkk avatar Dec 28 '23 08:12 Koenkk

It's not really needed, more like a "quality of life" improvement. As you mentioned, I already implemented a toZigbee converter to trigger the adaptation manually. It's necessary to do after inserting the batteries/restarting the device anyway. But I'm not sure if everyone knows that a valve adaptation is also necessary after an firmware update. If it's not done right after the update, the room could overheat as the valve is opened to 100% until the adaptation process is triggered. Therefore, I personally would prefer an automatic solution. But feel free to close the PR if you're thinking differently. :smiley:

DerDreschner avatar Jan 26 '24 06:01 DerDreschner

Does the thermostat send a deviceAnnounce when batteries are re-inserted? If yes, we can trigger on that instead in an onEvent (I expect you also get a deviceAnnounce after the update, as the device typically sends that when booting). Example on how to do something on a deviceAnnounce

Koenkk avatar Jan 26 '24 17:01 Koenkk

would be good if the adoption could be done automatically after a firmware update... after the last update of the bathrooms thermostat the temperatur rised above 30 deg until I recognized it... haha

u20p17 avatar Jun 04 '24 11:06 u20p17

@u20p17 : Someone complained about the same issue on the bosch community. I totally forgot about it and will work on it soon.

@Koenkk: Using the deviceAnnounce as trigger is a good idea. That should work, not only after firmware updates, but also e.g. changed batteries.

@burmistrzak : Do you plan to implement those changes on your rewrite? Or can/should I implement it?

DerDreschner avatar Jun 13 '24 18:06 DerDreschner

@DerDreschner Welcome back! 👋 Yeah, it's on my radar, but feel free to give it a shot. You may have to tweak some stuff to make it work with modernExtend tho. 😅

burmistrzak avatar Jun 13 '24 18:06 burmistrzak