Please help me understand the sunset/sunrise mechanism in Domoticz.
For later (serious) use, I wanted to play first with a 'day / night time switch'. I created the switch with the name DayNighttime (picture 1) and created two notifications with it via pushover (picture 2). This morning with sunrise, I got two messages, instead of the expected one message (picture 3). Please help me understand why Domoticz thinks sun is set and sun is risen. Thank you.
[SOLVED] The use of daytime switch (sunset / sunrise)
Moderators: leecollings, remb0
-
- Posts: 43
- Joined: Monday 03 August 2015 20:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11590
- Location: Belgium
- Contact:
[SOLVED] The use of daytime switch (sunset / sunrise)
- Attachments
-
- logging
- 3.png (3.09 KiB) Viewed 12133 times
-
- DayNighttime with notifications
- 2.png (109.25 KiB) Viewed 12133 times
-
- switch
- 1.png (11.34 KiB) Viewed 12133 times
Last edited by packetloss on Monday 30 November 2015 15:34, edited 1 time in total.
- bbqkees
- Posts: 407
- Joined: Sunday 17 August 2014 21:01
- Target OS: Linux
- Domoticz version: 4.1x
- Location: The Netherlands
- Contact:
Re: The use of daytime switch (sunset / sunrise)
You have omitted how you set the timers.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 43
- Joined: Monday 03 August 2015 20:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11590
- Location: Belgium
- Contact:
Re: The use of daytime switch (sunset / sunrise)
You're right! Here's a screenshot.bbqkees wrote:You have omitted how you set the timers.
- Attachments
-
- timers
- 4.png (171.5 KiB) Viewed 12100 times
- bbqkees
- Posts: 407
- Joined: Sunday 17 August 2014 21:01
- Target OS: Linux
- Domoticz version: 4.1x
- Location: The Netherlands
- Contact:
Re: The use of daytime switch (sunset / sunrise)
So zero minutes before sunRISE you set it to on, and zero minutes after sunRISE you turn it to off.
This is the same moment, you want to turn it off at sunSET.
This is the same moment, you want to turn it off at sunSET.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 43
- Joined: Monday 03 August 2015 20:27
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.11590
- Location: Belgium
- Contact:
Re: The use of daytime switch (sunset / sunrise)
Ah... thanx a lot! Now I understand. cheers!bbqkees wrote:So zero minutes before sunRISE you set it to on, and zero minutes after sunRISE you turn it to off.
This is the same moment, you want to turn it off at sunSET.
-
- Posts: 9
- Joined: Monday 14 December 2015 18:15
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: [SOLVED] The use of daytime switch (sunset / sunrise)
Nice work. The virtual switch is a great idea. I was having issues trying to use the blocks to create an event. This makes it quite easy.
Can you offset your sunrise/sunset timer by adding or subtracting minutes?
Would be nice to have my lights cut on/off a little earlier.
Can you offset your sunrise/sunset timer by adding or subtracting minutes?
Would be nice to have my lights cut on/off a little earlier.
- bbqkees
- Posts: 407
- Joined: Sunday 17 August 2014 21:01
- Target OS: Linux
- Domoticz version: 4.1x
- Location: The Netherlands
- Contact:
Re: [SOLVED] The use of daytime switch (sunset / sunrise)
That is a standard function. You can set a time offset in the On/Off timers.smokinjoev wrote:Nice work. The virtual switch is a great idea. I was having issues trying to use the blocks to create an event. This makes it quite easy.
Can you offset your sunrise/sunset timer by adding or subtracting minutes?
Would be nice to have my lights cut on/off a little earlier.
Bosch / Nefit / Buderus / Junkers / Worcester / Sieger EMS bus Wi-Fi MQTT Gateway and interface boards: https://bbqkees-electronics.nl/
-
- Posts: 7
- Joined: Monday 02 January 2017 10:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Oslo, Norway
- Contact:
Re: [SOLVED] The use of daytime switch (sunset / sunrise)
Just found this thread.
If I want the the lights to turn on 30 minutes before sunset, I can set the time to 00:30?
If I want the the lights to turn on 30 minutes before sunset, I can set the time to 00:30?
Newbie just started with Domoticz and home automation.
Who is online
Users browsing this forum: No registered users and 1 guest