Kodi Community Forum
Medion X10 Remote With Win32 Build - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Windows (https://forum.kodi.tv/forumdisplay.php?fid=59)
+---- Thread: Medion X10 Remote With Win32 Build (/showthread.php?tid=35195)

Pages: 1 2 3 4


- Dav. - 2008-08-12

kraqh3d,

IR Server Suite Installed.
Remote recognized & work under this application.

What do you need exactly ?

Dav.


- rudeboyx - 2008-08-12

my anti-virus is microsoft one-care.

at work now. will try this evening when i get home

cheers


- rudeboyx - 2008-08-12

dav. how do i install the VB6.dll

its just 1 file.

do i put it someware special like windows folder?

i tried running the x10 rf test anyway and i see the message fine


- kraqh3d - 2008-08-12

i dont think you'll need that setup utility. just install the latest IR server suite. it comes with a debug client. first install irss. then run its configuration utility. this is where you pick what remote receivers you have. there is one for X10. after than run the debug client. "connect" to the local service, and start pressing buttons. it'll give you the button codes.

take a look at this example I did for the X10 Lola:
http://trac.xbmc.org/browser/branches/linuxport/XBMC/system/X10-Lola-IRSSmap.xml

feel free to pm me if you need some detailed assistance.


- Dav. - 2008-08-12

Rudeboyx,

Yes install VB6 Libraries, Click the ".exe"
This will install VB6 DLL in the right folder.

If Test 1 is OK, try Test 2 & Let me know if XBMC start when chrono is on zero :
http://www.m3ga.net/Downloads/X10_RF_Medion_Test_02.rar
(XBMC must be installed in "C:\Program Files\XBMC" - Default)

Give me your feedback.

Dav.


- Dav. - 2008-08-12

kraqh3d,

If you need the code for this remote :

Code:
Log Opened
Info:    Connect
Info:    Connected to server
Info:    Received Message: "RegisterClient, Response, Success"
Info:    Received Message: "ActiveReceivers, Response"
Info:    X10
Received Message: "ActiveBlasters, Response"

Received Message: "RemoteEvent, Notify"     --> TV
Remote Event "X10CMD_MTTV"
Received Message: "RemoteEvent, Notify"     --> VCR
Remote Event "X10CMD_MTVCR"
Received Message: "RemoteEvent, Notify"     --> DVD
Remote Event "X10CMD_DVDMODE"
Received Message: "RemoteEvent, Notify"     --> MUSIC
Remote Event "X10CMD_BOOKSYMBOL"
Received Message: "RemoteEvent, Notify"     --> RADIO
Remote Event "X10CMD_MTRADIO"
Received Message: "RemoteEvent, Notify"     --> PHOTO
Remote Event "X10CMD_WEBMODE"
Received Message: "RemoteEvent, Notify"     --> TV PREVIEW
Remote Event "X10CMD_MTPC"
Received Message: "RemoteEvent, Notify"     --> CHANNEL LIST
Remote Event "X10CMD_MTCHANNELLIST"
Received Message: "RemoteEvent, Notify"     --> "S" button
Remote Event "X10CMD_BUTTON_D"
Received Message: "RemoteEvent, Notify"     --> VIDEO DESKTOP
Remote Event "X10CMD_MTALBUM"
Received Message: "RemoteEvent, Notify"     --> CHAN+
Remote Event "X10CMD_CH_UP"
Received Message: "RemoteEvent, Notify"     --> VOL-
Remote Event "X10CMD_VOL_DN"
Received Message: "RemoteEvent, Notify"     --> CHAN-
Remote Event "X10CMD_CH_DN"
Received Message: "RemoteEvent, Notify"     --> VOL+
Remote Event "X10CMD_VOL_UP"
Received Message: "RemoteEvent, Notify"     --> MUTE
Remote Event "X10CMD_BUTTON_A"
Received Message: "RemoteEvent, Notify"     --> RED
Remote Event "X10CMD_MTARTIST"
Received Message: "RemoteEvent, Notify"     --> GREEN
Remote Event "X10CMD_MTGENRE"
Received Message: "RemoteEvent, Notify"     --> YELLOW
Remote Event "X10CMD_MTTRACK"
Received Message: "RemoteEvent, Notify"     --> BLUE
Remote Event "X10CMD_MTUP"
Received Message: "RemoteEvent, Notify"     --> TXT
Remote Event "X10CMD_MTADDDELETE"
Received Message: "RemoteEvent, Notify"     --> 1
Remote Event "X10CMD_1"
Received Message: "RemoteEvent, Notify"     --> 2
Remote Event "X10CMD_2"
Received Message: "RemoteEvent, Notify"     --> 3
Remote Event "X10CMD_3"
Received Message: "RemoteEvent, Notify"     --> 4
Remote Event "X10CMD_4"
Received Message: "RemoteEvent, Notify"     --> 5
Remote Event "X10CMD_5"
Received Message: "RemoteEvent, Notify"     --> 6
Remote Event "X10CMD_6"
Received Message: "RemoteEvent, Notify"     --> 7
Remote Event "X10CMD_7"
Received Message: "RemoteEvent, Notify"     --> 8
Remote Event "X10CMD_8"
Received Message: "RemoteEvent, Notify"     --> 9
Info:    Remote Event "X10CMD_9"
Received Message: "RemoteEvent, Notify"     --> TV RADIO
Remote Event "X10CMD_BOOKMARK"
Received Message: "RemoteEvent, Notify"     --> 0
Remote Event "X10CMD_0"
Received Message: "RemoteEvent, Notify"     --> DELETE
Remote Event "X10CMD_RESIZE"
Received Message: "RemoteEvent, Notify"     --> RENAME
Remote Event "X10CMD_MTLEFT"
Received Message: "RemoteEvent, Notify"     --> SNAPSHOT
Remote Event "X10CMD_MTAB"
Received Message: "RemoteEvent, Notify"     --> OK
Remote Event "X10CMD_ENTER"
Received Message: "RemoteEvent, Notify"     --> UP
Remote Event "X10CMD_UP"
Received Message: "RemoteEvent, Notify"     --> RIGHT
Remote Event "X10CMD_RIGHT"
Received Message: "RemoteEvent, Notify"     --> DOWN
Remote Event "X10CMD_DN"
Received Message: "RemoteEvent, Notify"     --> LEFT
Remote Event "X10CMD_LEFT"
Received Message: "RemoteEvent, Notify"     --> ACQUIRE IMAGE
Remote Event "X10CMD_MTDOWN"
Received Message: "RemoteEvent, Notify"     --> EDIT IMAGE
Remote Event "X10CMD_MTRIGHT"
Received Message: "RemoteEvent, Notify"     --> RW
Remote Event "X10CMD_REWIND"
Received Message: "RemoteEvent, Notify"     --> PLAY
Remote Event "X10CMD_PLAY"
Received Message: "RemoteEvent, Notify"     --> FF
Remote Event "X10CMD_FF"
Received Message: "RemoteEvent, Notify"     --> REC
Remote Event "X10CMD_RECORD"
Received Message: "RemoteEvent, Notify"     --> STOP
Remote Event "X10CMD_STOP"
Received Message: "RemoteEvent, Notify"     --> PAUSE
Remote Event "X10CMD_NONE"
Received Message: "RemoteEvent, Notify"     --> |<<
Remote Event "X10CMD_BUTTON_E"
Received Message: "RemoteEvent, Notify"     --> FULLSCREEN
Remote Event "X10CMD_MTENTER"
Received Message: "RemoteEvent, Notify"     --> >>|
Remote Event "X10CMD_BUTTON_F"
Received Message: "RemoteEvent, Notify"     --> DVDMENU
Remote Event "X10CMD_BUTTON_C"
Received Message: "RemoteEvent, Notify"     --> DVDAUDIO
Remote Event "X10CMD_MTPLAYLIST"

For the rest my application work because i'm using SendWindowEX API to
send Keyboard key's to XBMC window. Very simple, humm ;-)

Dav.


- rudeboyx - 2008-08-12

ok the VB6.dll i downloaded was not an exe, but iv found and installed the correct vb6.dll. and have run test 2. after the countdown to zero xbmc starts up correctly.


- kraqh3d - 2008-08-12

ok, i was expecting that. you have two options. 1) you can use a program to convert button presses to the corresponding keyboard buttons in the keymap.xml keyboard section, or 2) use irss to send the button presses to xbmc.

if you use IRSS, you can use that irssmap.xml file i posted. just remap the keys if you want. (irssmap.xml maps xbmc's button names which are really based off the xbox and mce remotes to those X10CMD_* actions.)


- Dav. - 2008-08-12

kraqh3d,

Thanks, for the moment, I would like to try helping Rudyboyx.
Then when the program running under Vista, we can go ahead.


Dav.


- Dav. - 2008-08-12

Rudyboyx,

Test 3 :
http://www.m3ga.net/Downloads/RFMedion_Remote_Control.exe

Working or Errors ?


- kraqh3d - 2008-08-12

then by all means, feel free to re-invent the wheel.


- Dav. - 2008-08-12

kraqh3d Wrote:then by all means, feel free to re-invent the wheel.

I don't wan t re-invent the wheel.
I just don't know how to use your file.
It's not the same reason ;-)

If I understand you, IRSS must be installed or it's just to configure a xml file ?

Don't forget that it's not easy for lot's of people to follow instruction when english is not their Mother tang (it's my case). Maybe you can give me a link where to find a "how to" or you maybe can make a tutorial for us ?

Kr,
Dav.


- kraqh3d - 2008-08-12

Assuming the IRSS service is running, you just need to setup your irssmap.file. The link I posted is an example that I created for the Lola remote. Looking at your debug client output, our two remotes use the same actions. As a simple test, open up the system folder. Rename irssmap.xml to irssmap.orig, then rename x10-lola-irssmap.xml to irssmap.xml. (If its not in your installation, you can copy it from the link.)

What's awkward is this is a two step process. The irssmap.xml file maps your remote actions to xbmc button names. Then keymap.xml maps the remote button names (look at the <remote> sections) to xbmc actions.

Play around with it as-is. It should mostly work, though not necessarily how you want it. Then if you need more help, PM me.


- Dav. - 2008-08-12

kraqh3d,

Just tryed your solution.
Find my reply into a MP ;-)


- rudeboyx - 2008-08-12

ok test 3

if a run the app as normall i get a runtime error a few seconds after opening, but if i run as administrator the app starts up and launches xbmc correctly.


when i press the mce button on the remote the shutdown menu appears but WMC also starts up.

is there anyway to assign more keystrokes to buttons for example the back button on the remote would be usfull assinged to the esc key or backspace key? etc