I have a problem with a rule. I think it is a problem with “[ ]”. But i dont know.
I will switch of a device (after sunset and before sunrise and 01:00am) and (when someone turned on after 01:00am then turn of after 15 minutes) and turn of at sunrise.
I have a good result at 01:0am and in the morning. But not after 01:00am and 15minutes.
What can i do?
-
Rule problem
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
this should work
[after sunset or before sunrise] and 01:00am and when someone turned on after 01:00am then turn of after 15 minutes and turn of at sunrise.
after sunset and before sunrise
cant work, because 00:00 a clock the day starts new, after 00:00 it is before sunrise and before 00:00 it is after sunset, but not before sunrise.
-
@p4co86 thanks, i will test it next night
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
@p4co86 Hi, i have used a other version:
[its after sunrise and before sunrise and 01:00am] or its 20 minutes after sunrise or its after 01:00am Aussenlicht is turned on for 15 minutes
and now it turn so i will.
only I do not know whether it also switches at night.
So when the light after 01 o’clock on.
Was last night in bed."Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
Do it like i say and it works.
-
@p4co86 With this [… or …] i become unfortunately a error message. Its run with “and”.
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
TV is pressed and [it is after sunset or before sunrise] then turn on Stehlampe.
this works great for me, and without turning on the lamp after
you only need the brackets for the or part. example.#
if [it is 5:00 or 6:00 or 7:00] and my phone is pressend and [it is before 22:00 or after 23:00] the do something.
i switch at night because you say
...before sunrise and 01:00
[it is after sunset or before sunrise] and [01:00am or its 20 minutes after sunrise or its after 01:00am] then Aussenlicht is turned on for 15 minutes
this should work, i get no error.
-
@p4co86 yesterday i have test any versions. Maybe i had an other error.
Now i habe “before 01:00” in the rule. Its possible that was the error thats no switch of in the night.
No i hope i can switch the light after 01:00 and its go after 15 minutes of.
Thanks for your examples. I will test an other one for other
works
I have problems with rules without normal sometimes.
It was nice if somebody can find a discription for rules, construction etc."Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)
-
@Thrusty said:
I have a problem with a rule. I think it is a problem with “[ ]”. But i dont know.
I will switch of a device (after sunset and before sunrise and 01:00am) and (when someone turned on after 01:00am then turn of after 15 minutes) and turn of at sunrise.
I have a good result at 01:0am and in the morning. But not after 01:00am and 15minutes.
What can i do?So its works or you need some Help?
-
@ck2003 Thanks for asking. At the moment, all is well. The light goes on and at night goes of. In the morning again on and again of at Sunrise.
What’s missing that light at night goes of after 15 minutes when it is switched on after 01:00.
But i will wait the next night for testing.
Now i have this rule inside:[its after sunrise and before sunrise and 01:00am] or its 20 minutes after sunrise or its after 01:00am Aussenlicht is turned on for 15 minutes
"Really, I'm not out to destroy Microsoft. That will just be a completely unintentional side effect." 09-28-2003, LINUS TORVALDS (http://www.nytimes.com)