Can someone tell me why this doesn't work / what I have done wrong, the notification part I know is fine because if I remove the time contraints it triggers evertime without fail.
Thanks
Dave
help with time dependant front door monitor
Moderator: leecollings
-
- Posts: 14
- Joined: Friday 23 August 2019 10:11
- Target OS: Windows
- Domoticz version: 2020.2
- Location: Belgium
- Contact:
Re: time dependant front door monitor
Hi Dave,
I had the same problem when using sunrise and sunset.
Think of the following: when it is 22.00, the third time check will say it is later than 21.00, but the 4the time check will say it is not before 06.00. The last part will never work, it needs to be an or statement.
Kind regards,
Daan
I had the same problem when using sunrise and sunset.
Think of the following: when it is 22.00, the third time check will say it is later than 21.00, but the 4the time check will say it is not before 06.00. The last part will never work, it needs to be an or statement.
Kind regards,
Daan
-
- Posts: 361
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
Re: help with time dependant front door monitor
Ah I see, yes it makes sense now, so changing both the "and" statements to "or" will be OK ?
Thanks
Thanks
-
- Posts: 14
- Joined: Friday 23 August 2019 10:11
- Target OS: Windows
- Domoticz version: 2020.2
- Location: Belgium
- Contact:
Re: help with time dependant front door monitor
Hi Dave,
No only the last statement needs to be an OR.
The time needs to be before 6 OR after 21.
but also between 7 AND 17.
Daan
No only the last statement needs to be an OR.
The time needs to be before 6 OR after 21.
but also between 7 AND 17.
Daan
-
- Posts: 361
- Joined: Sunday 29 November 2015 21:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Stable
- Location: UK
- Contact:
Re: help with time dependant front door monitor
Now I get it, thank you very much.
Regards
Dave
Regards
Dave
Who is online
Users browsing this forum: No registered users and 0 guests