09-08-2010 12:13 PM - edited 03-13-2019 07:08 PM
Hello. Could anyone tell me what commands you should send over port 7777 to a stand alone DMP to emulate someone pressing buttons on a remote control in front of the DMP?
Solved! Go to Solution.
10-03-2010 11:24 AM
You can use DMP MIBs to execute or simulate the DMP Remote Buttons.
VARIABLES
=========
admin = DMP Web Account Username
default = DMP Web Account Password
a.b.c.d = IP Address of DMP
dmm.company.com = FQDN of the Digital Media Manager(DMM) Appliance
MIBS
====
** Use the Following MIB to see the CURRENT Remote Control Mappings
https://admin:default@a.b.c.d:7777/get_param?p=irasrv.key*
============================================================================================
DEFAULT REMOTE CONTROL MAPPINGS FOR DIGITAL MEDIA PLAYERS
============================================================================================
irasrv.key_BLUE T_STRING ira add 1 xfake 1 BLUE b
irasrv.key_YELLOW T_STRING ira add 1 xfake 1 YELLOW y
irasrv.key_GREEN T_STRING ira add 1 xfake 1 GREEN g
irasrv.key_RED T_STRING ira add 1 xfake 1 RED r
irasrv.key_MENU T_STRING ira add 1 xfake 1 MENU m
irasrv.key_EXIT T_STRING ira add 1 xfake 1 EXIT h
irasrv.key_INPUT T_STRING ira add 1 xfake 1 INPUT i
irasrv.key_REWIND T_STRING ira add 1 xfake 1 REWIND e
irasrv.key_FAST_FORWARD T_STRING ira add 1 xfake 1 FAST_FORWARD d
irasrv.key_STOP T_STRING ira add 1 xfake 1 STOP Escape
irasrv.key_PAUSE T_STRING ira add 1 xfake 1 PAUSE p
irasrv.key_PLAY T_STRING ira add 1 xfake 1 PLAY a
irasrv.key_SHOW_IP T_STRING ira add 1 sh 1 SHOW_IP mn mng start showip 7000
irasrv.key_VOLUME_DOWN T_STRING ira add 1 init 1 VOLUME_DOWN voldown
irasrv.key_VOLUME_UP T_STRING ira add 1 init 1 VOLUME_UP volup
irasrv.key_RIGHT T_STRING ira add 1 xfake 1 RIGHT Right
irasrv.key_LEFT T_STRING ira add 1 xfake 1 LEFT Left
irasrv.key_DOWN T_STRING ira add 1 xfake 1 DOWN Down
irasrv.key_UP T_STRING ira add 1 xfake 1 UP Up
irasrv.key_CHAN_DOWN T_STRING ira add 1 xfake 1 CHAN_DOWN Next
irasrv.key_CHAN_UP T_STRING ira add 1 xfake 1 CHAN_UP Prior
irasrv.key_ENTER T_STRING ira add 1 xfake 1 ENTER Return
irasrv.key_MUTE T_STRING ira add 1 init 1 MUTE mute
irasrv.key_POWER T_STRING ira add 1 sh 1 POWER mn mng exit
SAMPLE MIBS - HTTP commands to simulate remote control
--------------------------------------------------------------------------------------------
SAMPLE MIBS - HTTP commands to simulate remote control
--------------------------------------------------------------------------------------------
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+b
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+y
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+g
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+r
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+m
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+h
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+i
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+e
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+d
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Escape
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+p
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+a
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Right
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Left
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Down
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Up
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Up
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Next
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Prior
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Return
If this answers your question, Please take time to mark this
discussion answered & rate the response.
Thank You!
T.
09-08-2010 12:39 PM
David,
What exactly are you trying to accomplish? What is your end game for
wanting to do this.
The remote control feature is supported with the actual hardware remote
and remote access via an iphone, itouch, or mobile device via a web app.
The DMP remote controls are not support via the desktop via a browser.
That said you can play around with the app from the desktop but the
button mappings may not operate as you would expect (not supported)
but it does function.
Applet should be reachable via
http://dmm.company.com:8080/etv-remotecontrol-webapp/app/dmpSelector.htm
Cheers!
T.
09-09-2010 06:24 AM
I am trying to create an advanced task in DMM that sends a DMP or group of DMPs into ETV mode, and then emulates the pressing of 'ENTER' three times on the remote control so that the TV is taken to channel 1 in full screen.
I have the command set up to set the DMP to ETV mode, and the command for inserting pauses, but not the command to actually emulate the enter button on the remote control.
We are doing is because, in our building, we often find that we set DMPs to ETV mode and then they don't get used for days. The ETV front menu causes us burn in problems with our TVs.
Also, in the longer term, we'd like to develop an in house application which can be used to control a TV while it is in ETV mode, and it would be useful to know what commands can be used to emulate the remote control button presses.
10-03-2010 05:01 AM
Hi: was wondering if anyone is able to answer this question, or knows where it might be documented?
10-03-2010 11:24 AM
You can use DMP MIBs to execute or simulate the DMP Remote Buttons.
VARIABLES
=========
admin = DMP Web Account Username
default = DMP Web Account Password
a.b.c.d = IP Address of DMP
dmm.company.com = FQDN of the Digital Media Manager(DMM) Appliance
MIBS
====
** Use the Following MIB to see the CURRENT Remote Control Mappings
https://admin:default@a.b.c.d:7777/get_param?p=irasrv.key*
============================================================================================
DEFAULT REMOTE CONTROL MAPPINGS FOR DIGITAL MEDIA PLAYERS
============================================================================================
irasrv.key_BLUE T_STRING ira add 1 xfake 1 BLUE b
irasrv.key_YELLOW T_STRING ira add 1 xfake 1 YELLOW y
irasrv.key_GREEN T_STRING ira add 1 xfake 1 GREEN g
irasrv.key_RED T_STRING ira add 1 xfake 1 RED r
irasrv.key_MENU T_STRING ira add 1 xfake 1 MENU m
irasrv.key_EXIT T_STRING ira add 1 xfake 1 EXIT h
irasrv.key_INPUT T_STRING ira add 1 xfake 1 INPUT i
irasrv.key_REWIND T_STRING ira add 1 xfake 1 REWIND e
irasrv.key_FAST_FORWARD T_STRING ira add 1 xfake 1 FAST_FORWARD d
irasrv.key_STOP T_STRING ira add 1 xfake 1 STOP Escape
irasrv.key_PAUSE T_STRING ira add 1 xfake 1 PAUSE p
irasrv.key_PLAY T_STRING ira add 1 xfake 1 PLAY a
irasrv.key_SHOW_IP T_STRING ira add 1 sh 1 SHOW_IP mn mng start showip 7000
irasrv.key_VOLUME_DOWN T_STRING ira add 1 init 1 VOLUME_DOWN voldown
irasrv.key_VOLUME_UP T_STRING ira add 1 init 1 VOLUME_UP volup
irasrv.key_RIGHT T_STRING ira add 1 xfake 1 RIGHT Right
irasrv.key_LEFT T_STRING ira add 1 xfake 1 LEFT Left
irasrv.key_DOWN T_STRING ira add 1 xfake 1 DOWN Down
irasrv.key_UP T_STRING ira add 1 xfake 1 UP Up
irasrv.key_CHAN_DOWN T_STRING ira add 1 xfake 1 CHAN_DOWN Next
irasrv.key_CHAN_UP T_STRING ira add 1 xfake 1 CHAN_UP Prior
irasrv.key_ENTER T_STRING ira add 1 xfake 1 ENTER Return
irasrv.key_MUTE T_STRING ira add 1 init 1 MUTE mute
irasrv.key_POWER T_STRING ira add 1 sh 1 POWER mn mng exit
SAMPLE MIBS - HTTP commands to simulate remote control
--------------------------------------------------------------------------------------------
SAMPLE MIBS - HTTP commands to simulate remote control
--------------------------------------------------------------------------------------------
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+b
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+y
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+g
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+r
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+m
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+h
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+i
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+e
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+d
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Escape
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+p
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+a
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Right
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Left
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Down
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Up
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Up
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Next
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Prior
https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+Return
If this answers your question, Please take time to mark this
discussion answered & rate the response.
Thank You!
T.
10-04-2010 05:01 AM
That works - thank you. I have marked the question as answered.
I have a follow up which is about putting a pause into a System Task.
I have created a System Task on the DMM with the following request:
init.BROWSER_CMD=file:///LOGO/index.html&init.TVZILLA_URL=&init.STARTUP_URL=&mib.save=1&init.BROWSER_CMD=http://x.x.x.x:8080/etv-flash-webapp/app/etv_24_.htm&mng.command=write+sh+FG+sleep+15&mng.command=write+xfake+Return&mng.command=write+xfake+Return&mng.command=write+xfake+Return
I think this task should do the following:
The problem is that the 15 second pause seems to happen before the ETV app launches, rather than after, despite it being after in the request string.
I'm wondering if there is a better technique for doing this?
David
10-04-2010 08:30 AM
David,
I remember correctly, the reason why you wanted to do this is because you didn't
want the CAST menu displaying in an area for an extended period on time to prevent
burn in.
I would suggest playing a playlist or video by default first and then configure one
of the remote's colored buttons to activate CAST.
This way the DMP is displaying some DEFAULT content for viewing when
folks are not around. This will avoid burn in. Then when folks come in
and want to use CAST, they simply hit RED button to enable CAST
then you can set the BLUE button to GOTO the default content.
I hope this helps!
T.
EXAMPLE:
ASSIGN A BUTTON TO CAST
where:
VARIABLES
=========
admin = DMP Web Account Username
default = DMP Web Account Password
a.b.c.d = IP Address of DMP
dmm.company.com = FQDN of the Digital Media Manager(DMM) Appliance
** Use the Following MIB to see the NEW CONFIGURED Remote Mappings
https://admin:default@a.b.c.d:7777/get_param?p=*.*&init.pop_enable=false
** Save NEW CONFIGURED Remote Mappings on DMP
-> Use the ADVANCED TASK to SAVE the DMP Settings.
-> or Directly on the DMP using the DMP-DM Web Admin
-> or HTTP MIB
ie.
https://admin:default@a.b.c.d:7777/set_param?mib.save=1
https://admin:default@a.b.c.d:7777/set_param?mib.save=1&mng.reboot=1
05-17-2012 07:53 AM
This is great Tomas, very helpful.
However a little trouble understanding how to get non-default xfake commands mapped and issued.
Example, above we see:
irasrv.key_SHOW_IP T_STRING ira add 1 sh 1 SHOW_IP mn mng start showip 7000
Yet no default xfake map to issue via HTTPS - any assistance on syntax for issuing such a command? Would the same syntax apply with commands such as Mute or Power (although mng.reboot=1 works great to restart)?
05-17-2012 08:11 AM
Chris,
Could you please explain the end goal of what exactly are you trying to do ? When you say non-default xfake command , what exactly are you thinking about ? Something like switching between Digital Signs to Cast and vice-versa with a remote key ?
Sagar Dhanrale
05-17-2012 08:24 AM
Sagar,
Sure - really trying to get HTTPS commands for every button to be able to quickly and remotely issue commands as needed.
So when we issue (example) https://admin:default@a.b.c.d:7777/set_param?mng.command=write+xfake+b ..
The DMP receives "blue button pressed" - right?
Problem is how do I achieve this fake button press via web request for SHOW_IP, Power, Mute and others that I don't see write+xfake+COMMAND above?
So the simple question: what is the URL to issue SHOW_IP , Power , Mute commands to a DMP?
05-17-2012 08:46 AM
SHOW_IP :
https://admin:DMP_password@DMP_IP:7777/set_param?mng.command=start+showip+7000
POWER (reboot) :
https://admin:DMP_password@DMP_IP:7777/set_param?mng.reboot=1
MUTE :
https://admin:DMP_password@DMP_IP:7777/set_param?mng.command=write+xfake+mute
Thanks,
Sagar Dhanrale
05-17-2012 09:13 AM
Great! Thank you - I see now,
irasrv.key_SHOW_IP T_STRING ira add 1 sh 1 SHOW_IP mn mng start showip 7000
Shows that ma mng start showip 7000 becomes mng.command=start+showip+7000 - perfect now I understand how to turn all options into HTTPS issued commands.
05-17-2012 09:27 AM
Here it is , if it helps :
"Show IP" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=start+showip+7000"
"Mute" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+mute"
"Play" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+a"
"Pause" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+p"
"Stop" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+Escape"
"Fast Forward" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+d"
"Rewind" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+e"
"Input" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+i"
"Exit" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+h"
"Menu" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+m"
"RED" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+r"
"GREEN" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+g"
"YELLOW" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+y"
"BLUE" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+b"
"LEFT" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+Left"
"DOWN" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+Down"
"RIGHT" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+Right"
"UP" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+Up"
"Volume Down" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+voldown"
"Volume Up" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+volup"
"Enter" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+Return"
"Channel Down" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+Next"
"Channel Up" ="https://admin:DMP_Password@DMP_IP:7777/set_param?mng.command=write+xfake+Prior"
05-18-2012 08:58 AM
Great, thank you - what about on the DMP 4310?
Since there is no browser, how would we send command to SHOW IP or PAUSE to the 4310?
05-18-2012 09:53 AM
Chris,
The DMP 4310 does not have a browser client to render the HTTP content but it does have an internal Web server . The commands will work for the DMP 4310.
Sagar Dhanrale
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide