News:

Latest versions:
Server plugin: 0.5.1
MVP dongle: 0.5.2
Raspberry Pi client: 0.5.2
Windows client: 0.5.2-1

Main Menu

small remote simulator

Started by avvdr, January 04, 2008, 19:51:48

Previous topic - Next topic

avvdr

Hi all,
because I work all the time a bit away from my vomp - accessing it via telnet and using netcat -u to simulate remote key-presses -  I now wrote a small (java) based simulator for the remote.
By taking a photo of it (hmm quality...) and having a key mapping file attached, you can now click with the mouse on the keys and it will send out appropriate UDP commands.
Currently for the old remote (that's what I have) - but it could be easily adapted to the new one - see included file USAGE.TXT.
For me it works (now it's easier to remember all the keys - and you got a feedback where they keys are located and if certain functions make sense).
Maybe it could help somebody else too.
Simply unpack attached file to an empty dir and run:
  java -jar usender.jar remote/oldremote.jpg vomp-ip
!! there was a typo in this command before (missed usender.jar)!!
Needs java 1.5.

regards
Andreas

Chris

Good work!

I have made an image and keys file for the new remote, but there is a little problem.... It is chopping the top and bottom of the image which means all the key coordinates are out of sync vertically. Andreas, do you want to edit the java for this or should I just apply a correction to all the y coordinates!

avvdr

Hi Chris,
hmm - it's too simple - so coordinates depend on the size of the underlying label.
Anyway - it was 10 minutes to adapt the file for the old remote after enlarging the JLabel.
Now it seems old and new are working well.
I added a display for the send command - so you have an easy check for that.
I just created a new complete archive with the old+new remote inside.

regards
Andreas

rdoac

Hi, nicely done.. Works well on my setup.

hondansx

#4
For those who have no java or only a shell, I work with this little shell script.

remoteMVP

Bye,
Walter

GA-EP43 | headless | 1xCineS2 Dual | 1xSkystar 2.6D | VDR 1.7.37 
Frontend: 1xRasperry | 1xION3