LinuxMCE Forums

General => Users => Topic started by: brononius on November 26, 2012, 07:53:17 am

Title: [SOLVED] DAY/NIGHT = Time or 'timeframe'?
Post by: brononius on November 26, 2012, 07:53:17 am
Hey,

I'm using several 'respond to events' where i choose DAY/NIGHT to happen different things. fe:
This is working great btw

Now i was trying to make some things happen when night falls. But for one or the other reason, it seems to fail.
I added:

I'm wondering if we can use the term NIGHT/DAY as actually time, or is this only for a kind of timeframe?
Title: Re: DAY/NIGHT = Time or 'timeframe'?
Post by: mhorst on November 26, 2012, 12:14:58 pm
Under Advanced, Configuration, Scenarios there is under "Scenarios for Event Handlers" the Sunset and Sunrise events.
I use the Sunset event to close my window shutters, works perfectly.
However, I haven't tried making such an event myself, or one that is specific for the the day of the week or something.
Title: Re: DAY/NIGHT = Time or 'timeframe'?
Post by: sambuca on November 26, 2012, 12:16:27 pm
There are events for sunset and sunrise, you can use those instead.

Also see http://wiki.linuxmce.org/index.php/Event_criteria#Time_of_Day (http://wiki.linuxmce.org/index.php/Event_criteria#Time_of_Day).

br,
sambuca
Title: Re: DAY/NIGHT = Time or 'timeframe'?
Post by: brononius on November 27, 2012, 08:44:20 am
There are events for sunset and sunrise, you can use those instead.
http://wiki.linuxmce.org/index.php/Event_criteria#Time_of_Day (http://wiki.linuxmce.org/index.php/Event_criteria#Time_of_Day).

I fail to understand it. :$

So i choose a 'respond to events' and in events, i add 'Time of Day = DAY'?
Doesn't this say that it will be triggerd the whole day? Or only at sunrise?

I've also tried to add an advanced event, and in 'New event' i've chosen 'general > sunrise'.
But when i check now the events, this is empty? Is this normal?
Title: Re: DAY/NIGHT = Time or 'timeframe'?
Post by: brononius on December 04, 2012, 02:52:43 pm
OK, i figured it out...


So in fact, when you look now at the event, you'll see that the "criteria" are empty.