Hi there,
Im a little bit confused on how Schedules work and hopefully you can help me understand it
Im attaching the report for the PLEG i have created. What i want this to do, is to from 18:30 to 5:30 everynight, if the motion sensor detects movement, to trigger the light and then if 15 minutes has past since the last movement detection to turn the light off
Everything is working fine WITHOUT the schedules. As soon as i add the schedule into the condition it stops working and im not really sure what am i not understanding
Hopefully you can explain what am i doing wrong and help me on how my schedule should look like to work like this
Thanks in advance
Juan
PLEG does not use scenes. You should not be creating a scene at all.
Inputs (triggers, schedules, properties), Conditions, and Actions are created in the PLEG device itself.
Thanks. I understand. This was taken from an example online i followed
What im having issues with specifically is the Schedule in the PLEG and not the scene, i just added it there to have the whole picture.
I want the motion detection on/off to work and keep wroking only at night from 18:30 to 5:30 but i really dont know what im missing to make it work
Create a schedule to run 0530 to 1830, then use the NOT operator to achieve the required time.
ie NOT (schedule 0530 to 1830)
Pleg doesn’t like midnight. 
Or install the Day / Night plugin and then use it in the PLEG, that way you will follow the sunrise sunset time. Here is the sample from Rex’s PDF…
Triggers
LightOn Light is turned on
Motion Motion Sensor is tripped
ItsNight DayTime indicates night
Schedules
Timer On: Self-ReTrigger Off: Interval 10:00
Conditions
AutoOn !LightOn and ItsNight and Motion and (!LightOn; Motion > 30)
KeepOn (LightOn and Motion and (LightOn; Motion)) or AutoOn
AutoOff LightOn and !Timer and (LightOn; !Timer) and (!LightOn; LightOn > 10)
Actions
AutoOn Turn Light on
KeepOn PLEG StartTimer timerName=Timer
AutoOff Turn Light off