"CursorUp" IR code for VU+ Ultimo 4K will not work

At the moment there is no way to send http commands directly from R2 to any device. Instead you can use the Home Assistant integration to realize this via Home Assistant (HA). For that you need a running HA instance for instance on a PC, RaspberryPi, or NAS.

In HA you has to define a script for every single key command for your “Duo 4K SE” and in that script you call a HA Shell Command with the http command for that key.

Within the HA configuration.yaml file you has to configure these Shell Commands.

This is my configuration.yaml “shell_command” section for the Enigma2 commands:


shell_command:
pvr_toggle_standby: ‘curl -X POST “http://[Your-Device-IP]/web/powerstate?newstate=0”’
pvr_deepstandby: ‘curl -X POST “http://[Your-Device-IP]/web/powerstate?newstate=1”’
pvr_reboot: ‘curl -X POST “http://[Your-Device-IP]/web/powerstate?newstate=2”’
pvr_restart_enigma2: ‘curl -X POST “http://[Your-Device-IP]/web/powerstate?newstate=3”’
pvr_on: ‘curl -X POST “http://[Your-Device-IP]/web/powerstate?newstate=4”’
pvr_off: ‘curl -X POST “http://[Your-Device-IP]/web/powerstate?newstate=5”’
pvr_exit: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=1”’
pvr_1: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=2”’
pvr_2: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=3”’
pvr_3: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=4”’
pvr_4: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=5”’
pvr_5: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=6”’
pvr_6: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=7”’
pvr_7: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=8”’
pvr_8: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=9”’
pvr_9: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=10”’
pvr_0: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=11”’
pvr_channel_up: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=402”’
pvr_channel_down: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=403”’
pvr_bouquet_up: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=402”’
pvr_bouquet_down: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=403”’
pvr_previous: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=412”’
pvr_next: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=407”’
pvr_volume_up: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=115”’
pvr_volume_down: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=114”’
pvr_mute: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=113”’
pvr_lame: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=174”’
pvr_epg: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=358”’
pvr_menu: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=139”’
pvr_ok: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=352”’
pvr_left: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=105”’
pvr_right: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=106”’
pvr_up: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=103”’
pvr_down: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=108”’
pvr_audio: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=392”’
pvr_pvr: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=393”’
pvr_red: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=398”’
pvr_green: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=399”’
pvr_yellow: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=400”’
pvr_blue: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=401”’
pvr_tv: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=377”’
pvr_radio: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=385”’
pvr_text: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=388”’
pvr_help: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=138”’
pvr_pause_play: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=164”’
pvr_record: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=167”’
pvr_stop: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=128”’
pvr_play: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=207”’
pvr_timeshift: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=119”’
pvr_forward: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=208”’
pvr_backward: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=168”’
pvr_subtitle: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=370”’
pvr_power: ‘curl -X POST “http://[Your-Device-IP]/web/remotecontrol?command=116”’

Here is a screenshot of my HA script for the “Menu”-key as an examble:

All of your in HA defined scripts will show up in the R2 web-configurator as entities of the HA integration and you can use them in your activities.

1 Like