gharris, I read through a lot of posts in this thread but I'm still
stuck.
I face the problem, that SPC doesn't stop executing the 'action to take
while not idle'. All Controllers are shut down (On my Duet I selected
'shutdown squeezebox' and after that I powered of the Duet). So actually
I think more idle than that my system cannot be.
Here some more infos about my configuration:
==============================================
- all SPC options are disabled, except 'monitor idle players'. The
allowed idle time is 10minutes and the action to take while not idle is
a small shell-script.
This shell script just sends a WakeOnLan packet to itself (more on this
later) like this:
Code:
--------------------
#!/bin/sh
/opt/bin/wakelan -p 9 00:1D:73:A4:88:AB
echo $(date): sendWOL > /etc/stef
--------------------
Looking at the SqueezeCenter logs I get a neverending
'Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute
/usr/local/sbin/wakeonlan.sh' line.
With Wireshark I can also see the WOL-packets so the script is executed
correctly.
Some more background on why I'm doing what I'm doing :)
========================================================
The SqueezeCenter is installed on a Buffalo Linkstation Live.
Unfortunately I can't find a way to get a proper shutdown command
working (shutdown works of course - but I want to wake it up later with
WOL).
As a workaround this linkstation has a special 'auto
shutdown/wakeup'-mode. As long as the linkstation receives a WOL-packet
it stays up - if it didn't receive one within 3 minutes it shuts down
and wakes up later on the next WOL. (this mode is officially used to
synchronize the Linkstation to any powered computer running a small
service that sends the WOL-packets regularly)
The SPC 'not idle action' is perfectly suited to keep my linkstation
alive. As long as music is playing it now sends WOL-packets. If it now
also stopped to call my little script after the idle time, my
linkstation would power down automatically.
Any idea for me ?
Is there any logging available to see, why SPC thinks that it is not
idle ?
--
bluegaspode
------------------------------------------------------------------------
bluegaspode's Profile: http://forums.slimdevices.com/member.php?userid=31651
View this thread: http://forums.slimdevices.com/showthread.php?t=48521
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins