ioBroker.iqontrol icon indicating copy to clipboard operation
ioBroker.iqontrol copied to clipboard

iQontrolHomematicIpThermostat doesn't set the control mode correctly

Open tehXor opened this issue 3 years ago • 0 comments

Describe the bug
Switching from manual to automatic control mode does not work.

To Reproduce
With a HmIP-WTH-2 which has the role iQontrolHomematicIpThermostat:

  1. Go to extended dialog
  2. Switch from the default automatic mode to manual (which works)
  3. Switch from manual mode back to automatic (this does not work and it also tries to trigger boost)

Expected behavior
Switching back to manual mode should work.

Screenshots & Logfiles
n/a

Versions:

  • Adapter version: 2.0.0
  • Chrome: 105

Workaround In index.js change: Line 9784

var value = $("input[name='DialogThermostatControlModeCheckboxradio']:checked").val();

to

var value = parseInt($("input[name='DialogThermostatControlModeCheckboxradio']:checked").val());

and

Line 9799

var setValue = setValues[index] || true;

to

var setValue = setValues[index]
if (setValue === undefined) setValue = true

(Not sure if the workaround covers all cases, I just tried for my specific case which does not include boost for example.)

tehXor avatar Sep 13 '22 21:09 tehXor