Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Probleme mit FritzDect Adapter

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    334

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.6k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.5k

Probleme mit FritzDect Adapter

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
103 Beiträge 17 Kommentatoren 11.7k Aufrufe 12 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • Markus HofbauerM Markus Hofbauer

    @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 HofbauerM Offline
    Markus HofbauerM Offline
    Markus Hofbauer
    schrieb am zuletzt editiert von Markus Hofbauer
    #53

    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 SchmittM F 2 Antworten Letzte Antwort
    0
    • Markus HofbauerM 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 SchmittM Online
      Michael SchmittM Online
      Michael Schmitt
      schrieb am zuletzt editiert von
      #54

      @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 HofbauerM 1 Antwort Letzte Antwort
      0
      • Michael SchmittM Michael Schmitt

        @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 HofbauerM Offline
        Markus HofbauerM Offline
        Markus Hofbauer
        schrieb am zuletzt editiert von
        #55

        @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 Antwort Letzte Antwort
        1
        • Markus HofbauerM Markus Hofbauer

          @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

          F Offline
          F Offline
          foxthefox
          Developer
          schrieb am zuletzt editiert von
          #56

          @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

          Adapterüberblick: Profil Github;

          Wenn der Adapter gefällt und nützlich ist, bitte ins Repo gehen und Star setzen. Danke

          Ein Aufruf: video

          1 Antwort Letzte Antwort
          0
          • Markus HofbauerM Markus Hofbauer

            @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 Offline
            F Offline
            foxthefox
            Developer
            schrieb am zuletzt editiert von
            #57

            @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

            Adapterüberblick: Profil Github;

            Wenn der Adapter gefällt und nützlich ist, bitte ins Repo gehen und Star setzen. Danke

            Ein Aufruf: video

            1 Antwort Letzte Antwort
            0
            • Markus HofbauerM 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

              F Offline
              F Offline
              foxthefox
              Developer
              schrieb am zuletzt editiert von
              #58

              @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?

              Adapterüberblick: Profil Github;

              Wenn der Adapter gefällt und nützlich ist, bitte ins Repo gehen und Star setzen. Danke

              Ein Aufruf: video

              Markus HofbauerM 1 Antwort Letzte Antwort
              0
              • F foxthefox

                @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 HofbauerM Offline
                Markus HofbauerM Offline
                Markus Hofbauer
                schrieb am zuletzt editiert von
                #59

                @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 Antwort Letzte Antwort
                0
                • Markus HofbauerM Markus Hofbauer

                  @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 Offline
                  Z Offline
                  zahnheinrich
                  schrieb am zuletzt editiert von
                  #60

                  @markus-hofbauer
                  Da schliesse ich mich @foxthefox an, saß kommt nicht von der Box.

                  MfG Ulrich

                  Markus HofbauerM 1 Antwort Letzte Antwort
                  0
                  • Z zahnheinrich

                    @markus-hofbauer
                    Da schliesse ich mich @foxthefox an, saß kommt nicht von der Box.

                    Markus HofbauerM Offline
                    Markus HofbauerM Offline
                    Markus Hofbauer
                    schrieb am zuletzt editiert von
                    #61

                    Hallo,
                    Habs jetzt anders eingegeben. Ohne Anführunsstriche.

                    pi@raspberrypi:/opt/iobroker/node_modules/iobroker.fritzdect/lib/fritz $  node testscript.js -u hofb1860 -p hongomax19 --url http://192.168.178.1
                    
                     Try to Login ...
                    
                    login sid  fb4d114f7a108c5f
                    login OK? :  true
                    
                     your devices
                    
                    ┌─────────┬─────────────────┬──────┬─────────────────┬───────────┬──────────────┬──────────────────┬─────────┬────────────────────┐
                    │ (index) │   identifier    │  id  │ functionbitmask │ fwversion │ manufacturer │   productname    │ present │        name        │
                    ├─────────┼─────────────────┼──────┼─────────────────┼───────────┼──────────────┼──────────────────┼─────────┼────────────────────┤
                    │    0    │ '09995 1021163' │ '19' │      '320'      │  '04.97'  │    'AVM'     │ 'FRITZ!DECT 301' │   '1'   │ 'Esszimmer rechts' │
                    │    1    │ '09995 1020710' │ '20' │      '320'      │  '04.97'  │    'AVM'     │ 'FRITZ!DECT 301' │   '1'   │ 'Esszimmer links'  │
                    │    2    │ '09995 1022706' │ '21' │      '320'      │  '04.97'  │    'AVM'     │ 'FRITZ!DECT 301' │   '1'   │    'Wohnzimmer'    │
                    └─────────┴─────────────────┴──────┴─────────────────┴───────────┴──────────────┴──────────────────┴─────────┴────────────────────┘
                    
                     your groups
                    
                    ┌─────────┬───────────────────────┬───────┬─────────────────┬───────────┬─────────┬─────────────┐
                    │ (index) │      identifier       │  id   │ functionbitmask │ fwversion │ present │    name     │
                    ├─────────┼───────────────────────┼───────┼─────────────────┼───────────┼─────────┼─────────────┤
                    │    0    │ 'grp0710C6-3D328FB9B' │ '900' │     '4160'      │   '1.0'   │   '1'   │ 'Esszimmer' │
                    └─────────┴───────────────────────┴───────┴─────────────────┴───────────┴─────────┴─────────────┘
                    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>
                    Fehler checkSID {
                      msg: 'AHA request error',
                      function: 'fritzAHA_Request',
                      error: 404,
                      response: <ref *1> IncomingMessage {
                        _readableState: ReadableState {
                          objectMode: false,
                          highWaterMark: 16384,
                          buffer: BufferList { head: null, tail: null, length: 0 },
                          length: 0,
                          pipes: [],
                          flowing: true,
                          ended: false,
                          endEmitted: false,
                          reading: true,
                          sync: false,
                          needReadable: true,
                          emittedReadable: false,
                          readableListening: false,
                          resumeScheduled: false,
                          errorEmitted: false,
                          emitClose: true,
                          autoDestroy: false,
                          destroyed: false,
                          errored: null,
                          closed: false,
                          closeEmitted: false,
                          defaultEncoding: 'utf8',
                          awaitDrainWriters: null,
                          multiAwaitDrain: false,
                          readingMore: false,
                          dataEmitted: true,
                          decoder: [StringDecoder],
                          encoding: 'utf8',
                          [Symbol(kPaused)]: false
                        },
                        _events: [Object: null prototype] {
                          end: [Array],
                          data: [Function (anonymous)]
                        },
                        _eventsCount: 2,
                        _maxListeners: undefined,
                        socket: Socket {
                          connecting: false,
                          _hadError: false,
                          _parent: null,
                          _host: null,
                          _readableState: [ReadableState],
                          _events: [Object: null prototype],
                          _eventsCount: 8,
                          _maxListeners: undefined,
                          _writableState: [WritableState],
                          allowHalfOpen: false,
                          _sockname: null,
                          _pendingData: null,
                          _pendingEncoding: '',
                          server: null,
                          _server: null,
                          parser: [HTTPParser],
                          _httpMessage: [ClientRequest],
                          [Symbol(async_id_symbol)]: 76,
                          [Symbol(kHandle)]: [TCP],
                          [Symbol(kSetNoDelay)]: false,
                          [Symbol(lastWriteQueueSize)]: 0,
                          [Symbol(timeout)]: null,
                          [Symbol(kBuffer)]: null,
                          [Symbol(kBufferCb)]: null,
                          [Symbol(kBufferGen)]: null,
                          [Symbol(kCapture)]: false,
                          [Symbol(kBytesRead)]: 0,
                          [Symbol(kBytesWritten)]: 0,
                          [Symbol(RequestTimeout)]: undefined
                        },
                        httpVersionMajor: 1,
                        httpVersionMinor: 1,
                        httpVersion: '1.1',
                        complete: false,
                        headers: {
                          connection: 'close',
                          'content-length': '1703',
                          'content-type': 'text/html; charset=utf-8'
                        },
                        rawHeaders: [
                          'Connection',
                          'close',
                          'Content-Length',
                          '1703',
                          'Content-Type',
                          'text/html; charset=utf-8'
                        ],
                        trailers: {},
                        rawTrailers: [],
                        aborted: false,
                        upgrade: false,
                        url: '',
                        method: null,
                        statusCode: 404,
                        statusMessage: 'Not Found',
                        client: Socket {
                          connecting: false,
                          _hadError: false,
                          _parent: null,
                          _host: null,
                          _readableState: [ReadableState],
                          _events: [Object: null prototype],
                          _eventsCount: 8,
                          _maxListeners: undefined,
                          _writableState: [WritableState],
                          allowHalfOpen: false,
                          _sockname: null,
                          _pendingData: null,
                          _pendingEncoding: '',
                          server: null,
                          _server: null,
                          parser: [HTTPParser],
                          _httpMessage: [ClientRequest],
                          [Symbol(async_id_symbol)]: 76,
                          [Symbol(kHandle)]: [TCP],
                          [Symbol(kSetNoDelay)]: false,
                          [Symbol(lastWriteQueueSize)]: 0,
                          [Symbol(timeout)]: null,
                          [Symbol(kBuffer)]: null,
                          [Symbol(kBufferCb)]: null,
                          [Symbol(kBufferGen)]: null,
                          [Symbol(kCapture)]: false,
                          [Symbol(kBytesRead)]: 0,
                          [Symbol(kBytesWritten)]: 0,
                          [Symbol(RequestTimeout)]: undefined
                        },
                        _consuming: true,
                        _dumped: false,
                        req: ClientRequest {
                          _events: [Object: null prototype],
                          _eventsCount: 2,
                          _maxListeners: undefined,
                          outputData: [],
                          outputSize: 0,
                          writable: true,
                          destroyed: false,
                          _last: true,
                          chunkedEncoding: false,
                          shouldKeepAlive: false,
                          _defaultKeepAlive: true,
                          useChunkedEncodingByDefault: false,
                          sendDate: false,
                          _removedConnection: false,
                          _removedContLen: false,
                          _removedTE: false,
                          _contentLength: 0,
                          _hasBody: true,
                          _trailer: '',
                          finished: true,
                          _headerSent: true,
                          socket: [Socket],
                          _header: 'GET /login_sid.lua&sid=fb4d114f7a108c5f HTTP/1.1\r\n' +
                            'Content-Type: application/x-www-form-urlencoded\r\n' +
                            'Host: 192.168.178.1\r\n' +
                            'Connection: close\r\n' +
                            '\r\n',
                          _keepAliveTimeout: 0,
                          _onPendingData: [Function: noopPendingOutput],
                          agent: [Agent],
                          socketPath: undefined,
                          method: 'GET',
                          maxHeaderSize: undefined,
                          insecureHTTPParser: undefined,
                          path: '/login_sid.lua&sid=fb4d114f7a108c5f',
                          _ended: false,
                          res: [Circular *1],
                          aborted: false,
                          timeoutCb: null,
                          upgradeOrConnect: false,
                          parser: [HTTPParser],
                          maxHeadersCount: null,
                          reusedSocket: false,
                          host: '192.168.178.1',
                          protocol: 'http:',
                          [Symbol(kCapture)]: false,
                          [Symbol(kNeedDrain)]: false,
                          [Symbol(corked)]: 0,
                          [Symbol(kOutHeaders)]: [Object: null prototype]
                        },
                        [Symbol(kCapture)]: false,
                        [Symbol(RequestTimeout)]: undefined
                      }
                    }
                    Fehler logout_SID {
                      msg: 'AHA request error',
                      function: 'fritzAHA_Request',
                      error: 404,
                      response: <ref *1> IncomingMessage {
                        _readableState: ReadableState {
                          objectMode: false,
                          highWaterMark: 16384,
                          buffer: BufferList { head: null, tail: null, length: 0 },
                          length: 0,
                          pipes: [],
                          flowing: true,
                          ended: false,
                          endEmitted: false,
                          reading: true,
                          sync: false,
                          needReadable: true,
                          emittedReadable: false,
                          readableListening: false,
                          resumeScheduled: false,
                          errorEmitted: false,
                          emitClose: true,
                          autoDestroy: false,
                          destroyed: false,
                          errored: null,
                          closed: false,
                          closeEmitted: false,
                          defaultEncoding: 'utf8',
                          awaitDrainWriters: null,
                          multiAwaitDrain: false,
                          readingMore: false,
                          dataEmitted: true,
                          decoder: [StringDecoder],
                          encoding: 'utf8',
                          [Symbol(kPaused)]: false
                        },
                        _events: [Object: null prototype] {
                          end: [Array],
                          data: [Function (anonymous)]
                        },
                        _eventsCount: 2,
                        _maxListeners: undefined,
                        socket: Socket {
                          connecting: false,
                          _hadError: false,
                          _parent: null,
                          _host: null,
                          _readableState: [ReadableState],
                          _events: [Object: null prototype],
                          _eventsCount: 8,
                          _maxListeners: undefined,
                          _writableState: [WritableState],
                          allowHalfOpen: false,
                          _sockname: null,
                          _pendingData: null,
                          _pendingEncoding: '',
                          server: null,
                          _server: null,
                          parser: [HTTPParser],
                          _httpMessage: [ClientRequest],
                          [Symbol(async_id_symbol)]: 85,
                          [Symbol(kHandle)]: [TCP],
                          [Symbol(kSetNoDelay)]: false,
                          [Symbol(lastWriteQueueSize)]: 0,
                          [Symbol(timeout)]: null,
                          [Symbol(kBuffer)]: null,
                          [Symbol(kBufferCb)]: null,
                          [Symbol(kBufferGen)]: null,
                          [Symbol(kCapture)]: false,
                          [Symbol(kBytesRead)]: 0,
                          [Symbol(kBytesWritten)]: 0,
                          [Symbol(RequestTimeout)]: undefined
                        },
                        httpVersionMajor: 1,
                        httpVersionMinor: 1,
                        httpVersion: '1.1',
                        complete: false,
                        headers: {
                          connection: 'close',
                          'content-length': '1703',
                          'content-type': 'text/html; charset=utf-8'
                        },
                        rawHeaders: [
                          'Connection',
                          'close',
                          'Content-Length',
                          '1703',
                          'Content-Type',
                          'text/html; charset=utf-8'
                        ],
                        trailers: {},
                        rawTrailers: [],
                        aborted: false,
                        upgrade: false,
                        url: '',
                        method: null,
                        statusCode: 404,
                        statusMessage: 'Not Found',
                        client: Socket {
                          connecting: false,
                          _hadError: false,
                          _parent: null,
                          _host: null,
                          _readableState: [ReadableState],
                          _events: [Object: null prototype],
                          _eventsCount: 8,
                          _maxListeners: undefined,
                          _writableState: [WritableState],
                          allowHalfOpen: false,
                          _sockname: null,
                          _pendingData: null,
                          _pendingEncoding: '',
                          server: null,
                          _server: null,
                          parser: [HTTPParser],
                          _httpMessage: [ClientRequest],
                          [Symbol(async_id_symbol)]: 85,
                          [Symbol(kHandle)]: [TCP],
                          [Symbol(kSetNoDelay)]: false,
                          [Symbol(lastWriteQueueSize)]: 0,
                          [Symbol(timeout)]: null,
                          [Symbol(kBuffer)]: null,
                          [Symbol(kBufferCb)]: null,
                          [Symbol(kBufferGen)]: null,
                          [Symbol(kCapture)]: false,
                          [Symbol(kBytesRead)]: 0,
                          [Symbol(kBytesWritten)]: 0,
                          [Symbol(RequestTimeout)]: undefined
                        },
                        _consuming: true,
                        _dumped: false,
                        req: ClientRequest {
                          _events: [Object: null prototype],
                          _eventsCount: 2,
                          _maxListeners: undefined,
                          outputData: [],
                          outputSize: 0,
                          writable: true,
                          destroyed: false,
                          _last: true,
                          chunkedEncoding: false,
                          shouldKeepAlive: false,
                          _defaultKeepAlive: true,
                          useChunkedEncodingByDefault: false,
                          sendDate: false,
                          _removedConnection: false,
                          _removedContLen: false,
                          _removedTE: false,
                          _contentLength: 0,
                          _hasBody: true,
                          _trailer: '',
                          finished: true,
                          _headerSent: true,
                          socket: [Socket],
                          _header: 'GET /login_sid.lua&sid=fb4d114f7a108c5f&logout=1 HTTP/1.1\r\n' +
                            'Content-Type: application/x-www-form-urlencoded\r\n' +
                            'Host: 192.168.178.1\r\n' +
                            'Connection: close\r\n' +
                            '\r\n',
                          _keepAliveTimeout: 0,
                          _onPendingData: [Function: noopPendingOutput],
                          agent: [Agent],
                          socketPath: undefined,
                          method: 'GET',
                          maxHeaderSize: undefined,
                          insecureHTTPParser: undefined,
                          path: '/login_sid.lua&sid=fb4d114f7a108c5f&logout=1',
                          _ended: false,
                          res: [Circular *1],
                          aborted: false,
                          timeoutCb: null,
                          upgradeOrConnect: false,
                          parser: [HTTPParser],
                          maxHeadersCount: null,
                          reusedSocket: false,
                          host: '192.168.178.1',
                          protocol: 'http:',
                          [Symbol(kCapture)]: false,
                          [Symbol(kNeedDrain)]: false,
                          [Symbol(corked)]: 0,
                          [Symbol(kOutHeaders)]: [Object: null prototype]
                        },
                        [Symbol(kCapture)]: false,
                        [Symbol(RequestTimeout)]: undefined
                      }
                    }
                    Devices<devicelist version="1"><device identifier="09995 1021163" id="19" functionbitmask="320" fwversion="04.97" manufacturer="AVM" productname="FRITZ!DECT 301"><present>1</present><name>Esszimmer rechts</name><battery>100</battery><batterylow>0</batterylow><temperature><celsius>245</celsius><offset>15</offset></temperature><hkr><tist>49</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><batterylow>0</batterylow><battery>100</battery><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr></device><group identifier="grp0710C6-3D328FB9B" id="900" functionbitmask="4160" fwversion="1.0" manufacturer="AVM" productname=""><present>1</present><name>Esszimmer</name><hkr><tist>0</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr><groupinfo><masterdeviceid>0</masterdeviceid><members>19,20</members></groupinfo></group><device identifier="09995 1020710" id="20" functionbitmask="320" fwversion="04.97" manufacturer="AVM" productname="FRITZ!DECT 301"><present>1</present><name>Esszimmer links</name><battery>100</battery><batterylow>0</batterylow><temperature><celsius>245</celsius><offset>10</offset></temperature><hkr><tist>49</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><batterylow>0</batterylow><battery>100</battery><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr></device><device identifier="09995 1022706" id="21" functionbitmask="320" fwversion="04.97" manufacturer="AVM" productname="FRITZ!DECT 301"><present>1</present><name>Wohnzimmer</name><battery>100</battery><batterylow>0</batterylow><temperature><celsius>240</celsius><offset>5</offset></temperature><hkr><tist>48</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><batterylow>0</batterylow><battery>100</battery><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr></device></devicelist>
                    Fehler logout_SID {
                      msg: 'AHA request error',
                      function: 'fritzAHA_Request',
                      error: 404,
                      response: <ref *1> IncomingMessage {
                        _readableState: ReadableState {
                          objectMode: false,
                          highWaterMark: 16384,
                          buffer: BufferList { head: null, tail: null, length: 0 },
                          length: 0,
                          pipes: [],
                          flowing: true,
                          ended: false,
                          endEmitted: false,
                          reading: true,
                          sync: false,
                          needReadable: true,
                          emittedReadable: false,
                          readableListening: false,
                          resumeScheduled: false,
                          errorEmitted: false,
                          emitClose: true,
                          autoDestroy: false,
                          destroyed: false,
                          errored: null,
                          closed: false,
                          closeEmitted: false,
                          defaultEncoding: 'utf8',
                          awaitDrainWriters: null,
                          multiAwaitDrain: false,
                          readingMore: false,
                          dataEmitted: true,
                          decoder: [StringDecoder],
                          encoding: 'utf8',
                          [Symbol(kPaused)]: false
                        },
                        _events: [Object: null prototype] {
                          end: [Array],
                          data: [Function (anonymous)]
                        },
                        _eventsCount: 2,
                        _maxListeners: undefined,
                        socket: Socket {
                          connecting: false,
                          _hadError: false,
                          _parent: null,
                          _host: null,
                          _readableState: [ReadableState],
                          _events: [Object: null prototype],
                          _eventsCount: 8,
                          _maxListeners: undefined,
                          _writableState: [WritableState],
                          allowHalfOpen: false,
                          _sockname: null,
                          _pendingData: null,
                          _pendingEncoding: '',
                          server: null,
                          _server: null,
                          parser: [HTTPParser],
                          _httpMessage: [ClientRequest],
                          [Symbol(async_id_symbol)]: 124,
                          [Symbol(kHandle)]: [TCP],
                          [Symbol(kSetNoDelay)]: false,
                          [Symbol(lastWriteQueueSize)]: 0,
                          [Symbol(timeout)]: null,
                          [Symbol(kBuffer)]: null,
                          [Symbol(kBufferCb)]: null,
                          [Symbol(kBufferGen)]: null,
                          [Symbol(kCapture)]: false,
                          [Symbol(kBytesRead)]: 0,
                          [Symbol(kBytesWritten)]: 0,
                          [Symbol(RequestTimeout)]: undefined
                        },
                        httpVersionMajor: 1,
                        httpVersionMinor: 1,
                        httpVersion: '1.1',
                        complete: false,
                        headers: {
                          connection: 'close',
                          'content-length': '1703',
                          'content-type': 'text/html; charset=utf-8'
                        },
                        rawHeaders: [
                          'Connection',
                          'close',
                          'Content-Length',
                          '1703',
                          'Content-Type',
                          'text/html; charset=utf-8'
                        ],
                        trailers: {},
                        rawTrailers: [],
                        aborted: false,
                        upgrade: false,
                        url: '',
                        method: null,
                        statusCode: 404,
                        statusMessage: 'Not Found',
                        client: Socket {
                          connecting: false,
                          _hadError: false,
                          _parent: null,
                          _host: null,
                          _readableState: [ReadableState],
                          _events: [Object: null prototype],
                          _eventsCount: 8,
                          _maxListeners: undefined,
                          _writableState: [WritableState],
                          allowHalfOpen: false,
                          _sockname: null,
                          _pendingData: null,
                          _pendingEncoding: '',
                          server: null,
                          _server: null,
                          parser: [HTTPParser],
                          _httpMessage: [ClientRequest],
                          [Symbol(async_id_symbol)]: 124,
                          [Symbol(kHandle)]: [TCP],
                          [Symbol(kSetNoDelay)]: false,
                          [Symbol(lastWriteQueueSize)]: 0,
                          [Symbol(timeout)]: null,
                          [Symbol(kBuffer)]: null,
                          [Symbol(kBufferCb)]: null,
                          [Symbol(kBufferGen)]: null,
                          [Symbol(kCapture)]: false,
                          [Symbol(kBytesRead)]: 0,
                          [Symbol(kBytesWritten)]: 0,
                          [Symbol(RequestTimeout)]: undefined
                        },
                        _consuming: true,
                        _dumped: false,
                        req: ClientRequest {
                          _events: [Object: null prototype],
                          _eventsCount: 2,
                          _maxListeners: undefined,
                          outputData: [],
                          outputSize: 0,
                          writable: true,
                          destroyed: false,
                          _last: true,
                          chunkedEncoding: false,
                          shouldKeepAlive: false,
                          _defaultKeepAlive: true,
                          useChunkedEncodingByDefault: false,
                          sendDate: false,
                          _removedConnection: false,
                          _removedContLen: false,
                          _removedTE: false,
                          _contentLength: 0,
                          _hasBody: true,
                          _trailer: '',
                          finished: true,
                          _headerSent: true,
                          socket: [Socket],
                          _header: 'GET /login_sid.lua&sid=fb4d114f7a108c5f&logout=1 HTTP/1.1\r\n' +
                            'Content-Type: application/x-www-form-urlencoded\r\n' +
                            'Host: 192.168.178.1\r\n' +
                            'Connection: close\r\n' +
                            '\r\n',
                          _keepAliveTimeout: 0,
                          _onPendingData: [Function: noopPendingOutput],
                          agent: [Agent],
                          socketPath: undefined,
                          method: 'GET',
                          maxHeaderSize: undefined,
                          insecureHTTPParser: undefined,
                          path: '/login_sid.lua&sid=fb4d114f7a108c5f&logout=1',
                          _ended: false,
                          res: [Circular *1],
                          aborted: false,
                          timeoutCb: null,
                          upgradeOrConnect: false,
                          parser: [HTTPParser],
                          maxHeadersCount: null,
                          reusedSocket: false,
                          host: '192.168.178.1',
                          protocol: 'http:',
                          [Symbol(kCapture)]: false,
                          [Symbol(kNeedDrain)]: false,
                          [Symbol(corked)]: 0,
                          [Symbol(kOutHeaders)]: [Object: null prototype]
                        },
                        [Symbol(kCapture)]: false,
                        [Symbol(RequestTimeout)]: undefined
                      }
                    }
                    pi@raspberrypi:/opt/iobroker/node_modules/iobroker.fritzdect/lib/fritz $
                    
                    

                    Gruß Markus

                    Markus HofbauerM F 2 Antworten Letzte Antwort
                    0
                    • Markus HofbauerM Markus Hofbauer

                      Hallo,
                      Habs jetzt anders eingegeben. Ohne Anführunsstriche.

                      pi@raspberrypi:/opt/iobroker/node_modules/iobroker.fritzdect/lib/fritz $  node testscript.js -u hofb1860 -p hongomax19 --url http://192.168.178.1
                      
                       Try to Login ...
                      
                      login sid  fb4d114f7a108c5f
                      login OK? :  true
                      
                       your devices
                      
                      ┌─────────┬─────────────────┬──────┬─────────────────┬───────────┬──────────────┬──────────────────┬─────────┬────────────────────┐
                      │ (index) │   identifier    │  id  │ functionbitmask │ fwversion │ manufacturer │   productname    │ present │        name        │
                      ├─────────┼─────────────────┼──────┼─────────────────┼───────────┼──────────────┼──────────────────┼─────────┼────────────────────┤
                      │    0    │ '09995 1021163' │ '19' │      '320'      │  '04.97'  │    'AVM'     │ 'FRITZ!DECT 301' │   '1'   │ 'Esszimmer rechts' │
                      │    1    │ '09995 1020710' │ '20' │      '320'      │  '04.97'  │    'AVM'     │ 'FRITZ!DECT 301' │   '1'   │ 'Esszimmer links'  │
                      │    2    │ '09995 1022706' │ '21' │      '320'      │  '04.97'  │    'AVM'     │ 'FRITZ!DECT 301' │   '1'   │    'Wohnzimmer'    │
                      └─────────┴─────────────────┴──────┴─────────────────┴───────────┴──────────────┴──────────────────┴─────────┴────────────────────┘
                      
                       your groups
                      
                      ┌─────────┬───────────────────────┬───────┬─────────────────┬───────────┬─────────┬─────────────┐
                      │ (index) │      identifier       │  id   │ functionbitmask │ fwversion │ present │    name     │
                      ├─────────┼───────────────────────┼───────┼─────────────────┼───────────┼─────────┼─────────────┤
                      │    0    │ 'grp0710C6-3D328FB9B' │ '900' │     '4160'      │   '1.0'   │   '1'   │ 'Esszimmer' │
                      └─────────┴───────────────────────┴───────┴─────────────────┴───────────┴─────────┴─────────────┘
                      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>
                      Fehler checkSID {
                        msg: 'AHA request error',
                        function: 'fritzAHA_Request',
                        error: 404,
                        response: <ref *1> IncomingMessage {
                          _readableState: ReadableState {
                            objectMode: false,
                            highWaterMark: 16384,
                            buffer: BufferList { head: null, tail: null, length: 0 },
                            length: 0,
                            pipes: [],
                            flowing: true,
                            ended: false,
                            endEmitted: false,
                            reading: true,
                            sync: false,
                            needReadable: true,
                            emittedReadable: false,
                            readableListening: false,
                            resumeScheduled: false,
                            errorEmitted: false,
                            emitClose: true,
                            autoDestroy: false,
                            destroyed: false,
                            errored: null,
                            closed: false,
                            closeEmitted: false,
                            defaultEncoding: 'utf8',
                            awaitDrainWriters: null,
                            multiAwaitDrain: false,
                            readingMore: false,
                            dataEmitted: true,
                            decoder: [StringDecoder],
                            encoding: 'utf8',
                            [Symbol(kPaused)]: false
                          },
                          _events: [Object: null prototype] {
                            end: [Array],
                            data: [Function (anonymous)]
                          },
                          _eventsCount: 2,
                          _maxListeners: undefined,
                          socket: Socket {
                            connecting: false,
                            _hadError: false,
                            _parent: null,
                            _host: null,
                            _readableState: [ReadableState],
                            _events: [Object: null prototype],
                            _eventsCount: 8,
                            _maxListeners: undefined,
                            _writableState: [WritableState],
                            allowHalfOpen: false,
                            _sockname: null,
                            _pendingData: null,
                            _pendingEncoding: '',
                            server: null,
                            _server: null,
                            parser: [HTTPParser],
                            _httpMessage: [ClientRequest],
                            [Symbol(async_id_symbol)]: 76,
                            [Symbol(kHandle)]: [TCP],
                            [Symbol(kSetNoDelay)]: false,
                            [Symbol(lastWriteQueueSize)]: 0,
                            [Symbol(timeout)]: null,
                            [Symbol(kBuffer)]: null,
                            [Symbol(kBufferCb)]: null,
                            [Symbol(kBufferGen)]: null,
                            [Symbol(kCapture)]: false,
                            [Symbol(kBytesRead)]: 0,
                            [Symbol(kBytesWritten)]: 0,
                            [Symbol(RequestTimeout)]: undefined
                          },
                          httpVersionMajor: 1,
                          httpVersionMinor: 1,
                          httpVersion: '1.1',
                          complete: false,
                          headers: {
                            connection: 'close',
                            'content-length': '1703',
                            'content-type': 'text/html; charset=utf-8'
                          },
                          rawHeaders: [
                            'Connection',
                            'close',
                            'Content-Length',
                            '1703',
                            'Content-Type',
                            'text/html; charset=utf-8'
                          ],
                          trailers: {},
                          rawTrailers: [],
                          aborted: false,
                          upgrade: false,
                          url: '',
                          method: null,
                          statusCode: 404,
                          statusMessage: 'Not Found',
                          client: Socket {
                            connecting: false,
                            _hadError: false,
                            _parent: null,
                            _host: null,
                            _readableState: [ReadableState],
                            _events: [Object: null prototype],
                            _eventsCount: 8,
                            _maxListeners: undefined,
                            _writableState: [WritableState],
                            allowHalfOpen: false,
                            _sockname: null,
                            _pendingData: null,
                            _pendingEncoding: '',
                            server: null,
                            _server: null,
                            parser: [HTTPParser],
                            _httpMessage: [ClientRequest],
                            [Symbol(async_id_symbol)]: 76,
                            [Symbol(kHandle)]: [TCP],
                            [Symbol(kSetNoDelay)]: false,
                            [Symbol(lastWriteQueueSize)]: 0,
                            [Symbol(timeout)]: null,
                            [Symbol(kBuffer)]: null,
                            [Symbol(kBufferCb)]: null,
                            [Symbol(kBufferGen)]: null,
                            [Symbol(kCapture)]: false,
                            [Symbol(kBytesRead)]: 0,
                            [Symbol(kBytesWritten)]: 0,
                            [Symbol(RequestTimeout)]: undefined
                          },
                          _consuming: true,
                          _dumped: false,
                          req: ClientRequest {
                            _events: [Object: null prototype],
                            _eventsCount: 2,
                            _maxListeners: undefined,
                            outputData: [],
                            outputSize: 0,
                            writable: true,
                            destroyed: false,
                            _last: true,
                            chunkedEncoding: false,
                            shouldKeepAlive: false,
                            _defaultKeepAlive: true,
                            useChunkedEncodingByDefault: false,
                            sendDate: false,
                            _removedConnection: false,
                            _removedContLen: false,
                            _removedTE: false,
                            _contentLength: 0,
                            _hasBody: true,
                            _trailer: '',
                            finished: true,
                            _headerSent: true,
                            socket: [Socket],
                            _header: 'GET /login_sid.lua&sid=fb4d114f7a108c5f HTTP/1.1\r\n' +
                              'Content-Type: application/x-www-form-urlencoded\r\n' +
                              'Host: 192.168.178.1\r\n' +
                              'Connection: close\r\n' +
                              '\r\n',
                            _keepAliveTimeout: 0,
                            _onPendingData: [Function: noopPendingOutput],
                            agent: [Agent],
                            socketPath: undefined,
                            method: 'GET',
                            maxHeaderSize: undefined,
                            insecureHTTPParser: undefined,
                            path: '/login_sid.lua&sid=fb4d114f7a108c5f',
                            _ended: false,
                            res: [Circular *1],
                            aborted: false,
                            timeoutCb: null,
                            upgradeOrConnect: false,
                            parser: [HTTPParser],
                            maxHeadersCount: null,
                            reusedSocket: false,
                            host: '192.168.178.1',
                            protocol: 'http:',
                            [Symbol(kCapture)]: false,
                            [Symbol(kNeedDrain)]: false,
                            [Symbol(corked)]: 0,
                            [Symbol(kOutHeaders)]: [Object: null prototype]
                          },
                          [Symbol(kCapture)]: false,
                          [Symbol(RequestTimeout)]: undefined
                        }
                      }
                      Fehler logout_SID {
                        msg: 'AHA request error',
                        function: 'fritzAHA_Request',
                        error: 404,
                        response: <ref *1> IncomingMessage {
                          _readableState: ReadableState {
                            objectMode: false,
                            highWaterMark: 16384,
                            buffer: BufferList { head: null, tail: null, length: 0 },
                            length: 0,
                            pipes: [],
                            flowing: true,
                            ended: false,
                            endEmitted: false,
                            reading: true,
                            sync: false,
                            needReadable: true,
                            emittedReadable: false,
                            readableListening: false,
                            resumeScheduled: false,
                            errorEmitted: false,
                            emitClose: true,
                            autoDestroy: false,
                            destroyed: false,
                            errored: null,
                            closed: false,
                            closeEmitted: false,
                            defaultEncoding: 'utf8',
                            awaitDrainWriters: null,
                            multiAwaitDrain: false,
                            readingMore: false,
                            dataEmitted: true,
                            decoder: [StringDecoder],
                            encoding: 'utf8',
                            [Symbol(kPaused)]: false
                          },
                          _events: [Object: null prototype] {
                            end: [Array],
                            data: [Function (anonymous)]
                          },
                          _eventsCount: 2,
                          _maxListeners: undefined,
                          socket: Socket {
                            connecting: false,
                            _hadError: false,
                            _parent: null,
                            _host: null,
                            _readableState: [ReadableState],
                            _events: [Object: null prototype],
                            _eventsCount: 8,
                            _maxListeners: undefined,
                            _writableState: [WritableState],
                            allowHalfOpen: false,
                            _sockname: null,
                            _pendingData: null,
                            _pendingEncoding: '',
                            server: null,
                            _server: null,
                            parser: [HTTPParser],
                            _httpMessage: [ClientRequest],
                            [Symbol(async_id_symbol)]: 85,
                            [Symbol(kHandle)]: [TCP],
                            [Symbol(kSetNoDelay)]: false,
                            [Symbol(lastWriteQueueSize)]: 0,
                            [Symbol(timeout)]: null,
                            [Symbol(kBuffer)]: null,
                            [Symbol(kBufferCb)]: null,
                            [Symbol(kBufferGen)]: null,
                            [Symbol(kCapture)]: false,
                            [Symbol(kBytesRead)]: 0,
                            [Symbol(kBytesWritten)]: 0,
                            [Symbol(RequestTimeout)]: undefined
                          },
                          httpVersionMajor: 1,
                          httpVersionMinor: 1,
                          httpVersion: '1.1',
                          complete: false,
                          headers: {
                            connection: 'close',
                            'content-length': '1703',
                            'content-type': 'text/html; charset=utf-8'
                          },
                          rawHeaders: [
                            'Connection',
                            'close',
                            'Content-Length',
                            '1703',
                            'Content-Type',
                            'text/html; charset=utf-8'
                          ],
                          trailers: {},
                          rawTrailers: [],
                          aborted: false,
                          upgrade: false,
                          url: '',
                          method: null,
                          statusCode: 404,
                          statusMessage: 'Not Found',
                          client: Socket {
                            connecting: false,
                            _hadError: false,
                            _parent: null,
                            _host: null,
                            _readableState: [ReadableState],
                            _events: [Object: null prototype],
                            _eventsCount: 8,
                            _maxListeners: undefined,
                            _writableState: [WritableState],
                            allowHalfOpen: false,
                            _sockname: null,
                            _pendingData: null,
                            _pendingEncoding: '',
                            server: null,
                            _server: null,
                            parser: [HTTPParser],
                            _httpMessage: [ClientRequest],
                            [Symbol(async_id_symbol)]: 85,
                            [Symbol(kHandle)]: [TCP],
                            [Symbol(kSetNoDelay)]: false,
                            [Symbol(lastWriteQueueSize)]: 0,
                            [Symbol(timeout)]: null,
                            [Symbol(kBuffer)]: null,
                            [Symbol(kBufferCb)]: null,
                            [Symbol(kBufferGen)]: null,
                            [Symbol(kCapture)]: false,
                            [Symbol(kBytesRead)]: 0,
                            [Symbol(kBytesWritten)]: 0,
                            [Symbol(RequestTimeout)]: undefined
                          },
                          _consuming: true,
                          _dumped: false,
                          req: ClientRequest {
                            _events: [Object: null prototype],
                            _eventsCount: 2,
                            _maxListeners: undefined,
                            outputData: [],
                            outputSize: 0,
                            writable: true,
                            destroyed: false,
                            _last: true,
                            chunkedEncoding: false,
                            shouldKeepAlive: false,
                            _defaultKeepAlive: true,
                            useChunkedEncodingByDefault: false,
                            sendDate: false,
                            _removedConnection: false,
                            _removedContLen: false,
                            _removedTE: false,
                            _contentLength: 0,
                            _hasBody: true,
                            _trailer: '',
                            finished: true,
                            _headerSent: true,
                            socket: [Socket],
                            _header: 'GET /login_sid.lua&sid=fb4d114f7a108c5f&logout=1 HTTP/1.1\r\n' +
                              'Content-Type: application/x-www-form-urlencoded\r\n' +
                              'Host: 192.168.178.1\r\n' +
                              'Connection: close\r\n' +
                              '\r\n',
                            _keepAliveTimeout: 0,
                            _onPendingData: [Function: noopPendingOutput],
                            agent: [Agent],
                            socketPath: undefined,
                            method: 'GET',
                            maxHeaderSize: undefined,
                            insecureHTTPParser: undefined,
                            path: '/login_sid.lua&sid=fb4d114f7a108c5f&logout=1',
                            _ended: false,
                            res: [Circular *1],
                            aborted: false,
                            timeoutCb: null,
                            upgradeOrConnect: false,
                            parser: [HTTPParser],
                            maxHeadersCount: null,
                            reusedSocket: false,
                            host: '192.168.178.1',
                            protocol: 'http:',
                            [Symbol(kCapture)]: false,
                            [Symbol(kNeedDrain)]: false,
                            [Symbol(corked)]: 0,
                            [Symbol(kOutHeaders)]: [Object: null prototype]
                          },
                          [Symbol(kCapture)]: false,
                          [Symbol(RequestTimeout)]: undefined
                        }
                      }
                      Devices<devicelist version="1"><device identifier="09995 1021163" id="19" functionbitmask="320" fwversion="04.97" manufacturer="AVM" productname="FRITZ!DECT 301"><present>1</present><name>Esszimmer rechts</name><battery>100</battery><batterylow>0</batterylow><temperature><celsius>245</celsius><offset>15</offset></temperature><hkr><tist>49</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><batterylow>0</batterylow><battery>100</battery><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr></device><group identifier="grp0710C6-3D328FB9B" id="900" functionbitmask="4160" fwversion="1.0" manufacturer="AVM" productname=""><present>1</present><name>Esszimmer</name><hkr><tist>0</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr><groupinfo><masterdeviceid>0</masterdeviceid><members>19,20</members></groupinfo></group><device identifier="09995 1020710" id="20" functionbitmask="320" fwversion="04.97" manufacturer="AVM" productname="FRITZ!DECT 301"><present>1</present><name>Esszimmer links</name><battery>100</battery><batterylow>0</batterylow><temperature><celsius>245</celsius><offset>10</offset></temperature><hkr><tist>49</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><batterylow>0</batterylow><battery>100</battery><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr></device><device identifier="09995 1022706" id="21" functionbitmask="320" fwversion="04.97" manufacturer="AVM" productname="FRITZ!DECT 301"><present>1</present><name>Wohnzimmer</name><battery>100</battery><batterylow>0</batterylow><temperature><celsius>240</celsius><offset>5</offset></temperature><hkr><tist>48</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><batterylow>0</batterylow><battery>100</battery><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr></device></devicelist>
                      Fehler logout_SID {
                        msg: 'AHA request error',
                        function: 'fritzAHA_Request',
                        error: 404,
                        response: <ref *1> IncomingMessage {
                          _readableState: ReadableState {
                            objectMode: false,
                            highWaterMark: 16384,
                            buffer: BufferList { head: null, tail: null, length: 0 },
                            length: 0,
                            pipes: [],
                            flowing: true,
                            ended: false,
                            endEmitted: false,
                            reading: true,
                            sync: false,
                            needReadable: true,
                            emittedReadable: false,
                            readableListening: false,
                            resumeScheduled: false,
                            errorEmitted: false,
                            emitClose: true,
                            autoDestroy: false,
                            destroyed: false,
                            errored: null,
                            closed: false,
                            closeEmitted: false,
                            defaultEncoding: 'utf8',
                            awaitDrainWriters: null,
                            multiAwaitDrain: false,
                            readingMore: false,
                            dataEmitted: true,
                            decoder: [StringDecoder],
                            encoding: 'utf8',
                            [Symbol(kPaused)]: false
                          },
                          _events: [Object: null prototype] {
                            end: [Array],
                            data: [Function (anonymous)]
                          },
                          _eventsCount: 2,
                          _maxListeners: undefined,
                          socket: Socket {
                            connecting: false,
                            _hadError: false,
                            _parent: null,
                            _host: null,
                            _readableState: [ReadableState],
                            _events: [Object: null prototype],
                            _eventsCount: 8,
                            _maxListeners: undefined,
                            _writableState: [WritableState],
                            allowHalfOpen: false,
                            _sockname: null,
                            _pendingData: null,
                            _pendingEncoding: '',
                            server: null,
                            _server: null,
                            parser: [HTTPParser],
                            _httpMessage: [ClientRequest],
                            [Symbol(async_id_symbol)]: 124,
                            [Symbol(kHandle)]: [TCP],
                            [Symbol(kSetNoDelay)]: false,
                            [Symbol(lastWriteQueueSize)]: 0,
                            [Symbol(timeout)]: null,
                            [Symbol(kBuffer)]: null,
                            [Symbol(kBufferCb)]: null,
                            [Symbol(kBufferGen)]: null,
                            [Symbol(kCapture)]: false,
                            [Symbol(kBytesRead)]: 0,
                            [Symbol(kBytesWritten)]: 0,
                            [Symbol(RequestTimeout)]: undefined
                          },
                          httpVersionMajor: 1,
                          httpVersionMinor: 1,
                          httpVersion: '1.1',
                          complete: false,
                          headers: {
                            connection: 'close',
                            'content-length': '1703',
                            'content-type': 'text/html; charset=utf-8'
                          },
                          rawHeaders: [
                            'Connection',
                            'close',
                            'Content-Length',
                            '1703',
                            'Content-Type',
                            'text/html; charset=utf-8'
                          ],
                          trailers: {},
                          rawTrailers: [],
                          aborted: false,
                          upgrade: false,
                          url: '',
                          method: null,
                          statusCode: 404,
                          statusMessage: 'Not Found',
                          client: Socket {
                            connecting: false,
                            _hadError: false,
                            _parent: null,
                            _host: null,
                            _readableState: [ReadableState],
                            _events: [Object: null prototype],
                            _eventsCount: 8,
                            _maxListeners: undefined,
                            _writableState: [WritableState],
                            allowHalfOpen: false,
                            _sockname: null,
                            _pendingData: null,
                            _pendingEncoding: '',
                            server: null,
                            _server: null,
                            parser: [HTTPParser],
                            _httpMessage: [ClientRequest],
                            [Symbol(async_id_symbol)]: 124,
                            [Symbol(kHandle)]: [TCP],
                            [Symbol(kSetNoDelay)]: false,
                            [Symbol(lastWriteQueueSize)]: 0,
                            [Symbol(timeout)]: null,
                            [Symbol(kBuffer)]: null,
                            [Symbol(kBufferCb)]: null,
                            [Symbol(kBufferGen)]: null,
                            [Symbol(kCapture)]: false,
                            [Symbol(kBytesRead)]: 0,
                            [Symbol(kBytesWritten)]: 0,
                            [Symbol(RequestTimeout)]: undefined
                          },
                          _consuming: true,
                          _dumped: false,
                          req: ClientRequest {
                            _events: [Object: null prototype],
                            _eventsCount: 2,
                            _maxListeners: undefined,
                            outputData: [],
                            outputSize: 0,
                            writable: true,
                            destroyed: false,
                            _last: true,
                            chunkedEncoding: false,
                            shouldKeepAlive: false,
                            _defaultKeepAlive: true,
                            useChunkedEncodingByDefault: false,
                            sendDate: false,
                            _removedConnection: false,
                            _removedContLen: false,
                            _removedTE: false,
                            _contentLength: 0,
                            _hasBody: true,
                            _trailer: '',
                            finished: true,
                            _headerSent: true,
                            socket: [Socket],
                            _header: 'GET /login_sid.lua&sid=fb4d114f7a108c5f&logout=1 HTTP/1.1\r\n' +
                              'Content-Type: application/x-www-form-urlencoded\r\n' +
                              'Host: 192.168.178.1\r\n' +
                              'Connection: close\r\n' +
                              '\r\n',
                            _keepAliveTimeout: 0,
                            _onPendingData: [Function: noopPendingOutput],
                            agent: [Agent],
                            socketPath: undefined,
                            method: 'GET',
                            maxHeaderSize: undefined,
                            insecureHTTPParser: undefined,
                            path: '/login_sid.lua&sid=fb4d114f7a108c5f&logout=1',
                            _ended: false,
                            res: [Circular *1],
                            aborted: false,
                            timeoutCb: null,
                            upgradeOrConnect: false,
                            parser: [HTTPParser],
                            maxHeadersCount: null,
                            reusedSocket: false,
                            host: '192.168.178.1',
                            protocol: 'http:',
                            [Symbol(kCapture)]: false,
                            [Symbol(kNeedDrain)]: false,
                            [Symbol(corked)]: 0,
                            [Symbol(kOutHeaders)]: [Object: null prototype]
                          },
                          [Symbol(kCapture)]: false,
                          [Symbol(RequestTimeout)]: undefined
                        }
                      }
                      pi@raspberrypi:/opt/iobroker/node_modules/iobroker.fritzdect/lib/fritz $
                      
                      

                      Gruß Markus

                      Markus HofbauerM Offline
                      Markus HofbauerM Offline
                      Markus Hofbauer
                      schrieb am zuletzt editiert von
                      #62

                      Hallo,
                      hab jetzt noch mal die letzte Version von Github installiert. Jetzt scheint es zu funktionieren.
                      Gruß Markus

                      F 1 Antwort Letzte Antwort
                      0
                      • Markus HofbauerM Markus Hofbauer

                        Hallo,
                        Habs jetzt anders eingegeben. Ohne Anführunsstriche.

                        pi@raspberrypi:/opt/iobroker/node_modules/iobroker.fritzdect/lib/fritz $  node testscript.js -u hofb1860 -p hongomax19 --url http://192.168.178.1
                        
                         Try to Login ...
                        
                        login sid  fb4d114f7a108c5f
                        login OK? :  true
                        
                         your devices
                        
                        ┌─────────┬─────────────────┬──────┬─────────────────┬───────────┬──────────────┬──────────────────┬─────────┬────────────────────┐
                        │ (index) │   identifier    │  id  │ functionbitmask │ fwversion │ manufacturer │   productname    │ present │        name        │
                        ├─────────┼─────────────────┼──────┼─────────────────┼───────────┼──────────────┼──────────────────┼─────────┼────────────────────┤
                        │    0    │ '09995 1021163' │ '19' │      '320'      │  '04.97'  │    'AVM'     │ 'FRITZ!DECT 301' │   '1'   │ 'Esszimmer rechts' │
                        │    1    │ '09995 1020710' │ '20' │      '320'      │  '04.97'  │    'AVM'     │ 'FRITZ!DECT 301' │   '1'   │ 'Esszimmer links'  │
                        │    2    │ '09995 1022706' │ '21' │      '320'      │  '04.97'  │    'AVM'     │ 'FRITZ!DECT 301' │   '1'   │    'Wohnzimmer'    │
                        └─────────┴─────────────────┴──────┴─────────────────┴───────────┴──────────────┴──────────────────┴─────────┴────────────────────┘
                        
                         your groups
                        
                        ┌─────────┬───────────────────────┬───────┬─────────────────┬───────────┬─────────┬─────────────┐
                        │ (index) │      identifier       │  id   │ functionbitmask │ fwversion │ present │    name     │
                        ├─────────┼───────────────────────┼───────┼─────────────────┼───────────┼─────────┼─────────────┤
                        │    0    │ 'grp0710C6-3D328FB9B' │ '900' │     '4160'      │   '1.0'   │   '1'   │ 'Esszimmer' │
                        └─────────┴───────────────────────┴───────┴─────────────────┴───────────┴─────────┴─────────────┘
                        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>
                        Fehler checkSID {
                          msg: 'AHA request error',
                          function: 'fritzAHA_Request',
                          error: 404,
                          response: <ref *1> IncomingMessage {
                            _readableState: ReadableState {
                              objectMode: false,
                              highWaterMark: 16384,
                              buffer: BufferList { head: null, tail: null, length: 0 },
                              length: 0,
                              pipes: [],
                              flowing: true,
                              ended: false,
                              endEmitted: false,
                              reading: true,
                              sync: false,
                              needReadable: true,
                              emittedReadable: false,
                              readableListening: false,
                              resumeScheduled: false,
                              errorEmitted: false,
                              emitClose: true,
                              autoDestroy: false,
                              destroyed: false,
                              errored: null,
                              closed: false,
                              closeEmitted: false,
                              defaultEncoding: 'utf8',
                              awaitDrainWriters: null,
                              multiAwaitDrain: false,
                              readingMore: false,
                              dataEmitted: true,
                              decoder: [StringDecoder],
                              encoding: 'utf8',
                              [Symbol(kPaused)]: false
                            },
                            _events: [Object: null prototype] {
                              end: [Array],
                              data: [Function (anonymous)]
                            },
                            _eventsCount: 2,
                            _maxListeners: undefined,
                            socket: Socket {
                              connecting: false,
                              _hadError: false,
                              _parent: null,
                              _host: null,
                              _readableState: [ReadableState],
                              _events: [Object: null prototype],
                              _eventsCount: 8,
                              _maxListeners: undefined,
                              _writableState: [WritableState],
                              allowHalfOpen: false,
                              _sockname: null,
                              _pendingData: null,
                              _pendingEncoding: '',
                              server: null,
                              _server: null,
                              parser: [HTTPParser],
                              _httpMessage: [ClientRequest],
                              [Symbol(async_id_symbol)]: 76,
                              [Symbol(kHandle)]: [TCP],
                              [Symbol(kSetNoDelay)]: false,
                              [Symbol(lastWriteQueueSize)]: 0,
                              [Symbol(timeout)]: null,
                              [Symbol(kBuffer)]: null,
                              [Symbol(kBufferCb)]: null,
                              [Symbol(kBufferGen)]: null,
                              [Symbol(kCapture)]: false,
                              [Symbol(kBytesRead)]: 0,
                              [Symbol(kBytesWritten)]: 0,
                              [Symbol(RequestTimeout)]: undefined
                            },
                            httpVersionMajor: 1,
                            httpVersionMinor: 1,
                            httpVersion: '1.1',
                            complete: false,
                            headers: {
                              connection: 'close',
                              'content-length': '1703',
                              'content-type': 'text/html; charset=utf-8'
                            },
                            rawHeaders: [
                              'Connection',
                              'close',
                              'Content-Length',
                              '1703',
                              'Content-Type',
                              'text/html; charset=utf-8'
                            ],
                            trailers: {},
                            rawTrailers: [],
                            aborted: false,
                            upgrade: false,
                            url: '',
                            method: null,
                            statusCode: 404,
                            statusMessage: 'Not Found',
                            client: Socket {
                              connecting: false,
                              _hadError: false,
                              _parent: null,
                              _host: null,
                              _readableState: [ReadableState],
                              _events: [Object: null prototype],
                              _eventsCount: 8,
                              _maxListeners: undefined,
                              _writableState: [WritableState],
                              allowHalfOpen: false,
                              _sockname: null,
                              _pendingData: null,
                              _pendingEncoding: '',
                              server: null,
                              _server: null,
                              parser: [HTTPParser],
                              _httpMessage: [ClientRequest],
                              [Symbol(async_id_symbol)]: 76,
                              [Symbol(kHandle)]: [TCP],
                              [Symbol(kSetNoDelay)]: false,
                              [Symbol(lastWriteQueueSize)]: 0,
                              [Symbol(timeout)]: null,
                              [Symbol(kBuffer)]: null,
                              [Symbol(kBufferCb)]: null,
                              [Symbol(kBufferGen)]: null,
                              [Symbol(kCapture)]: false,
                              [Symbol(kBytesRead)]: 0,
                              [Symbol(kBytesWritten)]: 0,
                              [Symbol(RequestTimeout)]: undefined
                            },
                            _consuming: true,
                            _dumped: false,
                            req: ClientRequest {
                              _events: [Object: null prototype],
                              _eventsCount: 2,
                              _maxListeners: undefined,
                              outputData: [],
                              outputSize: 0,
                              writable: true,
                              destroyed: false,
                              _last: true,
                              chunkedEncoding: false,
                              shouldKeepAlive: false,
                              _defaultKeepAlive: true,
                              useChunkedEncodingByDefault: false,
                              sendDate: false,
                              _removedConnection: false,
                              _removedContLen: false,
                              _removedTE: false,
                              _contentLength: 0,
                              _hasBody: true,
                              _trailer: '',
                              finished: true,
                              _headerSent: true,
                              socket: [Socket],
                              _header: 'GET /login_sid.lua&sid=fb4d114f7a108c5f HTTP/1.1\r\n' +
                                'Content-Type: application/x-www-form-urlencoded\r\n' +
                                'Host: 192.168.178.1\r\n' +
                                'Connection: close\r\n' +
                                '\r\n',
                              _keepAliveTimeout: 0,
                              _onPendingData: [Function: noopPendingOutput],
                              agent: [Agent],
                              socketPath: undefined,
                              method: 'GET',
                              maxHeaderSize: undefined,
                              insecureHTTPParser: undefined,
                              path: '/login_sid.lua&sid=fb4d114f7a108c5f',
                              _ended: false,
                              res: [Circular *1],
                              aborted: false,
                              timeoutCb: null,
                              upgradeOrConnect: false,
                              parser: [HTTPParser],
                              maxHeadersCount: null,
                              reusedSocket: false,
                              host: '192.168.178.1',
                              protocol: 'http:',
                              [Symbol(kCapture)]: false,
                              [Symbol(kNeedDrain)]: false,
                              [Symbol(corked)]: 0,
                              [Symbol(kOutHeaders)]: [Object: null prototype]
                            },
                            [Symbol(kCapture)]: false,
                            [Symbol(RequestTimeout)]: undefined
                          }
                        }
                        Fehler logout_SID {
                          msg: 'AHA request error',
                          function: 'fritzAHA_Request',
                          error: 404,
                          response: <ref *1> IncomingMessage {
                            _readableState: ReadableState {
                              objectMode: false,
                              highWaterMark: 16384,
                              buffer: BufferList { head: null, tail: null, length: 0 },
                              length: 0,
                              pipes: [],
                              flowing: true,
                              ended: false,
                              endEmitted: false,
                              reading: true,
                              sync: false,
                              needReadable: true,
                              emittedReadable: false,
                              readableListening: false,
                              resumeScheduled: false,
                              errorEmitted: false,
                              emitClose: true,
                              autoDestroy: false,
                              destroyed: false,
                              errored: null,
                              closed: false,
                              closeEmitted: false,
                              defaultEncoding: 'utf8',
                              awaitDrainWriters: null,
                              multiAwaitDrain: false,
                              readingMore: false,
                              dataEmitted: true,
                              decoder: [StringDecoder],
                              encoding: 'utf8',
                              [Symbol(kPaused)]: false
                            },
                            _events: [Object: null prototype] {
                              end: [Array],
                              data: [Function (anonymous)]
                            },
                            _eventsCount: 2,
                            _maxListeners: undefined,
                            socket: Socket {
                              connecting: false,
                              _hadError: false,
                              _parent: null,
                              _host: null,
                              _readableState: [ReadableState],
                              _events: [Object: null prototype],
                              _eventsCount: 8,
                              _maxListeners: undefined,
                              _writableState: [WritableState],
                              allowHalfOpen: false,
                              _sockname: null,
                              _pendingData: null,
                              _pendingEncoding: '',
                              server: null,
                              _server: null,
                              parser: [HTTPParser],
                              _httpMessage: [ClientRequest],
                              [Symbol(async_id_symbol)]: 85,
                              [Symbol(kHandle)]: [TCP],
                              [Symbol(kSetNoDelay)]: false,
                              [Symbol(lastWriteQueueSize)]: 0,
                              [Symbol(timeout)]: null,
                              [Symbol(kBuffer)]: null,
                              [Symbol(kBufferCb)]: null,
                              [Symbol(kBufferGen)]: null,
                              [Symbol(kCapture)]: false,
                              [Symbol(kBytesRead)]: 0,
                              [Symbol(kBytesWritten)]: 0,
                              [Symbol(RequestTimeout)]: undefined
                            },
                            httpVersionMajor: 1,
                            httpVersionMinor: 1,
                            httpVersion: '1.1',
                            complete: false,
                            headers: {
                              connection: 'close',
                              'content-length': '1703',
                              'content-type': 'text/html; charset=utf-8'
                            },
                            rawHeaders: [
                              'Connection',
                              'close',
                              'Content-Length',
                              '1703',
                              'Content-Type',
                              'text/html; charset=utf-8'
                            ],
                            trailers: {},
                            rawTrailers: [],
                            aborted: false,
                            upgrade: false,
                            url: '',
                            method: null,
                            statusCode: 404,
                            statusMessage: 'Not Found',
                            client: Socket {
                              connecting: false,
                              _hadError: false,
                              _parent: null,
                              _host: null,
                              _readableState: [ReadableState],
                              _events: [Object: null prototype],
                              _eventsCount: 8,
                              _maxListeners: undefined,
                              _writableState: [WritableState],
                              allowHalfOpen: false,
                              _sockname: null,
                              _pendingData: null,
                              _pendingEncoding: '',
                              server: null,
                              _server: null,
                              parser: [HTTPParser],
                              _httpMessage: [ClientRequest],
                              [Symbol(async_id_symbol)]: 85,
                              [Symbol(kHandle)]: [TCP],
                              [Symbol(kSetNoDelay)]: false,
                              [Symbol(lastWriteQueueSize)]: 0,
                              [Symbol(timeout)]: null,
                              [Symbol(kBuffer)]: null,
                              [Symbol(kBufferCb)]: null,
                              [Symbol(kBufferGen)]: null,
                              [Symbol(kCapture)]: false,
                              [Symbol(kBytesRead)]: 0,
                              [Symbol(kBytesWritten)]: 0,
                              [Symbol(RequestTimeout)]: undefined
                            },
                            _consuming: true,
                            _dumped: false,
                            req: ClientRequest {
                              _events: [Object: null prototype],
                              _eventsCount: 2,
                              _maxListeners: undefined,
                              outputData: [],
                              outputSize: 0,
                              writable: true,
                              destroyed: false,
                              _last: true,
                              chunkedEncoding: false,
                              shouldKeepAlive: false,
                              _defaultKeepAlive: true,
                              useChunkedEncodingByDefault: false,
                              sendDate: false,
                              _removedConnection: false,
                              _removedContLen: false,
                              _removedTE: false,
                              _contentLength: 0,
                              _hasBody: true,
                              _trailer: '',
                              finished: true,
                              _headerSent: true,
                              socket: [Socket],
                              _header: 'GET /login_sid.lua&sid=fb4d114f7a108c5f&logout=1 HTTP/1.1\r\n' +
                                'Content-Type: application/x-www-form-urlencoded\r\n' +
                                'Host: 192.168.178.1\r\n' +
                                'Connection: close\r\n' +
                                '\r\n',
                              _keepAliveTimeout: 0,
                              _onPendingData: [Function: noopPendingOutput],
                              agent: [Agent],
                              socketPath: undefined,
                              method: 'GET',
                              maxHeaderSize: undefined,
                              insecureHTTPParser: undefined,
                              path: '/login_sid.lua&sid=fb4d114f7a108c5f&logout=1',
                              _ended: false,
                              res: [Circular *1],
                              aborted: false,
                              timeoutCb: null,
                              upgradeOrConnect: false,
                              parser: [HTTPParser],
                              maxHeadersCount: null,
                              reusedSocket: false,
                              host: '192.168.178.1',
                              protocol: 'http:',
                              [Symbol(kCapture)]: false,
                              [Symbol(kNeedDrain)]: false,
                              [Symbol(corked)]: 0,
                              [Symbol(kOutHeaders)]: [Object: null prototype]
                            },
                            [Symbol(kCapture)]: false,
                            [Symbol(RequestTimeout)]: undefined
                          }
                        }
                        Devices<devicelist version="1"><device identifier="09995 1021163" id="19" functionbitmask="320" fwversion="04.97" manufacturer="AVM" productname="FRITZ!DECT 301"><present>1</present><name>Esszimmer rechts</name><battery>100</battery><batterylow>0</batterylow><temperature><celsius>245</celsius><offset>15</offset></temperature><hkr><tist>49</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><batterylow>0</batterylow><battery>100</battery><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr></device><group identifier="grp0710C6-3D328FB9B" id="900" functionbitmask="4160" fwversion="1.0" manufacturer="AVM" productname=""><present>1</present><name>Esszimmer</name><hkr><tist>0</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr><groupinfo><masterdeviceid>0</masterdeviceid><members>19,20</members></groupinfo></group><device identifier="09995 1020710" id="20" functionbitmask="320" fwversion="04.97" manufacturer="AVM" productname="FRITZ!DECT 301"><present>1</present><name>Esszimmer links</name><battery>100</battery><batterylow>0</batterylow><temperature><celsius>245</celsius><offset>10</offset></temperature><hkr><tist>49</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><batterylow>0</batterylow><battery>100</battery><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr></device><device identifier="09995 1022706" id="21" functionbitmask="320" fwversion="04.97" manufacturer="AVM" productname="FRITZ!DECT 301"><present>1</present><name>Wohnzimmer</name><battery>100</battery><batterylow>0</batterylow><temperature><celsius>240</celsius><offset>5</offset></temperature><hkr><tist>48</tist><tsoll>48</tsoll><absenk>36</absenk><komfort>48</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><windowopenactiv>0</windowopenactiv><batterylow>0</batterylow><battery>100</battery><nextchange><endperiod>1643050800</endperiod><tchange>36</tchange></nextchange><summeractive>0</summeractive><holidayactive>0</holidayactive></hkr></device></devicelist>
                        Fehler logout_SID {
                          msg: 'AHA request error',
                          function: 'fritzAHA_Request',
                          error: 404,
                          response: <ref *1> IncomingMessage {
                            _readableState: ReadableState {
                              objectMode: false,
                              highWaterMark: 16384,
                              buffer: BufferList { head: null, tail: null, length: 0 },
                              length: 0,
                              pipes: [],
                              flowing: true,
                              ended: false,
                              endEmitted: false,
                              reading: true,
                              sync: false,
                              needReadable: true,
                              emittedReadable: false,
                              readableListening: false,
                              resumeScheduled: false,
                              errorEmitted: false,
                              emitClose: true,
                              autoDestroy: false,
                              destroyed: false,
                              errored: null,
                              closed: false,
                              closeEmitted: false,
                              defaultEncoding: 'utf8',
                              awaitDrainWriters: null,
                              multiAwaitDrain: false,
                              readingMore: false,
                              dataEmitted: true,
                              decoder: [StringDecoder],
                              encoding: 'utf8',
                              [Symbol(kPaused)]: false
                            },
                            _events: [Object: null prototype] {
                              end: [Array],
                              data: [Function (anonymous)]
                            },
                            _eventsCount: 2,
                            _maxListeners: undefined,
                            socket: Socket {
                              connecting: false,
                              _hadError: false,
                              _parent: null,
                              _host: null,
                              _readableState: [ReadableState],
                              _events: [Object: null prototype],
                              _eventsCount: 8,
                              _maxListeners: undefined,
                              _writableState: [WritableState],
                              allowHalfOpen: false,
                              _sockname: null,
                              _pendingData: null,
                              _pendingEncoding: '',
                              server: null,
                              _server: null,
                              parser: [HTTPParser],
                              _httpMessage: [ClientRequest],
                              [Symbol(async_id_symbol)]: 124,
                              [Symbol(kHandle)]: [TCP],
                              [Symbol(kSetNoDelay)]: false,
                              [Symbol(lastWriteQueueSize)]: 0,
                              [Symbol(timeout)]: null,
                              [Symbol(kBuffer)]: null,
                              [Symbol(kBufferCb)]: null,
                              [Symbol(kBufferGen)]: null,
                              [Symbol(kCapture)]: false,
                              [Symbol(kBytesRead)]: 0,
                              [Symbol(kBytesWritten)]: 0,
                              [Symbol(RequestTimeout)]: undefined
                            },
                            httpVersionMajor: 1,
                            httpVersionMinor: 1,
                            httpVersion: '1.1',
                            complete: false,
                            headers: {
                              connection: 'close',
                              'content-length': '1703',
                              'content-type': 'text/html; charset=utf-8'
                            },
                            rawHeaders: [
                              'Connection',
                              'close',
                              'Content-Length',
                              '1703',
                              'Content-Type',
                              'text/html; charset=utf-8'
                            ],
                            trailers: {},
                            rawTrailers: [],
                            aborted: false,
                            upgrade: false,
                            url: '',
                            method: null,
                            statusCode: 404,
                            statusMessage: 'Not Found',
                            client: Socket {
                              connecting: false,
                              _hadError: false,
                              _parent: null,
                              _host: null,
                              _readableState: [ReadableState],
                              _events: [Object: null prototype],
                              _eventsCount: 8,
                              _maxListeners: undefined,
                              _writableState: [WritableState],
                              allowHalfOpen: false,
                              _sockname: null,
                              _pendingData: null,
                              _pendingEncoding: '',
                              server: null,
                              _server: null,
                              parser: [HTTPParser],
                              _httpMessage: [ClientRequest],
                              [Symbol(async_id_symbol)]: 124,
                              [Symbol(kHandle)]: [TCP],
                              [Symbol(kSetNoDelay)]: false,
                              [Symbol(lastWriteQueueSize)]: 0,
                              [Symbol(timeout)]: null,
                              [Symbol(kBuffer)]: null,
                              [Symbol(kBufferCb)]: null,
                              [Symbol(kBufferGen)]: null,
                              [Symbol(kCapture)]: false,
                              [Symbol(kBytesRead)]: 0,
                              [Symbol(kBytesWritten)]: 0,
                              [Symbol(RequestTimeout)]: undefined
                            },
                            _consuming: true,
                            _dumped: false,
                            req: ClientRequest {
                              _events: [Object: null prototype],
                              _eventsCount: 2,
                              _maxListeners: undefined,
                              outputData: [],
                              outputSize: 0,
                              writable: true,
                              destroyed: false,
                              _last: true,
                              chunkedEncoding: false,
                              shouldKeepAlive: false,
                              _defaultKeepAlive: true,
                              useChunkedEncodingByDefault: false,
                              sendDate: false,
                              _removedConnection: false,
                              _removedContLen: false,
                              _removedTE: false,
                              _contentLength: 0,
                              _hasBody: true,
                              _trailer: '',
                              finished: true,
                              _headerSent: true,
                              socket: [Socket],
                              _header: 'GET /login_sid.lua&sid=fb4d114f7a108c5f&logout=1 HTTP/1.1\r\n' +
                                'Content-Type: application/x-www-form-urlencoded\r\n' +
                                'Host: 192.168.178.1\r\n' +
                                'Connection: close\r\n' +
                                '\r\n',
                              _keepAliveTimeout: 0,
                              _onPendingData: [Function: noopPendingOutput],
                              agent: [Agent],
                              socketPath: undefined,
                              method: 'GET',
                              maxHeaderSize: undefined,
                              insecureHTTPParser: undefined,
                              path: '/login_sid.lua&sid=fb4d114f7a108c5f&logout=1',
                              _ended: false,
                              res: [Circular *1],
                              aborted: false,
                              timeoutCb: null,
                              upgradeOrConnect: false,
                              parser: [HTTPParser],
                              maxHeadersCount: null,
                              reusedSocket: false,
                              host: '192.168.178.1',
                              protocol: 'http:',
                              [Symbol(kCapture)]: false,
                              [Symbol(kNeedDrain)]: false,
                              [Symbol(corked)]: 0,
                              [Symbol(kOutHeaders)]: [Object: null prototype]
                            },
                            [Symbol(kCapture)]: false,
                            [Symbol(RequestTimeout)]: undefined
                          }
                        }
                        pi@raspberrypi:/opt/iobroker/node_modules/iobroker.fritzdect/lib/fritz $
                        
                        

                        Gruß Markus

                        F Offline
                        F Offline
                        foxthefox
                        Developer
                        schrieb am zuletzt editiert von
                        #63

                        @markus-hofbauer
                        Das hilft auf jeden Fall weiter, die xml-Antwort muß ich mal anschauen und die andere Meldung ist interpretationswürdig. Gibt mir aber mindestens eine Idee wo ich suchen kann.
                        Die FB verwendet noch den alten Login Mechanismus und da ist mir ggf. bei der großen Änderung ab 2.2.x etwas durchgerutscht.

                        Immerhin zeigt das Bildchen, daß grundsätzlich ein login möglich ist und auch die Berechtigungen für Smarthome richtig sind.

                        Gruß
                        Klaus

                        Adapterüberblick: Profil Github;

                        Wenn der Adapter gefällt und nützlich ist, bitte ins Repo gehen und Star setzen. Danke

                        Ein Aufruf: video

                        1 Antwort Letzte Antwort
                        0
                        • Markus HofbauerM Markus Hofbauer

                          Hallo,
                          hab jetzt noch mal die letzte Version von Github installiert. Jetzt scheint es zu funktionieren.
                          Gruß Markus

                          F Offline
                          F Offline
                          foxthefox
                          Developer
                          schrieb am zuletzt editiert von
                          #64

                          @markus-hofbauer sagte in Probleme mit FritzDect Adapter:

                          Hallo,
                          hab jetzt noch mal die letzte Version von Github installiert. Jetzt scheint es zu funktionieren.
                          Gruß Markus

                          das dachte ich mir schon, daß es damit gehen sollte. Habe ja die Umwandlung von xml nach json auskommentiert.
                          Grundsätzlich funktioniert ja login und der Zugriff.
                          Evtl. mal noch ein Kommando probieren, nicht das das Lesen von der FB geht und Schreiben ist noch ein Bug drin.

                          Gruß
                          Klaus

                          Adapterüberblick: Profil Github;

                          Wenn der Adapter gefällt und nützlich ist, bitte ins Repo gehen und Star setzen. Danke

                          Ein Aufruf: video

                          Markus HofbauerM K F 3 Antworten Letzte Antwort
                          0
                          • F foxthefox

                            @markus-hofbauer sagte in Probleme mit FritzDect Adapter:

                            Hallo,
                            hab jetzt noch mal die letzte Version von Github installiert. Jetzt scheint es zu funktionieren.
                            Gruß Markus

                            das dachte ich mir schon, daß es damit gehen sollte. Habe ja die Umwandlung von xml nach json auskommentiert.
                            Grundsätzlich funktioniert ja login und der Zugriff.
                            Evtl. mal noch ein Kommando probieren, nicht das das Lesen von der FB geht und Schreiben ist noch ein Bug drin.

                            Gruß
                            Klaus

                            Markus HofbauerM Offline
                            Markus HofbauerM Offline
                            Markus Hofbauer
                            schrieb am zuletzt editiert von
                            #65

                            @foxthefox Hallo,
                            zur Zeit scheint alles zu funktionieren. Kann steuern und Temperaturen werden aktualisiert.
                            Vielen Dank für die Hilfe und die Arbeit.
                            Gruß Markus

                            1 Antwort Letzte Antwort
                            0
                            • F foxthefox

                              @markus-hofbauer sagte in Probleme mit FritzDect Adapter:

                              Hallo,
                              hab jetzt noch mal die letzte Version von Github installiert. Jetzt scheint es zu funktionieren.
                              Gruß Markus

                              das dachte ich mir schon, daß es damit gehen sollte. Habe ja die Umwandlung von xml nach json auskommentiert.
                              Grundsätzlich funktioniert ja login und der Zugriff.
                              Evtl. mal noch ein Kommando probieren, nicht das das Lesen von der FB geht und Schreiben ist noch ein Bug drin.

                              Gruß
                              Klaus

                              K Offline
                              K Offline
                              kamikazemimmi
                              schrieb am zuletzt editiert von
                              #66

                              @foxthefox
                              ok - dann werde ich die github Version auch noch mal probieren... Wir hatten letztes Jahr im Sommer schon Probleme, Update mit fritzdect zu machen und letztendlich bin ich dann auf Version 0.2.4 (hab ich in der Console mit npm installiert) zurück gegangen. Gestern hatten wir aber js-controller und npm aktualisiert und dann eben auch alle Adapter (war glaub ich 2.2.3) - aber lief nicht. Da ich heute wenig Zeit zum Rumprobieren hatte, hab ich erst mal wieder 0.2.4 installiert, und Heizungen lassen sich grad wieder steuern.
                              Ich teste die Tage auch noch mal - mal sehen, ob ich vielleicht eine neue eigene Maschine mach... Mal sehen. Berichte hier dann auch, wenn das ok ist - oder soll ich lieber einen eigenen Post machen ? Finde gesammelte Infos eigentlich immer schöner, aber ist ja Geschmackssache
                              LG
                              Melanie

                              F 1 Antwort Letzte Antwort
                              0
                              • K kamikazemimmi

                                @foxthefox
                                ok - dann werde ich die github Version auch noch mal probieren... Wir hatten letztes Jahr im Sommer schon Probleme, Update mit fritzdect zu machen und letztendlich bin ich dann auf Version 0.2.4 (hab ich in der Console mit npm installiert) zurück gegangen. Gestern hatten wir aber js-controller und npm aktualisiert und dann eben auch alle Adapter (war glaub ich 2.2.3) - aber lief nicht. Da ich heute wenig Zeit zum Rumprobieren hatte, hab ich erst mal wieder 0.2.4 installiert, und Heizungen lassen sich grad wieder steuern.
                                Ich teste die Tage auch noch mal - mal sehen, ob ich vielleicht eine neue eigene Maschine mach... Mal sehen. Berichte hier dann auch, wenn das ok ist - oder soll ich lieber einen eigenen Post machen ? Finde gesammelte Infos eigentlich immer schöner, aber ist ja Geschmackssache
                                LG
                                Melanie

                                F Offline
                                F Offline
                                frankyboy73
                                schrieb am zuletzt editiert von frankyboy73
                                #67

                                @kamikazemimmi Hi, ich glaube seit der Version 2.0 heißen die Datenpunkte (Objekte) anders, bzw. es werden neue angelegt und die alten funktionieren nicht mehr. Das musst du in deiner Logik (je nach dem was du nutzt, Blockly, Javascrip oder NodeRed) anpassen und die alten dann eventuell löschen.
                                Siehe hier:
                                https://forum.iobroker.net/topic/40485/test-adapter-adapter-fritzdect-v2-1-x-github?_=1643126487921

                                Schöne Grüße Frank

                                K 2 Antworten Letzte Antwort
                                0
                                • F frankyboy73

                                  @kamikazemimmi Hi, ich glaube seit der Version 2.0 heißen die Datenpunkte (Objekte) anders, bzw. es werden neue angelegt und die alten funktionieren nicht mehr. Das musst du in deiner Logik (je nach dem was du nutzt, Blockly, Javascrip oder NodeRed) anpassen und die alten dann eventuell löschen.
                                  Siehe hier:
                                  https://forum.iobroker.net/topic/40485/test-adapter-adapter-fritzdect-v2-1-x-github?_=1643126487921

                                  K Offline
                                  K Offline
                                  kamikazemimmi
                                  schrieb am zuletzt editiert von
                                  #68

                                  @frankyboy73 Danke für den Tipp. Das kann natürlich unser Fehler sein.

                                  1 Antwort Letzte Antwort
                                  0
                                  • F frankyboy73

                                    @kamikazemimmi Hi, ich glaube seit der Version 2.0 heißen die Datenpunkte (Objekte) anders, bzw. es werden neue angelegt und die alten funktionieren nicht mehr. Das musst du in deiner Logik (je nach dem was du nutzt, Blockly, Javascrip oder NodeRed) anpassen und die alten dann eventuell löschen.
                                    Siehe hier:
                                    https://forum.iobroker.net/topic/40485/test-adapter-adapter-fritzdect-v2-1-x-github?_=1643126487921

                                    K Offline
                                    K Offline
                                    kamikazemimmi
                                    schrieb am zuletzt editiert von
                                    #69

                                    @frankyboy73 Also haben eben die Version aus Git installiert - und es war so, wie du beschrieben hast: es gab auch neue Objekte... Da hatten wir nicht geguckt. Die alten funktionierten halt nicht, wir sind nicht über neue gestolpert...
                                    Jetzt die neuen Objekte in unserer Umgebung angepasst (Vis, Scripte usw...) - und aktuell läuft es. Danke für den Hinweis !!!

                                    1 Antwort Letzte Antwort
                                    0
                                    • F foxthefox

                                      @markus-hofbauer sagte in Probleme mit FritzDect Adapter:

                                      Hallo,
                                      hab jetzt noch mal die letzte Version von Github installiert. Jetzt scheint es zu funktionieren.
                                      Gruß Markus

                                      das dachte ich mir schon, daß es damit gehen sollte. Habe ja die Umwandlung von xml nach json auskommentiert.
                                      Grundsätzlich funktioniert ja login und der Zugriff.
                                      Evtl. mal noch ein Kommando probieren, nicht das das Lesen von der FB geht und Schreiben ist noch ein Bug drin.

                                      Gruß
                                      Klaus

                                      F Offline
                                      F Offline
                                      foxthefox
                                      Developer
                                      schrieb am zuletzt editiert von
                                      #70

                                      @foxthefox
                                      es gibt eine weiterentwickelte Version die das verkorkste xml nun korrekt umwandelt und ein paar erweiterte Fehlerabfangmethoden.
                                      Wenn möglich, bitte testen und berichten,
                                      Danke

                                      Adapterüberblick: Profil Github;

                                      Wenn der Adapter gefällt und nützlich ist, bitte ins Repo gehen und Star setzen. Danke

                                      Ein Aufruf: video

                                      F 1 Antwort Letzte Antwort
                                      0
                                      • F foxthefox

                                        @foxthefox
                                        es gibt eine weiterentwickelte Version die das verkorkste xml nun korrekt umwandelt und ein paar erweiterte Fehlerabfangmethoden.
                                        Wenn möglich, bitte testen und berichten,
                                        Danke

                                        F Offline
                                        F Offline
                                        frankyboy73
                                        schrieb am zuletzt editiert von frankyboy73
                                        #71

                                        @foxthefox Hi, die Meldungen "has to be type Number, but received string habe ich immer noch"
                                        Was ich etwas komisch finde, ist das mir bei den Adapter immer noch installierte Version 2.2.3 angezeigt wird, im Log steht bein Start aber starting Version 2.2.5

                                        
                                        fritzdect.0
                                        2022-01-28 16:21:25.472	info	State value to set for "fritzdect.0.DECT_119600221368.lasttarget" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:25.434	info	State value to set for "fritzdect.0.DECT_119600221368.tsoll" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:25.371	info	going over to cyclic polling, messages to poll activity only in debug-mode
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:25.371	info	finished initial updating devices/groups
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:24.495	info	start initial updating devices/groups
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:24.493	info	finished creating templates (if any)
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:24.024	info	start creating templates
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:24.024	info	finished creating devices/groups (if any)
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:24.013	info	State value to set for "fritzdect.0.DECT_119600221368.boostactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:24.012	info	State value to set for "fritzdect.0.DECT_119600221368.windowopenactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:24.006	info	State value to set for "fritzdect.0.DECT_119621022208.boostactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.959	info	State value to set for "fritzdect.0.DECT_119621022208.windowopenactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.947	info	State value to set for "fritzdect.0.DECT_099950697379.boostactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.946	info	State value to set for "fritzdect.0.DECT_099950697379.windowopenactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.945	info	State value to set for "fritzdect.0.DECT_119600824952.boostactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.929	info	setting up thermostat nextchange
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.916	info	State value to set for "fritzdect.0.DECT_119600824952.windowopenactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.915	info	State value to set for "fritzdect.0.DECT_119600808296.boostactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.914	info	State value to set for "fritzdect.0.DECT_119600808296.windowopenactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.913	info	State value to set for "fritzdect.0.DECT_099951017547.boostactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.913	info	State value to set for "fritzdect.0.DECT_099951017547.windowopenactivetime" has to be type "number" but received type "string"
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.897	info	setting up thermostat nextchange
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.882	info	setting up thermostat nextchange
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.862	info	setting up thermostat nextchange
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.857	info	setting up thermostat nextchange
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.839	info	setting up thermostat nextchange
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.817	info	setting up levelcontrol
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.809	info	setting up blind
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.798	info	setting up alert
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.705	info	setting up thermostat
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.703	info	setting up thermostat
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.702	info	setting up thermostat
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.698	info	setting up thermostat
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.697	info	setting up thermostat
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.692	info	setting up thermostat
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.674	info	setting up temperature
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.673	info	setting up temperature
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.655	info	setting up temperature
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.650	info	setting up temperature
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.648	info	setting up temperature
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.623	info	setting up temperature
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.531	info	CREATE Devices 8
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.216	info	start creating devices/groups
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.215	info	the rights are : {"Rights":{"Name":["Dial","App","HomeAuto","BoxAdmin","Phone"],"Access":["2","2","2","2","2"]}}
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.210	info	raw perm =>[object Object]
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:23.020	info	checking user permissions
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:22.418	info	fritzdect uses USER: dect
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:22.381	info	fritzdect entered ready
                                        
                                        fritzdect.0
                                        2022-01-28 16:21:22.317	info	starting. Version 2.2.5 in /opt/iobroker/node_modules/iobroker.fritzdect, node: v14.18.3, js-controller: 3.3.22
                                        host.raspberrypi
                                        2022-01-28 16:21:20.717	info	instance system.adapter.fritzdect.0 started with pid 15340
                                        host.raspberrypi
                                        2022-01-28 16:21:20.586	info	"system.adapter.fritzdect.0" enabled
                                        host.raspberrypi
                                        2022-01-28 16:20:52.104	info	instance system.adapter.fritzdect.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                        

                                        Fritz8.jpg

                                        Edit: Objektbaum hatte ich auch noch mal gelöscht, keine Änderung.
                                        Nachdem ich jetzt, noch mal per mpn installiert habe, (vorher hatte ich von Git installiert) wird jetzt auch bei den Adaptern die Installierte Version als 2.2.5 angezeigt.

                                        Schöne Grüße Frank

                                        F 1 Antwort Letzte Antwort
                                        0
                                        • F frankyboy73

                                          @foxthefox Hi, die Meldungen "has to be type Number, but received string habe ich immer noch"
                                          Was ich etwas komisch finde, ist das mir bei den Adapter immer noch installierte Version 2.2.3 angezeigt wird, im Log steht bein Start aber starting Version 2.2.5

                                          
                                          fritzdect.0
                                          2022-01-28 16:21:25.472	info	State value to set for "fritzdect.0.DECT_119600221368.lasttarget" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:25.434	info	State value to set for "fritzdect.0.DECT_119600221368.tsoll" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:25.371	info	going over to cyclic polling, messages to poll activity only in debug-mode
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:25.371	info	finished initial updating devices/groups
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:24.495	info	start initial updating devices/groups
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:24.493	info	finished creating templates (if any)
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:24.024	info	start creating templates
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:24.024	info	finished creating devices/groups (if any)
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:24.013	info	State value to set for "fritzdect.0.DECT_119600221368.boostactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:24.012	info	State value to set for "fritzdect.0.DECT_119600221368.windowopenactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:24.006	info	State value to set for "fritzdect.0.DECT_119621022208.boostactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.959	info	State value to set for "fritzdect.0.DECT_119621022208.windowopenactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.947	info	State value to set for "fritzdect.0.DECT_099950697379.boostactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.946	info	State value to set for "fritzdect.0.DECT_099950697379.windowopenactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.945	info	State value to set for "fritzdect.0.DECT_119600824952.boostactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.929	info	setting up thermostat nextchange
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.916	info	State value to set for "fritzdect.0.DECT_119600824952.windowopenactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.915	info	State value to set for "fritzdect.0.DECT_119600808296.boostactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.914	info	State value to set for "fritzdect.0.DECT_119600808296.windowopenactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.913	info	State value to set for "fritzdect.0.DECT_099951017547.boostactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.913	info	State value to set for "fritzdect.0.DECT_099951017547.windowopenactivetime" has to be type "number" but received type "string"
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.897	info	setting up thermostat nextchange
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.882	info	setting up thermostat nextchange
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.862	info	setting up thermostat nextchange
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.857	info	setting up thermostat nextchange
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.839	info	setting up thermostat nextchange
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.817	info	setting up levelcontrol
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.809	info	setting up blind
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.798	info	setting up alert
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.705	info	setting up thermostat
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.703	info	setting up thermostat
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.702	info	setting up thermostat
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.698	info	setting up thermostat
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.697	info	setting up thermostat
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.692	info	setting up thermostat
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.674	info	setting up temperature
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.673	info	setting up temperature
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.655	info	setting up temperature
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.650	info	setting up temperature
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.648	info	setting up temperature
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.623	info	setting up temperature
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.531	info	CREATE Devices 8
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.216	info	start creating devices/groups
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.215	info	the rights are : {"Rights":{"Name":["Dial","App","HomeAuto","BoxAdmin","Phone"],"Access":["2","2","2","2","2"]}}
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.210	info	raw perm =>[object Object]
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:23.020	info	checking user permissions
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:22.418	info	fritzdect uses USER: dect
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:22.381	info	fritzdect entered ready
                                          
                                          fritzdect.0
                                          2022-01-28 16:21:22.317	info	starting. Version 2.2.5 in /opt/iobroker/node_modules/iobroker.fritzdect, node: v14.18.3, js-controller: 3.3.22
                                          host.raspberrypi
                                          2022-01-28 16:21:20.717	info	instance system.adapter.fritzdect.0 started with pid 15340
                                          host.raspberrypi
                                          2022-01-28 16:21:20.586	info	"system.adapter.fritzdect.0" enabled
                                          host.raspberrypi
                                          2022-01-28 16:20:52.104	info	instance system.adapter.fritzdect.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                          

                                          Fritz8.jpg

                                          Edit: Objektbaum hatte ich auch noch mal gelöscht, keine Änderung.
                                          Nachdem ich jetzt, noch mal per mpn installiert habe, (vorher hatte ich von Git installiert) wird jetzt auch bei den Adaptern die Installierte Version als 2.2.5 angezeigt.

                                          F Offline
                                          F Offline
                                          foxthefox
                                          Developer
                                          schrieb am zuletzt editiert von
                                          #72

                                          @frankyboy73
                                          das könnte mit der admin Oberfläche zusammenhängen, die ja Standardwerte vergibt, wenn keine Altwerte bekannt sind (wie nach Objketbaumlöschen). Das hatte ich auch schon mit 2.2.4 gefixt, daß die admin Einstellungen als Zahlen übergeben werden.

                                          iobroker upload fritzdect
                                          

                                          lädt admin noch mal nach.

                                          was mich bloß wundert, npm=2.2.3 und git ist 2.2.5, wie kann bei npm Installation dies mit 2.2.5.
                                          wenn also noch die 2.2.3 läuft, dann geht der Fehler nicht weg.
                                          Ich empfehle nochmal git zu nehmen und mit obigen Befehl das Admin erneuern.

                                          Gruß
                                          Klaus

                                          Adapterüberblick: Profil Github;

                                          Wenn der Adapter gefällt und nützlich ist, bitte ins Repo gehen und Star setzen. Danke

                                          Ein Aufruf: video

                                          F Michael SchmittM 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          549

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe