Benutzer-Werkzeuge

Webseiten-Werkzeuge


argononelibreelec

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen der Seite angezeigt.

Link zu der Vergleichsansicht

Beide Seiten, vorherige ÜberarbeitungVorherige Überarbeitung
Nächste Überarbeitung
Vorherige Überarbeitung
argononelibreelec [2022/04/26 00:32] nooneargononelibreelec [2023/02/08 22:56] (aktuell) noone
Zeile 9: Zeile 9:
 Folgende Anpassungen sind erforderlich: Folgende Anpassungen sind erforderlich:
  
-* im File /storage/.config/system.d/argononed.service muss die ExecStart Zeile geändert werden+  * im File /storage/.config/system.d/argononed.service muss die ExecStart Zeile geändert werden 
    ExecStart=/bin/sh -c ". /etc/profile; exec /usr/bin/python /storage/.config/argononed.py"    ExecStart=/bin/sh -c ". /etc/profile; exec /usr/bin/python /storage/.config/argononed.py"
-* anschliessend ggf. die Datei /storage/argononed.config anpassen + 
-* danach muss der Dienst neu eingelesen werden+  * anschliessend ggf. die Datei /storage/argononed.config anpassen 
 +  * danach muss der Dienst neu eingelesen werden 
    systemctl reload daemon    systemctl reload daemon
-* endlich kann der Dienst neu gestartet werden+ 
 +  * endlich kann der Dienst neu gestartet werden 
    systemctl restart argononed.service    systemctl restart argononed.service
 +
 +
 +
 +
 +
 +If you are interested: Full remote control for LibreElec with Argon One V2 Case - the "not so professional" way!
 +
 +
 +I have 1 Argon One M.2, 1 Raspberry Pi 4B and and 2 ONE4ALL URC-6430 (afterwards I need just only one!)
 +
 +1. Installed Libreelec (e.g. with balena etcher on a USB-Stick or microSSD)
 +
 +2. SSH enabled?
 +
 +3. Installed Addon "Script - System Tools"
 +
 +4. Connected (ssh) from PC to libreelec box
 +
 +5. Edited config.txt
 +
 +LibreELEC: ~ # mount -o remount,rw /flash
 +LibreELEC: ~ # mcedit /flash/config.txt
 +Code: /flash/config.txt
 +
 +dtoverlay=gpio-ir,gpio_pin=23
 +
 +LibreELEC: ~ # reboot
 +
 +
 +6. Found some scan codes
 +
 +LibreELEC: ~ # ir-keytable -p nec -t
 +
 +
 +Now I had to program my remote. I have two identical "One4All URC 6430" but it should be ok with other learning remotes too. Searching for a PVR or Mulimedia Device to get as much as possible functional keys, the best ones I found, were DVICO (2153) and Digitech (2260) in the code list of my "URC 6430".
 +
 +
 +table: ONE4ALL URC 6430 : VIDAC (2153) - Digitech (2260)
 +
 +The best match for me was the DVICO. Some key did not give any scan code. So I used the second remote to find any functional keys. Then copied the keys from the second remote to the functionless keys of my first remote.
 +
 +
 +7. Created my /storage/.config/rc_keymaps/custom_remote
 +Code: /storage/.config/rc_keymaps/custom_remote
 +
 +# table custom_remote, type: NEC
 +0x4cb02 KEY_POWER
 +0x4cb41 KEY_RED
 +0x4cb03 KEY_GREEN
 +0x4cb42 KEY_YELLOW
 +0x4cb45 KEY_BLUE
 +0x73960000 KEY_EPG
 +0x6a960000 KEY_HOME
 +0x67960000 KEY_INFO
 +0x21960000 KEY_CHANNELUP
 +0x19960000 KEY_CHANNELDOWN
 +0x4cb07 KEY_BACK
 +0x4cb46 KEY_BACKSPACE
 +0x15960000 KEY_VOLUMEDOWN
 +0x25960000 KEY_VOLUMEUP
 +0x5e960000 KEY_MUTE
 +0x4cb4c KEY_STOP
 +0x4cb55 KEY_CONTEXT_MENU
 +0x4cb50 KEY_UP
 +0x6f960000 KEY_RIGHT
 +0x63960000 KEY_DOWN
 +0x6b960000 KEY_LEFT
 +0x6e960000 KEY_OK
 +0x31960000 KEY_RECORD
 +0x1f960000 KEY_REWIND
 +0x4cb17 KEY_PLAY
 +0x22960000 KEY_FORWARD
 +0x4cb56 KEY_PLAYPAUSE
 +0x1b960000 KEY_1
 +0x27960000 KEY_2
 +0x2b960000 KEY_3
 +0x17960000 KEY_4
 +0x60960000 KEY_5
 +0x64960000 KEY_6
 +0x58960000 KEY_7
 +0x5c960000 KEY_8
 +0x68960000 KEY_9
 +0x13960000 KEY_0
 +0x2f960000 KEY_SUBTITLE
 +0x4cb1b KEY_TEXT
 +
 +Alles anzeigen
 +
 +8. Pointed to it
 +Code: /storage/.config/rc_maps.cfg
 +
 +* * custom_remote
 +
 +9. Now tested, if it works:
 +
 +I opend two remote terminals (to watch scancode and mapped keys simultaneously)
 +
 +No.1 for
 +
 +LibreELEC: ~ # ir-keytable -c -w /storage/.config/rc_keymaps/custom_remote
 +
 +No.2 for
 +
 +LibreELEC: ~ # irw
 +
 +
 +10. Rebooted, and ...
 +
 +
 +11. I didn't get the powerbutton script working with LibreElec. So i had to flash another USB-Stick with a Raspberry OS Lite to program my power key. If you manage to run the script, you have to do this before starting with this "tutorial". Installing the OS on the Raspberry and configuring the power button is not a big deal.
 +
 +I hope this may be usefull for someone and sorry for the bad english, the bad layout and the many errors!
 +
 +
 +
 +Usefull links:
 +
 +https://wiki.libreelec.tv/configuration/ir-remotes
 +
 +http://wagnerstechtalk.com/argonone/#Install_Argon_ONE_Scripts_in_Pi_OS_3264-bit
  
argononelibreelec.1650925929.txt.gz · Zuletzt geändert: 2022/04/26 00:32 von noone

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki