Hi,
Yesterday I started setting up DomotiGa for live usage, instead of just testing stuff.
There's a feature that I really miss, the ability to set an offset on a sunrise/sunset based trigger, i.e a trigger that will run X minutes before/after sunrise/sunset.
Could this be easily implemented?
Also, I don't think sunrise/sunset triggers should be user editable. Maybe a group of non editable system defined trigger should be implemented?
Request for Sunrise/sunset trigger with offset
Moderator: RDNZL
-
- Member
- Posts: 255
- Joined: Thu Jun 25, 2009 2:09 pm
- Location: Enschede, The Netherlands
Re: Request for Sunrise/sunset trigger with offset
Isn't the dark and light variable compatible to what you want?dali wrote:Hi,
Yesterday I started setting up DomotiGa for live usage, instead of just testing stuff.
There's a feature that I really miss, the ability to set an offset on a sunrise/sunset based trigger, i.e a trigger that will run X minutes before/after sunrise/sunset.
Could this be easily implemented?
Also, I don't think sunrise/sunset triggers should be user editable. Maybe a group of non editable system defined trigger should be implemented?
I tried using those for events but they don't seem to be doing exactly as I want, but that's another story

Re: Request for Sunrise/sunset trigger with offset
As I said, I want to be able to set an offset to sunset/sunrise.
Let's say I want the lights in my kitchen windows to turn on 1 hour before it starts to get dark.
Let's say I want the lights in my kitchen windows to turn on 1 hour before it starts to get dark.
-
- Member
- Posts: 255
- Joined: Thu Jun 25, 2009 2:09 pm
- Location: Enschede, The Netherlands
Re: Request for Sunrise/sunset trigger with offset
Good point 
Would be nice to have those as well as general timers, but I can't program to save my life :s
Hope it gets added though, it would help creating better events...

Would be nice to have those as well as general timers, but I can't program to save my life :s
Hope it gets added though, it would help creating better events...
- RDNZL
- Forum Moderator
- Posts: 1008
- Joined: Sun Sep 24, 2006 1:45 pm
- Location: Dordrecht, The Netherlands
- Contact:
Re: Request for Sunrise/sunset trigger with offset
The events module is not up to par with the rest of the code.
It's on my to-do list to expand it for a long time, with all the possible options, timers, send tweet, e-mails.
I had planned to revamp it last weekend, but other things got in the way, one of them was moving my hobby-shack to a different part of the attic. You can't images what a pile of cable I came across while doing that
and how much time it took to get it all sorted.
Comparing variables of type Boolean (like Dark is) doesn't work properly, it's a known bug.
I will start to work on the events module soon.
It's on my to-do list to expand it for a long time, with all the possible options, timers, send tweet, e-mails.
I had planned to revamp it last weekend, but other things got in the way, one of them was moving my hobby-shack to a different part of the attic. You can't images what a pile of cable I came across while doing that

Comparing variables of type Boolean (like Dark is) doesn't work properly, it's a known bug.
I will start to work on the events module soon.
Regards, Ron.
Re: Request for Sunrise/sunset trigger with offset
Most of the features in DomotiGa are awesome, but the event is missing alot. I'm very glad to hear that it's going to be fixed.
Will the reworked code be modular so that we can have one or more triggers for an event, set status for more than one device, and maybe use complex if/else statements?
I think I've seen some screenshots of Homeseer thatindicates that it has theese kind of features. Maybe that could be an inspiration?
Will the reworked code be modular so that we can have one or more triggers for an event, set status for more than one device, and maybe use complex if/else statements?
I think I've seen some screenshots of Homeseer thatindicates that it has theese kind of features. Maybe that could be an inspiration?
Re: Request for Sunrise/sunset trigger with offset
Is this request yet implemented? Started using Domotige and was almost the first thing I missed/overlooked...