----------------------------------------------
remote control for DM 7025 Version 3.2 by thowi
----------------------------------------------
Thanks to cjsosa for the basic code !
----------------------------------------------
For installation copy controlXX.tar.bz2
to /var/tmp via FTP.
Then install with manual install in blue
pannel or type:
cd /
bunzip2 /var/tmp/control*.tar.bz2
tar -xvf /var/tmp/control*.tar
This puts the binaries at /usr/bin
and the sources and this readme.txt
at /media/hdd/control.
Then you simply can execute the remote
control commands in telnet:
zapup
zapdown
record
restart
control
remote
The first 4 are simply remote commands
With remote you can find out which
commands are sent to the dreambox
via the remote control.
And with control you can send any possible
command:
control number
Number is any value from below
for the remote control keys:
OFF 116
MENU 139
EXIT 174
OK 352
UP 102
DOWN 108
RIGHT 106
LEFT 105
RED 398
GREEN 399
YELLOW 400
BLUE 401
TV 377
RADIO 385
TEXT 388
VIDEO 393
AUDIO 392
INFO 358
VOLUP 115
VOLDOWN 114
BOUQUP 402
BOUQDOWN 403
SPEAKOFF 113
< 412
> 407
1 2
2 3
3 4
4 5
5 6
6 7
7 8
8 9
9 10
0 11
There is now also a control.sh script
inlcuded at /usr/bin
which allows you to pass up to 12 commands
to the control binary in sequenze.
And you can either passe the numeric codes
or the values from the baovel ist to this
shell script.
control.sh 1 1 OK
The above command will zap to channel 11
for example.
If you need a Break between commands you now can
also pass SLEEP as option (will be a 1 sec
sleep, if you need more use multiply in sequenze)
For Multiple UP/DOWNS there are now options UP1...8
and DOWN1..8 available.
You now can have your on remote control macro files
at /media/hdd/control/MRC.
For a list of predefined MRC files enter:
control.sh MACRO LIST
The E2RESTART for restarting enigma2 for example
looks like this:
MENU RIGHT OK DOWN DOWN OK
You can execute this MRC file by typing:
control.sh MACRO E2RESTART
You can define and edit your own MRC files
on a PC (notepad or any other text editor is OK,
because files will be converted to unix fileformat
on Dreambox before executing anyway).
If you double click on the PC and
choose an editor like notepad
on PC and tick the always open file with this
application then this will be your prefered MRC
editor.
After Editing your MRC files simply FTP them to
/media/hdd/control/MRC directroy on your Dreambox.
----------------------------------------------
Have fun controlling your Dreambox 7025 remotely !
----------------------------------------------