Hi!
1. maybe this is clear to everyone but not me :-[ what is the correct definition of night and day? i.e. when does night begin and day begin?
2. been trying to get the respond to events working like " media on before 17:30 do not turn ambient lights on" and off course another even for "after 17:30 turn them on" by using the ">" "<"
tried in 0710 but never managed to get it working with the >17:30 or the <17:30.
And from what I have been reading in different posts it seems like this will not work in 0810 either.
If this is the case also in 0810 is there another way of making this?
-johan
Hi,
Can answer partly:
Day & Night:
Assume this is the same as sunset and sunrise which it controls by your location settings in Webadmin.
See: Wizard -> Basic Info -> Installation.
I did have an issue with a zwave device which did turn on without me telling it to do so. Discovered I had set it's location for the device to "Outside Area" (See room setup)
This device where then automatically added to a scenario and turned automatically on / off based on sunrise/sunset.
Ahh!
That does partly answer my question and also help if it's like that, which I would assume it is.
Hmm.. Need to test that DAY and NIGHT thingy then (just read about it today)
if it works like that well then there is no need for no.2 in my case.
-johan
See also - recent developments with that rule:
http://wiki.linuxmce.org/index.php/Event_criteria#Time_of_Day
http://svn.linuxmce.org/trac.cgi/ticket/605
http://wiki.linuxmce.org/index.php/LinuxMCE-0810_beta#Update_2010-02-16_22777
I was wondering if there's a command to check the current DAY/NIGHT status...
http://wiki.linuxmce.org/index.php/Event_criteria
Hey,
Couldn't find the info on that wiki (or i'm misreading it).
I was just wondering how this DAY/NIGHT works.
It depends on your timezone, right? Also with sun up, sun down?
Is this somewhere a status that he downloads from a site?
And is there somewhere a command/log i can check in what state the server is right now?
Sunset, sunrise, night and day are calculated based on your geolocation.
the event plugin tracks sunrise and sunset events and sets the NIGHT/DAY state from that which can be used as event criteria.
Ok, found out how i could check the actual status/timing for it:
sudo grep tSun /var/log/pluto/DCERouter.log
QuoteDCERouter.log:10 10/09/12 20:48:39.962 tSunrise: Tue Oct 9 08:00:44 2012
DCERouter.log:10 10/09/12 20:48:39.962 tSunset: Tue Oct 9 19:02:49 2012
DCERouter.log:10 10/09/12 20:48:39.962 tSunriseTomorrow: Wed Oct 10 08:02:22 2012
DCERouter.log:10 10/09/12 20:48:39.962 tSunsetTomorrow: Wed Oct 10 19:00:40 2012
ps this quest gave me an idea (http://forum.linuxmce.org/index.php/topic,12912.0.html)... ;)