The short question first: I get the error message
2016-01-19 17:00:17.501 [ERROR] [o.o.c.s.ScriptExecutionThread ] - Error during the execution of rule ‘Update Group Roland based on Heizung’: Could not invoke method: org.openhab.model.script.actions.BusEvent.sendCommand(java.lang.String,java.lang.String) on instance: null
on every call of the rule
rule “Update Group Roland based on Heizung”
when
Item HZ_Roland_SollTemp changed
then
sendCommand(Gr_Roland_SollTemp, HZ_Roland_SollTemp.state)
end
The two items are defined as:
Number HZ_Roland_SollTemp “Soll-Temperatur Roland [%.1f °C]” { homematic=“address=LEQxxxxxxx, channel=4, parameter=SET_TEMPERATURE” }
Number Gr_Roland_SollTemp “Soll-Temperatur Roland [%.1f °C]” { homematic=“address=INT0000008, channel=1, parameter=SET_TEMPERATURE” }
Any idea, what’s going wrong here?
For a deeper view what I’m doing here:
I use a Homematic wall thermostat in combination with a radiator thermostat, both of them configured in group (this implies, that both devices are joined in the Homematic world and communicate directly with each other).
This group mechanism provides a virtual device, where all write access from OpenHAB has to go to, otherwise changes (for example the destination temperature) doesn’t reach both thermostats.
The problem here is, that the group value SET_TEMPERATURE seems to be only updated every 6 hours in OpenHAB, while the radiator SET_TEMPERATURE value is updated in real time.
But I want to use the group SET_TEMPERATURE in my sitemap to be able to see the current destination temperature and change it via OpenHAB, so the current value has to be correct, otherwise +0.5°C implies unwanted effects.
For this the above rule pushes the radiator value into the group…
This seems to work correct, except the above error message, since I see the following in the events log:
2016-01-19 17:00:17 - HZ_Roland_SollTemp state updated to 20.00
2016-01-19 17:00:17 - Gr_Roland_SollTemp state updated to 20.00
which has the same timestamp as the above error message.
So why do I see this error message?
Greetings
Roland