Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;585398 Wrote: > Thanks for that. > > I'm not really sure how hwclock determines if the hardware clock is set > to local or to UTC. But if the time reported by hwclock appears to be > UTC, then, yes, you should use %d rather than %l. > > Re end-of-day action: yes the plugin is supposed to treat the EOD > action as a "alarm" and schedule a system wake-up IF the action is set > to a custom script and IF the EOD idle-timeout is set to zero. E.g., > with my Fedora system, I use the following SrvrPowerCtrl settings: > > Perform end-of-day action? check > Allowed idle time (minutes): 0 > End-of-day start & end times (HH:MM): 2:00 AM, 2:05 AM > Custom end-of-day action command: sudo /usr/local/sbin/spc-update.sh > > With these settings, the server gets woken up at 1:55 AM and then fires > off the /usr/local/sbin/spc-update.sh script at 2:00 am. That script > shuts down SBS (I'm running from the 7.6 svn code, so it's: service > squeezeboxserver_trunk stop), updates the SBS svn code (svn up > /usr/share/squeezeboxserver_trunk/server), updates the operating system > (yum update -y) and then reboots the system. > > If you want to have your EOD script perform similar sorts of chores, > make sure you add an entry for the script in the /etc/sudoers file. > > Here is the similar sort of script I use with my ubuntu server. You'll > want to clean this up a bit: > > > Code: > > > #!/bin/bash > clear > # > # Vars: > NOREBOOT=0 > WIPEDB=0 > SPCLOGFILE="" > SVNLOGFILE=/var/log/squeezeboxserver_trunk/svn.log > UDAPSVNLOGFILE=/usr/local/sbin/Net-UDAP/svn.log > TMPFILE=$( /bin/mktemp -t ) > APTFILE=$( /bin/mktemp -t ) > MYNAME="your_em...@your_isp.net" > MYOS=`uname -r` > HOST=`hostname` > SERVICE=`/bin/ps ax | grep " /usr/sbin/squeezeboxserver "` > > # > # Update prep.. > > /bin/echo "Updating Squeezebox Server and operating system $MYOS.." > > for ARG in $* > do > case $ARG in > --noreboot) > NOREBOOT=1 > echo 'System WILL NOT reboot..' > ;; > > --wipedb) > WIPEDB=1 > echo 'SBS db file WILL BE wiped..' > ;; > *) > esac > done > > # > # Stop squeezeboxserver.. > > if (( $(echo $SERVICE | egrep -c "/usr/bin/perl") >= 1 )) > then > SPCLOGFILE=/var/log/squeezeboxserver/srvrpowerctrl.log > /usr/sbin/service squeezeboxserver stop > else > SPCLOGFILE=/var/log/squeezeboxserver_trunk/srvpowerctrl.log > /usr/sbin/service squeezeboxserver_trunk stop > fi > > #/bin/echo "SPC Logging to $SPCLOGFILE.." > #/bin/echo "SVN Logging to $SVNLOGFILE.." > #/bin/echo "MSG Logging to $TMPFILE.." > #/bin/echo "Service == $SERVICE" > > > # > # Construct message header: > > /bin/echo return-path: $MYNAME >> $TMPFILE > /bin/echo for: $MYNAME >> $TMPFILE > /bin/echo from: $MYNAME >> $TMPFILE > /bin/echo to: $MYNAME >> $TMPFILE > /bin/echo "subject: $HOST server update status report" >> $TMPFILE > > /bin/echo $0 start: $( /bin/date +%c ) >> $TMPFILE > /bin/echo $0 start: $( /bin/date +%c ) >> $SPCLOGFILE > > # > # Update the svn code.. > /bin/echo 'Checking for squeezeboxserver_trunk svn updates...' > /bin/echo Svn update of squeezeboxserver_trunk was run: $( /bin/date +%c ) >> $TMPFILE > /bin/echo Svn update of squeezeboxserver_trunk was run: $( /bin/date +%c ) >> $SPCLOGFILE > /bin/echo Svn update of squeezeboxserver_trunk was run: $( /bin/date +%c ) >> $SVNLOGFILE > /usr/bin/svn up /usr/share/squeezeboxserver_trunk/server >>$SVNLOGFILE > echo 'Fixing file permissions...' > chown -R squeezeboxserver:nogroup /etc/squeezeboxserver_trunk > chown -R squeezeboxserver:nogroup /usr/share/squeezeboxserver_trunk > chown -R squeezeboxserver:nogroup /var/lib/squeezeboxserver_trunk > chown -R squeezeboxserver:nogroup /var/log/squeezeboxserver_trunk > > # > # Update the Net-UDAP... > > echo 'Checking for UDAP updates..' > /bin/echo Svn update of UDAP was run: $( /bin/date +%c ) >> $TMPFILE > /bin/echo Svn update of UDAP was run: $( /bin/date +%c ) >> $SPCLOGFILE > /bin/echo Svn update of UDAP was run: $( /bin/date +%c ) >> $UDAPSVNLOGFILE > /usr/bin/svn up /usr/local/sbin/Net-UDAP >> $UDAPSVNLOGFILE > > > # > # Update the OS (and any apt installed squeezeboxserver.. > > /bin/echo APT-GET Update was run: $( /bin/date +%c ) >> $TMPFILE > > /bin/echo >> $TMPFILE > /bin/echo -n "Result: " >> $TMPFILE > > /bin/echo 'Running apt-get update..' > > /usr/bin/apt-get
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
tuc;585229 Wrote: > Thanks Epoch1970, > > Yes I did miss the steps in spc-wakeup.sh completely. Sorry. > It now almost works, but not quite - the wake up occurs two hours too > late - weird > > Here is what I did: > 1) Complete the steps in spc-wakeup.sh > 2) The test command gives me the two lines: > Sun Oct 24 18:23:10 CEST 2010: /usr/local/sbin/spc-wakeup.sh > 1230493944 > Setting /sys/class/rtc/rtc0/wakealarm to 1230493944 (2008-12-28 > 19:52:24) > in in /var/log/squeezeboxserver/srvrpowerctrl.log > is this correct? > 3) I setup SrvrPowerCtrl to go to suspend mode after 45 minutes idle > time > 4) I set an alarm for 4:57 AM (I run a script at 5:01 AM from crontab) > 5) I schedule a library rescan in SBS for 4:01 AM > 6) Here is the /var/log/squeezeboxserver/srvrpowerctrl.log content: > Mon Oct 25 07:48:44 CEST 2010: /usr/local/sbin/spc-wakeup.sh > 1288065360 > Setting /sys/class/rtc/rtc0/wakealarm to 1288065360 (2010-10-26 > 03:56:00) > This corresponds to the scheduled rescan and looks right (wake up 5 > minutes before scan as set up in SrvrPowerCtrl). I don't see any entry > for the alarm (and I suppose I should) > 7) Here is what the /var/log/squeezeboxserver/server.log showed today: > [10-10-26 05:56:07.6149] > Plugins::SrvrPowerCtrl::Watchdog::OnWakeupWatchdog (347) Wakeup Call!! > [10-10-26 06:40:10.0037] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute sudo /usr/local/sbin/spc-wakeup.sh > 1288151760 > [10-10-26 06:40:16.0039] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute sudo /usr/sbin/pm-suspend > 8) I see no trace of my alarm set for 4:57. As far as I can tell both > the server.log and the SrvrPowerCtrl.log should show this, right? > 9) The machine did wake up for the rescan, but at 05:56:07 not at 5 > minutes before 4:01 (3:56) and the rescan did not run. My conclusion > there is a funny two hour difference between the scheduled wake up time > and the actual wake up time > 10) Running the date command from the command line gives me the correct > (local Danish) time (GMT+1) and we are still on daylight saving so > another +1 hour (=CEST) - is this an issue and how could I compensate? > > Best > -thomas Questions for you: What operating system are you using? Is your hardware clock set to local time (as with windows and some versions of Ubuntu) or to UTC? From a terminal prompt, do: # sudo hwclock --show --debug Which variable are you using in the SrvrPowerCtrl settings for the "Schedule Wakeup Command"? %d or %l?? If your hardware clock is set to local time, then you should be using %l rather than %d. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Thanks Epoch1970, Yes I did miss the steps in spc-wakeup.sh completely. Sorry. It now almost works, but not quite - the wake up occurs two hours too late - weird Here is what I did: 1) Complete the steps in spc-wakeup.sh 2) The test command gives me the two lines: Sun Oct 24 18:23:10 CEST 2010: /usr/local/sbin/spc-wakeup.sh 1230493944 Setting /sys/class/rtc/rtc0/wakealarm to 1230493944 (2008-12-28 19:52:24) in in /var/log/squeezeboxserver/srvrpowerctrl.log is this correct? 3) I setup SrvrPowerCtrl to go to suspend mode after 45 minutes idle time 4) I set an alarm for 4:57 AM (I run a script at 5:01 AM from crontab) 5) I schedule a library rescan in SBS for 4:01 AM 6) Here is the /var/log/squeezeboxserver/srvrpowerctrl.log content: Mon Oct 25 07:48:44 CEST 2010: /usr/local/sbin/spc-wakeup.sh 1288065360 Setting /sys/class/rtc/rtc0/wakealarm to 1288065360 (2010-10-26 03:56:00) This corresponds to the scheduled rescan and looks right (wake up 5 minutes before scan as set up in SrvrPowerCtrl). I don't see any entry for the alarm (and I suppose I should) 7) Here is what the /var/log/squeezeboxserver/server.log showed today: [10-10-26 05:56:07.6149] Plugins::SrvrPowerCtrl::Watchdog::OnWakeupWatchdog (347) Wakeup Call!! [10-10-26 06:40:10.0037] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute sudo /usr/local/sbin/spc-wakeup.sh 1288151760 [10-10-26 06:40:16.0039] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute sudo /usr/sbin/pm-suspend 8) I see no trace of my alarm set for 4:57. As far as I can tell both the server.log and the SrvrPowerCtrl.log should show this, right? 9) The machine did wake up for the rescan, but at 05:56:07 not at 5 minutes before 4:01 (3:56) and the rescan did not run. My conclusion there is a funny two hour difference between the scheduled wake up time and the actual wake up time 10) Running the date command from the command line gives me the correct (local Danish) time (GMT+1) and we are still on daylight saving so another +1 hour (=CEST) - is this an issue and how could I compensate? Best -thomas epoch1970;584586 Wrote: > yes that's an l as in lion. > Did you look into the logifle ? (in > /var/log/squeezeboxserver/srvrpowerctrl.log) > Did you try the manual steps described in the header of the script file > spc-wakeup.sh ? > > Also, last time I checked (a while ago), linux was not able to wake > from S5 (soft-off) on alarm. You can't shutdown and have the machine > bounce to life. > And last time I used this, my platform was able to wake on alarm from > S3 (suspend) but not from S4 (hibernate). This depends on the machine. -- tuc tuc's Profile: http://forums.slimdevices.com/member.php?userid=34475 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;584715 Wrote: > Sorry...you're right. I haven't looked into this yet. Any chance of it being fixed soon? It's much better if the plugin installation/update's can be taken care of by squeezeboxserver :) -- zegermans zegermans's Profile: http://forums.slimdevices.com/member.php?userid=19073 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Moffedille;584709 Wrote: > Unless gharris999 has fixed the aforementioned repository problem, you > probably won't be able to install the beta version. Or, you will be > able to install it, but not to configure and use it, because the plugin > page will constantly be saying that there's an updated plugin version to > install first - which it can't. Sorry...you're right. I haven't looked into this yet. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
epoch1970;584613 Wrote: > > For what I see gharris999 proposes to use his beta repository for SBS > 7.4 and above. > If you add repository > "http://srvrpowerctrl.googlecode.com/svn/beta.xml";, this pulls version > 20091215.121332. > I would suggest to deinstall the current version via the Plugins page, > and only after that add the new repository, and finally install the > beta version. > Unless gharris999 has fixed the aforementioned repository problem, you probably won't be able to install the beta version. Or, you will be able to install it, but not to configure and use it, because the plugin page will constantly be saying that there's an updated plugin version to install first - which it can't. -- Moffedille Moffedille's Profile: http://forums.slimdevices.com/member.php?userid=21923 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
ASenna04;584589 Wrote: > On Squeezeserver in the plugin page it shows as "Server Power Control > (v20090615.00)". Is this the old version? If so how do I uninstall and > install the latest? Will I have to remove everything and start again or > I can just change the plugin on the Squeezeserver. > > Thanks, > > ASenna04 I am not so sure a newer version will fix anything. I don't use X.6 and I don't have an SB server on the mac, so really what I am saying is speculation. I think I remember the beta version was working better with SBS 7.5 on linux, but I didn't use that version of SBS for long, I can't be certain. On my linux machine I currently use the save version of server power control as you do. For me server power control runs fine, I use SBS 7.4.2 (a not so recent version) on linux. I found the install script and it says "Setting up OSX SrvrPowerCtrl helper scripts for user $scuser .." So: - Your Server Power Control package seems correct. - *Perhaps* a later version of the plugin, which uses an updated install script, fits better with SBS 7.5, or X.6 ? For what I see gharris999 proposes to use his beta repository for SBS 7.4 and above.gharris999;308728 Wrote: > Note for users of Squeezebox Server 7.4 and later: There is a beta of > SrvrPowerCtrl that 'plays nicer' with this version. If you add repository "http://srvrpowerctrl.googlecode.com/svn/beta.xml";, this pulls version 20091215.121332. I would suggest to deinstall the current version via the Plugins page, and only after that add the new repository, and finally install the beta version. If the new script doesn't fix things, you could try to do what the script does, manually. That would be a good way to pinpoint a possible problem with the script, also. Good luck. -- epoch1970 Daily dose delivered by: 2 SB Classic (fw 130), 1 SB Boom (fw 50) SqueezeCenter 7.3.4 (Debian 5.0) with plugins: ContextMenu, SaverSwitcher by Peter Watkins Server Power Control by Gordon Harris WeatherTime by Martin Rehfeld IRBlaster by Gwendesign (Felix) FindArt, CDplayer by bpa BBC iPlayer, SwitchPlayer by Triode PowerSave by Jason Holtzapple TrackStat by Erland Isaksson. epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
epoch1970;584274 Wrote: > According to the trace "Setting up OSX SrvrPowerCtrl helper scripts for > user Imtihaz .." > the script you're running there might be file > "srvrpowerctrl-setup.old.sh" from June 20th, 2009, rev. 13 of the code > source. All further revisions echo a different message at startup. > This is not the current version. Latest version in "r44 by > srvrpowerctrl on Nov 07, 2009". > > I suggest you follow instructions on the 1st post of this thread and/or > the homepage of 'srvrpowercontrol' > (http://code.google.com/p/srvrpowerctrl/) on Google Code to locate and > get the appropriate version to install. On Squeezeserver in the plugin page it shows as "Server Power Control (v20090615.00)". Is this the old version? If so how do I uninstall and install the latest? Will I have to remove everything and start again or I can just change the plugin on the Squeezeserver. Thanks, ASenna04 -- ASenna04 ASenna04's Profile: http://forums.slimdevices.com/member.php?userid=2696 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
yes that's an l as in lion. Did you look into the logifle srvrpowerctrl.log ? (in /var/log/squeezeboxserver/...) -- epoch1970 Daily dose delivered by: 2 SB Classic (fw 130), 1 SB Boom (fw 50) SqueezeCenter 7.3.4 (Debian 5.0) with plugins: ContextMenu, SaverSwitcher by Peter Watkins Server Power Control by Gordon Harris WeatherTime by Martin Rehfeld IRBlaster by Gwendesign (Felix) FindArt, CDplayer by bpa BBC iPlayer, SwitchPlayer by Triode PowerSave by Jason Holtzapple TrackStat by Erland Isaksson. epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Hi First of all thanks for this nifty and CO-2 friendly plugin :-) I installed it and after changing "squeezecenter" to "squeezeboxserver" in various places in scripts and UID I quite easily got it up and running on my 10.04 Ubuntu. I set it up so the server goes to suspend mode after 15 minutes idle time, which works fine. I can wake up the server from my Duet controller no problem. I would like, however, the server to be able to 1) wake up sometime during the night and check for Ubuntu updates and 2) occasionally rescan the music library. I have a script to do 1) and scheduled it to run through crontab, but the server has to be awake at the time specified. I tried waking it up with an alarm, but with no success. As for 2) the server doesn't wake up for scheduled scans. I guess for the same reason as 1) whatever that is. How can I find out why the server doesn't wake up? It seems odd since it is able to wake up by the controller. So WOL works. Best -thomas PS: I have used the sudo /usr/local/sbin/spc-wakeup.sh %l to use the local time rather than UTC. It is the letter "l" rather than then number "1" (one) right? -- tuc tuc's Profile: http://forums.slimdevices.com/member.php?userid=34475 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
ASenna04;583929 Wrote: > OK, help me here. What did I do wrong? Find attached the log of my > Terminal actions to setup SvrPowerControl. > > I have Mac Mini on OS X 10.6.4 and Squeeze Server 7.4.1 > > I control the Squeezeserver with iPeng and I have a Touch, a Boom and a > SB3. > > Thanks in advance for your help. > > > ASenna04 According to the trace "Setting up OSX SrvrPowerCtrl helper scripts for user Imtihaz .." the script you're running there might be file "srvrpowerctrl-setup.old.sh" from June 20th, 2009, rev. 13 of the code source. All further revisions echo a different message at startup. This is not the current version. Latest version in "r44 by srvrpowerctrl on Nov 07, 2009". I suggest you follow instructions on the 1st post of this thread and/or the homepage of 'srvrpowercontrol' (http://code.google.com/p/srvrpowerctrl/) on Google Code to locate and get the appropriate version to install. -- epoch1970 Daily dose delivered by: 2 SB Classic (fw 130), 1 SB Boom (fw 50) SqueezeCenter 7.3.4 (Debian 5.0) with plugins: ContextMenu, SaverSwitcher by Peter Watkins Server Power Control by Gordon Harris WeatherTime by Martin Rehfeld IRBlaster by Gwendesign (Felix) FindArt, CDplayer by bpa BBC iPlayer, SwitchPlayer by Triode PowerSave by Jason Holtzapple TrackStat by Erland Isaksson. epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
ASenna04;583929 Wrote: > OK, help me here. What did I do wrong? Find attached the log of my > Terminal actions to setup SvrPowerControl. > > Did you in fact do anything wrong? Or did the plugin do anything wrong? It may be that trying to make a plugin that works across different operating systems generates spurious error messages. I say this because things like chown work on files and folders, and the message "not a directory" may be no more than a warning. Are the relevant files mentioned in the logs present in /usr/local/sbin (/usr is normally invisible, but can be reached using the Go menu in the Finder)? Does the plugin work? -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
ASenna04;583946 Wrote: > This evening is fine. > > Thanks. > > Imtihaz Sorry, not this evening either. Just too tired to think. I may have some time tomorrow evening. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;583931 Wrote: > Sorry, I can't look at this right away. I'm still playing catch-up. > I'll try to look through this, this evening. This evening is fine. Thanks. Imtihaz -- ASenna04 ASenna04's Profile: http://forums.slimdevices.com/member.php?userid=2696 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
ASenna04;583929 Wrote: > OK, help me here. What did I do wrong? Find attached the log of my > Terminal actions to setup SvrPowerControl. > > I have Mac Mini on OS X 10.6.4 and Squeeze Server 7.4.1 > > I control the Squeezeserver with iPeng and I have a Touch, a Boom and a > SB3. > > Thanks in advance for your help. > > > ASenna04 Sorry, I can't look at this right away. I'm still playing catch-up. I'll try to look through this, this evening. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
OK, help me here. What did I do wrong? Find attached the log of my Terminal actions to setup SvrPowerControl. I have Mac Mini on OS X 10.6.4 and Squeeze Server 7.4.1 I control the Squeezeserver with iPeng and I have a Touch, a Boom and a SB3. Thanks in advance for your help. ASenna04 +---+ |Filename: Terminal Actions 19 Oct.txt | |Download: http://forums.slimdevices.com/attachment.php?attachmentid=10785| +---+ -- ASenna04 ASenna04's Profile: http://forums.slimdevices.com/member.php?userid=2696 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Thanks. I do have win7 so ill try it when i get home -- varunaX varunaX's Profile: http://forums.slimdevices.com/member.php?userid=40697 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
varunaX;581155 Wrote: > hey gharris, can you help me better understand the wake 5 mins before an > alarm feature. on my laptop when i close the screen the laptop sleeps. > i have the option to wwake the computer before an alarm, but its not > waking the computer. is there something im missing? i have the > svpowertool.exe installed too. thanks If you put your laptop to sleep via closing the lid, SrvrPowerCtrl never "gets the memo" that the system is going to sleep. If your OS on the laptop is windows, there may be something we can do about that in the future. But for now, use SrvrPowerCtrl's web menu to sleep the laptop. If you do that, the wake for alarm feature should work. If it still won't wake for alarms, and if the OS on the laptop is Windows 7, then there is a system setting you need to change. With administrative credentials, go to the Windows 7 Control Panel->Power Options->Edit Plan Settings->Change advanced power settings->Change settings that are currently unavailable->Sleep->Allow wake timers->Plugged in->Enable & On battery->Enable. Making those changes allows SCPowerTool.exe to wake up the laptop. As far as I know, defaulting defaulting disabled wake timers when plugged in is new with Windows 7. Now, if your OS is something other then Windows 7, then we've got a little more spelunking to do. But please wait a few days before we continue this. I'm just about to fly back from Europe and I always have really wicked jet lag since it's about 24 hours of travel time to get back to my home in the sticks. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
hey gharris, can you help me better understand the wake 5 mins before an alarm feature. on my laptop when i close the screen the laptop sleeps. i have the option to wwake the computer before an alarm, but its not waking the computer. is there something im missing? i have the svpowertool.exe installed too. thanks -- varunaX varunaX's Profile: http://forums.slimdevices.com/member.php?userid=40697 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;580879 Wrote: > Not sure about the tab getting stuck. It could be. Maybe try removing > my repo from the list of manually installed 3rd party repos? You might > have to stop SBS and manually remove the reference from a prefs file. > > Re ot/sailboat: It's a Hallberg-Rassy 49' (Swedish make, sloop rigged) > from 1985: > http://hegardtfoundation.org/wordpress/wp-content/uploads/2010/07/20100712-121430_WGH.jpg > > It's first owners did a circumnavigation with it and it currently > belongs to my neighbors who have discovered that cruising the med in > your 70s and 80s isn't quite the same as cruising in your 50s. As > they've had to take various "medical leaves" from the boat, they've > occasionally made it available to me. Even though it's at the age now > where everything is worn and brittle (pull hard enough on anything and > it will break off in your hands) this is still one tough boat. A > little over a week ago, we got lured out of Korčula by a > sucker-hole in the morning and got run over by a thunderstorm with a > honest to god hooked shaped radar signature. Pegged the wind-speed > indicator at >50 knots. With the cockpit enclosure rigged and running > before the wind with a bare pole, we all stayed comfortable (if a > little anxious) and the boat was very well behaved. I unchecked the "automatically update plugin modules" option, and thus prevented the endless server restart problem. It seems SBS wants to update the srvpwrctrl plugin to the newest version, which it can't, due to the aforementioned repo problem. Perhaps I'll just install the plugin the oldfashioned way... OT again: 49 feet of HR, that's a nice and spacious boat! It's good to be in something larger than an eggshell when a storm of that magnitude hits. My six year old son and I spent some days in a 33ft X-yacht this summer, and we were hit by a fresh gale one afternoon. My biggest concern was that my son was going to get seasick or scared, but he slept soundly through the night. -- Moffedille Moffedille's Profile: http://forums.slimdevices.com/member.php?userid=21923 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Moffedille;580862 Wrote: > ..ok, maybe the repo-problem is the source for one of my current > frustrations, with the plugin tab seemingly stuck in a sort of endless > restart-mode? > > OT: Gordon, may I ask what kind (make/size) of sailboat you've got? Not sure about the tab getting stuck. It could be. Maybe try removing my repo from the list of manually installed 3rd party repos? You might have to stop SBS and manually remove the reference from a prefs file. Re ot/sailboat: It's a Hallberg-Rassy 49' (Swedish make, sloop rigged) from 1985: http://hegardtfoundation.org/wordpress/wp-content/uploads/2010/07/20100712-121430_WGH.jpg It's first owners did a circumnavigation with it and it currently belongs to my neighbors who have discovered that cruising the med in your 70s and 80s isn't quite the same as cruising in your 50s. As they've had to take various "medical leaves" from the boat, they've occasionally made it available to me. Even though it's at the age now where everything is worn and brittle (pull hard enough on anything and it will break off in your hands) this is still one tough boat. A little over a week ago, we got lured out of Korčula by a sucker-hole in the morning and got run over by a thunderstorm with a honest to god hooked shaped radar signature. Pegged the wind-speed indicator at >50 knots. With the cockpit enclosure rigged and running before the wind with a bare pole, we all stayed comfortable (if a little anxious) and the boat was very well behaved. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
..ok, maybe the repo-problem is the source for one of my current frustrations, with the plugin tab seemingly stuck in a sort of endless restart-mode? OT: Gordon, may I ask what kind (make/size) of sailboat you've got? -- Moffedille Moffedille's Profile: http://forums.slimdevices.com/member.php?userid=21923 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Thank you Gordon, I don't quite know what to say...err perhaps a good close manicure might be in order before you begin repairs? -- wonder boy Squeezebox ex-fan boy and proud... 2x Boom 1x SB3 Just ordered SB Radio...do I need help I WISHED I HADNT!!! wonder boy's Profile: http://forums.slimdevices.com/member.php?userid=15950 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
No, it's not just you. I screwed up the repo just before I left for Croatia in June and it's been broken ever since. I (finally) get back to New Mexico at the end of the week and I'll be able to address it then. In the mean time, I have a sail boat to put to bed for the season and this includes rebuilding two marine toilets. Which would I rather be doing: fixing a few characters in an xml file, or futzing with a bucket full of very small parts covered in fecal matter? Why is this yachting stuff considered fun? -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Don't know if it's just me but I couldn't get the beta version repo to install as listed at the beginning of this thread, is it still available? Installed the non beta alternative on SBS 7.5.1 hopefully will be ok -- wonder boy Squeezebox ex-fan boy and proud... 2x Boom 1x SB3 Just ordered SB Radio...do I need help I WISHED I HADNT!!! wonder boy's Profile: http://forums.slimdevices.com/member.php?userid=15950 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Hi there! Thanks for this fantastic plugin! But I have a question: in Squeezeplay run under WinXP I don't have an icon in front if "Server Power Control" in my main menu? I downloaded the last version just a few days ago. Do I need to put the icon myself somewhere so Squeezeplay / Server get it? Thanks! -- wenkman wenkman's Profile: http://forums.slimdevices.com/member.php?userid=39454 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Should the custom commands work on the Radio? I have gone to the Server Power Control item on my Home Page, and selected a command. SPC reports that it will run the command in 15 seconds, and then reports that it has run the command. But the command is not actually run on my Mac. I take it that the automatic action on not-idle is not intended to be carried out, and that one has to choose from the menu. Or is that supposed to work, but just failing in the same way that the items chosen from the menu are failing? -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
All working well. Thanks for your help Danco and Phil and thanks for the plugin Gordon. -- shawje shawje's Profile: http://forums.slimdevices.com/member.php?userid=37017 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
>Phill: I'll take a look at this. I probably screwed up the XML file >with my scripts that added PostScan. Where did you report this problem? >I missed your report. > New post in this forum, around the end of July. I thought you were away; wasn't expecting you to respond for a while! Phil ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Philip Meyer;567071 Wrote: > I reported a problem using Extension Downloader to install this plugin. > The problem is the version numbering doesn't match between the > repository xml file and the plugin that is downloaded. > > I downloaded the plugin manually and installed manually instead. Phill: I'll take a look at this. I probably screwed up the XML file with my scripts that added PostScan. Where did you report this problem? I missed your report. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
>Thanks Philip - I'm glad it's not me being stupid. I'll have a go at >doing the same. Any idea where I can find an idiot's guide to manually >installing the plugin on a Mac? Should be the same on any OS. 1. Uninstall any automatically installed SrvPowerControl plugin. 2. Find the download url via looking in the xml repository file. 3. Download, and unzip into the Plugins folder within the SBS installation folder. i.e. (On windows) I have: P:\Music\SlimServer\trunk\server\Plugins\SrvrPowerCtrl\ 4. Restart SBS. ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Philip Meyer;567071 Wrote: > I reported a problem using Extension Downloader to install this plugin. > The problem is the version numbering doesn't match between the > repository xml file and the plugin that is downloaded. > > I downloaded the plugin manually and installed manually instead. Thanks Philip - I'm glad it's not me being stupid. I'll have a go at doing the same. Any idea where I can find an idiot's guide to manually installing the plugin on a Mac? -- shawje shawje's Profile: http://forums.slimdevices.com/member.php?userid=37017 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
I reported a problem using Extension Downloader to install this plugin. The problem is the version numbering doesn't match between the repository xml file and the plugin that is downloaded. I downloaded the plugin manually and installed manually instead. ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Sorry, I've never run into this problem and have no idea why the plugin isn't downloading properly. I assume you did click "Apply". -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
danco;566814 Wrote: > That's an old version of the plugin. I am using v20100115.005818. Unless > there is some reason (such as the version of Squeezebox Server that you > use) not to upgrade, I suggest you do so. That has the custom commands, > I believe they were introduced at my request some time last autumn. > > I suppose the situation you are seeing isn't strictly a bug. Your > version of the plugin is intended to hibernate (suspend, shutdown) the > computer on idle, so the issue could not occur, and you have hacked it > to do something else. Anyway, the later version does not behave like > that. > > In the Plugins section of the web interface to Squeezebox Settings, at > the bottom you will find a section for Additional Repositories. If you > add http://srvrpowerctrl.googlecode.com/svn/beta.xml and click Apply > (and maybe navigate away and back) Sever Power Control will show up and > you can download it. I have my system set *NOT* to download updated > plugins automatically, but you have the choice. Unfortunately I can't get the beta version of the plugin to become active. I uninstalled the server software as best I could (seems fairly inexact on a mac) in case that was the problem and then reinstalled. Currently running v.7.5.1. I can get the plugin to appear in the list of updated plugins available above the list of active plugins, but when I tick the checkbox and restart the server the checkbox reappears clear and the plugin does not join the active list. In addition the plugins page is continually asking me to restart the server even though it has been done many times (both manually and by clicking restart). Do you have any idea what's wrong? Is this a compatibility issue with v7.5 or maybe the code is not downloading from the googlecode site, or possibly the old version of the plugin is not completely uninstalled. Thanks Jonathan -- shawje shawje's Profile: http://forums.slimdevices.com/member.php?userid=37017 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
shawje;566750 Wrote: > Thanks Danco. I'm running v20090615.00 of the plugin and my settings > screen has On-WakeUpActions and then Restore Default Settings as the > last two items on the settings page. No sign of Custom Commands. Any > ideas? > > That's an old version of the plugin. I am using v20100115.005818. Unless there is some reason (such as the version of Squeezebox Server that you use) not to upgrade, I suggest you do so. That has the custom commands, I believe they were introduced at my request some time last autumn. I suppose the situation you are seeing isn't strictly a bug. Your version of the plugin is intended to hibernate (suspend, shutdown) the computer on idle, so the issue could not occur, and you have hacked it to do something else. Anyway, the later version does not behave like that. In the Plugins section of the web interface to Squeezebox Settings, at the bottom you will find a section for Additional Repositories. If you add http://srvrpowerctrl.googlecode.com/svn/beta.xml and click Apply (and maybe navigate away and back) Sever Power Control will show up and you can download it. I have my system set *NOT* to download updated plugins automatically, but you have the choice. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
danco;566495 Wrote: > Right at the very bottom of the the SvrPowerControl settings is a > section called Custom Commands, offering four spaces for commands and > their labels. Create a script, and put the path to it in the right hand > box, and give it a name in the left hand box. Then it will appear in the > menu. > > In the Idle Payer Monitor section of the settings you can set the idle > time. It looks to me as though it is currently set for 15 minutes. And > for that period of time SPC will regard the Squeezebox as not idle and > run the not-idle script once a minute. I didn't know that the on-idle > script seems to be run every five minutes. > > You could always just power off the SB. Thanks Danco. I'm running v20090615.00 of the plugin and my settings screen has On-WakeUpActions and then Restore Default Settings as the last two items on the settings page. No sign of Custom Commands. Any ideas? I turned off the player screensaver to see if that was causing the issue and all players are switched off (but still plugged into the mains). I'd set the allowed idle time to 5 minutes for testing purposes. What seems to be happening is that every 5 minutes the onidle script is run (in my case calling jigstop.sh) correctly. The problem is that the server continues to call every minute (seemingly incorrectly) the notidle script - in my case jigstart.sh - even though it has previously decided that it is idle. My thought is perhaps there is a bug such that the notidle monitor doesn't correctly identify the notidle state. This would not be an issue to most people so long as the action on idle is to power down, hibernate or suspend since in that case plugin would immediately stop running. My setup causes the problem to become apparent - the plugin correctly spots the server is idle after the 5 minutes have elapsed and stops jiggler. Unfortunately the server remains running and then every one minute it runs the notidle script restarting jiggler. If I had set the server to shut down when it had been idle for 5 minutes, I would be unaware of any problem. Gordon - no reply expected unless you particularly feel like it. -- shawje shawje's Profile: http://forums.slimdevices.com/member.php?userid=37017 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Right at the very bottom of the the SvrPowerControl settings is a section called Custom Commands, offering four spaces for commands and their labels. Create a script, and put the path to it in the right hand box, and give it a name in the left hand box. Then it will appear in the menu. In the Idle Payer Monitor section of the settings you can set the idle time. It looks to me as though it is currently set for 15 minutes. And for that period of time SPC will regard the Squeezebox as not idle and run the not-idle script once a minute. I didn't know that the on-idle script seems to be run every five minutes. You could always just power off the SB. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;566480 Wrote: > As I've posted above, I'm sitting on a sailboat in the Adriatic, seven > time zones away from my squeezeboxes and servers. I'd like to be able > to help here, but my brain is too addled from too much sun, seafood and > vino. I'll try to put some serious effort into ReallyPreventStandby > when I'm back home in October. Enjoy the sailing. I've just moved from Europe to Australia and can greatly recommend sailing around the Whitsundays on the Gt Barrier Reef. Still the Adriatic is lovely too. -- shawje shawje's Profile: http://forums.slimdevices.com/member.php?userid=37017 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
shawje;566478 Wrote: > Update - It's preventing sleep beautifully. Unfortunately it's not > letting the mac go back to sleep when it becomes inactive. > > I have two scripts - jigstart.sh which is called when not idle and > which starts jiggler. Jigstop.sh stops jiggler and is used as the > hibernate command - so srvrpwrcontrol is told to hibernate when idle. > > Jiggler starts beautifully when expected. It stops beauttifully when > expected. Unfortunately jigstart is then called again for no obvious > reason and seemingly called every minute thereafter. Presumably > srvrpwrcntrl thinks a player is active for some reason, despite having > previously decided that it was inactive. I've posted the server logs > below. Thanks for any suggestions. > > [10-08-04 15:58:13.0006] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstop.sh > [10-08-04 15:59:03.0031] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:00:03.0028] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:01:03.0029] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:02:03.0049] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:03:13.0010] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstop.sh > [10-08-04 16:04:03.0050] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:05:03.0053] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:06:03.0051] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:07:03.0052] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:08:13.0010] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstop.sh > [10-08-04 16:09:03.0052] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:10:03.0054] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:11:03.0052] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:12:03.0052] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh > [10-08-04 16:13:13.0009] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstop.sh > [10-08-04 16:14:03.0036] Plugins::SrvrPowerCtrl::Util::SystemExecCmd > (310) Now trying to execute /usr/local/sbin/jigstart.sh As I've posted above, I'm sitting on a sailboat in the Adriatic, seven time zones away from my squeezeboxes and servers. I'd like to be able to help here, but my brain is too addled from too much sun, seafood and vino. I'll try to put some serious effort into ReallyPreventStandby when I'm back home in October. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Update - It's preventing sleep beautifully. Unfortunately it's not letting the mac go back to sleep when it becomes inactive. I have two scripts - jigstart.sh which is called when not idle and which starts jiggler. Jigstop.sh stops jiggler and is used as the hibernate command - so srvrpwrcontrol is told to hibernate when idle. Jiggler starts beautifully when expected. It stops beauttifully when expected. Unfortunately jigstart is then called again for no obvious reason and seemingly called every minute thereafter. Presumably srvrpwrcntrl thinks a player is active for some reason, despite having previously decided that it was inactive. I've posted the server logs below. Thanks for any suggestions. [10-08-04 15:58:13.0006] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstop.sh [10-08-04 15:59:03.0031] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:00:03.0028] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:01:03.0029] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:02:03.0049] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:03:13.0010] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstop.sh [10-08-04 16:04:03.0050] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:05:03.0053] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:06:03.0051] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:07:03.0052] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:08:13.0010] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstop.sh [10-08-04 16:09:03.0052] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:10:03.0054] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:11:03.0052] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:12:03.0052] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh [10-08-04 16:13:13.0009] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstop.sh [10-08-04 16:14:03.0036] Plugins::SrvrPowerCtrl::Util::SystemExecCmd (310) Now trying to execute /usr/local/sbin/jigstart.sh -- shawje shawje's Profile: http://forums.slimdevices.com/member.php?userid=37017 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
danco;566245 Wrote: > It's a touch confusing, as the on-idle and not-idle interfaces are > different. > > For a not-idle script, you give the full path to the script in the > obvious place. > > For an on-idle script, you go to the Custom Commands at the bottom, > give a name to the command and the full path to the script you want. > > Then (I can't recall if you have to stop and restart Squeezebox Server, > in addition to clicking Apply, but it can't harm) in the on-idle > selection (and anywhere that there is a menu of scripts) your named > scripts will appear in the menu to be chosen. Thanks Danco. I think I have this working - but only by replacing the Hibernate instruction (which I probably won't use much) with a call to the stop jiggler script. Then I set action on idle to be hibernate. What I couldn't find is where and how to create a custom command or script. Any suggestions where I need to look. Thanks -- shawje shawje's Profile: http://forums.slimdevices.com/member.php?userid=37017 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
It's a touch confusing, as the on-idle and not-idle interfaces are different. For a not-idle script, you give the full path to the script in the obvious place. For an on-idle script, you go to the Custom Commands at the bottom, give a name to the command and the full path to the script you want. Then (I can't recall if you have to stop and restart Squeezebox Server, in addition to clicking Apply, but it can't harm) in the on-idle selection (and anywhere that there is a menu of scripts) your named scripts will appear in the menu to be chosen. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
That's not an issue. You can write a similar script to turn Jiggler off, and set the on-idle behaviour to run that script. Then all that happens on idle is that control is passed back to Energy Saver. Or your script could just do nothing, and leave Jiggler running if you wanted. I also use the PowerSave plugin that turns my Squeezebox off when it's not been used for a certain length of time. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Danco / Gordon I'm looking to prevent my Mac Mini sleeping when using squeezebox. I think I know how to do it - using Danco's method of running Jiggler when Srvpowerctrl sees NotIdle (although I haven't yet tried getting the scripts working in the correct directories and I'm new to Macs). My issue is that I don't want SrvrPowerCtrl to force the Mac to sleep after the idle monitor spots there has been no activity for a while. I prefer to use the Mac's own energy saver settings to turn off the Mac if there is no activity. The reason is that I use EyeTV for recording TV on the Mac. The minute I enable SrvPowerCtrl's idle monitor, there is a chance that it will force the Mac to sleep in the middle of a TV recording if I happen to be recording something x minutes after srvpowerctrl detects an idle state (where x is the timer setting on the idlemonitor). I think what I need is a way to run a script on not-idle, but without having a forced suspend after SB has been idle for a preset time. Thanks for any suggestions. -- shawje shawje's Profile: http://forums.slimdevices.com/member.php?userid=37017 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Yes, the beta version of SrvrPowerCtrl will do what you want it to. Make sure it's the latest beta version (from last January, I think) that you have installed. But getting this to work is going to require some extra effort on your part. SrvrPowerCtrl is really all about putting the server to sleep, not keeping it awake. So, exactly as Danco suggests above, do this: Search this thread for 'caffeine' and read up on that Mac utility. Download caffeine and install it (google search for 'caffeine OSX'). Then you'll need to write a script to invoke caffeine. There should be an example script of Danco's in the thread here somewhere. Then, you may need to modify your /etc/sudoers file so that caffeine can be run by the user account that Squeezebox Server is running under. Finally, configure SrvrPowerCtrl so that the 'not-idle' action calls your caffeine invocation script. I think that's it, in a nutshell. I've been intending, for the past 9 months or so, to redo my 'ReallyPreventStandby' plugin so that it supports OSX and linux for exactly this sort of stuff and then rip out the 'not-idle' support in SrvrPowerCtrl. That probably won't happen until December, though. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Look through the thread to find the answer. There are a couple of free programs, Caffeine and Jiggler, that stop a Mac from sleeping when activated. You can write a shell script to run either of these, and set up SvrPowerControl to run the script when the SB is not idle. It's your choice which of the two you prefer to use. For more details search either on the words Caffeine or Jiggler or for posts by me. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Hey there Not sure whether I should be posting this in the beginners' forum, but... I have a Duet and am running a Mac Mini as the server; I'm having problems with the computer going into standby while listening to music. I don't want to have to put the "sleep" setting on the Mac so far up as I want to have the Mini in standby when not in use (namely, I want to have a sensible standby setting of around 10 minutes, and have it that the Mac is made aware that it is still in use by the Squeezebox so it doesn't go to sleep when the Squeezebox is being used). >From what I have read on this forum and elsewhere, the SvrPowerControl plugin may provide an answer to that. I've successfully downloaded and installed the plugin, but despite going through the settings of the plugin I cannot identify any settings which will help me with the problem outlined above. Could someone please put me in the right direction to such info on the web, or give me some clues as to what settings can achieve this desired result? Apologies if this is a v. basic question for this thread, however this is my first time mucking about with such a plugin. I have tried to search for ideas on this, but haven't had any luck.. Many thanks for any help that can be offered! Cheers Jonathan NZ -- jonathan.ibell jonathan.ibell's Profile: http://forums.slimdevices.com/member.php?userid=38948 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Envy! -- mvordeme 'last.fm' (http://www.last.fm/user/mvordeme) | scaleo home server 2105 | squeezebox server 7.5.0 - r30464 | server power control 20100115.005818 | squeezebox boom & duet | rotel rsp-1066 | rotel rmb-100 | phonar p-5 mvordeme's Profile: http://forums.slimdevices.com/member.php?userid=22892 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
robroe;563275 Wrote: > Hi, > > Hope you enjoyed your sailing! I don't suppose you've managed to take a > look at the possible LazySearch conflict? > > Thanks > > Rob My summer of sailing isn't even remotely over yet. I don't head back until October 7th. Currently, I'm off the island of Lastovo in Croatia. No seqeezeboxen and no servers on board, so there's not a lot I can do from this end. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Hi, Hope you enjoyed your sailing! I don't suppose you've managed to take a look at the possible LazySearch conflict? Thanks Rob gharris999;537178 Wrote: > Got it. But the log only seems to reflect the start of SBS and a > Lazifacation called by the LazySearch plugin. It doesn't seem to > contain any of the log messages I would expect to see when the system > is shut down "manually". > > Did you "manually" shut the machine down, boot it back up, and then gab > the log output? > > I suppose that it is possible, if the "manual shutdown" happens while > the "Lazifacation" process is still happening, that the block set by > Lazy Search could be preventing SrvrPowerCtrl from performing the > player push to MySB.com. I'll have to look at the code. But this is > just speculation. -- robroe robroe's Profile: http://forums.slimdevices.com/member.php?userid=14248 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;561204 Wrote: > Exactly. You could use SrvrPowerCtrl's current "not idle" support to > accomplish the same thing, but I intend to remove this feature in the > next version. I'll move that functionality to the ReallyPreventStandby > plugin when I rework it to support all operating systems. Thanks. I looked at that, but it seemed overkill to use your plug-in just for 1 function. I'm using a python script and an OS X Core Graphics call to do a quick move of the mouse (so I don't need to load Jiggler) ReallyPreventStandby is something that I would be interested in. On the Mac, how do you plan to implement this? -- Tony T Tony SBTouch ♪ SBRadio ♬ Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;553230 Wrote: > Unfortunately, I have no experience with QNAP devices. > > Anyway, there are a couple of different ways you can try to go about > this. If the QNAP allows you root access via ssh to it's operating > system, then you can use PuTTY & WinSCP to do some spelunking. You'll > also have to pose some questions on forums devoted to your device. > > But basically, your task will be to: > > 1). Determine what user account the squeezeboxserver service runs under > on the QNAP. On a regular linux distribution, SBS runs under the > account 'squeezeboxserver'. If you can get ssh+root access to the > QNAP, you can try the command: > For some reason the arguments to ps don't seem to make any difference it always seems to show every process. I tried looking at the Man page for ps, but all of the different command types whether prefixed by two dashes, one dash, or no dashes didn't seem to do anything. The SSOTS Qnap package does seem to list both a Mysql and Squeezeserver PID maybe I should just try and match these against the users shown by ps -- Stone Free Stone Free's Profile: http://forums.slimdevices.com/member.php?userid=31773 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Tony T;560297 Wrote: > Never mind, found the answer in > http://forums.slimdevices.com/showpo...postcount=1352 > > I can use the CLI to test if any of my players are in mode: 'play', and > if so, I'll run Jiggler to keep my server from sleeping. I can do this > with a bash script run every 25 minutes with launchd Exactly. You could use SrvrPowerCtrl's current "not idle" support to accomplish the same thing, but I intend to remove this feature in the next version. I'll move that functionality to the ReallyPreventStandby plugin when I rework it to support all operating systems. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Tony T;560186 Wrote: > This might have been answered in one of the 140 pages in this thread :) > , but can someone tell me how I can determine if a stream is playing? > (not if the server is running). Never mind, found the answer in http://forums.slimdevices.com/showpo...postcount=1352 I can use the CLI to test if any of my players are in mode: 'play', and if so, I'll run Jiggler to keep my server from sleeping. I can do this with a bash script run every 25 minutes with launchd -- Tony T Tony SBTouch ♪ SBRadio ♬ Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
This might have been answered in one of the 140 pages in this thread :) , but can someone tell me how I can determine if a stream is playing? (not if the server is running). -- Tony T Tony SBTouch ♪ SBRadio ♬ Tony T's Profile: http://forums.slimdevices.com/member.php?userid=34544 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Pah! Where are your priorities?! Do you work for BP by any chance? ;) It would be great if it got fixed one day. Thanks. -- robroe robroe's Profile: http://forums.slimdevices.com/member.php?userid=14248 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Sorry. I'm scrambling to get out of town and onto a sailboat in the Adriatic. I won't have time to look at this any time soon. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;537197 Wrote: > I can't look at this for the next couple of days. But I'll try to see > what I can figure out on Tuesday. Hi, I have this same issue too. Looks as though I have the lazification bits as well so maybe it is a conflict there? Any work on this would be greatly appreciated. Thanks Rob -- robroe robroe's Profile: http://forums.slimdevices.com/member.php?userid=14248 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Stone Free;553227 Wrote: > How do I go about getting this to work on a QNAP 219P. I have installed > SUDO via Itsy package manager, but I have no idea what I'm meant to put > in the SUDOERS file. I've also no idea how to go about installing > PM-Utils on the QNAP because it doesn't seem to be installable via > Itsy. Unfortunately, I have no experience with QNAP devices. The only NAS device that I've ever played around with is a very old ReadyNAS 600...and I gave up on trying to run SqueezeCenter on that years ago. I assume you've used the 'Search this thread' tool to find all the previous QNAP related posts? Various folks have drifted through this thread asking your same question...and then they've disappeared. I don't know if it's because they gave up...or because they got it working. If the latter, I really wish they had posted their recipe for others' benefit. Anyway, there are a couple of different ways you can try to go about this. If the QNAP allows you root access via ssh to it's operating system, then you can use PuTTY & WinSCP to do some spelunking. You'll also have to pose some questions on forums devoted to your device. But basically, your task will be to: 1). Determine what user account the squeezeboxserver service runs under on the QNAP. On a regular linux distribution, SBS runs under the account 'squeezeboxserver'. If you can get ssh+root access to the QNAP, you can try the command: # ps -U squeezeboxserver If that command lists processes 'owned' by the squeezeboxserver user, then you're in business and 'squeezeboxserver' is the 'owner' and will be the account name you'll give permissions to in sudoers. But if no processes are listed, then you might try a sort of reverse lookup: # ps axu Again, look for the SBS related processes and note the numeric ID of the SBS process owners. If you get an ID (e.g. 110, rather than a name), then have a look in /etc/passwd and see if you can associate that ID with an account name. In any event, once you get the account name, you'll have the first piece of the puzzle as to what will go in sudoers. I'm not familiar with the QNAP's sudoers format, but there may be examples commented out in the file. 2). Your second task is to determine which commands actually effect shutdown/restart/suspend/hibernation on the QNAP. And there, you're better off posing questions on a QNAP forum. Good luck, and please do post your results back here. Again, you're not the first person to trod down this path. PS: make a backup of your original, unchanged sudoers file first! And when attempting to modify sudoers, try using the # visudo ..command..if it's present on the QNAP. visudo is the 'safe' way to modify sudoers. Any changes you make to sudoers by visudo get checked for correct syntax before the changes are applied. This is a good failsafe. If you're not familiar with 'vi', do a google search to get a brief vi tutorial. I find vi fairly counter-intuitive to use, so I'd advise having a command reference handy. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
How do I go about getting this to work on a QNAP 219P. I have installed SUDO via Itsy package manager, but I have no idea what I'm meant to put in the SUDOERS file. I've also no idea how to go about installing PM-Utils on the QNAP because it doesn't seem to be installable via Itsy. -- Stone Free Stone Free's Profile: http://forums.slimdevices.com/member.php?userid=31773 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Currently there is no interaction at all between SPC and LightsOut. Apart from the things LightsOut is monitoring anyway like daily backups and hard disk activity, I have set it to monitor network activity of more than 8 KB/s. I have configured a timeout value of 20 minutes, so 20 minutes after I stop streaming any music, the server will hibernate. To make sure there is network load at all when I play music, I have switched all players to proxied streaming mode. Since I never suspend the server, I removed the suspend command from the SPC settings. Selecting "suspend to mysqueezebox.com" now only pushes all players to mysqueezebox.com. I have set up idle player monitoring with a timeout of 15 minutes and no not-idle command, so before the server hibernates, the players are pushed to mysqueezenetwork.com. Additionally I have configured an end-of-day action that pushes all players to mysqueezenetwork.com before my wireless network shuts itself down. So far it is working really well. Alternatively, I could create and remove a lock file with SPC and have LightsOut monitor that, but because SPC starts the grace period again immediately after it expires, I was concerned that LightsOut would not find the time to shut down the server. And I like the idea of keeping the server awake while data is being transferred, anyway. This way, I don't have to keep the server awake just because the odd notebook is powered up. It will simply not hibernate as long as data is being transferred. The only downside is that network monitoring (and file monitoring) are features of the licensed version, so I will have to pay 15 bucks when the trial period is over, but I was planning to donate, anyway. -- mvordeme 'last.fm' (http://www.last.fm/user/mvordeme) | scaleo home server 2105 | squeezebox server 7.5.0 - r30464 | server power control 20100115.005818 | squeezebox boom & duet | rotel rsp-1066 | rotel rmb-100 | phonar p-5 mvordeme's Profile: http://forums.slimdevices.com/member.php?userid=22892 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
mvordeme;537248 Wrote: > Took me some time because the old version was working so well and I > didn't want to break it. > > I am now using ServerPowerControl solely for switching the players over > to mysqueezebox.com. LightsOut 1.0 comes with network load monitoring. I > set the threshold to 8 KB/s (= 64 KBit/s) and set all my players to > proxied streaming, so SPC does not need to issue any not-idle commands > at all. It works like a charm with the added benefit of other network > operations being monitored as well. > > If you run your SqueezeboxServer from a WHS which you are using for > other purposes as well, I recommend having a look at LightsOut. Please tell us more about the interaction between LightsOut, SrvrPowerCtrl and what you're doing to get SrvrPowerCtrl to push players to MySB.com. Thanks. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
mvordeme;504852 Wrote: > I am not sure how many people are interested in this It looks like (the > trial and licensed versions of) 'Lights Out 1.0' > (http://addins.home-server-blog.de/verwaltung/lightsout/#en) for > Windows Home Server can now monitor various sources to keep the server > from hibernating. The easiest way to integrate Lights Out is to create > a file when you want the server to stay awake and to remove that file > when the server may hibernate or shut down. This can be done > conveniently by configuring the required commands directly in the > Server Power Control settings. > > I am going to install the new Lights Out and run a few tests, and then > I'll post the commands.Took me some time because the old version was working > so well and I didn't want to break it. I am now using ServerPowerControl solely for switching the players over to mysqueezebox.com. LightsOut 1.0 comes with network load monitoring. I set the threshold to 8 KB/s (= 64 KBit/s) and set all my players to proxied streaming, so SPC does not need to issue any not-idle commands at all. It works like a charm with the added benefit of other network operations being monitored as well. If you run your SqueezeboxServer from a WHS which you are using for other purposes as well, I recommend having a look at LightsOut. -- mvordeme 'last.fm' (http://www.last.fm/user/mvordeme) | scaleo home server 2105 | squeezebox server 7.4.2 - r29756 | server power control 20100101.164543 | squeezebox boom & duet | rotel rsp-1066 | rotel rmb-100 | phonar p-5 mvordeme's Profile: http://forums.slimdevices.com/member.php?userid=22892 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
It's okay. Thank you for engagement. At the moment I'm using a work around by shutting the system down by the link on web gui placed on my desktop. It works fine. -- Biermichel Biermichel's Profile: http://forums.slimdevices.com/member.php?userid=21783 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Biermichel;537186 Wrote: > Send you a few logs more with two or tree manual shutdowns. > > Yes, I did a manual shutdown, but I could't find anything in the logs. > You can see that above the "main" log: > [10-04-18 21:00:17.1566] main::init (323) Starting Squeezebox Server > (v7.5.0, r30464, Thu Apr 1 05:51:56 PDT 2010) > > I shut down the system manually before, but the last record ist at > [10-04-18 20:41:27.6077] > > It's Berlin-time here. ;-) I can't look at this for the next couple of days. But I'll try to see what I can figure out on Tuesday. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Biermichel;537186 Wrote: > Send you a few logs more with two or tree manual shutdowns. > > Yes, I did a manual shutdown, but I could't find anything in the logs. > You can see that above the "main" log: > [10-04-18 21:00:17.1566] main::init (323) Starting Squeezebox Server > (v7.5.0, r30464, Thu Apr 1 05:51:56 PDT 2010) > > I shut down the system manually before, but the last record ist at > [10-04-18 20:41:27.6077] > > It's Berlin-time here. ;-) I can't look at this for the next couple of days. But I'll try to see what I can figure out on Tuesday. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Send you a few logs more with two or tree manual shutdowns. Yes, I did a manual shutdown, but I could't find anything in the logs. You can see that above the "main" log: [10-04-18 21:00:17.1566] main::init (323) Starting Squeezebox Server (v7.5.0, r30464, Thu Apr 1 05:51:56 PDT 2010) I shut down the system manually before, but the last record ist at [10-04-18 20:41:27.6077] -- Biermichel Biermichel's Profile: http://forums.slimdevices.com/member.php?userid=21783 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Biermichel;537170 Wrote: > Ah, thanks a lot. > > You've got e-mail with my logs (too long for posting or pm'ing). Got it. But the log only seems to reflect the start of SBS and a Lazifacation called by the LazySearch plugin. It doesn't seem to contain any of the log messages I would expect to see when the system is shut down "manually". Did you "manually" shut the machine down, boot it back up, and then gab the log output? I suppose that it is possible, if the "manual shutdown" happens while the "Lazifacation" process is still happening, that the block set by Lazy Search could be preventing SrvrPowerCtrl from performing the player push to MySB.com. I'll have to look at the code. But this is just speculation. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Ah, thanks a lot. You've got e-mail with my logs (too long for posting or pm'ing). -- Biermichel Biermichel's Profile: http://forums.slimdevices.com/member.php?userid=21783 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Biermichel;537081 Wrote: > Did activate debugging on settings advanced logging with saving the > setting, but after rebooting it's set back to information. > > Here comes the log, don't think it helps you: > [10-04-18 17:33:29.0629] main::init (323) Starting Squeezebox Server > (v7.5.0, r30464, Thu Apr 1 05:51:56 PDT 2010) perl 5.01 > [10-04-18 17:35:31.1405] > Plugins::SrvrPowerCtrl::Watchdog::OnWakeupWatchdog (518) Wakeup Call!! > [10-04-18 17:42:12.0160] main::init (323) Starting Squeezebox Server > (v7.5.0, r30464, Thu Apr 1 05:51:56 PDT 2010) perl 5.01 > [10-04-18 17:44:08.3625] > Plugins::SrvrPowerCtrl::Watchdog::OnWakeupWatchdog (518) Wakeup Call!! > > Maybe you can help me with debugging. On the SBS Settings->Advanced->Logging page, you first have to check the "Save logging settings for use at next application restart" option near the top of the page, then set the "(plugin.SrvrPowerCtrl) - Server Power Control" logging level to "Debug" and then finally click on the "Apply" button at the bottom of the page. Then reboot your server. SrvrPowerCtrl should then start spewing info...some of which, hopefully, will be relevant. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Did activate debugging on settings advanced logging with saving the setting, but after rebooting it's set back to information. Here comes the log, don't think it helps you: [10-04-18 17:33:29.0629] main::init (323) Starting Squeezebox Server (v7.5.0, r30464, Thu Apr 1 05:51:56 PDT 2010) perl 5.01 [10-04-18 17:35:31.1405] Plugins::SrvrPowerCtrl::Watchdog::OnWakeupWatchdog (518) Wakeup Call!! [10-04-18 17:42:12.0160] main::init (323) Starting Squeezebox Server (v7.5.0, r30464, Thu Apr 1 05:51:56 PDT 2010) perl 5.01 [10-04-18 17:44:08.3625] Plugins::SrvrPowerCtrl::Watchdog::OnWakeupWatchdog (518) Wakeup Call!! Maybe you can help me with debugging. -- Biermichel Biermichel's Profile: http://forums.slimdevices.com/member.php?userid=21783 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Biermichel;535968 Wrote: > Hi, > > got a problem by "external shutdown". My SBs shall go to mySB.com, but > they only do if I stop the SqueezeboxServer manually. By normal system > shutdown that doesn't work. OS: Windwos XP, actual SB-Server 7.5.0 > > I like your plugin, great work! Well, this is *supposed* to work. Would you be willing to set SrvrPowerCtrl's logging to "debug", try a normal system shutdown, and post the log entries? Let me know if you need pointers as to how to set the log to debug. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Hi, got a problem by "external shutdown". My SBs shall go to mySB.com, but they only do if I stop the SqueezeboxServer manually. By normal system shutdown that doesn't work. OS: Windwos XP, actual SB-Server 7.5.0 I like your plugin, great work! -- Biermichel Biermichel's Profile: http://forums.slimdevices.com/member.php?userid=21783 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
MrRalph;533221 Wrote: > My mistake, the BETA works like a charm :-) With the change from SC 7.3.x to SBS 7.4 and above, the linux account name that the "squeeze" service runs under changed from "squeezecenter" to "squeezeboxserver". The setup script for the BETA version of SrvrPowerCtrl attempts to figure out which version you're using and modify the /etc/sudoers file accordingly. Clearly, it's way past time for me to yank the current "released" version and promote the current beta (with a few cosmetic fix-ups) to a release. Just can't seem to find the time (taxes...taxes...taxes). -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Tried to suspend the server on 7.5 Ubuntu. Followed all the instructions, however, trying to suspend the server from a prompt, results in promping me for the squeezeboxserver password. Any tips to fix this? -- MrRalph MrRalph's Profile: http://forums.slimdevices.com/member.php?userid=22078 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;528991 Wrote: > I really should write some kind of windows utility that monitors the > system, listening for PM initiated sleep, and sends SrvrPowerCtrl a cli > request to set alarms. Not sure when I'll get the time to do this, > though. Sure, I'm very thankful for the solution you're currently providing. Of course, such a monitoring plugin would make it perfect :). Happy Easter! -- Chris82 Chris82's Profile: http://forums.slimdevices.com/member.php?userid=36401 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
These guys have studied exactly what I have in mind: "An Empirical Study of the Potential for Context-Aware Power Management" [ https://www.scss.tcd.ie:453/publications/tech-reports/reports.07/TCD-CS-2007-52.pdf ] - There's a few more in google scholar. They are using a bayesian classifier to predict on the next most desirable status for a machine, the idea being saving power when nobody pays attention, and waking up before anyone cares. Same perceived comfort, less watts. Creative use of a microphone as a presence sensor (Touch, hint.) Unfortunately for them, they missed focusing on a quality music server, and taking into account time of day / day of week. -- epoch1970 Daily dose delivered by: 2 SB Classic (fw 130), 1 SB Boom (fw 50) SqueezeCenter 7.3.4 (Debian 5.0) with plugins: ContextMenu, SaverSwitcher by Peter Watkins Server Power Control by Gordon Harris WeatherTime by Martin Rehfeld IRBlaster by Gwendesign (Felix) FindArt, CDplayer by bpa BBC iPlayer, SwitchPlayer by Triode PowerSave by Jason Holtzapple TrackStat by Erland Isaksson. epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Chris82;528943 Wrote: > Hi again, > > I think I found the fundamental misunderstanding I had. > > Is it true that the SCpowertool is only triggered if the server is > suspended / hibernated by the plugin itself, let's say after a sleep > timer is over or idle time of attached players has been reached? > > It seems like it is not triggered if the system is set to standby / > hibernation by a windows energy plan, is that right? > > Thanks for your help, > > Chris That is correct. It is possible for a windows utility to "know" when the system is being put to sleep via the operating system power manager. The OS sends out a message to all applications that have what is known as a windows message queue. Unfortunately, this isn't something that a perl based plugin like SrvrPowerCtrl can do. At some point, I really should write some kind of windows utility that monitors the system, listening for PM initiated sleep, and sends SrvrPowerCtrl a cli request to set alarms. Not sure when I'll get the time to do this, though. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
That is correct. The tool is invoked from the plug-in. You must configure the plug-in such that it prevents Windows from hibernating the server as long as SBS is playing any music and to set all necessary alarms before allowing the server to go to sleep. -- mvordeme 'last.fm' (http://www.last.fm/user/mvordeme) | scaleo home server 2105 | squeezebox server 7.4.2 - r29756 | server power control 20100101.164543 | squeezebox boom & duet | rotel rsp-1066 | rotel rmb-100 | phonar p-5 mvordeme's Profile: http://forums.slimdevices.com/member.php?userid=22892 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Chris82;528706 Wrote: > I don't quite understand that problem since in my own tests, the machine > returns both from S3 and S4 state to the preset time. > Hi again, I think I found the fundamental misunderstanding I had. Is it true that the SCpowertool is only triggered if the server is suspended / hibernated by the plugin itself, let's say after a sleep timer is over or idle time of attached players has been reached? It seems like it is not triggered if the system is set to standby / hibernation by a windows energy plan, is that right? Thanks for your help, Chris -- Chris82 Chris82's Profile: http://forums.slimdevices.com/member.php?userid=36401 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Tried installing beta version of SvrPowerControl using Extension Downloader as suggested in the quoted post. My target system is Squeezebox Server 7.4.2 running on OSX 10.6.2 (Snow Leopard) on a "Late 2009" Mac Mini with Intel dual-core CPU @ 2GHz and 4 MB RAM. gharris999;308728 Wrote: > Note for users of Squeezebox Server 7.4 and later: There is a beta of > SrvrPowerCtrl that 'plays nicer' with this version. It can be installed > via the Extension Downloader. The installation produced the SvrPowerControl plug-in's page in the SBS browser interface which included all the plug-in commands, but with no hint of a link to complete the installation. The commands also appeared on my Boom under Extras -> Server Power Control as expected, but of course they didn't work because the installation of the scripts had not been completed. In short it appeared the user interface portion of the plug-in was successfully installed but not the back-end where all the actions are actually performed. I then downloaded the zip files for both the released and the beta versions and took a look at the OSX readme.txt file and a couple of the scripts. The files in both versions refer to the 'Squeezecenter' directory rather than the 'Squeezebox' directory which is configured in SBS 7.4.2 (on my system, at least). The subdirs don't seem to match either, the plug-in refers to .../Squeezecenter/Plugins/... vs SBS 7.4.2 which has .../Squeezebox/DownloadedPlugins/... and .../Squeezebox/InstalledPlugins/... I combed this thread looking for further info and found a reference to replacing all occurences of 'Squeezecenter' with 'Squeezebox' but that post was referring to SBS 7.4.1 I believe, and there was no mention of the subdirectory differences. Is this a bug, known or otherwise? If yes, is there a workaround? Or, have I missed something? Thanks. -- jmang jmang's Profile: http://forums.slimdevices.com/member.php?userid=35344 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Hi, after some playing around with my new mediacenter I gave another try to the wake-up feature in SvrPowerControl under Win 7 X64 but what can I say, same issue as before: In an artficial situation where I try to use the powertool from the command line with the wake-up feature, everything works perfectly. Also using it in the plugin seems to be successful as I can read in the Log file. The start-up time for the computer is set to 5min in advance to my alarms in the SB Radio. However... in the morning, the system does not power on. The log file stays untouched, just as if windows goes to a power state the the computer cannot be woken up from. I don't quite understand that problem since in my own tests, the machine returns both from S3 and S4 state to the preset time. Is there anyone else experiencing this? Thanks for your help! Christoph -- Chris82 Chris82's Profile: http://forums.slimdevices.com/member.php?userid=36401 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;528437 Wrote: > > In terms of keeping your server awake while SBS is playing music: yes, > the answer is in this thread. Search this thread for the keyword > 'caffeine' to see what at least one user has come up with. Yes, Caffeine or Jiggler. Much the same functionality, differ slightly in details. -- danco danco's Profile: http://forums.slimdevices.com/member.php?userid=210 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
jmang;528432 Wrote: > Hi, > > I've gone through this and other threads looking for a solution to the > problem of my Mac Mini going to sleep during Squeezebox Server's > playing music. I suspect the wisdom needed to solve this is > here---somewhere---but it seems scattered through numerous messages I > haven't the time or patience to put together. > > Would someone kindly summarize a solution for me and perhaps others > with similar issues? > > Also, Server Power Control appears to be quite a useful piece of work > but I haven't been able to figure out what all its features are and > what it is supposed to do. For example, are the 'Server' commands > intended to control the Squeezebox Server software or the computer > running it? Is there a user's guide available? Is Server Power > Control part of the solution for the above issue? > > Or am I just chasing the proverbial wild goose? > > Thanks. Actually the 'server' aspects cover a little of both bases. For instance, you can use SrvrPowerCtrl to restart the Squeezebox Server service. This was more useful back in the 7.x.x SqueezeCenter days, when the service didn't support this sort of thing on it's own. But primarily, SrvrPowerCtrl is about controlling the server hardware: putting the server to sleep when Squeezebox Server (SBS) is idle; allowing you to shutdown/reboot/sleep the server from the player UI or from the web UI, etc. Another 'service' aspect of SrvrPowerCtrl is it's ability to push & pull players from MySqueezebox.com automatically when the server hardware sleeps or resumes. This ability is a little compromised now, however. It was pretty bullet-proof with SqueezeNetwork. MySqueezebox.com doesn't play quite so nicely with attempts at automation. In terms of keeping your server awake while SBS is playing music: yes, the answer is in this thread. Search this thread for the keyword 'caffeine' to see what at least one user has come up with. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Hi, I've gone through this and other threads looking for a solution to the problem of my Mac Mini going to sleep during Squeezebox Server's playing music. I suspect the wisdom needed to solve this is here---somewhere---but it seems scattered through numerous messages I haven't the time or patience to put together. Would someone kindly summarize a solution for me and perhaps others with similar issues? Also, Server Power Control appears to be quite a useful piece of work but I haven't been able to figure out what all its features are and what it is supposed to do. For example, are the 'Server' commands intended to control the Squeezebox Server software or the computer running it? Is there a user's guide available? Is Server Power Control part of the solution for the above issue? Or am I just chasing the proverbial wild goose? Thanks. -- jmang jmang's Profile: http://forums.slimdevices.com/member.php?userid=35344 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Look for a different version of the linux kernel when fishing for an alternative live-cd to test with. For example, choose a previous Ubuntu release (7.0, 8.0), or the next beta. Perhaps you can be lucky. With your current OS: http://en.opensuse.org/S2ram was a valuable resource for me when I had trouble with linux suspend. There you can learn about the suspend process and how to debug manually your setup. pm-utils is nice when it works, but hides everything under covers. -- epoch1970 Daily dose delivered by: 2 SB Classic (fw 130), 1 SB Boom (fw 50) SqueezeCenter 7.3.4 (Debian 5.0) with plugins: ContextMenu, SaverSwitcher by Peter Watkins Server Power Control by Gordon Harris WeatherTime by Martin Rehfeld IRBlaster by Gwendesign (Felix) FindArt, CDplayer by bpa BBC iPlayer, SwitchPlayer by Triode PowerSave by Jason Holtzapple TrackStat by Erland Isaksson. epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
colincliff;525527 Wrote: > Hi, > > thanks for this, my pm-suspend.log shows no problems, only they system > waking up after a second or so. It does this even when there is no > ethernet connection, so it seems to be a problem with the ubuntu > installation. > > interestingly(!) i can hibernate fine, and also suspend once after a > reboot or hibernation but any suspend after that results in an instant > resume. > > there seems to be some other people with similar problems but no fix > that i could find. Its a shame as hibernate takes too long to be really > usable. I was hoping to have the unit sleep after 15 mins or so of > inactivity, but it might be better just to have it hibernate at night. > > Just to confirm there is no problem with this plugin just my system :-( About all I can suggest at this point is to try booting from a live-cd of another distro and see if you have better luck with that. These sorts of problems can be maddening. I struggled for months trying to get WOL out of S3 to work consistently with some VIA boards before finally throwing in the towel and moving to intel-based mobos. The problem in that case was due to the nic drivers and I was just never able to solve it. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
gharris999;525427 Wrote: > pm-utils (along with almost everything else) logs all of its (very > verbose) messages to /var/log/messages. > > Look at the message times and specifically, look for a gap in time. > That will indicate when the system was asleep. > > Again, I'm much more familiar with Fedora than I am with Ubuntu. How > do you set your network interface to respond only to magic packets? > With Fedora 12, I do this by adding the line: > > ETHTOOL_OPTS="wol g" > > to /etc/sysconfig/network-scripts/ifcfg-eth0 Hi, thanks for this, my pm-suspend.log shows no problems, only they system waking up after a second or so. It does this even when there is no ethernet connection, so it seems to be a problem with the ubuntu installation. interestingly(!) i can hibernate fine, and also suspend once after a reboot or hibernation but any suspend after that results in an instant resume. there seems to be some other people with similar problems but no fix that i could find. Its a shame as hibernate takes too long to be really usable. I was hoping to have the unit sleep after 15 mins or so of inactivity, but it might be better just to have it hibernate at night. Just to confirm there is no problem with this plugin just my system :-( -- colincliff colincliff's Profile: http://forums.slimdevices.com/member.php?userid=36572 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
colincliff;525198 Wrote: > still getting some funny behaviour. The system seems to go to sleep fine > now, but after a few seconds it is resuming even when squeezeboxes are > off > > is there any way to find out what event is waking the system in ubuntu? > either the ip address which sent the magic packet or anyting like that? pm-utils (along with almost everything else) logs all of its (very verbose) messages to /var/log/messages. Look at the message times and specifically, look for a gap in time. That will indicate when the system was asleep. Again, I'm much more familiar with Fedora than I am with Ubuntu. How do you set your network interface to respond only to magic packets? With Fedora 12, I do this by adding the line: ETHTOOL_OPTS="wol g" to /etc/sysconfig/network-scripts/ifcfg-eth0 -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
still getting some funny behaviour. The system seems to go to sleep fine now, but after a few seconds it is resuming even when squeezeboxes are off is there any way to find out what event is waking the system in ubuntu? either the ip address which sent the magic packet or anyting like that? -- colincliff colincliff's Profile: http://forums.slimdevices.com/member.php?userid=36572 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
colincliff;522872 Wrote: > Thanks for the reply. There must be something else stopping its sleeping > after torrent downloads, i'll do some more experiments could it be that after the download you are seeding on the torrent, and downloaders connect to your machine in turn ? -- epoch1970 Daily dose delivered by: 2 SB Classic (fw 130), 1 SB Boom (fw 50) SqueezeCenter 7.3.4 (Debian 5.0) with plugins: ContextMenu, SaverSwitcher by Peter Watkins Server Power Control by Gordon Harris WeatherTime by Martin Rehfeld IRBlaster by Gwendesign (Felix) FindArt, CDplayer by bpa BBC iPlayer, SwitchPlayer by Triode PowerSave by Jason Holtzapple TrackStat by Erland Isaksson. epoch1970's Profile: http://forums.slimdevices.com/member.php?userid=16711 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
colincliff;522872 Wrote: > Thanks for the reply. There must be something else stopping its sleeping > after torrent downloads, i'll do some more experimentsIt used to depend > on various settings, so maybe in your case it doesn't work. I think you may need to configure a not-idle command. You can watch the log to see what SPC is doing. -- mvordeme 'last.fm' (http://www.last.fm/user/mvordeme) | scaleo home server 2105 | squeezebox server 7.4.2 - r29756 | server power control 20100101.164543 | squeezebox boom & duet | rotel rsp-1066 | rotel rmb-100 | phonar p-5 mvordeme's Profile: http://forums.slimdevices.com/member.php?userid=22892 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
colincliff;522866 Wrote: > Thanks for that. I've got it all running now. Brilliant plugin! > > One further question about the plugins' behaviour. My server runs on a > box which also has a torrent client on there. My torrent client is set > to not allow the system to sleep when it is downloading to make sure it > can finish. This means that if svrpowercontrol sends the sleep signal > when a torrent is downloading then it wont sleep - which is good. > > Can the plugin be made to send the sleep signal repeatedly (every 10 > mins) until the system is able to sleep after downloads? Alternately, you could have your torrent script set a SrvrPowerCtrl "block" via the CLI at the start of the download and clear the block when the download completes. That way, SrvrPowerCtrl won't attempt to sleep the system during the download. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Thanks for the reply. There must be something else stopping its sleeping after torrent downloads, i'll do some more experiments -- colincliff colincliff's Profile: http://forums.slimdevices.com/member.php?userid=36572 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
As far as I can see it does. If the server does not shut down immediately, it starts the grace interval again issuing the not-idle command. The shut-down command will be submitted periodically. I actually don't like this to happen, but in your case, it is probably going to help. -- mvordeme 'last.fm' (http://www.last.fm/user/mvordeme) | scaleo home server 2105 | squeezebox server 7.4.2 - r29756 | server power control 20100101.164543 | squeezebox boom & duet | rotel rsp-1066 | rotel rmb-100 | phonar p-5 mvordeme's Profile: http://forums.slimdevices.com/member.php?userid=22892 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
Thanks for that. I've got it all running now. Brilliant plugin! One further question about the plugins' behaviour. My server runs on a box which also has a torrent client on there. My torrent client is set to not allow the system to sleep when it is downloading to make sure it can finish. This means that if svrpowercontrol sends the sleep signal when a torrent is downloading then it wont sleep. Can the plugin be made to send the sleep signal repeatedly (every 10 mins) until the system is able to sleep? -- colincliff colincliff's Profile: http://forums.slimdevices.com/member.php?userid=36572 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
colincliff;522729 Wrote: > not sure if this is the right place to post, but i've had a quick look > through the thread and not seen this listed before. > > I have installed this plugin and and trying to go through the > instructions for finishing the installation Ubuntu. > > when I try the command: 'sudo chmod a+x > /var/lib/squeezecenter/cache/InstalledPlugins/Plugins/SrvrPowerCtrl/scripts/Debian/srvrpowerctrl-setup.sh' > I get an error saying 'No such file or directory'. I can navigate to the > file with file browser so i know it does exists. Is there an obvious > solution to this? > > Also when trynig the test command: 'sudo -u squeezecenter sudo > /sbin/shutdown -k -h now' I get the error 'sudo: unknown user: > squeezecenter' > > Have i missed a vital step in all of this?? > > edit: to my eternal shame i have just realised that i was following > instructions for the pre 7.4 server. I just replaces 'squeezecentre' > with 'squeezeboxserver' and all was fine with the world again Unless you actually are running SqueezeCenter 7.3.4 on your Ubuntu machine, you should install and use the latest 'beta' of SrvrPowerCtrl. Uninstall the version you've got now and then install the beta from http://srvrpowerctrl.googlecode.com/svn/beta.xml. That should solve the problems you've mentioned. -- gharris999 gharris999's Profile: http://forums.slimdevices.com/member.php?userid=115 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
not sure if this is the right place to post, but i've had a quick look through the thread and not seen this listed before. I have installed this plugin and and trying to go through the instructions for finishing the installation Ubuntu. when I try the command: 'sudo chmod a+x /var/lib/squeezecenter/cache/InstalledPlugins/Plugins/SrvrPowerCtrl/scripts/Debian/srvrpowerctrl-setup.sh' I get an error saying 'No such file or directory'. I can navigate to the file with file browser so i know it does exists. Is there an obvious solution to this? Also when trynig the test command: 'sudo -u squeezecenter sudo /sbin/shutdown -k -h now' I get the error 'sudo: unknown user: squeezecenter' Have i missed a vital step in all of this?? -- colincliff colincliff's Profile: http://forums.slimdevices.com/member.php?userid=36572 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins
Re: [SlimDevices: Plugins] Announce: Beta version of SvrPowerControl
I had not exactly the same issue, but similar behavior this was due to "Auto recognition" in the network my player just connected to the Server immediately when it was up. had to deactivate it in the server settings maybe it is the same? -- AndreE Duet: 2 Controllers and 4 Receivers Plan: +2 Receivers and + 1 Controller [quite positive after move to 7.4.1 and later to 7.4.2] Linux Intel Atom 330 based Server - [not completely configured yet] wired Ethernet to 1Gb Switch, than Router via DSL to the net... no WiFi at all AndreE's Profile: http://forums.slimdevices.com/member.php?userid=30476 View this thread: http://forums.slimdevices.com/showthread.php?t=48521 ___ plugins mailing list plugins@lists.slimdevices.com http://lists.slimdevices.com/mailman/listinfo/plugins