Page 2 of 2

Re: Auto sleep/turnoff Asus R1

PostPosted: 12 Nov 2013, 22:00
by spimenta
Ok no problem john3voltas.

It seems my question is very difficult to answer, no one knows how to auto turn off the Asus R1 automaticaly with the AMP r11 firmware?

Re: Auto sleep/turnoff Asus R1

PostPosted: 13 Nov 2013, 07:26
by FarVoice
one shell script, that sends Power button to DvdPlayer :) Like this:

Code: Select all
sleep 300
wget -q http://127.0.0.1/cgi-bin/IpodCGI.cgi?id=0&command=power -O /dev/null

Re: Auto sleep/turnoff Asus R1

PostPosted: 22 Nov 2013, 17:45
by maniosus
Haha, okee, Farvoice this turns the player off after 5 minutes, regardless the activity.

How do you execute the shell script when the player is idle for 5 minutes?
or
How do you make a shell script abort when the player is active?

Re: Auto sleep/turnoff Asus R1

PostPosted: 23 Nov 2013, 07:13
by FarVoice
On script impossible to check players's activity :( Sorry.
But maybe try to analyze an CPU capacity...

Re: Auto sleep/turnoff Asus R1

PostPosted: 23 Nov 2013, 16:54
by maniosus
What about irfake, can I read ir-commands from within a script?

My problrm is that after powerloss the player automatically starts. I turn off the power every night, and turn IT back on every morning. But I dont want the player to turn on when I dont use it.

Re: Auto sleep/turnoff Asus R1

PostPosted: 23 Nov 2013, 23:14
by FarVoice
Nop, you don't read IR commands, but you may to set a script to button.