Ich habe eine auf Enigma basierende Set-Top-Box (VU+ duo2 4K), die mit der enigma2-Integration eingebunden ist.
Leider gibt es da für mich sichtbar nur genau eine Entität “media_player.”, die nur die Standard-Mediaplayer-Box öffnet:
Da das ganze wohl auf OpenWebif basiert, dürfte es im Hintergrund so gut wie alle Funktionen geben. Besonders interessiert wäre ich an Channel_up/Channel_down.
Keine Ahnung ob das ggf. für Dich in Frage kommt, aber das ist die einzige mir bekannte Erweiterung mit dem sich wohl noch mehr anstellen lässt und die scheinbar auch noch gepflegt wird:
Power status and power control: on, off, standby.
Loads all sources from first bouquet.
Loads all sources from specific bouquet.
Information about current channel program (EPG).
Volume regulation (mute, set, step)
Change channel (Selecting from source list or via Right/Left - from remote controller)
Change channel (using channel number)
Current channel and current event
Picon from current channel (default)
Screenshot from current channel
Supports authentication and multiple receivers
Sending notifications to the box (timeout and type of message can be selected) from picon)
Ich selber habe die auf meinen Vu+ Receivern aber noch nie getestet.
Ich habe mittlerweile sämtliche Fernbedienungs-Tasten (und noch etwas mehr) meiner Duo2 über IP-basierte Befehle bei mir in HA am Laufen. OpenWebif sollte dafür lokal am besten ohne Passwort erreichbar sein. Muster für ein shell_command: pvr_menu: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=139"' wäre für die Menu-Taste.
Dann habe ich ein Script erstellt für die jeweilige Taste. Muster für Menu-Taste:
shell_command:
pvr_toggle_standby: 'curl -X POST "http://192.168.178.86/web/powerstate?newstate=0"'
pvr_deepstandby: 'curl -X POST "http://192.168.178.86/web/powerstate?newstate=1"'
pvr_reboot: 'curl -X POST "http://192.168.178.86/web/powerstate?newstate=2"'
pvr_restart_enigma2: 'curl -X POST "http://192.168.178.86/web/powerstate?newstate=3"'
pvr_on: 'curl -X POST "http://192.168.178.86/web/powerstate?newstate=4"'
pvr_off: 'curl -X POST "http://192.168.178.86/web/powerstate?newstate=5"'
pvr_exit: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=1"'
pvr_1: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=2"'
pvr_2: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=3"'
pvr_3: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=4"'
pvr_4: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=5"'
pvr_5: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=6"'
pvr_6: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=7"'
pvr_7: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=8"'
pvr_8: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=9"'
pvr_9: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=10"'
pvr_0: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=11"'
pvr_channel_up: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=402"'
pvr_channel_down: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=403"'
pvr_bouquet_up: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=402"'
pvr_bouquet_down: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=403"'
pvr_previous: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=412"'
pvr_next: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=407"'
pvr_volume_up: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=115"'
pvr_volume_down: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=114"'
pvr_mute: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=113"'
pvr_lame: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=174"'
pvr_epg: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=358"'
pvr_menu: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=139"'
pvr_ok: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=352"'
pvr_left: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=105"'
pvr_right: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=106"'
pvr_up: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=103"'
pvr_down: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=108"'
pvr_audio: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=392"'
pvr_pvr: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=393"'
pvr_red: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=398"'
pvr_green: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=399"'
pvr_yellow: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=400"'
pvr_blue: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=401"'
pvr_tv: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=377"'
pvr_radio: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=385"'
pvr_text: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=388"'
pvr_help: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=138"'
pvr_pause_play: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=164"'
pvr_record: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=167"'
pvr_stop: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=128"'
pvr_play: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=207"'
pvr_timeshift: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=119"'
pvr_forward: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=208"'
pvr_backward: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=168"'
pvr_subtitle: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=370"'
pvr_power: 'curl -X POST "http://192.168.178.86/web/remotecontrol?command=116"'
pvr_reloading_lamedb_and_userbouquets: 'curl -X POST "http://192.168.178.86/web/servicelistreload?mode=0"'
pvr_reloading_lamedb_only: 'curl -X POST "http://192.168.178.86/web/servicelistreload?mode=1"'
pvr_reloading_userbouquets_only: 'curl -X POST "http://192.168.178.86/web/servicelistreload?mode=2"'
IP anpassen geht fix via “Suchen und Ersetzen” in z.B. Notepad++
Kannst auch gerne den zugehörigen Abschnitt meiner scripts.yaml haben, falls du die shell_commands so übernehmen möchtest.