For some reason PLEG does not fully do want I want it to do:
→ Trigger = even from the Visonic alarm panel, aka X10 switch “X01”
->I want it to work all days of the week, just only AFTER sunset.
→ So IF Trigger received AND it’s after sunset => Lamp on … and after 1 minuted lamp out again.
Extremely simple scenario, but not fully working :
→ Trigger is coming in from the alert panel
→ Lamp is going on (yeaaahhh)
→ Lamp is not going out anymore, despite my “delay” of 1minute that I have set
Program Logic Event Generator
Device ID: 112013-10-21 22:04:27.610 PLC Version: 5.1
Triggers
Name Description Last Trigger State
t1 Yard (X01) is turned on 2013-10-21 21:50:07.638 false
Schedules
Name Type Time Days Random On Delay Off After Type Off Time Off Days Random Off Delay State Last Schedule
t2 Weekly +01:00:00t 1,2,3,4,5,6,7 None None None false 0
Conditions
Name Expression Last True State
c2 t1 AND t2 2013-10-21 21:25:59.749 false
Actions
Actions for Condition: c2
Immediate
Device Action Arguments
X-Lamp SetTarget newTargetValue=1
Delay 01:00
Device Action Arguments
X-Lamp SetTarget newTargetValue=0
Any ideas how to troubleshoot something like this?