I’ve been experimenting with some own build hardware for my rollershutters. So far I have a few rules to open and close them. However what I am not getting to work is driving them to an intermediate state.
According to my research it should be possible to send a value like 80 to them and then they will be set to 80% closed (or opened?)
Anyhow, when using
it is throwing an exception. It only accepts UP, DOWN, STOP as possible comands. Are there some sample rules how to implement this? Or does this need to be implemented by the hardware controller? I am using http during the development phase for now.
Thank you and best Regards,
one workaround could be using a stop watch
use a rule:
Thread::sleep(10000) // whereas 100000 is the milisecond time it should wait
thank you. I saw this and sure that works. it this only stopping this particular thread or doing some harm to the whole system?
no just the Thread. i use ist e.g in a rule like this one:
rule "React to sunset - ASTRO"
Item Twilight_Event received update ON
logInfo("Sunset","reacted on SUNSET_Event")
which lets all shutters going down completly besides the Shutter_EG_WZ_West_door which stops after 19seconds.
all other rules run still as expected.