Hello,
Is it possible to NOT run this script between 2 times, say not between 03:00 and 09:30 ?
Because this script works like a charm, is switching light at certain values of lux. Only when we are sleeping, it is not needed in the early morning to switch lights on. How can I avoid that?
When using if time = > 09:30 , the script is giving me every minute a email and a switch lights on action. I don't like that.
How to not run this script between times
Moderator: leecollings
-
- Posts: 69
- Joined: Wednesday 05 November 2014 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
How to not run this script between times
Raspberry Pi 2 model B with domoticz
OMV NAS installed on thin client HP T610
Openelec Kodi Mediaplayer on thin client HP T520 (and with multiboot windows 10)
OMV NAS installed on thin client HP T610
Openelec Kodi Mediaplayer on thin client HP T520 (and with multiboot windows 10)
-
- Posts: 139
- Joined: Tuesday 06 September 2016 20:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: L stab
- Location: Belgium
- Contact:
Re: How to not run this script between times
You need to create a vitrual switch with a time trigger
Verstuurd vanaf mijn SM-G920F met Tapatalk
Verstuurd vanaf mijn SM-G920F met Tapatalk
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
-
- Posts: 69
- Joined: Wednesday 05 November 2014 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: How to not run this script between times
Yes I tried but then its giving me every couple of minutes an email, and a switch command. Without anything with time, it does not. I think when you do something with time, every x time blocky runs the script. If you dont use a time, it is only triggered by switches/devices.
I didn't think about this option, but I do think it is a very good one, will try, thanks!
Raspberry Pi 2 model B with domoticz
OMV NAS installed on thin client HP T610
Openelec Kodi Mediaplayer on thin client HP T520 (and with multiboot windows 10)
OMV NAS installed on thin client HP T610
Openelec Kodi Mediaplayer on thin client HP T520 (and with multiboot windows 10)
-
- Posts: 69
- Joined: Wednesday 05 November 2014 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Netherlands
- Contact:
Re: How to not run this script between times
I think this should it be then.
Am I correct that I not have to use time switch (tijdschakelaar-1) = off, because he only has to do something when de time switch is on?
Am I correct that I not have to use time switch (tijdschakelaar-1) = off, because he only has to do something when de time switch is on?
Raspberry Pi 2 model B with domoticz
OMV NAS installed on thin client HP T610
Openelec Kodi Mediaplayer on thin client HP T520 (and with multiboot windows 10)
OMV NAS installed on thin client HP T610
Openelec Kodi Mediaplayer on thin client HP T520 (and with multiboot windows 10)
Who is online
Users browsing this forum: No registered users and 1 guest