PLEG off Time doesn't work

Hi,

I’ve created a schedule with on and off times, but the off time does not work on the Mowodovr_6_9. The time stays on with that one.

What is wrong?

PLEG Slaapkamergroep
Device ID: 722013-10-28 10:58:03.707 PLC Version: 5.2
Schedules
Mowodovr_6_9 Weekly 06:00:00 1,3,4,5 None Weekly 09:00:00 1,3,4,5 None false 2013-10-28 06:00:00.100
Dizazo_8_10 Weekly 08:00:00 2,6,7 None Weekly 10:00:00 2,6,7 None false 2013-10-27 08:00:00.100
Modiwodozo_22_00 Weekly 22:00:00 1,2,3,4,7 None Weekly 23:59:00 1,2,3,4,7 None false 2013-10-27 22:00:00.100
VrzaOn_22 Weekly 22:00:00 5,6 None None None false 2013-10-26 21:00:00.100
VrZaOff Weekly 02:00:00 6,7 None None None false 2013-10-27 01:00:00.101

Conditions
Name Expression Last True State
OnEarly Dizazo_8_10 OR Mowodovr_6_9 2013-10-28 06:00:00.103 false
OffEarly (NOT Dizazo_8_10) OR (NOT Mowodovr_6_9) 2013-10-15 07:00:00.108 true
OnLate VrzaOn_22 OR Modiwodozo_22_00 2013-10-27 22:00:00.114 false
OffLate (NOT VrzaOn_22) OR (NOT Modiwodozo_22_00) OR VrZaOff 2013-10-14 23:00:00.147 true

Actions
Actions for Condition: OnEarly
Immediate
Device Action Arguments
Slaapkamer groep aan/uit SetTarget newTargetValue=1
Smtp Notification SendEmail Subject=slk onEarly Recipient_eMail=mail@domain.com Recipient_Name=danny Message=-
Actions for Condition: OffEarly
Immediate
Device Action Arguments
Slaapkamer groep aan/uit SetTarget newTargetValue=0
Smtp Notification SendEmail Subject=slk OffEarly Recipient_eMail=mail@domain.com Recipient_Name=danny Message=-
Actions for Condition: OnLate
Immediate
Device Action Arguments
Slaapkamer groep aan/uit SetTarget newTargetValue=1
Smtp Notification SendEmail Subject=slk OnLate Recipient_eMail=mail@domain.com Recipient_Name=danny Message=-
Actions for Condition: OffLate
Immediate
Device Action Arguments
Slaapkamer groep aan/uit SetTarget newTargetValue=0
Smtp Notification SendEmail Subject=slk OffLate Recipient_eMail=mail@domain.com Recipient_Name=danny Message=-

The report was taken at: 10:58:03
And the value of Mowodovr_6_9 was OFF
While do you think it’s not working ?

I see what you mean, at that time it must be switched off,
but…
because the switch was still in a on position… :-\

Did you manually turn the Switch Off ?
If your switch does not support instant status … Vera (and PLEG) will not notice it until the Switch is Polled.

I will monitor this setup next days to see what happens, and not put it of manually
The switch does support instant status.

What brand of switch?

  • Garrett

The switch is a Everspring AN1572

Hi,

Okay, I monitored the behavior of de PLEG schedule.

This is the status of this moment, the light is still on, but it should be off.

Mowodovr_6_9 is false, and OffEarly is still true since yesterday, thinking about this a trigger is only triggered when states change…

So how do I solve that one?

PLEG Slaapkamergroep
Device ID: 722013-10-30 09:48:38.315 PLC Version: 5.2

Schedules
Name Type Time Days Random On Delay Off After Type Off Time Off Days Random Off Delay State Last Schedule
Mowodovr_6_9 Weekly 06:00:00 1,3,4,5 None Weekly 09:00:00 1,3,4,5 None false 2013-10-30 06:00:00.100
Dizazo_8_10 Weekly 08:00:00 2,6,7 None Weekly 10:00:00 2,6,7 None false 2013-10-29 08:00:00.100
Modiwodozo_22_00 Weekly 22:00:00 1,2,3,4,7 None Weekly 23:59:00 1,2,3,4,7 None false 2013-10-29 22:00:00.100
VrzaOn_22 Weekly 22:00:00 5,6 None None None false 2013-10-26 21:00:00.100
VrZaOff Weekly 02:00:00 6,7 None None None false 2013-10-27 01:00:00.101

Conditions
Name Expression Last True State
OnEarly Dizazo_8_10 OR Mowodovr_6_9 2013-10-30 06:00:00.111 false
OffEarly (NOT Dizazo_8_10) OR (NOT Mowodovr_6_9) 2013-10-29 15:37:22.801 true
OnLate VrzaOn_22 OR Modiwodozo_22_00 2013-10-29 22:00:00.114 false
OffLate (NOT VrzaOn_22) OR (NOT Modiwodozo_22_00) OR VrZaOff) 2013-10-29 15:37:22.809 true

Actions
Actions for Condition: OnEarly
Immediate
Device Action Arguments
Slaapkamer groep aan/uit SetTarget newTargetValue=1
Smtp Notification SendEmail Subject=slk onEarly Recipient_eMail=mail@domain.com Recipient_Name=danny Message=-
Actions for Condition: OffEarly
Immediate
Device Action Arguments
Slaapkamer groep aan/uit SetTarget newTargetValue=0
Smtp Notification SendEmail Subject=slk OffEarly Recipient_eMail=mail@domain.com Recipient_Name=danny Message=-
Actions for Condition: OnLate
Immediate
Device Action Arguments
Slaapkamer groep aan/uit SetTarget newTargetValue=1
Smtp Notification SendEmail Subject=slk OnLate Recipient_eMail=mail@domain.com Recipient_Name=danny Message=-
Actions for Condition: OffLate
Immediate
Device Action Arguments
Slaapkamer groep aan/uit SetTarget newTargetValue=0
Smtp Notification SendEmail Subject=slk OffLate Recipient_eMail=mail@domain.com Recipient_Name=danny Message=-

Actions only trigger when they FIRST become true. Unless the condition name begins with an underscore. In that case … the actions fire every time.

So if you want this to fire when it is already true … then you need to rename the condition to:
_OffEarly

Or you have logic errors that are keeping this condition TRUE.