Number:Temperature: sendCommand(20|°C) from rule does not work, SetPoint from SiteMap does

  • Platform information:
    • Hardware: x86_64/4GB/SSD
    • OS: Ubuntu 4.15.0-66-generic #75-Ubuntu SMP Tue Oct 1 05:24:09 UTC 2019
    • Java Runtime Environment:
      openjdk version “11.0.8” 2020-07-14
      OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1)
      OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu118.04.1, mixed mode, sharing)
    • openHAB version: 2.5.9
  • Issue of the topic: sendCommand(20|°C) from rule does not work, SetPoint from SiteMap does.


Number:Temperature vACsetTemp "Target temperature [%.0f °C]" <temperature> { channel = "daikin:ac_unit:192_168_1_8:settemp" }

.sitemap (changing setpoint here works fine)

Setpoint item=vACsetTemp minValue=18 maxValue=30 step=1

.script (does not ‘take’, value in sitemap flips back to previous value after about 30s)


.rules (for logging only)

rule 'vACsetTemp'
    Item vACsetTemp changed
    logInfo("ACsetTemp", "vACsetTemp=" + vACsetTemp.state)

.log (first entry just after sendCommand(), second on refresh from AC)

2020-11-20 14:14:10.602 [INFO ] [pse.smarthome.model.script.ACsetTemp] - vACsetTemp=20.0 °C

2020-11-20 14:14:49.940 [INFO ] [pse.smarthome.model.script.ACsetTemp] - vACsetTemp=24.0 °C

Have I done something wrong, or could this be a Daikin binding issue?

I am not sure if i can help u but i am using something similar in my innogy binding to set
different temperature at different times. I use
and this works fine.
Maybe u try it …

Thank you.

I have tried:
but not

Will try that and report back :slight_smile:

Edit: hmm, plot thickens. Seems like calling sendCommand() from a .script file fails. Same from a .rules file works fine. Strange …

And my face is red…
Turned out the script was never called.
All permutations of the constant parameter above work fine.

1 Like