Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Aufruf] Neuer Adapter ioBroker.plex

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Aufruf] Neuer Adapter ioBroker.plex

    This topic has been deleted. Only users with topic management privileges can see it.
    • Zefau
      Zefau last edited by Zefau

      Hallo zusammen,

      ich habe einen neuen Adapter für Plex geschrieben: ioBroker.plex.

      ACHTUNG
      Bevor ihr eine Frage oder die Aussage postet, dass etwas nicht funktioniert, bitte unbedingt diesen Post und insbesondere die KONFIGURATION aufmerksam lesen!
      Wenn ihr euch entschließt euer Problem hier zu posten, seid ihr herzlich Willkommen. Aber bitte mit nachvollziehbarer Fehlerbeschreibung und den Einstellungen, die ihr vorgenommen habt.

      BESCHREIBUNG
      Der ioBroker.plex Adapter nutzt die Plex API, um Server, Libraries und Settings zu laden (ohne Plex Pass). Weiterhin wird (wie im Plexconnect Adapter) der Plex Webhook (nur für Plex Pass) unterstützt, um die aktuelle Medien-Wiedergabe zu laden. Ohne Plex Pass ist es möglich mit Tautulli (Zusatzsoftware für Plex Statistiken, siehe hier) einen Webhook zu setzen und die aktuelle Wiedergabe in ioBroker zu laden.


      INSTALLATION
      Über Tests würde ich mich freuen. Einfach per SSH installieren:

      iobroker url https://github.com/Zefau/ioBroker.plex
      iobroker add plex
      iobroker upload plex
      

      PLAYERS
      Der Adapter unterstützt die Steuerung von Plex Playern (Abspielgeräten) durch das Senden von Kommandos (start, pause, stop, etc.).
      Die folgenden Plex Player werden durch den Adapter unterstützt:

      • Apple TV [getestet mit Plex App Version v2.5.1 (12901)]
      • Android (Galaxy S8) [getestet mit Plex App Version v7.19.1.11710]
      • iOS (iPhone / iPad) [getestet mit Plex App Version v5.18]
      • FireTV

      Folgende Plex Player werden aktuell nicht unterstützt:

      • Browser (Firefox)
      • Samsung TV [getestet mit Plex App Version v3.105.0]

      KONFIGURATION
      Siehe Anleitung auf Github.


      CHANNELS & STATES
      Der Zielzustand der Channels sieht wie folgt aus:

      Bild Text

      In den Channels dann entsprechend die States.
      Für Details siehe Github.


      VERBESSERUNGSVORSCHLÄGE
      Verbesserungen jeglicher Art (Adapter oder Dokumentation), Bug Meldungen oder Feature Requests sind herzlich Willkommen. Am besten ein Issue auf Github öffnen. Alternativ sonst auch hier im Forum.


      Danke & Cheers,
      Zefau

      1 Reply Last reply Reply Quote 4
      • E
        el_malto last edited by

        Werde ich am WE mal testen und mit den ioBroker.plexconnect vergleichen.
        Weißt du ob der ioBroker.plexconnect Adapter noch weiter entwickelt wird? Also da hast du laut GibHub ja als letztes auch mit entwickelt.

        Zefau 1 Reply Last reply Reply Quote 0
        • Zefau
          Zefau @el_malto last edited by

          @el_malto Sieht für mich eher nicht so aus, aber ich weiß es nicht. Ich habe damals auch nur einen Timestamp integriert.

          Eisbaeeer 1 Reply Last reply Reply Quote 1
          • Master67
            Master67 last edited by

            Bei mir zeigt werde der "alte" Plex Adapter noch deiner irgend eine Info über meinen Plex Server an, auch nicht der "Tautulli" Adapter, obwohl das auf dem Server Aktiv ist und dort auch die Info Liefert die es soll.
            Dein Adapter wird installiert, aber er ist nicht in den Instanzen und in den Objekten zu finden.

            Zefau 1 Reply Last reply Reply Quote 0
            • Zefau
              Zefau @Master67 last edited by

              @Master67 Versuch mal folgendes, um eine Instanz hinzuzufügen

              iobroker add plex
              
              Master67 1 Reply Last reply Reply Quote 0
              • Zefau
                Zefau last edited by

                Der Zielzustand der Channels sieht wie folgt aus:

                Bild Text

                In den Channels dann entsprechend die States.

                1 Reply Last reply Reply Quote 1
                • E
                  el_malto last edited by

                  @Zefau Hab den Adapter mal versucht zu installieren.

                  pi@ioBroker-RasPi:~ $ iobroker url https://github.com/Zefau/ioBroker.plex
                  install https://github.com/Zefau/ioBroker.plex/tarball/master
                  npm install https://github.com/Zefau/ioBroker.plex/tarball/master --production -                                                                                                                                                             -save --prefix "/opt/iobroker" (System call)
                  npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed.                                                                                                                                                              You must install peer dependencies yourself.
                  npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed.                                                                                                                                                              You must install peer dependencies yourself.
                  

                  Habe dann nach stream-browserify gegooglet und von hier installiert.

                  pi@ioBroker-RasPi:~ $ npm install stream-browserify
                  npm WARN saveError ENOENT: no such file or directory, open '/home/pi/package.jso
                  npm notice created a lockfile as package-lock.json. You should commit this file.
                  npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                  npm WARN pi No description
                  npm WARN pi No repository field.
                  npm WARN pi No README data
                  npm WARN pi No license field.
                  
                  + stream-browserify@2.0.2
                  added 9 packages from 5 contributors and audited 11 packages in 3.473s
                  found 0 vulnerabilities
                  

                  Danach nochmal versucht.

                  pi@ioBroker-RasPi:~ $ iobroker url https://github.com/Zefau/ioBroker.plex
                  install https://github.com/Zefau/ioBroker.plex/tarball/master
                  npm install https://github.com/Zefau/ioBroker.plex/tarball/master --production -
                  npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed.
                  npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed.
                  

                  Wenn ich den Adapter über die "Katze" mit dem GitHub Link in ioBroker installiere wird der unter Instanzen angezeigt. Habe dann auch

                  iobroker add plex
                  iobroker upload plex
                  

                  ausgeführt. Ich kann den Adapter Configurieren und er wird grün. Im Log wird das angezeigt

                  plex.0	2019-04-27 10:45:27.560	warn	Error: Plex Server denied request, you must provide a way to authenticate! Read more about plex-api authenticators on https://www.npmjs.com/package/plex-api#authenticators
                  plex.0	2019-04-27 10:45:27.346	info	starting. Version 0.1.0 in /opt/iobroker/node_modules/iobroker.plex, node: v8.14.0
                  plex.0	2019-04-27 10:45:27.188	info	States connected to redis: 127.0.0.1:6379
                  

                  und unter Objekte wird kein plex.0 angezeigt.

                  Irgendwelche Ideen?

                  Zefau 2 Replies Last reply Reply Quote 0
                  • Zefau
                    Zefau @el_malto last edited by

                    @el_malto Vielen Dank für das Feedback. Liegt am Adapter. Er lädt keine States, da er nicht authentifiziert ist (steht ja auch im letzten Fehler-Log). Keine Ahnung, warum es bei mir funktioniert's, aber ich guck's mir direkt mal an.

                    E 1 Reply Last reply Reply Quote 1
                    • Zefau
                      Zefau @el_malto last edited by

                      @el_malto Hast du Plex Pass (und Plex Home aktiviert) ?

                      E 1 Reply Last reply Reply Quote 1
                      • E
                        el_malto @Zefau last edited by

                        @Zefau Ja, Habe Plex Pass und auch Home aktiviert.

                        1 Reply Last reply Reply Quote 0
                        • E
                          el_malto @Zefau last edited by

                          @Zefau sagte in [Aufruf] Neuer Adapter ioBroker.plex:

                          Er lädt keine States, da er nicht authentifiziert ist (steht ja auch im letzten Fehler-Log).

                          Im Adapter kann man auch keine Userdaten eingeben. Läuft das alles über den Webhook ohne eingabe von Userdaten?

                          1 Reply Last reply Reply Quote 0
                          • Zefau
                            Zefau last edited by

                            Ich implementiere fix ein Benutzer / Passwort und melde mich nochmal.

                            Nutzt du für Plex Home für den Hauptbenutzer auch eine PIN?

                            1 Reply Last reply Reply Quote 1
                            • E
                              el_malto last edited by

                              Ok.
                              Ja der Hauptuser hat auch einen Pin.

                              1 Reply Last reply Reply Quote 0
                              • E
                                el_malto last edited by

                                Läuft dein Plex Server auch auf den Gerät wo dein ioBroker läuft? Dann kann ja sein das die Userdaten gespeichert sind und es deswegen beindir klappt.
                                Mein Plex Server löift nicht auf meinem PI.

                                Zefau 1 Reply Last reply Reply Quote 0
                                • Zefau
                                  Zefau @el_malto last edited by

                                  @el_malto Nein, läuft auf einer Synology. Habe aber Plex Home ohne PIN aktiviert. Daher kommt die API ohne Auth rein. Wenn du deine PIN deaktivierst sollte es gehen. Ich baue aber auch gleich user / pw ein.

                                  E 1 Reply Last reply Reply Quote 1
                                  • E
                                    el_malto @Zefau last edited by

                                    @Zefau Ah ok, klingt logisch.
                                    Ich warte bis du es eingebaut hast. Aber kein Stress 😉

                                    Zefau 1 Reply Last reply Reply Quote 0
                                    • Zefau
                                      Zefau @el_malto last edited by

                                      @el_malto Habe die PIN bei mir mal aktiviert. Funktioniert merkwürdigerweise noch immer.

                                      Habe den Adapter aber auf Github aktualisiert.
                                      Bitte nochmal installieren und das Admin-Panel updaten:

                                      iobroker url https://github.com/Zefau/ioBroker.plex
                                      iobroker upload plex
                                      

                                      (iobroker add plex sollte nicht mehr nötig sein, da bereits eine Instanz existiert)

                                      E 1 Reply Last reply Reply Quote 1
                                      • E
                                        el_malto @Zefau last edited by el_malto

                                        @Zefau sagte in [Aufruf] Neuer Adapter ioBroker.plex:

                                        https://github.com/Zefau/ioBroker.plex

                                        Installation über die Console hat nicht funktioniert. Der Adapter wird unter Instanzen nicht angezeigt.

                                        pi@ioBroker-RasPi:~ $ iobroker url https://github.com/Zefau/ioBroker.plex
                                        install https://github.com/Zefau/ioBroker.plex/tarball/master
                                        npm install https://github.com/Zefau/ioBroker.plex/tarball/master --production --save --prefix "/opt/iobroker" (System call)
                                        npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                        npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                        
                                        got /opt/iobroker/node_modules/iobroker.plex/admin
                                        upload [15] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/words.js words.js application/javascript
                                        upload [14] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/tautulli.jpg tautulli.jpg image/jpeg
                                        upload [13] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/plex.jpg plex.jpg image/jpeg
                                        upload [12] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/index_m.html index_m.html text/html
                                        upload [11] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/zh-cn                                           /translations.json i18n/zh-cn/translations.json application/json
                                        upload [10] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/ru/tr                                           anslations.json i18n/ru/translations.json application/json
                                        upload [9] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/pt/tra                                           nslations.json i18n/pt/translations.json application/json
                                        upload [8] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/pl/tra                                           nslations.json i18n/pl/translations.json application/json
                                        upload [7] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/nl/tra                                           nslations.json i18n/nl/translations.json application/json
                                        upload [6] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/it/tra                                           nslations.json i18n/it/translations.json application/json
                                        upload [5] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/fr/tra                                           nslations.json i18n/fr/translations.json application/json
                                        upload [4] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/es/tra                                           nslations.json i18n/es/translations.json application/json
                                        upload [3] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/en/tra                                           nslations.json i18n/en/translations.json application/json
                                        upload [2] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/de/tra                                           nslations.json i18n/de/translations.json application/json
                                        upload [1] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/admin.js admin.js application/javascript
                                        upload [0] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/admin.css admin.css text/css
                                        
                                        
                                        pi@ioBroker-RasPi:~ $ iobroker upload plex
                                        got /opt/iobroker/node_modules/iobroker.plex/admin
                                        upload [15] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/words.js words.js application/javascript
                                        upload [14] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/tautulli.jpg tautulli.jpg image/jpeg
                                        upload [13] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/plex.jpg plex.jpg image/jpeg
                                        upload [12] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/index_m.html index_m.html text/html
                                        upload [11] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/zh-cn                                           /translations.json i18n/zh-cn/translations.json application/json
                                        upload [10] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                        upload [9] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                        upload [8] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                        upload [7] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                        upload [6] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/it/translations.json i18n/it/translations.json application/json
                                        upload [5] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                                        upload [4] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                        upload [3] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                        upload [2] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/de/tra                                           nslations.json i18n/de/translations.json application/json
                                        upload [1] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/admin.js admin.js application/javascript
                                        upload [0] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/admin.css admin.css text/css
                                        

                                        Installation über die "Katze" und GitHub zeigt den Adapter ebenfalls nicht an.

                                        $ ./iobroker url "https://github.com/Zefau/ioBroker.plex" --debug
                                        install https://github.com/Zefau/ioBroker.plex/tarball/master
                                        npm install https://github.com/Zefau/ioBroker.plex/tarball/master --production --save --prefix "/opt/iobroker" (System call)
                                        npm
                                        WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                        
                                        
                                        + iobroker.plex@0.1.0updated 1 package in 52.865s
                                        
                                        got /opt/iobroker/node_modules/iobroker.plex/admin
                                        upload [15] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/words.js words.js application/javascript
                                        upload [14] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/tautulli.jpg tautulli.jpg image/jpeg
                                        upload [13] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/plex.jpg plex.jpg image/jpeg
                                        upload [12] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/index_m.html index_m.html text/html
                                        upload [11] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/zh-cn/translations.json i18n/zh-cn/translations.json application/json
                                        upload [10] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/ru/translations.json i18n/ru/translations.json application/json
                                        upload [9] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/pt/translations.json i18n/pt/translations.json application/json
                                        upload [8] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/pl/translations.json i18n/pl/translations.json application/json
                                        upload [7] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/nl/translations.json i18n/nl/translations.json application/json
                                        upload [6] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/it/translations.json i18n/it/translations.json application/json
                                        upload [5] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/fr/translations.json i18n/fr/translations.json application/json
                                        upload [4] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/es/translations.json i18n/es/translations.json application/json
                                        upload [3] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/en/translations.json i18n/en/translations.json application/json
                                        upload [2] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/i18n/de/translations.json i18n/de/translations.json application/json
                                        upload [1] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/admin.js admin.js application/javascript
                                        upload [0] plex.admin /opt/iobroker/node_modules/iobroker.plex/admin/admin.css admin.css text/css
                                        process exited with code 0
                                        

                                        Es kommt immer der fehler das "stream-browserify" benötigt wird und nicht installiert ist.

                                        npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed.                                            You must install peer dependencies yourself.
                                        npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed.                                            You must install peer dependencies yourself.
                                        

                                        Wie kann ich das installieren?

                                        Zefau 1 Reply Last reply Reply Quote 0
                                        • Zefau
                                          Zefau @el_malto last edited by

                                          @el_malto Warnings kannst du ignorieren.

                                          E 1 Reply Last reply Reply Quote 0
                                          • E
                                            el_malto @Zefau last edited by

                                            @Zefau

                                            und das Admin-Panel updaten

                                            Wie mache ich das?

                                            Zefau 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            852
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            plex
                                            12
                                            204
                                            21255
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo