Hi,
I’m running openhab 2.2 on a windows 10 server.
currently I have around 10 zwave nodes which got successfully manageable via habpanel and amazon alexa. But I run into some problems when alexa should execute some commands where I setup a rule (on single commands alexa does work really well).
e.g. I want to switch on/off all lights in the ground floor, then sometimes only 1 or 2 lights got on/off instead of all. When I press the same item button where the same rule got executed via habpanel, then it does work without any error rate.
amazon echo is setup via philips hue emulation.
my item line for such a command looks like this:
Switch UntenAlle "Unten Alle" <light> ["Lighting"]
Unten Alle = all ground floor
the rule for this:
rule UntenAlleAus
when Item UntenAlle received command OFF
then
FlurUnten.sendCommand(OFF)
createTimer(now.plusSeconds(1)) [|
Kueche.sendCommand(OFF)
]
createTimer(now.plusSeconds(2)) [|
Wohnzimmer.sendCommand(OFF)
]
createTimer(now.plusSeconds(3)) [|
Esstisch.sendCommand(OFF)
]
end
rule UntenAlleAn
when Item UntenAlle received command ON
then
FlurUnten.sendCommand(ON)
createTimer(now.plusSeconds(1)) [|
Kueche.sendCommand(ON)
]
createTimer(now.plusSeconds(2)) [|
Wohnzimmer.sendCommand(ON)
]
createTimer(now.plusSeconds(3)) [|
Esstisch.sendCommand(ON)
]
end
I added the timer just for test purposes. normally, I believe, it should work without timer when a stable mesh is available, isnt it?!
thx in advance for help