thkl / homebridge-homematic

Homematic plugin for homebridge: https://github.com/nfarina/homebridge
180 stars 49 forks source link

Thermostate mode changed when setting temperature #604

Open Obsouleet opened 4 years ago

Obsouleet commented 4 years ago

**Describe

Thermostate mode changed to manu when setting temperature

Version 0.0.219

Which Homematic Device or Service the bug is about HM-CC-RT-DN

To Reproduce

  1. change temperature per Siri or home app
  2. temperature is set correctly
  3. but the mode of the thermostate is set to manu
  4. always

Actual behaviour as said above

Expected behavior The mode should not be affected by setting the temperature

Alwiz79 commented 4 years ago

Ich kann das leider auch reproduzieren.

Schosch83 commented 3 years ago

I have the same Iso!!

nobiman commented 2 years ago

Same issue with HM-CC-RT-DN and HM-TC-IT-WM-W-EU.

yarc-de commented 1 year ago

I know that this thread is quite old, but I had the same issue. The magic happens in HomeMaticHomeKitThermalControlService.js at

.on('set', function (value, callback) { if (that.getCache('CONTROL_MODE') !== 1 ) { that.delayed('set', 'MANU_MODE', { 'explicitDouble': value }, that.delayOnSet) that.setCache('CONTROL_MODE', 1) // set to Manual Mode } else { that.delayed('set', 'SET_TEMPERATURE', { 'explicitDouble': value }, that.delayOnSet) } callback() })

Not sure, when the method that.getCache('CONTROL_MODE') isn't equal to 1, but that seems always the case in my setup. So every change sets the mode to Manu. For my part, I commented that part and it worked fine for me.