Hi I have set up a routine that closes the curtains when a rain sensor gets wet. The sensor heats up to dry the plate and therefore as soon as it is completely dry, if it rains again the routine starts again, but the curtains are still closed. How can I prevent the routine from starting again in a short time?
How are you creating the scene? In the cloud or locally on an iHost/NSPP?
In the cloud
That is a pity. Do you have an old spare eWeLink device? You could just have that being off as a joint trigger and turn it on with the first activation.
There used to be a free service called Apilio that let you create booleans in the cloud from eWeLink, via IFTTT (also once free). Now if there is an equivalent I don’t know it.
I’ve got an account in apilio, but I’ve not any ideas how to make boleans conditions
I’ve not used Apilio for ages and the interface looks much better now. The screenshots I’ve seen have creating a Boolean variable in a tab on the left. Then you create a condition based on that variable, which is a bit pointless here. Then a logic block.
You can just have your trigger cause the logic block to be evaluated and the Boolean set to whether there is water or not. There used to be a simple way to set the Boolean true after the first use and then reset it to false once there is no water.
Then you just have a logic block evaluate whether your Boolean is false triggered by each event that causes it to shut.
For example, you could call the Boolean Variable “wet” and set it false but to turn true the first time the trigger activates and back to false the when it is dry.
Then you create a condition, for example called “is wet” and make it dependent here on just 1 Boolean: the “wet” one (pretty pointless in this example but you can make them more useful
It should all be much easier now they’ve made the interface much nicer. It may seem like a lot of steps but it makes sense if you have lots of variables and they’re Strings or numbers and not just boooleans already. I used to use the numbers quite a lot.
Thank you very much, I’ll try it.