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 @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
                                • Michael Schmitt
                                  Michael Schmitt @Markus Hofbauer last edited by

                                  @markus-hofbauer
                                  Wird denn in der Fritzbox noch alles richtig angezeigt und kannst du damit deine Thermostate steuern ?

                                  Vielleicht mal ein Thermostat löschen und neu anmelden ?

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

                                    @michael-schmitt Hallo,
                                    in der FB funktioniert alles normal. Zeigt richtig an, kann alles schalten.
                                    Neu anlernen hab ich schon alles probiert.
                                    Gruß Markus

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

                                      @markus-hofbauer sagte in Probleme mit FritzDect Adapter:

                                      @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

                                      Hallo Markus

                                      danke für die Rückmeldung,
                                      eigentlich hatte ich eine Zeile im log mit 'raw perm =>' erwartet.
                                      Die FB mit 7.16 scheint keine UserPermissions rauszugeben.
                                      Naja, ich kommentier das mal alles raus und beschäftige mich mal mit "leeren Antworten" zu den Berechtigungen.
                                      Bin gestern vom Skifahren zurückgekommen und da hab ich nicht viel Zeit aufgewendet.

                                      Es liegt dann demnächst eine Änderung auf git.

                                      Gruß
                                      Klaus

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

                                        @markus-hofbauer

                                        Noch ein anderer Versuch, außerhalb von ioBroker.

                                        Bitte in einem Terminal in folgenden Pfad navigieren
                                        /opt/iobroker/node_modules/iobroker.fritzdect/lib/fritz

                                        dort node "testscript.js -u deinUser -p deinPW --url http://deineIPderFB" aufrufen.

                                        dann sollte in etwa so etwas kommen:

                                         Try to Login ...
                                        
                                        login sid  9977212fda1010f5
                                        login OK? :  true
                                        
                                         your devices
                                        
                                        ┌─────────┬─────────────────┬──────┬─────────────────┬───────────┬──────────────┬──────────────────┬─────────┬─────────────────────┐
                                        │ (index) │   identifier    │  id  │ functionbitmask │ fwversion │ manufacturer │   productname    │ present │        name         │
                                        ├─────────┼─────────────────┼──────┼─────────────────┼───────────┼──────────────┼──────────────────┼─────────┼─────────────────────┤
                                        │    0    │ '08761 0006102' │ '16' │     '35712'     │  '04.16'  │    'AVM'     │ 'FRITZ!DECT 200' │   '1'   │ 'FRITZ!DECT 200 #1' │
                                        │    1    │ '09995 0054862' │ '18' │      '320'      │  '04.94'  │    'AVM'     │ 'FRITZ!DECT 301' │   '1'   │ 'FRITZ!DECT 300 #3' │
                                        │    2    │ '11657 0074380' │ '19' │     '35712'     │  '04.17'  │    'AVM'     │ 'FRITZ!DECT 210' │   '1'   │ 'FRITZ!DECT 210 #4' │
                                        └─────────┴─────────────────┴──────┴─────────────────┴───────────┴──────────────┴──────────────────┴─────────┴─────────────────────┘
                                        
                                         your groups
                                        
                                        ┌─────────┬───────────────────────┬───────┬─────────────────┬───────────┬─────────┬──────────────┐
                                        │ (index) │      identifier       │  id   │ functionbitmask │ fwversion │ present │     name     │
                                        ├─────────┼───────────────────────┼───────┼─────────────────┼───────────┼─────────┼──────────────┤
                                        │    0    │ 'grp5665DB-3A12B8E79' │ '900' │     '4160'      │   '1.0'   │   '1'   │ 'themogroup' │
                                        └─────────┴───────────────────────┴───────┴─────────────────┴───────────┴─────────┴──────────────┘
                                        Rights : <Name>Dial</Name><Access>2</Access><Name>App</Name><Access>2</Access><Name>HomeAuto</Name><Access>2</Access><Name>BoxAdmin</Name><Access>2</Access><Name>Phone</Name><Access>2</Access>
                                        Check SID OK?: true
                                        
                                        Check Rights : 
                                        
                                        1 = read only; 2 = ready and write 
                                        
                                        ┌─────────┬────────┬───────┬────────────┬────────────┬─────────┐
                                        │ (index) │   0    │   1   │     2      │     3      │    4    │
                                        ├─────────┼────────┼───────┼────────────┼────────────┼─────────┤
                                        │  Name   │ 'Dial' │ 'App' │ 'HomeAuto' │ 'BoxAdmin' │ 'Phone' │
                                        │ Access  │  '2'   │  '2'  │    '2'     │    '2'     │   '2'   │
                                        └─────────┴────────┴───────┴────────────┴────────────┴─────────┘
                                        
                                         logout : true
                                        

                                        eventuell hängt es ja an etwas ganz anderem, als der Anzeige der Berechtigungen.

                                        Gruß
                                        Klaus

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

                                          @markus-hofbauer sagte in Probleme mit FritzDect Adapter:

                                          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.

                                          gab es sonst irgendwelche Änderungen am System? Neuer js-controller? sonstige iobroker updates?

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

                                            @foxthefox Hallo,

                                            pi@raspberrypi:/opt/iobroker/node_modules/iobroker.fritzdect/lib/fritz $ node "testscript.js -u hofb1860 -p hongomax19 --url http://192.168.178.1"
                                            internal/modules/cjs/loader.js:905
                                              throw err;
                                              ^
                                            
                                            Error: Cannot find module '/opt/iobroker/node_modules/iobroker.fritzdect/lib/fritz/testscript.js -u hofb1860 -p hongomax19 --url http:/192.168.178.1'
                                                at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                                                at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                                                at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:76:12)
                                                at internal/main/run_main_module.js:17:47 {
                                              code: 'MODULE_NOT_FOUND',
                                              requireStack: []
                                            }
                                            pi@raspberrypi:/opt/iobroker/node_modules/iobroker.fritzdect/lib/fritz $
                                            
                                            

                                            Oder hab ich da was falsch eingegeben?
                                            Gruß Markus

                                            1 Reply 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

                                            770
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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