I want make something like this:
IF motion sensor trigger
AND it's 8pm-5am
THEN switch-On Dimmer
and of course IF motion sensor will trigger off - dimmer will go also off
it works correctly with "If -> Then Relation" app - but it works 24h ;(
and I want only switch on light at night...
disable motion sensor at day time
Re: disable motion sensor at day time
Try to use the App Automated Switch Off to switch the dimmer off after a predefined time. If the motion sends a next trigger the rule will be fired again. (Note that trigger is adynamic event not a level like your time settings). Haven't tried this myself.
Re: disable motion sensor at day time
but i want to switch off motion detection at day time..
my motion detector has configured time of keeping light on.
problem is only to disable it at day and enable at night..
my motion detector has configured time of keeping light on.
problem is only to disable it at day and enable at night..
Re: disable motion sensor at day time
You can keep your rule! I meant you add the Auto off app
Re: disable motion sensor at day time
but this up makes that the light expire after some time
i need something that disable the switch on/off at the day
i need something that disable the switch on/off at the day
Re: disable motion sensor at day time
I think the time constraint "AND it's 8pm-5am" is too complex for logicalRule. Some other threads report about that. I suggest you try to make two logicalRules:vvuu wrote:but this up makes that the light expire after some time
i need something that disable the switch on/off at the day
IF motion sensor trigger
AND time >= 20:00
THEN switch-On Dimmer
IF motion sensor trigger
AND time <= 05:00
THEN switch-On Dimmer
and either the AutoOff module or one more IFTHEN that switches dimmer off if the alarm sensor goes to the off state.
Re: disable motion sensor at day time
thank you for your idea
in logicalRule - should I configure first scene for "List of scenes to activate:"
?
logicalRule hasn't THEN dimmer On ;(
in logicalRule - should I configure first scene for "List of scenes to activate:"
?
logicalRule hasn't THEN dimmer On ;(
Re: disable motion sensor at day time
Ignore that onevvuu wrote:thank you for your idea
in logicalRule - should I configure first scene for "List of scenes to activate:"
I don't have dimmers sorry. I think you have to enter 0 for off and either 99 or 255 for on (don't recall what it presently is)logicalRule hasn't THEN dimmer On ;(
Re: disable motion sensor at day time
ok, it seems to be ok now
two LogicalRules
1) time >= 20:00 and binary On (Motion Detector)
2) time <= 05:00 and binary On (Motion Detector
the Action - I tried both actions: Dimmer and Scene - it seems to work both correctly
in addition I add AutopowerOff APP with time set to switch the lights off..
thank you for idea
two LogicalRules
1) time >= 20:00 and binary On (Motion Detector)
2) time <= 05:00 and binary On (Motion Detector
the Action - I tried both actions: Dimmer and Scene - it seems to work both correctly
in addition I add AutopowerOff APP with time set to switch the lights off..
thank you for idea
Re: disable motion sensor at day time
I said it elsewhere as well; keep boolean rules as simple as possible, and don't be afraid to make more than one rule. It makes your logic less demanding w.r.t. system resources. Many rules engines do internally rewrite complex rules into several simple rules at compilation time.