Register

Welcome to the RDI-Board Community.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed.


Donate Now Goal amount for this month: 100 EUR, Received: 100 EUR (100%)
Donate to support this site...

Results 1 to 3 of 3

Thread: sleeptimer

  1. #1
    Banned Teacher
    RDI - Board Banned Avatar

    Join Date
    Jan 2004
    Location
    Romania-Brasov
    Posts
    257
    Posts Thanks / Likes

    Default sleeptimer

    salut
    cum pot programa dreamboxul sa se opreasca pentru ca sleeptimerul nu functioneaza in gemini cel putin la mine

  2. #2
    Junior Member Teacher
    RDI - Board Default Avatar

    Join Date
    Sep 2008
    Posts
    246
    Posts Thanks / Likes

    Default re

    merge foarte bine cu MENU-SHUTDOWN-SET SLEEPTIMER, la duration pui numarul de minute , bifezi casuta de la standby si apoi set-ok. mai poti sa ajungi la acelasi meniu tinand apasar pe telecomanda butonul de inchidere cateva secunde. daca nu merge asa, inseamna ca ceva nu s-a instalat bine la tine sau ai pus o imagine modificata la care nu mai functioneaza asta.

  3. #3
    Junior Member Teacher
    Join Date
    Jun 2007
    Location
    26.12°E / 44.42°N
    Posts
    473
    Posts Thanks / Likes

    Default

    sau poti programa un script cu crond daca ai zilnic aceeasi ora de standby
    Code:
    #!/bin/sh
    #####################################
    # Standby by Crontab                #
    # for Gemini-Image                  #
    #####################################
    
    
    user="root"
    pass="dreambox"
    dreamboxIP="http://$user:[email protected]_ip"
    
    
    if [ `wget -O- -q $dreamboxIP/web/timerlist |grep "<e2state>2</e2state>" | wc -l` -eq 0 ]; then
    if [ `grep encoder /proc/stb/avs/0/input | wc -l` -eq 1 ]; then
    echo 'Switch to Standby'
    wget -O /var/tmp/commands.tmp -q $dreamboxIP/web/powerstate?newstate=0
    fi
    fi
    
    # powerstate?newstate=0
    #    * 0 = Standby (PWR Toggle)
    #    * 1 = Deepstandby
    #    * 2 = Reboot
    #    * 3 = Restart Enigma2
    #    * 116 = Wake-up (from Standby --> issued as a "remotecontrol" command - ../remotecontrol?command=116)
    

 

 

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Back to Top