Detecting stanby state
Started by Guru65, 17 Jan 2010 20:51
7 replies to this topic
#1
Posted 17 January 2010 - 20:51
I have connected LG LCD TV set to by DM500S via serial cable to control the TV set from the Dreambox. I can control backlight, volume, input selection, power functions etc. using simple scripts with crontab.
I would like to automatically shut the TV set when my DreamBox is put in sleep. I should find a way to detect the standby state to send "power off" command to the TV set.
Any ideas how to do it properly?
Btw... if you try this yourself, please, cut off the cable to the RX pin (2) of Dreambox serial port or you will not get your box up when rebooted /images/smiley/shock.gif Actually you have to do a factory reset if you forget to do this simple modification. You need only pins 3 and 5.
I would like to automatically shut the TV set when my DreamBox is put in sleep. I should find a way to detect the standby state to send "power off" command to the TV set.
Any ideas how to do it properly?
Btw... if you try this yourself, please, cut off the cable to the RX pin (2) of Dreambox serial port or you will not get your box up when rebooted /images/smiley/shock.gif Actually you have to do a factory reset if you forget to do this simple modification. You need only pins 3 and 5.
Re: Detecting stanby state #2
Posted 18 January 2010 - 07:49
I think you need to modify Enigma for that. As far as I know, there's no way to see if it's in standby using shell scripts etc.
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: Detecting stanby state #3
Re: Detecting stanby state #4
Re: Detecting stanby state #5
Posted 18 January 2010 - 19:42
You're right. I forgot about that one.You can try to create these scripts:
/var/etc/enigma_enter_idle.sh
/var/etc/enigma_leave_standby.sh
Many answers to your question can be found in our wiki: http://openpli.org/wiki
Re: Detecting stanby state #6
Re: Detecting stanby state #7
Re: Detecting stanby state #8
Posted 12 July 2014 - 10:33
i'm test the powerstate with cron and webif
wget -q -O - http://127.0.0.1/web/powerstate | fgrep -i "e2instandby" | fgrep -i "true" >/dev/null 2>&1 if [ $? -eq 0 ] ;then echo "ET9200 is in standby" else echo "ET9200 is running" # insert your code here to prevent NAS from entering standby ... /home/root/WoL.sh fi
ET9200 openpli 6.2 ET4000 openpli 4 Solo2 openpli 7.2
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users