Issue with Balboa Binding resetting Target Temperature

I am a bit confused by the binding/whatever:

I try to set the TargetTemperature to 30°C, but it keeps jumping back to 38°C:
Whenever I set the TargetTemp rule based

  if (TargetTemp > LowTemp) {
    logInfo("Whirlpool.SetTemp.AUTO", "SetTemp: " + LowTemp)
    Whirlpool_TargetTemperature.postUpdate(LowTemp);
  }

I always use the logInfo command together with the postUpdate.
System responds with

2021-02-09 17:09:05.089 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Whirlpool_TargetTemperature' changed from 38.0 °C to 30.0 °C

2021-02-09 17:09:05.324 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Whirlpool_TargetTemperature' changed from 30.0 °C to 38.0 °C

for every single call. I do not know where the second (“30 to 38”) is coming from.
Any idea?

2021-02-09 17:05:05.084 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Whirlpool_TargetTemperature' changed from 38.0 °C to 30.0 °C

2021-02-09 17:05:05.398 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Whirlpool_TargetTemperature' changed from 30.0 °C to 38.0 °C

2021-02-09 17:05:20.046 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - ------------------------------------------------------------------------------

2021-02-09 17:05:20.052 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Persistent_BALBOA_OPERATIONMODE: AUTO

2021-02-09 17:05:20.054 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - BALBOA_MANUAL:                   OFF

2021-02-09 17:05:20.057 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Whirlpool_TargetTemperature:     38.0 °C

2021-02-09 17:05:20.059 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Whirlpool_TemperatureRange:      HIGH

2021-02-09 17:05:20.076 [INFO ] [.model.script.Whirlpool.SetTemp.AUTO] - SetTemp: 30

2021-02-09 17:05:20.079 [INFO ] [.model.script.Whirlpool.SetTemp.AUTO] - SwitchOn: 0

2021-02-09 17:05:20.081 [INFO ] [.model.script.Whirlpool.SetTemp.AUTO] - SwitchOff: 17

2021-02-09 17:05:20.087 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Whirlpool_TargetTemperature' changed from 38.0 °C to 30.0 °C

2021-02-09 17:05:35.046 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - ------------------------------------------------------------------------------

2021-02-09 17:05:35.053 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Persistent_BALBOA_OPERATIONMODE: AUTO

2021-02-09 17:05:35.056 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - BALBOA_MANUAL:                   OFF

2021-02-09 17:05:35.059 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Whirlpool_TargetTemperature:     30.0 °C

2021-02-09 17:05:35.061 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Whirlpool_TemperatureRange:      HIGH

2021-02-09 17:05:35.079 [INFO ] [.model.script.Whirlpool.SetTemp.AUTO] - SwitchOn: 0

2021-02-09 17:05:35.082 [INFO ] [.model.script.Whirlpool.SetTemp.AUTO] - SwitchOff: 18

2021-02-09 17:05:50.046 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - ------------------------------------------------------------------------------

2021-02-09 17:05:50.062 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Persistent_BALBOA_OPERATIONMODE: AUTO

2021-02-09 17:05:50.065 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - BALBOA_MANUAL:                   OFF

2021-02-09 17:05:50.067 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Whirlpool_TargetTemperature:     30.0 °C

2021-02-09 17:05:50.070 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Whirlpool_TemperatureRange:      HIGH

2021-02-09 17:05:50.086 [INFO ] [.model.script.Whirlpool.SetTemp.AUTO] - SwitchOn: 0

2021-02-09 17:05:50.088 [INFO ] [.model.script.Whirlpool.SetTemp.AUTO] - SwitchOff: 19

2021-02-09 17:05:51.282 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Whirlpool_TargetTemperature' changed from 30.0 °C to 38.0 °C

2021-02-09 17:06:05.047 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - ------------------------------------------------------------------------------

2021-02-09 17:06:05.052 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Persistent_BALBOA_OPERATIONMODE: AUTO

2021-02-09 17:06:05.055 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - BALBOA_MANUAL:                   OFF

2021-02-09 17:06:05.057 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Whirlpool_TargetTemperature:     38.0 °C

2021-02-09 17:06:05.060 [INFO ] [odel.script.Whirlpool.SetTemp.Before] - Whirlpool_TemperatureRange:      HIGH


2021-02-09 17:06:05.090 [INFO ] [.model.script.Whirlpool.SetTemp.AUTO] - SetTemp: 30

2021-02-09 17:06:05.094 [INFO ] [.model.script.Whirlpool.SetTemp.AUTO] - SwitchOn: 0

2021-02-09 17:06:05.096 [INFO ] [.model.script.Whirlpool.SetTemp.AUTO] - SwitchOff: 20

2021-02-09 17:06:05.099 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Whirlpool_TargetTemperature' changed from 38.0 °C to 30.0 °C

2021-02-09 17:06:05.378 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Whirlpool_TargetTemperature' changed from 30.0 °C to 38.0 °C

This just updates the Item state held in openHAB. If the Item is linked to some device, at its next report that will get overwritten by what the device really thinks…

If you want something to be sent by the binding to the device, you’ll be wanting to use sendCommand() instead.

Bear in mind postUpdate and sendCommand are asynchronous, your rule will not stop and wait for that to take effect. If you follow immediately with an attempt to log the target Item state, you’ll probably get the old state.

Same result, tried that already,

When using a slider, and Monitoring the log, it says item changed, not item received command.

I do not log the state of the item, just log the new value trying to set the value of the item (with either method).
I use this as a debugger replacement to see if a certain command has been processed in the rules or not, and which item should be set to what value.

There must be someting else, I am not sure what.

Can we see that?

The following log I get, when sending the temperature with sendCommand():

2021-02-11 11:43:58.003 [INFO ] [openhab.event.ItemCommandEvent      ] - Item 'Whirlpool_TargetTemperature' received command 38.0 °C

2021-02-11 11:43:58.004 [INFO ] [penhab.event.ItemStatePredictedEvent] - Item 'Whirlpool_TargetTemperature' predicted to become 30.0 °C

and nothing changes.

There is no difference if I send any of the following:

sendCommand(38 + " °C");
sendCommand(38.0 + " °C");
sendCommand(38);
sendCommand(38.0);

This is all completely confusing.

There’s the received command that you worried me by saying it was not present.

But -

autoupdate has predicted a different result. For explanation why, see

Either the binding has vetoed autoupdate, or perhaps more likely the Item-channel link is broken in some way. Invalid channel, or the associated Thing is offline.

So now we need to look in detail at Item-channel.
What type of Item is this? What type of channel is it linked to? What is the parent Thing like?

Circling back a bit -

I think you’ve run into this UI bug-

and really that’s just a sideshow to your rule problem, for now.

@ThomasBrodkorb Hi, could you fix this problem in the meantime? Im having a whirlpool with balboa, too. Im struggeling with the same problem and looking for a solution.

best regards
Björn

Keep high range in mind, you need to set it to your temperature range

thanks, with high range it is working fine.