/ openhab

Homematic rules (1)

postUpdate() vs sendCommand()

postUpdate will not be send to the 'bus' which results just in an update to the display in Openhab.

rule "Aussentemp -> CCU"
when
    Item ZwAeonTemperature received update or
    Time cron "0/5 * * ? * *"
then
    logInfo("Test", ccuVarAussenTemp.toString)
    ccuVarAussenTemp.postUpdate(ZwAeonTemperature.state)
    sendCommand(ccuVarAussenTemp, ZwAeonTemperature.state)
    sendCommand(Reload_Datapoints, ON)
end