LinuxMCE Forums
May 24, 2013, 11:37:06 pm GMT-1 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
 
   Home   Help Search Chat Login Register  
Pages: [1]
  Print  
Author Topic: Shutting down MD no media playing at night  (Read 475 times)
klanmce
Veteran
***
Posts: 133


View Profile
« on: June 22, 2011, 11:18:21 pm »

I have created a timed event to run every night, from 8 pm to 12 midnight, it supposed to check if no one is watch any media and turn the MD off. I have added the event, Not Watching - Foyer/Entrance (as and) to the timed event criteria, as a condition along with the other conditions, date and the times, but the MD gets turned off if someone is watching media (tv,dvd,video file).

What have am I missing here?
Logged
sambuca
Guru
****
Posts: 420


View Profile
« Reply #1 on: June 23, 2011, 10:01:07 am »

Adding the "PK_EventHandler" criteria, as I suspect is what you did, does not work as you want it to.

There is no way to check the status of devices (lights on/off, media playing/not playing etc) within the event criteria, so I don't think its possible to set up the event the way you want.

br,
sambuca
Logged
purps
NEEDS to work for LinuxMCE
***
Posts: 1270


If it ain't broke, tweak it


View Profile
« Reply #2 on: June 23, 2011, 01:36:30 pm »

If that is indeed the case, you could install a PIR motion sensor (if you don't have animals!).

Cheers,
Matt.
Logged

1004 RC :: looking good :: upgraded 01/04/2013
my setup :: http://wiki.linuxmce.org/index.php/User:Purps
my blog :: http://projectsofmatt.wordpress.com/
klanmce
Veteran
***
Posts: 133


View Profile
« Reply #3 on: June 23, 2011, 04:39:40 pm »

OK, thanks guys
Logged
dextaslab
Veteran
***
Posts: 68


View Profile WWW
« Reply #4 on: June 27, 2011, 09:50:26 am »

Adding the "PK_EventHandler" criteria, as I suspect is what you did, does not work as you want it to.

There is no way to check the status of devices (lights on/off, media playing/not playing etc) within the event criteria, so I don't think its possible to set up the event the way you want.

br,
sambuca
I'm not sure how the timed event got there, but I have an event called "Watching - Home Theater"
PK_EventHandler Event parameter:PK_Room = Home Theater
I havent tried using it, so I'm guessing it's a lost cause? Isn't there a way to poll Xine_plugin to get filename or format etc?
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!