Navigation

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

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Aufruf] Xbox Adapter testen

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

      @DKM:

      Dort habe ich dann meine Daten eingegeben und die Instanz gestartet. Es kam die Meldung, dass der Server gestartet wird…. und keine Fehler

      Ok, ich war einen Schritt weiter - aber es kam keine Verbindung zu stande.... Ich hab mir dann mal die genutzte API (nennt man das so) für Smartglass angeschaut. Ich geb zu, ich hab nur 10.... ok 5% verstanden, aber was ich verstanden habe, ist das wohl was ausgetauscht wird.... Austauschen kann man nur, wenn beide Seiten da sind.... Also... XBox von Hand gestartet..... gewartet bis das Startbild da war und zur Sicherheit mal Rocket League gestartet, nur um zu sehen, dass auch alles betriebsbereit ist (gibt da sonst so ne Microsoft-codierte-Fehlermeldung, dass der Start ungewöhnlich lange gedauert hat). Dann habe ich die Instanz neugestartet - und sofort hatte ich die Verbindung. Seitdem läuft alles einwandfrei - ich hab noch Version x.15. `

      Bei dir funktioniert die 0.1.5 da bei dir nopy an dem Ort liegt, an dem ich es ursprünglich erwartet habe. Jedoch kann es auch an einer anderen Stelle liegen, wie bei Negalein.

      @DKM:

      P.S. Leider funktioniert meine GTA Online Idee nicht, da Smartglass nicht als eigenständiger Controller erkannt wird.

      P.S.S. Ist es möglich die Authentifizierung später mit in den Adapter einzubauen? `

      Genau und zwar geht das nur über das Gamestreaming "nano" Protokoll, kann da im aktuellen Stand nichts Versprechen, versuche allerdings bis zur Version 1.0.0 noch ein bisschen was hin zu bekommen. Die Authentifizierung kann grundsätzlich eingebaut werden, insofern der Host eine Internetverbindung hat - entsprechend wäre eine Idee das irgendwie optional zu bauen. Habe da allerdings gerade ein kleines Problem (https://github.com/OpenXbox/xbox-smartg … /issues/26) bin jedoch dran. Bin dann auch erst mal froh, wenn das auf Windows rund läuft. 😉

      @DKM:

      P.S.S.S. Wenn die XBox einige Zeit ausgeschaltet ist, wird die Instanz gelb markiert, da die Verbindung ja weg ist - Sie lässt sich dennoch über Power einschalten. `

      ja das ist Absicht, da du nicht mehr mit der Box verbunden bist, entsprechend steht Verbunden mit xbox dann auf false und der Adapter ist währenddessen gelb.

      1 Reply Last reply Reply Quote 0
      • Negalein
        Negalein Global Moderator last edited by

        @DKM:

        1. Konsole -> "npm i iobroker.xbox –unsafe-perm"

        4. In der Konsole -> "npm install https://github.com/foxriver76/ioBroker. ... all/master --production --save --prefix" ausgeführt (macht er ja `

        bei mir mag es einfach nicht mehr funktionieren.

        PC neu gestartet

        IOB neu gestartet (Dienst, usw.)

        bringt alles nichts.

        Bei 1. bekomm ich diese Fehler:

        C:\ioBroker>npm i iobroker.xbox --unsafe-perm
        npm WARN enoent ENOENT: no such file or directory, open 'C:\ioBroker\node_modules\iobroker.radar\package.json'
        
        npm ERR! path C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd
        npm ERR! code EPERM
        npm ERR! errno -4048
        npm ERR! syscall unlink
        npm ERR! Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd'
        npm ERR!  { [Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd']
        npm ERR!   cause:
        npm ERR!    { Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd'
        npm ERR!      errno: -4048,
        npm ERR!      code: 'EPERM',
        npm ERR!      syscall: 'unlink',
        npm ERR!      path:
        npm ERR!       'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd' },
        npm ERR!   stack:
        npm ERR!    "Error: EPERM: operation not permitted, unlink 'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd'",
        npm ERR!   errno: -4048,
        npm ERR!   code: 'EPERM',
        npm ERR!   syscall: 'unlink',
        npm ERR!   path:
        npm ERR!    'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd',
        npm ERR!   parent: 'iobroker.inst' }
        npm ERR!
        npm ERR! The operation was rejected by your operating system.
        npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
        npm ERR! or that you lack permissions to access it.
        npm ERR!
        npm ERR! If you believe this might be a permissions issue, please double-check the
        npm ERR! permissions of the file and its containing directories, or try running
        npm ERR! the command again as root/Administrator (though this is not recommended).
        

        Und bei 4. diese Fehler:

        C:\ioBroker>npm install https://github.com/foxriver76/ioBroker.xbox/tarball/master --production --save --prefix
        npm WARN invalid config prefix=true
        npm WARN invalid config Must be a valid filesystem path
        npm WARN enoent ENOENT: no such file or directory, open 'C:\ioBroker\node_modules\iobroker.radar\package.json'
        
        npm ERR! path C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd
        npm ERR! code EPERM
        npm ERR! errno -4048
        npm ERR! syscall unlink
        npm ERR! Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd'
        npm ERR!  { [Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd']
        npm ERR!   cause:
        npm ERR!    { Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd'
        npm ERR!      errno: -4048,
        npm ERR!      code: 'EPERM',
        npm ERR!      syscall: 'unlink',
        npm ERR!      path:
        npm ERR!       'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd' },
        npm ERR!   stack:
        npm ERR!    "Error: EPERM: operation not permitted, unlink 'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd'",
        npm ERR!   errno: -4048,
        npm ERR!   code: 'EPERM',
        npm ERR!   syscall: 'unlink',
        npm ERR!   path:
        npm ERR!    'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd',
        npm ERR!   parent: 'iobroker.inst' }
        npm ERR!
        npm ERR! The operation was rejected by your operating system.
        npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
        npm ERR! or that you lack permissions to access it.
        npm ERR!
        npm ERR! If you believe this might be a permissions issue, please double-check the
        npm ERR! permissions of the file and its containing directories, or try running
        npm ERR! the command again as root/Administrator (though this is not recommended).
        

        7. und 8. geht dann deshalb auch nicht

        C:\ioBroker>iobroker install xbox
        
        C:\ioBroker>node node_modules/iobroker.js-controller/iobroker.js install xbox
        host.Nega-PC Unknown packetName xbox
        
        1 Reply Last reply Reply Quote 0
        • foxriver76
          foxriver76 Developer last edited by

          Probier mal bitte

          npm i iobroker.xbox --unsafe-perm --prefix C:\ioBroker
          
          

          irgendwie stöbert er da bei dir in den falschen Verzeichnissen rum und prefix ist genau dafür da, nämlich das Verzeichnis zu setzen in dem installiert werden soll, wenn hinter prefix nix steht, kann er damit nix anfangen.

          1 Reply Last reply Reply Quote 0
          • D
            DKM last edited by

            npm ERR! path C:\ioBroker\node_modules.iobroker.xbox.DELETE\python_modules\Python36\site-packages_cffi_backend.cp36-win_amd64.py

            Will er da bei der Installation nicht löschen? Evtl. sind auch bei Dir Ordner vorhanden, die das Installationsskript nicht löschen kann.

            Gesendet von meinem SM-G960F mit Tapatalk

            1 Reply Last reply Reply Quote 0
            • Negalein
              Negalein Global Moderator last edited by

              @foxriver76:

              Probier mal bitte

              npm i iobroker.xbox --unsafe-perm --prefix C:\ioBroker
              
              

              irgendwie stöbert er da bei dir in den falschen Verzeichnissen rum und prefix ist genau dafür da, nämlich das Verzeichnis zu setzen in dem installiert werden soll, wenn hinter prefix nix steht, kann er damit nix anfangen. `

              Geht leider auch nicht! 😞

              C:\ioBroker>npm i iobroker.xbox --unsafe-perm --prefix C:\ioBroker
              npm ERR! path C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd
              npm ERR! code EPERM
              npm ERR! errno -4048
              npm ERR! syscall unlink
              npm ERR! Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd'
              npm ERR!  { [Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd']
              npm ERR!   cause:
              npm ERR!    { Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd'
              npm ERR!      errno: -4048,
              npm ERR!      code: 'EPERM',
              npm ERR!      syscall: 'unlink',
              npm ERR!      path:
              npm ERR!       'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd' },
              npm ERR!   stack:
              npm ERR!    "Error: EPERM: operation not permitted, unlink 'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd'",
              npm ERR!   errno: -4048,
              npm ERR!   code: 'EPERM',
              npm ERR!   syscall: 'unlink',
              npm ERR!   path:
              npm ERR!    'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd',
              npm ERR!   parent: 'iobroker.inst' }
              npm ERR!
              npm ERR! The operation was rejected by your operating system.
              npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
              npm ERR! or that you lack permissions to access it.
              npm ERR!
              npm ERR! If you believe this might be a permissions issue, please double-check the
              npm ERR! permissions of the file and its containing directories, or try running
              npm ERR! the command again as root/Administrator (though this is not recommended).
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     C:\Users\chris\AppData\Roaming\npm-cache\_logs\2018-11-13T22_06_00_570Z-debug.log
              
              C:\ioBroker>npm install https://github.com/foxriver76/ioBroker.xbox/tarball/master --production --save --prefix C:\ioBroker
              npm ERR! path C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd
              npm ERR! code EPERM
              npm ERR! errno -4048
              npm ERR! syscall unlink
              npm ERR! Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd'
              npm ERR!  { [Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd']
              npm ERR!   cause:
              npm ERR!    { Error: EPERM: operation not permitted, unlink 'C:\ioBroker\node_modules\.iobroker.xbox.DELETE\python_modules\Python36\site-packages\_cffi_backend.cp36-win_amd64.pyd'
              npm ERR!      errno: -4048,
              npm ERR!      code: 'EPERM',
              npm ERR!      syscall: 'unlink',
              npm ERR!      path:
              npm ERR!       'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd' },
              npm ERR!   stack:
              npm ERR!    "Error: EPERM: operation not permitted, unlink 'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd'",
              npm ERR!   errno: -4048,
              npm ERR!   code: 'EPERM',
              npm ERR!   syscall: 'unlink',
              npm ERR!   path:
              npm ERR!    'C:\\ioBroker\\node_modules\\.iobroker.xbox.DELETE\\python_modules\\Python36\\site-packages\\_cffi_backend.cp36-win_amd64.pyd',
              npm ERR!   parent: 'iobroker.inst' }
              npm ERR!
              npm ERR! The operation was rejected by your operating system.
              npm ERR! It's possible that the file was already in use (by a text editor or antivirus),
              npm ERR! or that you lack permissions to access it.
              npm ERR!
              npm ERR! If you believe this might be a permissions issue, please double-check the
              npm ERR! permissions of the file and its containing directories, or try running
              npm ERR! the command again as root/Administrator (though this is not recommended).
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     C:\Users\chris\AppData\Roaming\npm-cache\_logs\2018-11-13T22_13_07_912Z-debug.log
              
              1 Reply Last reply Reply Quote 0
              • Negalein
                Negalein Global Moderator last edited by

                @DKM:

                npm ERR! path C:\ioBroker\node_modules.iobroker.xbox.DELETE\python_modules\Python36\site-packages_cffi_backend.cp36-win_amd64.py

                Will er da bei der Installation nicht löschen? Evtl. sind auch bei Dir Ordner vorhanden, die das Installationsskript nicht löschen kann. `

                Welche Ordner wären das?

                Kann ich die händisch löschen?

                1 Reply Last reply Reply Quote 0
                • D
                  DKM last edited by

                  Schau mal im Ordner C:\iobroker\node-modules nach Ordnern die Xbox enthalten.

                  Ich vermute, dass durch unsere Installierei Ordnerreste überbleiben. Warte aber sicherheitshalber noch auf die Antwort von foxriver.

                  Gesendet von meinem SM-G960F mit Tapatalk

                  1 Reply Last reply Reply Quote 0
                  • Negalein
                    Negalein Global Moderator last edited by

                    @DKM:

                    Schau mal im Ordner C:\iobroker\node-modules nach Ordnern die Xbox enthalten.

                    Ich vermute, dass durch unsere Installierei Ordnerreste überbleiben. Warte aber sicherheitshalber noch auf die Antwort von foxriver. `

                    Ja, da gibt es 1 Ordner!

                    .iobroker.xbox.DELETE

                    1 Reply Last reply Reply Quote 0
                    • foxriver76
                      foxriver76 Developer last edited by

                      @Negalein:

                      @DKM:

                      npm ERR! path C:\ioBroker\node_modules.iobroker.xbox.DELETE\python_modules\Python36\site-packages_cffi_backend.cp36-win_amd64.py

                      Will er da bei der Installation nicht löschen? Evtl. sind auch bei Dir Ordner vorhanden, die das Installationsskript nicht löschen kann. `

                      Welche Ordner wären das?

                      Kann ich die händisch löschen? `

                      Was gibt denn````
                      npm -v

                      1 Reply Last reply Reply Quote 0
                      • Negalein
                        Negalein Global Moderator last edited by

                        @foxriver76:

                        [Was gibt denn ~~[code]~~npm -v bei dir? `

                        6.4.1

                        1 Reply Last reply Reply Quote 0
                        • foxriver76
                          foxriver76 Developer last edited by

                          Führst du die cmd als Admin aus?

                          1 Reply Last reply Reply Quote 0
                          • Negalein
                            Negalein Global Moderator last edited by

                            @foxriver76:

                            Führst du die cmd als Admin aus? `

                            Ja

                            1 Reply Last reply Reply Quote 0
                            • foxriver76
                              foxriver76 Developer last edited by

                              Hm dann möchte man fast meinen, dass da irgendwas die Datei in C:\ioBroker\node_modules.iobroker.xbox.DELETE schon nutzt und es deshalb einen Permission error gibt. Wenn du ioB stoppst und es probierst geht es dann? Bzw ist der Ordner existent: C:\ioBroker\node_modules.iobroker.xbox.DELETE weiß nicht ob Windows standardmäßig Ordner mit . Vorne dran anzeigt.

                              1 Reply Last reply Reply Quote 0
                              • D
                                DKM last edited by

                                @foxriver76:

                                Hm dann möchte man fast meinen, dass da irgendwas die Datei in C:\ioBroker\node_modules.iobroker.xbox.DELETE schon nutzt und es deshalb einen Permission error gibt. Wenn du ioB stoppst und es probierst geht es dann? Bzw ist der Ordner existent: C:\ioBroker\node_modules.iobroker.xbox.DELETE weiß nicht ob Windows standardmäßig Ordner mit . Vorne dran anzeigt. ` Nein eigentlich ist das eine reine Unix Sache mit dem Punkt. Mir sind nur Sicherungen bekannt, die das auch nutzen

                                Gesendet von meinem SM-G960F mit Tapatalk

                                1 Reply Last reply Reply Quote 0
                                • Negalein
                                  Negalein Global Moderator last edited by

                                  Ja, der Ordner ".iobroker.xbox.DELETE" scheint genau so auf!

                                  Im Ordner sind dann noch:
                                  9441_screenshot_2018-11-14_00.41.55.png

                                  1 Reply Last reply Reply Quote 0
                                  • foxriver76
                                    foxriver76 Developer last edited by

                                    Dann lösch den Ordner mal bitte, dann wird er dir sagen, falls da was in Nutzung ist.

                                    1 Reply Last reply Reply Quote 0
                                    • Negalein
                                      Negalein Global Moderator last edited by

                                      @foxriver76:

                                      Dann lösch den Ordner mal bitte, dann wird er dir sagen, falls da was in Nutzung ist. `

                                      Verzeichnis hab ich gelöscht und dann alles nochmal lt. DKM installiert.

                                      Dürfte geklappt haben.

                                      ABER jetzt komm ich nicht mehr in die Adminoberfläche.

                                      Er lädt und lädt und …!

                                      iobroker start

                                      iobroker stop

                                      iobroker restart

                                      Hab ich alles schon probiert. Dienst läuft.

                                      In den VIS-Editor komm ich ohne Probleme und kann auch die VIS starten.

                                      1 Reply Last reply Reply Quote 0
                                      • foxriver76
                                        foxriver76 Developer last edited by

                                        Admin lässt sich mit````
                                        iobroker start admin

                                        1 Reply Last reply Reply Quote 0
                                        • Negalein
                                          Negalein Global Moderator last edited by

                                          @foxriver76:

                                          Admin lässt sich mitiobroker start adminstarten `

                                          funktioniert auch noch nicht

                                          1 Reply Last reply Reply Quote 0
                                          • foxriver76
                                            foxriver76 Developer last edited by

                                            Ja die Oberfläche ist da, du bekommst jedoch nur diesen bunten Ladekreis zu sehen?

                                            Und mal ne Frage an euch beiden Win-User. Wird bei euch das Unload Event korrekt ausgeführt, also loggt der Adapter am Ende Rest-Server stopped oder nen Error, dass er ihn nicht stoppen kann. Oder auch in anderen Adaptern wird am Ende häufig was geloggt im Unload und bei meiner Windows Installation, wird da nix ausgeführt.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            413
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter xbox
                                            13
                                            205
                                            28364
                                            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