Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Probleme mit FritzDect Adapter

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    Probleme mit FritzDect Adapter

    This topic has been deleted. Only users with topic management privileges can see it.
    • Markus Hofbauer
      Markus Hofbauer @Sokomoto last edited by

      @sokomoto Tja ist aber leider so.
      fritz1.png
      fritz2.png
      fritz3.png

      Die Fehlermeldungen kommen immer dann wenn ich den Adapter neu starte.
      Gruß Markus

      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Markus Hofbauer last edited by Thomas Braun

        @markus-hofbauer

        Zeig mal einen vollständigen Neustart im LogFile.

        Am besten per

        iobroker logs --watch
        

        Und auch mal schauen wie es bei nodeJS aussieht:

        which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
        
        Markus Hofbauer 1 Reply Last reply Reply Quote 0
        • Markus Hofbauer
          Markus Hofbauer @Thomas Braun last edited by

          @thomas-braun Hallo

          2022-01-22 14:17:55.258  - info: host.raspberrypi stopInstance system.adapter.fritzdect.0 (force=false, process=true)
          2022-01-22 14:17:55.317  - info: fritzdect.0 (20362) Got terminate signal TERMINATE_YOURSELF
          2022-01-22 14:17:55.321  - info: host.raspberrypi stopInstance system.adapter.fritzdect.0 send kill signal
          2022-01-22 14:17:55.326  - info: fritzdect.0 (20362) cleaned everything up...
          2022-01-22 14:17:55.328  - info: fritzdect.0 (20362) terminating
          2022-01-22 14:17:55.329  - info: fritzdect.0 (20362) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          2022-01-22 14:17:55.342  - error: fritzdect.0 (20362) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          2022-01-22 14:17:55.343  - error: fritzdect.0 (20362) unhandled promise rejection: undefined
          2022-01-22 14:17:55.344  - error: fritzdect.0 (20362) undefined
          2022-01-22 14:17:55.258  - info: host.raspberrypi stopInstance system.adapter.fritzdect.0 (force=false, process=true)
          2022-01-22 14:17:55.317  - info: fritzdect.0 (20362) Got terminate signal TERMINATE_YOURSELF
          2022-01-22 14:17:55.321  - info: host.raspberrypi stopInstance system.adapter.fritzdect.0 send kill signal
          2022-01-22 14:17:55.326  - info: fritzdect.0 (20362) cleaned everything up...
          2022-01-22 14:17:55.328  - info: fritzdect.0 (20362) terminating
          2022-01-22 14:17:55.329  - info: fritzdect.0 (20362) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
          2022-01-22 14:17:55.342  - error: fritzdect.0 (20362) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
          2022-01-22 14:17:55.343  - error: fritzdect.0 (20362) unhandled promise rejection: undefined
          2022-01-22 14:17:55.344  - error: fritzdect.0 (20362) undefined
          2022-01-22 14:17:55.912  - info: host.raspberrypi instance system.adapter.fritzdect.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          2022-01-22 14:17:55.912  - info: host.raspberrypi instance system.adapter.fritzdect.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          2022-01-22 14:17:58.410  - info: host.raspberrypi instance system.adapter.fritzdect.0 started with pid 21360
          2022-01-22 14:17:58.410  - info: host.raspberrypi instance system.adapter.fritzdect.0 started with pid 21360
          2022-01-22 14:17:59.767  - info: fritzdect.0 (21360) starting. Version 2.2.3 in /opt/iobroker/node_modules/iobroker.fritzdect, node: v14.18.3, js-controller: 3.3.22
          2022-01-22 14:17:59.800  - info: fritzdect.0 (21360) fritzdect entered ready
          2022-01-22 14:17:59.840  - info: fritzdect.0 (21360) fritzdect uses USER: ich
          2022-01-22 14:18:00.056  - info: host.raspberrypi instance system.adapter.daswetter.0 started with pid 21375
          2022-01-22 14:18:00.232  - info: fritzdect.0 (21360) checking user permissions
          2022-01-22 14:18:00.245  - error: fritzdect.0 (21360) errorHandlerTypeError: Converting circular structure to JSON
              --> starting at object with constructor 'Socket'
              |     property 'parser' -> object with constructor 'HTTPParser'
              --- property 'socket' closes the circle
          2022-01-22 14:18:00.246  - error: fritzdect.0 (21360) fritzbox returned this {}
          2022-01-22 14:18:00.247  - error: fritzdect.0 (21360) no response part in returned message
          2022-01-22 14:17:59.767  - info: fritzdect.0 (21360) starting. Version 2.2.3 in /opt/iobroker/node_modules/iobroker.fritzdect, node: v14.18.3, js-controller: 3.3.22
          2022-01-22 14:17:59.800  - info: fritzdect.0 (21360) fritzdect entered ready
          2022-01-22 14:17:59.840  - info: fritzdect.0 (21360) fritzdect uses USER: ich
          2022-01-22 14:18:00.056  - info: host.raspberrypi instance system.adapter.daswetter.0 started with pid 21375
          2022-01-22 14:18:00.232  - info: fritzdect.0 (21360) checking user permissions
          2022-01-22 14:18:00.245  - error: fritzdect.0 (21360) errorHandlerTypeError: Converting circular structure to JSON
              --> starting at object with constructor 'Socket'
              |     property 'parser' -> object with constructor 'HTTPParser'
              --- property 'socket' closes the circle
          2022-01-22 14:18:00.246  - error: fritzdect.0 (21360) fritzbox returned this {}
          2022-01-22 14:18:00.247  - error: fritzdect.0 (21360) no response part in returned message
          2022-01-22 14:18:01.798  - info: daswetter.0 (21375) starting. Version 3.0.9 in /opt/iobroker/node_modules/iobroker.daswetter, node: v14.18.3, js-controller: 3.3.22
          2022-01-22 14:18:01.798  - info: daswetter.0 (21375) starting. Version 3.0.9 in /opt/iobroker/node_modules/iobroker.daswetter, node: v14.18.3, js-controller: 3.3.22
          2022-01-22 14:18:03.004  - info: daswetter.0 (21375) Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment
          2022-01-22 14:18:03.004  - info: daswetter.0 (21375) Terminated (ADAPTER_REQUESTED_TERMINATION): All data handled, adapter stopped until next scheduled moment
          2022-01-22 14:18:03.533  - info: daswetter.0 (21375) cleaned everything up...
          2022-01-22 14:18:03.559  - info: host.raspberrypi instance system.adapter.daswetter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          2022-01-22 14:18:03.533  - info: daswetter.0 (21375) cleaned everything up...
          2022-01-22 14:18:03.559  - info: host.raspberrypi instance system.adapter.daswetter.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
          
          
          pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
          /usr/bin/node
          /usr/bin/npm
          pi@raspberrypi:~ $
          
          

          Hoffe der letzte Befehl war so richtig?
          Gruß Markus

          Thomas Braun Sokomoto 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Markus Hofbauer last edited by

            @markus-hofbauer

            Mach mal:

            sudo ln -s /usr/bin/node /usr/bin/nodejs
            which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
            
            Markus Hofbauer 1 Reply Last reply Reply Quote 0
            • Markus Hofbauer
              Markus Hofbauer @Thomas Braun last edited by

              @thomas-braun Hallo

              pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
              pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
              /usr/bin/nodejs
              /usr/bin/node
              /usr/bin/npm
              v14.18.3
              v14.18.3
              6.14.15
              pi
              /home/pi
              OK:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
              OK:2 http://archive.raspberrypi.org/debian bullseye InRelease
              OK:3 https://deb.nodesource.com/node_14.x bullseye InRelease
              Paketlisten werden gelesen... Fertig
              Abh▒ngigkeitsbaum wird aufgebaut... Fertig
              Statusinformationen werden eingelesen... Fertig
              Aktualisierung f▒r 1 Paket verf▒gbar. F▒hren Sie ▒apt list --upgradable▒ aus, um es anzuzeigen.
              nodejs:
                Installiert:           14.18.3-deb-1nodesource1
                Installationskandidat: 14.18.3-deb-1nodesource1
                Versionstabelle:
               *** 14.18.3-deb-1nodesource1 500
                      500 https://deb.nodesource.com/node_14.x bullseye/main armhf Packages
                      100 /var/lib/dpkg/status
                   12.22.5~dfsg-2~11u1 500
                      500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
              pi@raspberrypi:~ $
              
              

              Gruß Markus

              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Markus Hofbauer last edited by Thomas Braun

                @markus-hofbauer

                Das passt.

                cd /opt/iobroker
                npm ls iobroker.fritzdect
                

                (Nebenbei: Das ausstehende Updrade noch einspielen)

                Markus Hofbauer 1 Reply Last reply Reply Quote 0
                • Markus Hofbauer
                  Markus Hofbauer @Thomas Braun last edited by

                  @thomas-braun Hallo

                  pi@raspberrypi:~ $ ^C
                  pi@raspberrypi:~ $ apt list --upgradable
                  Auflistung... Fertig
                  rpi-eeprom/stable 13.4-1 armhf [aktualisierbar von: 13.3-1]
                  N: Es gibt 1 zus▒tzliche Version. Bitte verwenden Sie die Option ▒-a▒, um sie anzuzeigen.
                  pi@raspberrypi:~ $ apt list --upgradable -a
                  Auflistung... Fertig
                  rpi-eeprom/stable 13.4-1 armhf [aktualisierbar von: 13.3-1]
                  rpi-eeprom/now 13.3-1 armhf  [Installiert,aktualisierbar auf: 13.4-1]
                  
                  pi@raspberrypi:~ $ cd /opt/iobroker
                  pi@raspberrypi:/opt/iobroker $ npm ls iobroker.fritzdect
                  iobroker.inst@3.0.0 /opt/iobroker
                  `-- iobroker.fritzdect@2.2.3
                  
                  pi@raspberrypi:/opt/iobroker $
                  
                  

                  Wie aktualisiere ich das?
                  Gruß Markus

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Markus Hofbauer last edited by

                    @markus-hofbauer

                    OT:

                    iobroker stop
                    sudo apt update
                    sudo apt full-upgrade
                    sudo reboot
                    

                    BTT: Welche Firmware ist da auf der Fritzbox? Und der user heißt 'ich'? Sonderzeichen im Passwort? Bindestrich oder sowas?

                    Markus Hofbauer 1 Reply Last reply Reply Quote 0
                    • Markus Hofbauer
                      Markus Hofbauer @Thomas Braun last edited by

                      @thomas-braun Hallo
                      Ja der User wurde nur mal zu Testzwecken angelegt. Um zu schauen ob es am User liegt. Keine Sonderzeichen oder sonstiges im Passwort.
                      Modell: FRITZ!Box 7582
                      Aktueller Energieverbrauch: 19 %
                      FRITZ!OS: 07.16 - Version aktuell

                      Gruß Markus

                      Thomas Braun Michael Schmitt 2 Replies Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Markus Hofbauer last edited by

                        @markus-hofbauer

                        Keine Ahnung. Mach vielleicht in Issue auf.

                        1 Reply Last reply Reply Quote 0
                        • Sokomoto
                          Sokomoto @Markus Hofbauer last edited by

                          @markus-hofbauer sagte in Probleme mit FritzDect Adapter:

                          @thomas-braun Hallo

                          2022-01-22 14:17:59.840  - info: fritzdect.0 (21360) fritzdect uses USER: ich
                          2022-01-22 14:18:00.056  - info: host.raspberrypi instance system.adapter.daswetter.0 started with pid 21375
                          2022-01-22 14:18:00.232  - info: fritzdect.0 (21360) checking user permissions
                          2022-01-22 14:18:00.245  - error: fritzdect.0 (21360) errorHandlerTypeError: Converting circular structure to JSON
                              --> starting at object with constructor 'Socket'
                              |     property 'parser' -> object with constructor 'HTTPParser'
                              --- property 'socket' closes the circle
                          

                          Ich denke diese Fehlermeldung ist das Problem, eindeutig ein Adapterfehler in meinen Augen.
                          Hier kann nur der Entwickler weiterhelfen.

                          tschuess

                          F 1 Reply Last reply Reply Quote 0
                          • Michael Schmitt
                            Michael Schmitt @Markus Hofbauer last edited by Michael Schmitt

                            @markus-hofbauer
                            und die Berechtigungen sind richtig gesetzt ?
                            111.jpg

                            Markus Hofbauer 1 Reply Last reply Reply Quote 0
                            • Markus Hofbauer
                              Markus Hofbauer @Michael Schmitt last edited by

                              @michael-schmitt Ja.
                              Gruß Markus

                              Z 1 Reply Last reply Reply Quote 0
                              • JB_Sullivan
                                JB_Sullivan last edited by JB_Sullivan

                                sorry alles dummes Zeug was ich geschrieben hatte - bitte löschen/ignorieren.

                                1 Reply Last reply Reply Quote 0
                                • Z
                                  zahnheinrich @Markus Hofbauer last edited by zahnheinrich

                                  @markus-hofbauer
                                  Trage im Adapter versuchsweise die Anmeldedaten des Hauptusers der Fritzbox ein (also der mit ALLEN Rechten).
                                  Starte dann den Adapter neu, wenn Problem weiterhin, den kompletten iobroker neu, wenn dann weiterhin nicht geht, die Fritzbox neu (in dieser Reihenfolge)
                                  Log vom Adapter bitte posten, nur warn und error!

                                  Markus Hofbauer 1 Reply Last reply Reply Quote 0
                                  • Markus Hofbauer
                                    Markus Hofbauer @zahnheinrich last edited by

                                    @zahnheinrich Hallo
                                    Adapter Neustart:

                                    
                                    fritzdect.0
                                    2022-01-23 20:56:10.087	error	no response part in returned message
                                    
                                    fritzdect.0
                                    2022-01-23 20:56:10.086	error	fritzbox returned this {}
                                    
                                    fritzdect.0
                                    2022-01-23 20:56:10.086	error	errorHandlerTypeError: Converting circular structure to JSON --> starting at object with constructor 'Socket' | property 'parser' -> object with constructor 'HTTPParser' --- property 'socket' closes the circle
                                    
                                    fritzdect.0
                                    2022-01-23 20:07:31.634	error	adapter disabled
                                    
                                    fritzdect.0
                                    2022-01-23 20:07:27.083	error	undefined
                                    
                                    fritzdect.0
                                    2022-01-23 20:07:27.082	error	unhandled promise rejection: undefined
                                    
                                    fritzdect.0
                                    2022-01-23 20:07:27.081	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                    

                                    Iobroker Neustart:

                                    
                                    fritzdect.0
                                    2022-01-23 21:03:30.580	error	no response part in returned message
                                    
                                    fritzdect.0
                                    2022-01-23 21:03:30.579	error	fritzbox returned this {}
                                    
                                    fritzdect.0
                                    2022-01-23 21:03:30.578	error	errorHandlerTypeError: Converting circular structure to JSON --> starting at object with constructor 'Socket' | property 'parser' -> object with constructor 'HTTPParser' --- property 'socket' closes the circle
                                    

                                    Fritzbox Neustart und Adapter Neustart:

                                    
                                    fritzdect.0
                                    2022-01-23 21:48:39.086	error	no response part in returned message
                                    
                                    fritzdect.0
                                    2022-01-23 21:48:39.085	error	fritzbox returned this {}
                                    
                                    fritzdect.0
                                    2022-01-23 21:48:39.083	error	errorHandlerTypeError: Converting circular structure to JSON --> starting at object with constructor 'Socket' | property 'parser' -> object with constructor 'HTTPParser' --- property 'socket' closes the circle
                                    
                                    fritzdect.0
                                    2022-01-23 21:48:14.255	error	undefined
                                    
                                    fritzdect.0
                                    2022-01-23 21:48:14.255	error	unhandled promise rejection: undefined
                                    
                                    fritzdect.0
                                    2022-01-23 21:48:14.254	error	Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                                    

                                    Gruß Markus

                                    Z 1 Reply Last reply Reply Quote 0
                                    • F
                                      foxthefox Developer @Sokomoto last edited by

                                      @sokomoto sagte in Probleme mit FritzDect Adapter:

                                      @markus-hofbauer sagte in Probleme mit FritzDect Adapter:

                                      @thomas-braun Hallo

                                      2022-01-22 14:17:59.840  - info: fritzdect.0 (21360) fritzdect uses USER: ich
                                      2022-01-22 14:18:00.056  - info: host.raspberrypi instance system.adapter.daswetter.0 started with pid 21375
                                      2022-01-22 14:18:00.232  - info: fritzdect.0 (21360) checking user permissions
                                      2022-01-22 14:18:00.245  - error: fritzdect.0 (21360) errorHandlerTypeError: Converting circular structure to JSON
                                          --> starting at object with constructor 'Socket'
                                          |     property 'parser' -> object with constructor 'HTTPParser'
                                          --- property 'socket' closes the circle
                                      

                                      Ich denke diese Fehlermeldung ist das Problem, eindeutig ein Adapterfehler in meinen Augen.
                                      Hier kann nur der Entwickler weiterhelfen.

                                      tschuess

                                      Ich habe keine Ahnung was die FB als Antwort schickt, aber das scheint ein korruptes xml Format zu sein, was so nicht umgewandelt werden kann.
                                      Ich habe auf git eine Version die hoffentlich den Fehler abfängt und eine Ausgabe liefert, die weitere Analyse zulässt.
                                      Also bitte mal die Version aus git verwenden.
                                      Was hat sich in der letzten Zeit am Setup geändert?

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        foxthefox Developer @Markus Hofbauer last edited by

                                        @markus-hofbauer
                                        siehe mein vorigen post, die git Version installieren und berichten

                                        Markus Hofbauer 1 Reply Last reply Reply Quote 0
                                        • Markus Hofbauer
                                          Markus Hofbauer @foxthefox last edited by

                                          @foxthefox Hallo,
                                          Version aus Github mit der Katze installiert. Leider selbes Ergebnis.

                                          
                                          fritzdect.0
                                          2022-01-23 22:38:26.300	error	no response part in returned message
                                          
                                          fritzdect.0
                                          2022-01-23 22:38:26.299	error	fritzbox returned this {}
                                          
                                          fritzdect.0
                                          2022-01-23 22:38:26.296	error	errorHandlerTypeError: Converting circular structure to JSON --> starting at object with constructor 'Socket' | property 'parser' -> object with constructor 'HTTPParser' --- property 'socket' closes the circle
                                          
                                          fritzdect.0
                                          2022-01-23 22:38:26.280	info	checking user permissions
                                          
                                          fritzdect.0
                                          2022-01-23 22:38:25.859	info	fritzdect uses USER: hofb1860
                                          
                                          fritzdect.0
                                          2022-01-23 22:38:25.818	info	fritzdect entered ready
                                          
                                          fritzdect.0
                                          2022-01-23 22:38:25.789	info	starting. Version 2.2.4 in /opt/iobroker/node_modules/iobroker.fritzdect, node: v14.18.3, js-controller: 3.3.22
                                          

                                          Gruß Markus

                                          Markus Hofbauer F 2 Replies Last reply Reply Quote 0
                                          • Markus Hofbauer
                                            Markus Hofbauer @Markus Hofbauer last edited by Markus Hofbauer

                                            Das zeigt er mir im Expertenmodus unter "system" an.
                                            dect.png
                                            Vielleicht hilft es ja.
                                            FB Version: FRITZ!OS: 07.16 - Version aktuell FB Modell: 7582
                                            Wie gesagt, geändert hat sich im System nichts. Angefangen hat es das er keine Temperaturen mehr aktualisiert hat. Die Modis konnte ich noch schalten. Hab dann alles Deinstalliert und wollte neu Installieren. Seit dem kommt dieser Fehler.
                                            Was wir dann alles Probiert haben siehst du ja oben.
                                            Gruß Markus

                                            Michael Schmitt F 2 Replies Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            851
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            17
                                            103
                                            8660
                                            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