Beiträge von Cosmicbase

    @Paulchen-Panther


    Weist du wann die Dependencies für Libreelec fertig sind?
    Libreelec wäre für mich in Bezug auf RPi4 und Kodi Basis ein echter Geheimtipp.


    Oder gibt es eine Dirty Variante?


    Das gleiche gilt für die jeweilig anderen Architekturen. LibreElec/OpenElec User können nun Hyperion.NG auf Raspbian kompilieren und das benötigte Paket (tar.gz, sh ???) unter LibreElec/OpenElec benutzen.
    Auszug aus dem Hyperion.ng Git.

    Hallo, ich will mal diesen Farbkalibrierungs-Assistent benutzen. Dabei steht immer im Fenster "Kodi Webserver nicht gefunden, fahre ohne Kodi-Unterstützung fort."


    Standardport ist 80.
    Ich habe den Port auf 1066 geändert und kann mit der "Raspberry IP:1066" auf Chorus Webif zugreifen.


    Zugriffe von anderen Rechnern habe ich erlaubt.


    Habe schon von Port bis zur Benutzer und Passwortänderung alles versucht.



    SCREENSHOOTS SIND IN DER ANLAGE!

    Immer wieder vor Weihnachten kommen fragen wie Papa was wünscht du dir zu Weihnachten?


    Dieses Mal würde ich sagen einen RPi4 mit 4GB Ram.


    Auf meinem RPi3 habe ich ja einen Spagat von Libreelec zu OSMC Geschäft mit dem Hyperion.ng.


    Wenn die Installationsprozedur von Hyperion.ng die gleiche ist wäre super. Also sprich ich würde dann auch das OSMC bevorzugen.


    Oder gibt es einen nennenswerten Grund Libreelec und OSMC den Rücken zu kehren und sogar auf Raspian umzusteigen?


    So wie ich verstanden habe läuft OSMC im Moment noch nicht auf dem RPi4 oder?


    Und wenn ich Raspian Buster auf RPI3 installiere, kann ich das Backup unter Umständen auch auf dem RPi4 einspielen.

    Kleines Tutorial für Besitzer vom RemotePi.


    Shutdown scripts for OSMC
    The default SSH user name for OSMC is osmc, password osmc


    • Key in :
    • cd /etc
    • sudo nano irswitch.sh


    • Copy and paste the following text into the editor window
      #!/bin/bash
      # this is the GPIO pin receiving the shut-down signal
      GPIOpin1=14
      echo "$GPIOpin1" > /sys/class/gpio/export
      echo "in" > /sys/class/gpio/gpio$GPIOpin1/direction
      while true; do
      sleep 1
      power=$(cat /sys/class/gpio/gpio$GPIOpin1/value)
      if [ $power != 0 ]; then
      sudo systemctl stop mediacenter
      echo "out" > /sys/class/gpio/gpio$GPIOpin1/direction
      echo "1" > /sys/class/gpio/gpio$GPIOpin1/value
      sleep 3
      sudo shutdown -h now
      fi
      done
    • Press ctrl+x to exit, y to confirm, enter to save the file
    • Key in
      sudo chmod +x irswitch.sh
    • The above RemotePi Board shutdown script needs to be registered as a service, key in
      cd /etc/systemd/system
      sudo nano irswitch.service


    • Copy and paste the following text into the editor window
      [Unit]
      Description=RemotePi Service
      After=systemd-modules-load.service
      [Service]
      Type=simple
      ExecStart=/etc/irswitch.sh
      [Install]
      WantedBy=multi-user.target


    • Press ctrl+x to exit, y to confirm, enter to save the file
    • Key in
      sudo systemctl enable irswitch.service


    The following additional script enables the RemotePi Board to cut off the power, after OSMC has been shut down from the on-screen menu.


    • Key in
    • sudo nano /etc/shutdown.sh
    • Copy and paste the following contents
    • #!/bin/bash
      REBOOT_GREP=$(systemctl list-units --type=target | grep reboot)
      SHUTDOWN_GREP=$(systemctl list-units --type=target | grep shutdown)
      if [ "$SHUTDOWN_GREP" ] && [ ! "$REBOOT_GREP" ]; then
      # the condition above makes sure, that the shutdown sequence is not run on reboot
      GPIOpin=15
      GPIOpin1=14
      echo "$GPIOpin" > /sys/class/gpio/export
      echo "out" > /sys/class/gpio/gpio$GPIOpin/direction
      echo "1" > /sys/class/gpio/gpio$GPIOpin/value
      sleep 0.125
      echo "0" > /sys/class/gpio/gpio$GPIOpin/value
      sleep 0.2
      echo "1" > /sys/class/gpio/gpio$GPIOpin/value
      sleep 0.4
      echo "0" > /sys/class/gpio/gpio$GPIOpin/value
      echo "$GPIOpin1" > /sys/class/gpio/export
      echo "out" > /sys/class/gpio/gpio$GPIOpin1/direction
      echo "1" > /sys/class/gpio/gpio$GPIOpin1/value
      sleep 4
      fi
    • Press ctrl+x to exit, y to confirm, enter to save the file
    • After saving the file, mark it as executable with
      sudo chmod +x /etc/shutdown.sh
    • Key in
    • sudo nano /etc/systemd/system/irswitch2.service


    • Copy and paste the following text into the editor window
      [Unit]
      Description=RemotePi Board Shutdown Service
      Before=multi-user.target
      Conflicts=shutdown.target
      [Service]
      ExecStart=/bin/true
      ExecStop=/etc/shutdown.sh
      Type=oneshot
      RemainAfterExit=yes
      [Install]
      WantedBy=multi-user.target
    • Press ctrl+x to exit, y to confirm, enter to save the file
    • Key in
      sudo systemctl enable irswitch2.service



    • Reboot one time


    • After reboot you can use the RemotePi Board to power cycle OSMC


    (thanks to Daniel G. for the OSMC shutdown by script, thanks to Pavol Kökörčin for helping with improvements to the above script)
    The above scripts have been tested and are confirmed to work with with OSMC version 20180109. Although not yet tested, they most likely will work with newer versions as well.


    This page was last updated 21-Apr-2018


    https://www.msldigital.com/pages/shutdown-scripts-for-osmc

    Hallo nochmals,
    dieses mal mit der Frage der Config.
    Mit Hyperion musste man ja zwischen den Quellen schalten mit Hilfe von verschiedenen config.json Files und einer Umlegung auf die Fernbedienung bzw. Favoritenliste.


    Mit Hyperion.ng sollte die Quellenangabe automatisch ermittelt werden.


    Ich habe hier einen Screenshot vom Fushicai USBTV007 als USB Hardware.


    Schaut die für euch so richtig aus?
    Wie schaut es mit der Signalerkennung und Schwarzer Kennung aus.


    TIPS GERNE WILLKOMMEN.

    • OK danke, bedeutet das diese Funktion nur bei das Addon und nicht per webui eingestellt werden kann.
    • Plugin installieren... Hast du direkt ein 1 zeiler für mich? Oder über Kodi Repo installieren.
    • OK ich habe es direkt runter geladen und installiert. :)

    Hallo miteinander,


    ich finde im webui keine Einstellung wie in Hypercon.jar in Bezug auf Picture, Pause, Video, Menü.


    Hintergrund : Ich will nicht das LEDs leuchten, wenn ich mich im Kodi Menü befinde.
    Ich will nur bei Video bzw. Pictures eine Ausgabe der LEDs.


    Hier ein Beispiel aus Hypercon.jar


    / KODI CHECK CONFIG
    "xbmcVideoChecker" :
    {
    "xbmcAddress" : "127.0.0.1",
    "xbmcTcpPort" : 9090,
    "grabVideo" : true,
    "grabPictures" : false,
    "grabAudio" : false,
    "grabMenu" : false,
    "grabPause" : false,
    "grabScreensaver" : false,
    "enable3DDetection" : false

    Habe alles neu aufgesetzt und alle 3 Schritte sind sauber durch.


    Bei Schritt 4 bekomme ich wie beim aller 1. Mal wieder folgende Ausgabe.


    login as: osmc
    osmc@192.168.2.66's password:
    Linux osmc 4.19.55-3-osmc #1 SMP PREEMPT osmc-ccachefix armv7l


    The programs included with the Debian GNU/Linux system are free software;
    the exact distribution terms for each program are described in the
    individual files in /usr/share/doc/*/copyright.


    Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
    permitted by applicable law.
    Last login: Sun Nov 3 08:25:26 2019 from 192.168.2.52
    osmc@osmc:~$ sudo systemctl daemon-reload
    osmc@osmc:~$


    SOWEIT OK.

    osmc@osmc:~$ sudo systemctl enable hyperion.service
    Created symlink /etc/systemd/system/multi-user.target.wants/hyperion.service -> /lib/systemd/system/hyperion.service.
    osmc@osmc:~$

    AUCH OK



    osmc@osmc:~$ sudo systemctl start hyperion.service
    osmc@osmc:~$ sudo systemctl status hyperion.service
    * hyperion.service - Hyperion ambient light systemd service
    Loaded: loaded (/lib/systemd/system/hyperion.service; enabled; vendor preset:
    Active:
    active (running) since Sun 2019-11-03 08:32:32 CET; 36s ago
    Main PID: 1041 (hyperiond)
    CGroup: /system.slice/hyperion.service
    `-1041 /usr/local/bin/hyperiond


    Nov 03 08:32:32 osmc systemd[1]: Started Hyperion ambient light systemd service.
    Nov 03 08:32:33 osmc hyperiond[1041]: "No carrier"
    Nov 03 08:32:44 osmc hyperiond[1041]: "No carrier"
    Nov 03 08:32:54 osmc hyperiond[1041]: "No carrier"
    Nov 03 08:33:04 osmc hyperiond[1041]: "No carrier"
    lines 1-12/12 (END)



    ICH GLAUBE ich habe es geschafft. Und es war der Inhalt von /lib/systend/system/hyperion.service.
    Der Inhalt muss 100% so sein wie von dir beschrieben sein. Kein 1 Zeiler, Kein Leerzeichen vergessen....usw...
    Ich meine damit mit den Zeilen und Umbrüchen.


    Und der Dienst startet AUTOMATISCH ;):)