I have a couple of IKEA Tradfri bulbs linked to an Ember-based zigbee stick, using the generic Zigbee binding. It works fine, most of the time. I have a modern house, with lots of reinforced concrete, which is always difficult for any radio based solution. So every now and then, a Zigbee message seems to get lost. This results e.g. in one of the bulbs not turning off, if I give an off command to a group of bulbs. I’m afraid there’s not much I can do to improve the situation.
However, I notice the behavior of OpenHAB is not ideal for my situation. In the above example, if that one bulb stays on, after a couple of minutes, the communication between OpenHAB and the bulb restores. Then OpenHAB notices that the state of the bulb is different from the state of the Item. It then updates the Item. In other words: the state of the bulb overrides the state of the item. Only when I manually reset the state of the Item again, the bulb finally goes off.
I want my bulbs to go on and off according to a schedule. That means I won’t be there to manually put the bulb off when this happens. Is there a simple way to change the behavior of OpenHAB, so that it always let the Item state override the bulb state? That way, it the above situation, the bulb would go off at the moment the communication with OpenHAB is restored.
Any suggestions would be highly appreciated!