- 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.
.item
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)
vACsetTemp.sendCommand(20|°C)
.rules (for logging only)
rule 'vACsetTemp'
when
Item vACsetTemp changed
then
logInfo("ACsetTemp", "vACsetTemp=" + vACsetTemp.state)
end
.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?