Hello,
I'm struggeling with activating a scene 1,5 hour before sunset.
This is what I got so far:
I think the '90' is not recognized as minutes, but I don't know how to get it right.
Does anyone know how to do this right?
Event before sunrise? Topic is solved
Moderator: leecollings
-
gerard76
- Posts: 53
- Joined: Wednesday 22 March 2017 9:13
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Contact:
Re: Event before sunrise?
You cannot do calculations in Blockly AFAIK. You can use LUA to do what you want OR set your lat-lng to some place where the sun sets 1.5 hours earlier and then just trigger the blocky on sunset.
-
gerardvs
- Posts: 81
- Joined: Sunday 04 January 2015 0:01
- Target OS: Raspberry Pi / ODroid
- Domoticz version: latest-1
- Location: /dev/null
- Contact:
Re: Event before sunrise?
Or use a dummy switch. Let that switch go on 1.5 hrs before sunset. From blocky you could read the status of the dummy switch so you "know' when it's time to do something.
-
Lebo2d9
- Posts: 139
- Joined: Tuesday 06 September 2016 20:39
- Target OS: Raspberry Pi / ODroid
- Domoticz version: L stab
- Location: Belgium
- Contact:
Re: RE: Re: Event before sunrise?
I use also a dummy switch where i set the timergerardvs wrote:Or use a dummy switch. Let that switch go on 1.5 hrs before sunset. From blocky you could read the status of the dummy switch so you "know' when it's time to do something.
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
-
MatthijsD
- Posts: 45
- Joined: Sunday 19 March 2017 11:48
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: Event before sunrise?
Yes, thanks everyone.
The use of a switch is the way to go!
The use of a switch is the way to go!
Who is online
Users browsing this forum: No registered users and 1 guest