NEWS
Probleme mit FritzDect Adapter
-
@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ß Markusdas 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 -
@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 -
@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 -
@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 -
@frankyboy73 Danke für den Tipp. Das kann natürlich unser Fehler sein.
-
@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 !!! -
@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 -
@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.5fritzdect.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)
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. -
@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 -
@foxthefox Hi, bin jetzt noch erst wieder auf die 2.2.3 zurückgegangen. Habe dann über Git die installiert, 2,2,5, den Admin erneuert, Installierte Version wird jetzt auch als 2.2.5 angezeigt. Gestartete Version wird auch als 2.2.5 angezeigt. Allerdings bekomme ich die Meldungen "has to be type number but received type string" bei jedem Neustart der Instanz. Wenn die nur beim Neustart kommt ist mir das auch egal, hauptsache es funktioniert alles und so wie es aussieht, tut es das.
fritzdect.0 2022-01-28 17:39:25.682 info going over to cyclic polling, messages to poll activity only in debug-mode fritzdect.0 2022-01-28 17:39:25.682 info finished initial updating devices/groups fritzdect.0 2022-01-28 17:39:24.807 info start initial updating devices/groups fritzdect.0 2022-01-28 17:39:24.807 info finished creating templates (if any) fritzdect.0 2022-01-28 17:39:24.550 info start creating templates fritzdect.0 2022-01-28 17:39:24.549 info finished creating devices/groups (if any) fritzdect.0 2022-01-28 17:39:24.491 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 17:39:24.489 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 17:39:24.440 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 17:39:24.428 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 17:39:24.415 info setting up thermostat nextchange fritzdect.0 2022-01-28 17:39:24.408 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 17:39:24.408 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 17:39:24.407 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 17:39:24.406 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 17:39:24.405 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 17:39:24.404 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 17:39:24.394 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 17:39:24.390 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 17:39:24.374 info setting up thermostat nextchange fritzdect.0 2022-01-28 17:39:24.369 info setting up thermostat nextchange fritzdect.0 2022-01-28 17:39:24.360 info setting up thermostat nextchange fritzdect.0 2022-01-28 17:39:24.347 info setting up thermostat nextchange fritzdect.0 2022-01-28 17:39:24.332 info setting up thermostat nextchange fritzdect.0 2022-01-28 17:39:24.308 info setting up levelcontrol fritzdect.0 2022-01-28 17:39:24.291 info setting up blind fritzdect.0 2022-01-28 17:39:24.284 info setting up alert fritzdect.0 2022-01-28 17:39:24.215 info setting up thermostat fritzdect.0 2022-01-28 17:39:24.209 info setting up thermostat fritzdect.0 2022-01-28 17:39:24.207 info setting up thermostat fritzdect.0 2022-01-28 17:39:24.205 info setting up thermostat fritzdect.0 2022-01-28 17:39:24.201 info setting up thermostat fritzdect.0 2022-01-28 17:39:24.198 info setting up thermostat fritzdect.0 2022-01-28 17:39:24.193 info setting up temperature fritzdect.0 2022-01-28 17:39:24.179 info setting up temperature fritzdect.0 2022-01-28 17:39:24.177 info setting up temperature fritzdect.0 2022-01-28 17:39:24.174 info setting up temperature fritzdect.0 2022-01-28 17:39:24.168 info setting up temperature fritzdect.0 2022-01-28 17:39:24.164 info setting up temperature fritzdect.0 2022-01-28 17:39:24.080 info CREATE Devices 8 fritzdect.0 2022-01-28 17:39:23.784 info start creating devices/groups fritzdect.0 2022-01-28 17:39:23.783 info the rights are : {"Rights":{"Name":["Dial","App","HomeAuto","BoxAdmin","Phone"],"Access":["2","2","2","2","2"]}} fritzdect.0 2022-01-28 17:39:23.779 info raw perm =>[object Object] fritzdect.0 2022-01-28 17:39:23.597 info checking user permissions fritzdect.0 2022-01-28 17:39:22.984 info fritzdect uses USER: dect fritzdect.0 2022-01-28 17:39:22.933 info fritzdect entered ready fritzdect.0 2022-01-28 17:39:22.895 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 17:39:21.332 info instance system.adapter.fritzdect.0 started with pid 31899 host.raspberrypi 2022-01-28 17:39:18.779 info instance system.adapter.fritzdect.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) host.raspberrypi 2022-01-28 17:39:18.219 info stopInstance system.adapter.fritzdect.0 send kill signal
-
@foxthefox
es kamen ein paar Warnungen (warn)host.raspberrypi 2022-01-28 17:42:44.218 info instance system.adapter.fritzdect.0 started with pid 2174 host.raspberrypi 2022-01-28 17:42:43.961 info "system.adapter.fritzdect.0" enabled javascript.0 2022-01-28 17:42:24.924 info script.js.common.Bewegungsmelder.FLUR_BEWEGUNG: Bewegung im Flur erkannt und Licht ein javascript.0 2022-01-28 17:42:20.429 info script.js.common.Tür_Fenster_Sensoren.Wohnungstüre: telegram['Michael']: Wohnungstür wurde geschlossen ! javascript.0 2022-01-28 17:42:14.509 info script.js.common.Bewegungsmelder.FLUR_BEWEGUNG: Bewegung im Flur erkannt und Licht ein javascript.0 2022-01-28 17:42:12.843 info script.js.common.Tür_Fenster_Sensoren.Wohnungstüre: telegram['Michael']: Wohnungstür wurde geöffnet ! host.raspberrypi 2022-01-28 17:41:21.547 info iobroker exit 0 host.raspberrypi 2022-01-28 17:41:20.481 info iobroker host.raspberrypi object system.adapter.fritzdect.0 created host.raspberrypi 2022-01-28 17:41:20.432 info iobroker host.raspberrypi object system.adapter.fritzdect.0.alive created host.raspberrypi 2022-01-28 17:41:20.392 info iobroker host.raspberrypi object system.adapter.fritzdect.0.connected created host.raspberrypi 2022-01-28 17:41:20.355 info iobroker host.raspberrypi object system.adapter.fritzdect.0.compactMode created host.raspberrypi 2022-01-28 17:41:20.322 info iobroker host.raspberrypi object system.adapter.fritzdect.0.cpu created host.raspberrypi 2022-01-28 17:41:20.289 info iobroker host.raspberrypi object system.adapter.fritzdect.0.cputime created host.raspberrypi 2022-01-28 17:41:20.255 info iobroker host.raspberrypi object system.adapter.fritzdect.0.memHeapUsed created host.raspberrypi 2022-01-28 17:41:20.222 info iobroker host.raspberrypi object system.adapter.fritzdect.0.memHeapTotal created host.raspberrypi 2022-01-28 17:41:20.180 info iobroker host.raspberrypi object system.adapter.fritzdect.0.memRss created host.raspberrypi 2022-01-28 17:41:20.138 info iobroker host.raspberrypi object system.adapter.fritzdect.0.uptime created host.raspberrypi 2022-01-28 17:41:20.099 info iobroker host.raspberrypi object system.adapter.fritzdect.0.inputCount created host.raspberrypi 2022-01-28 17:41:20.062 info iobroker host.raspberrypi object system.adapter.fritzdect.0.outputCount created host.raspberrypi 2022-01-28 17:41:20.024 info iobroker host.raspberrypi object system.adapter.fritzdect.0.eventLoopLag created host.raspberrypi 2022-01-28 17:41:19.987 info iobroker host.raspberrypi object system.adapter.fritzdect.0.sigKill created host.raspberrypi 2022-01-28 17:41:19.951 info iobroker host.raspberrypi object system.adapter.fritzdect.0.logLevel created host.raspberrypi 2022-01-28 17:41:19.935 info iobroker host.raspberrypi create instance fritzdect host.raspberrypi 2022-01-28 17:41:17.856 info iobroker add fritzdect 0 --host raspberrypi host.raspberrypi 2022-01-28 17:40:11.839 info iobroker exit 0 host.raspberrypi 2022-01-28 17:40:10.712 info iobroker upload [0] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/admin.d.ts admin.d.ts video/mp2t host.raspberrypi 2022-01-28 17:40:10.653 info iobroker upload [1] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/fritzdect_logo.png fritzdect_logo.png image/png host.raspberrypi 2022-01-28 17:40:10.594 info iobroker upload [2] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/index_m.html index_m.html text/html host.raspberrypi 2022-01-28 17:40:10.536 info iobroker upload [3] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/style.css style.css text/css host.raspberrypi 2022-01-28 17:40:10.443 info iobroker upload [4] fritzdect.admin /opt/iobroker/node_modules/iobroker.fritzdect/admin/words.js words.js application/javascript host.raspberrypi 2022-01-28 17:40:10.373 info iobroker 60 packages are looking for funding run `npm fund` for details javascript.0 2022-01-28 17:40:10.180 info script.js.common.Bewegungsmelder.BAD_BEWEGUNG: Bad Licht aus host.raspberrypi 2022-01-28 17:40:08.999 info iobroker + iobroker.fritzdect@2.2.5added 23 packages from 10 contributors in 17.345s host.raspberrypi 2022-01-28 17:40:08.994 info iobroker host.raspberrypi 2022-01-28 17:40:08.992 info iobroker npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) host.raspberrypi 2022-01-28 17:40:08.954 info iobroker npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"}) host.raspberrypi 2022-01-28 17:39:50.120 info iobroker npm install foxthefox/ioBroker.fritzdect#c25e37c0054aab94b58c5fd1903c1ab681fdb96e --prefix "/opt/iobroker" (System call) host.raspberrypi 2022-01-28 17:39:50.117 info iobroker NPM version: 6.14.15 host.raspberrypi 2022-01-28 17:39:49.435 info iobroker install foxthefox/ioBroker.fritzdect#c25e37c0054aab94b58c5fd1903c1ab681fdb96e
EDIT: aber es scheint alles normal zu laufen. Ich werde das mal paar Tage testen und berichten.
-
@frankyboy73 sagte in Probleme mit FritzDect Adapter:
@foxthefox Hi, bin jetzt noch erst wieder auf die 2.2.3 zurückgegangen. Habe dann über Git die installiert, 2,2,5, den Admin erneuert, Installierte Version wird jetzt auch als 2.2.5 angezeigt. Gestartete Version wird auch als 2.2.5 angezeigt. Allerdings bekomme ich die Meldungen "has to be type number but received type string" bei jedem Neustart der Instanz. Wenn die nur beim Neustart kommt ist mir das auch egal, hauptsache es funktioniert alles und so wie es aussieht, tut es das.
diese Meldungen sind nur beim Neustart und hängen mit der admin-Einstellung zusammen (was mit 2.2.4 behoben war).
irgendwie ist die Adapter-admin Seite noch auf alten Stand -
@foxthefox Hi, keine Ahnung was du damit meinst das die Admin Seite noch auf alten Stand ist. Admin ist bei mir 5.2.3. und es sind ja Eintragungen im Log/Protokoll. Ich halte eigentlich so weit es geht alles aktuell. Ungefähr alle 2 Wochen ein Systemupdate inkl. Neustart.
sudo apt update sudo apt dist-upgrade sudo reboot
Gerade erst am Wochenanfang gemacht, auch alle Adapter sind bei mir sonst auf stable akuell, nur den FritzDECT habe ich jetzt von Git am laufen. Zum testen eben.
Er läuft ja auch Problemlos. Die Meldungen beim Start stören mich persönlich auch nicht, ich wollte nur ein Feedback zu der Version geben.
Falls es was gibt was ich ändern sollte / könnte, bin ich gerne bereit das zu testen.
Edit: Habe gerade noch mal mein System geupdated und einen Reboot durchgeführt, die Meldungen kommen aber noch beim Start der Instanz.
Vielleicht ist ja auch was bei mir verbogen, ich wüsste nur nicht was das sein könnte. Es funktioniert alles (Alexa2, NodeRed, Broadlink, Deconz, Feiertage, Float, FritzDect, Iot, Ical, Sonoff, SQL, Tr064, Simple API, Info) ich habe keine Meldungen im Log, die auf irgendein Problem hindeuten. -
@frankyboy73 sagte in Probleme mit FritzDect Adapter:
@foxthefox Hi, keine Ahnung was du damit meinst das die Admin Seite noch auf alten Stand ist. Admin ist bei mir 5.2.3. und es sind ja Eintragungen im Log/Protokoll. Ich halte eigentlich so weit es geht alles aktuell. Ungefähr alle 2 Wochen ein Systemupdate inkl. Neustart.
sudo apt update sudo apt dist-upgrade sudo reboot
Gerade erst am Wochenanfang gemacht, auch alle Adapter sind bei mir sonst auf stable akuell, nur den FritzDECT habe ich jetzt von Git am laufen. Zum testen eben.
Er läuft ja auch Problemlos. Die Meldungen beim Start stören mich persönlich auch nicht, ich wollte nur ein Feedback zu der Version geben.
Falls es was gibt was ich ändern sollte / könnte, bin ich gerne bereit das zu testen.
Edit: Habe gerade noch mal mein System geupdated und einen Reboot durchgeführt, die Meldungen kommen aber noch beim Start der Instanz.
Vielleicht ist ja auch was bei mir verbogen, ich wüsste nur nicht was das sein könnte. Es funktioniert alles (Alexa2, NodeRed, Broadlink, Deconz, Feiertage, Float, FritzDect, Iot, Ical, Sonoff, SQL, Tr064, Simple API, Info) ich habe keine Meldungen im Log, die auf irgendein Problem hindeuten.Ein Adapter besteht aus mehreren Teilen, einmal der eigentliche Adaptercode der ausgeführt wird und dann noch die Admin-Seite des Adapters und ggf. noch widgets. Was im Hintergrund passiert oder schieflaufen kann, wenn man nachinstalliert , weiß ich nicht. Aber es gibt iobroker upgrade adaptername für das "Nachziehen" einer Installation für den Adaptercode und iobroker update adaptername für die Admin-Seite.
Wie gesagt ich hab keine Ahnung was da von wo nach wo geschoben wird, aber manchmal hilft so etwas.
Mein Kommentar zur Admin-Seite bezieht sich nicht auf den Admin-Adapter.Danke auf jeden Fall fürs Testen.
-
@foxthefox Zur Info:
Last login: Fri Jan 28 22:29:19 2022 from 192.168.1.12 pi@raspberrypi:~ $ iobroker update | grep -i updateable pi@raspberrypi:~ $ iobroker upgrade All adapters are up to date pi@raspberrypi:~ $ iobroker upgrade admin Adapter "admin" is up to date. pi@raspberrypi:~ $ iobroker upgrade fritzdect Adapter "fritzdect" is up to date. pi@raspberrypi:~ $
pi@raspberrypi:~ $ iobroker update admin Used repository: admin failed to download new sources, use cached sources update done Adapter "admin" : 5.2.3 , installed 5.2.3 Adapter "alexa2" : 3.11.2 , installed 3.11.2 Adapter "broadlink2" : 2.1.5 , installed 2.1.5 Adapter "deconz" : 1.3.19 , installed 1.3.19 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "flot" : 1.10.7 , installed 1.10.7 Adapter "fritzdect" : 2.2.3 , installed 2.2.5 Adapter "ical" : 1.11.4 , installed 1.11.4 Adapter "info" : 1.9.8 , installed 1.9.8 Adapter "iot" : 1.8.24 , installed 1.8.24 Controller "js-controller" : 3.3.22 , installed 3.3.22 Adapter "mihome" : 1.3.7 , installed 1.3.7 Adapter "node-red" : 2.4.1 , installed 2.4.1 Adapter "simple-api" : 2.6.1 , installed 2.6.1 Adapter "socketio" : 3.1.4 , installed 3.1.5 Adapter "sonoff" : 2.4.5 , installed 2.4.5 Adapter "sql" : 1.15.7 , installed 1.15.7 Adapter "tr-064" : 4.2.14 , installed 4.2.14 Adapter "web" : 3.4.9 , installed 3.4.9 pi@raspberrypi:~ $ iobroker update fritzdect Used repository: fritzdect failed to download new sources, use cached sources update done Adapter "admin" : 5.2.3 , installed 5.2.3 Adapter "alexa2" : 3.11.2 , installed 3.11.2 Adapter "broadlink2" : 2.1.5 , installed 2.1.5 Adapter "deconz" : 1.3.19 , installed 1.3.19 Adapter "feiertage" : 1.1.0 , installed 1.1.0 Adapter "flot" : 1.10.7 , installed 1.10.7 Adapter "fritzdect" : 2.2.3 , installed 2.2.5 Adapter "ical" : 1.11.4 , installed 1.11.4 Adapter "info" : 1.9.8 , installed 1.9.8 Adapter "iot" : 1.8.24 , installed 1.8.24 Controller "js-controller" : 3.3.22 , installed 3.3.22 Adapter "mihome" : 1.3.7 , installed 1.3.7 Adapter "node-red" : 2.4.1 , installed 2.4.1 Adapter "simple-api" : 2.6.1 , installed 2.6.1 Adapter "socketio" : 3.1.4 , installed 3.1.5 Adapter "sonoff" : 2.4.5 , installed 2.4.5 Adapter "sql" : 1.15.7 , installed 1.15.7 Adapter "tr-064" : 4.2.14 , installed 4.2.14 Adapter "web" : 3.4.9 , installed 3.4.9
pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v14.18.3 /usr/bin/node v14.18.3 /usr/bin/npm 6.14.15 nodejs: Installed: 14.18.3-deb-1nodesource1 Candidate: 14.18.3-deb-1nodesource1 Version table: *** 14.18.3-deb-1nodesource1 500 500 https://deb.nodesource.com/node_14.x buster/main armhf Packages 100 /var/lib/dpkg/status 10.24.0~dfsg-1~deb10u1 500 500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
Edit:
Vielleicht wäre das in diesem Post auch besser aufgehoben:
https://forum.iobroker.net/topic/50865/fritzdect-neue-version-2-2-0/45?_=1643395318623
Und eventuell könnten @Jan1 und @BananaJoe das auch mal testen, die sind sonst auch sehr aktiv mit dem FritzDECT -
@frankyboy73
ich habe die 2.2.4 von Git drauf und alles läuft -
Hallo,
ich hänge mich hier auch mal an.
Nachdem es mal nötig war, das System wieder aufzuräumen und auf den aktuellen Stand zu bringen, habe ich nun Probleme mit dem fritzdect Adapter.
Fritzdect: 2.2.6 (nachdem ich mit 2.0, 2.3) ebensowenig erfolgreich war.
Konfiguration läuft
Adapter wird grünFehlermeldung im Protokoll:
fritzdect.0 2022-02-25 15:04:33.786 error no response part in returned message fritzdect.0 2022-02-25 15:04:33.784 error fritzbox returned this {} fritzdect.0 2022-02-25 15:04:33.781 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-02-25 15:04:33.757 info checking user permissions fritzdect.0 2022-02-25 15:04:33.255 info fritzdect uses USER: iobroker fritzdect.0 2022-02-25 15:04:33.167 info fritzdect entered ready fritzdect.0 2022-02-25 15:04:33.084 info starting. Version 2.2.3 in /opt/iobroker/node_modules/iobroker.fritzdect, node: v14.19.0, js-controller: 4.0.15
In den Objekten wird dann auch nur das Verzeichnis Admin angelegt. Die Devices fehlen.
Fritzbox: 7390 : Version 6.87
und hier noch das Ergebnis des Testscript
Try to Login ... login sid 30befbccb80d5288 login OK? : true your devices ┌─────────┬─────────────────┬──────┬─────────────────┬───────────┬──────────────┬──────────────┬─────────┬──────────────┐ │ (index) │ identifier │ id │ functionbitmask │ fwversion │ manufacturer │ productname │ present │ name │ ├─────────┼─────────────────┼──────┼─────────────────┼───────────┼──────────────┼──────────────┼─────────┼──────────────┤ │ 0 │ '11962 0784728' │ '16' │ '320' │ '03.54' │ 'AVM' │ 'Comet DECT' │ '1' │ 'Badezimmer' │ │ 1 │ '11962 0835408' │ '17' │ '320' │ '03.54' │ 'AVM' │ 'Comet DECT' │ '0' │ 'Zimmer 1' │ │ 2 │ '11962 0830016' │ '18' │ '320' │ '03.54' │ 'AVM' │ 'Comet DECT' │ '1' │ 'Zimmer 2' │ │ 3 │ '11962 0835488' │ '19' │ '320' │ '03.54' │ 'AVM' │ 'Comet DECT' │ '0' │ 'Zimmer 3' │ └─────────┴─────────────────┴──────┴─────────────────┴───────────┴──────────────┴──────────────┴─────────┴──────────────┘ your groups ┌─────────┐ │ (index) │ ├─────────┤ └─────────┘ 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: false, 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': '1713', 'content-type': 'text/html; charset=utf-8' }, rawHeaders: [ 'Connection', 'close', 'Content-Length', '1713', '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=30befbccb80d5288 HTTP/1.1\r\n' + 'Content-Type: application/x-www-form-urlencoded\r\n' + 'Host: 192.168.200.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=30befbccb80d5288', _ended: false, res: [Circular *1], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: '192.168.200.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: false, 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': '1713', 'content-type': 'text/html; charset=utf-8' }, rawHeaders: [ 'Connection', 'close', 'Content-Length', '1713', '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=30befbccb80d5288&logout=1 HTTP/1.1\r\n' + 'Content-Type: application/x-www-form-urlencoded\r\n' + 'Host: 192.168.200.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=30befbccb80d5288&logout=1', _ended: false, res: [Circular *1], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: '192.168.200.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="11962 0784728" id="16" functionbitmask="320" fwversion="03.54" manufacturer="AVM" productname="Comet DECT"><present>1</present><name>Badezimmer</name><temperature><celsius>170</celsius><offset>0</offset></temperature><hkr><tist>34</tist><tsoll>253</tsoll><absenk>253</absenk><komfort>30</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><batterylow>1</batterylow><nextchange><endperiod>0</endperiod><tchange>30</tchange></nextchange></hkr></device><device identifier="11962 0835408" id="17" functionbitmask="320" fwversion="03.54" manufacturer="AVM" productname="Comet DECT"><present>0</present><name>Zimmer 1</name><temperature><celsius></celsius><offset></offset></temperature><hkr><tist></tist><tsoll></tsoll><absenk></absenk><komfort></komfort><lock></lock><devicelock></devicelock><errorcode>0</errorcode><batterylow>0</batterylow><nextchange><endperiod>0</endperiod><tchange>255</tchange></nextchange></hkr></device><device identifier="11962 0830016" id="18" functionbitmask="320" fwversion="03.54" manufacturer="AVM" productname="Comet DECT"><present>1</present><name>Zimmer 2</name><temperature><celsius>145</celsius><offset>0</offset></temperature><hkr><tist>29</tist><tsoll>253</tsoll><absenk>253</absenk><komfort>30</komfort><lock>0</lock><devicelock>0</devicelock><errorcode>0</errorcode><batterylow>0</batterylow><nextchange><endperiod>0</endperiod><tchange>30</tchange></nextchange></hkr></device><device identifier="11962 0835488" id="19" functionbitmask="320" fwversion="03.54" manufacturer="AVM" productname="Comet DECT"><present>0</present><name>Zimmer 3</name><temperature><celsius></celsius><offset></offset></temperature><hkr><tist></tist><tsoll></tsoll><absenk></absenk><komfort></komfort><lock></lock><devicelock></devicelock><errorcode>0</errorcode><batterylow>0</batterylow><nextchange><endperiod>0</endperiod><tchange>255</tchange></nextchange></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: false, 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': '1713', 'content-type': 'text/html; charset=utf-8' }, rawHeaders: [ 'Connection', 'close', 'Content-Length', '1713', '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=30befbccb80d5288&logout=1 HTTP/1.1\r\n' + 'Content-Type: application/x-www-form-urlencoded\r\n' + 'Host: 192.168.200.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=30befbccb80d5288&logout=1', _ended: false, res: [Circular *1], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: '192.168.200.1', protocol: 'http:', [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] }, [Symbol(kCapture)]: false, [Symbol(RequestTimeout)]: undefined } }
-
@hartwigm sagte in Probleme mit FritzDect Adapter:
Nachdem es mal nötig war, das System wieder aufzuräumen und auf den aktuellen Stand zu bringen, habe ich nun Probleme mit dem fritzdect Adapter.
js-controller: 4.0.15Fehlermeldung:
msg: 'AHA request error',
function: 'fritzAHA_Request',
error: 404,Du bist mit der Beta-Version js-controller unterwegs , hast du schon mal die Stable Version ausprobiert?.
tschuess
-
Ich habe irgendwann festgestellt, das sich die aktuellen Verbrauchswerte nicht mehr geändert haben.
Ich habe daraufhin die Objekte gelöscht und wollte sie mir durch einen Adapter neustart wieder neu "aufbauen" lassen.Der Adapter startet zwar und wird auch grün, aber es werden keine Objekte erstellt.
Auch ein Update auf die Lastest V 2.2.6 brauchte keine Besserung...
Weiß jemand wo das Problem bei mir ist ?
Kommt der Adapter vielleicht noch nicht mir Java V4 zurecht ?fritzdect.0 2022-07-14 18:19:17.911 error no response part in returned message fritzdect.0 2022-07-14 18:19:17.910 error fritzbox returned this {} fritzdect.0 2022-07-14 18:19:17.909 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-07-14 18:19:17.898 info checking user permissions fritzdect.0 2022-07-14 18:19:17.508 info fritzdect uses USER: iobroker fritzdect.0 2022-07-14 18:19:17.494 info fritzdect entered ready fritzdect.0 2022-07-14 18:19:17.483 info starting. Version 2.2.3 in /opt/iobroker/node_modules/iobroker.fritzdect, node: v16.15.0, js-controller: 4.0.21
Andy@iobroker:~$ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs /usr/bin/nodejs v16.15.0 /usr/bin/node v16.15.0 /usr/bin/npm 8.5.5 nodejs: Installed: 16.15.0-deb-1nodesource1 Candidate: 16.15.0-deb-1nodesource1 Version table: *** 16.15.0-deb-1nodesource1 500 500 https://deb.nodesource.com/node_16.x bullseye/main amd64 Packages 100 /var/lib/dpkg/status 12.22.5~dfsg-2~11u1 500 500 http://deb.debian.org/debian bullseye/main amd64 Packages 500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
Andy@iobroker:/opt/iobroker/node_modules/iobroker.fritzdect/lib/fritz$ node testscript.js -u iobroker -p andreas15 --url http://192.168.5.20 Try to Login ... login sid bfd1da07ad8d9502 login OK? : true your devices ┌─────────┬─────────────────┬──────┬─────────────────┬───────────┬──────────────┬──────────────────┬─────────┬───────────┐ │ (index) │ identifier │ id │ functionbitmask │ fwversion │ manufacturer │ productname │ present │ name │ ├─────────┼─────────────────┼──────┼─────────────────┼───────────┼──────────────┼──────────────────┼─────────┼───────────┤ │ 0 │ '08761 0262305' │ '16' │ '2944' │ '04.16' │ 'AVM' │ 'FRITZ!DECT 200' │ '1' │ 'Heizung' │ └─────────┴─────────────────┴──────┴─────────────────┴───────────┴──────────────┴──────────────────┴─────────┴───────────┘ your groups ┌─────────┐ │ (index) │ ├─────────┤ └─────────┘ 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, constructed: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, resumeScheduled: false, errorEmitted: false, emitClose: true, autoDestroy: true, 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)]: 74, [Symbol(kHandle)]: [TCP], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(RequestTimeout)]: undefined }, httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: false, rawHeaders: [ 'Connection', 'close', 'Content-Length', '1713', 'Content-Type', 'text/html; charset=utf-8' ], 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)]: 74, [Symbol(kHandle)]: [TCP], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [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, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [Socket], _header: 'GET /login_sid.lua&sid=bfd1da07ad8d9502 HTTP/1.1\r\n' + 'Content-Type: application/x-www-form-urlencoded\r\n' + 'Host: 192.168.5.20\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/login_sid.lua&sid=bfd1da07ad8d9502', _ended: false, res: [Circular *1], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: '192.168.5.20', protocol: 'http:', [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] }, [Symbol(kCapture)]: false, [Symbol(kHeaders)]: null, [Symbol(kHeadersCount)]: 6, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [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, constructed: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, resumeScheduled: false, errorEmitted: false, emitClose: true, autoDestroy: true, destroyed: false, errored: null, closed: false, closeEmitted: false, defaultEncoding: 'utf8', awaitDrainWriters: null, multiAwaitDrain: false, readingMore: false, dataEmitted: false, 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)]: 83, [Symbol(kHandle)]: [TCP], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(RequestTimeout)]: undefined }, httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: false, rawHeaders: [ 'Connection', 'close', 'Content-Length', '1713', 'Content-Type', 'text/html; charset=utf-8' ], 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)]: 83, [Symbol(kHandle)]: [TCP], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [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, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [Socket], _header: 'GET /login_sid.lua&sid=bfd1da07ad8d9502&logout=1 HTTP/1.1\r\n' + 'Content-Type: application/x-www-form-urlencoded\r\n' + 'Host: 192.168.5.20\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/login_sid.lua&sid=bfd1da07ad8d9502&logout=1', _ended: false, res: [Circular *1], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: '192.168.5.20', protocol: 'http:', [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] }, [Symbol(kCapture)]: false, [Symbol(kHeaders)]: null, [Symbol(kHeadersCount)]: 6, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined } } Devices<devicelist version="1"><device identifier="08761 0262305" id="16" functionbitmask="2944" fwversion="04.16" manufacturer="AVM" productname="FRITZ!DECT 200"><present>1</present><name>Heizung</name><switch><state>1</state><mode>manuell</mode><lock>0</lock><devicelock>0</devicelock></switch><powermeter><power>0</power><energy>1370469</energy></powermeter><temperature><celsius>270</celsius><offset>0</offset></temperature></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, constructed: true, sync: false, needReadable: true, emittedReadable: false, readableListening: false, resumeScheduled: false, errorEmitted: false, emitClose: true, autoDestroy: true, destroyed: false, errored: null, closed: false, closeEmitted: false, defaultEncoding: 'utf8', awaitDrainWriters: null, multiAwaitDrain: false, readingMore: false, dataEmitted: false, 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)]: 122, [Symbol(kHandle)]: [TCP], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [Symbol(kBytesRead)]: 0, [Symbol(kBytesWritten)]: 0, [Symbol(RequestTimeout)]: undefined }, httpVersionMajor: 1, httpVersionMinor: 1, httpVersion: '1.1', complete: false, rawHeaders: [ 'Connection', 'close', 'Content-Length', '1713', 'Content-Type', 'text/html; charset=utf-8' ], 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)]: 122, [Symbol(kHandle)]: [TCP], [Symbol(lastWriteQueueSize)]: 0, [Symbol(timeout)]: null, [Symbol(kBuffer)]: null, [Symbol(kBufferCb)]: null, [Symbol(kBufferGen)]: null, [Symbol(kCapture)]: false, [Symbol(kSetNoDelay)]: false, [Symbol(kSetKeepAlive)]: false, [Symbol(kSetKeepAliveInitialDelay)]: 0, [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, maxRequestsOnConnectionReached: false, _defaultKeepAlive: true, useChunkedEncodingByDefault: false, sendDate: false, _removedConnection: false, _removedContLen: false, _removedTE: false, _contentLength: 0, _hasBody: true, _trailer: '', finished: true, _headerSent: true, _closed: false, socket: [Socket], _header: 'GET /login_sid.lua&sid=bfd1da07ad8d9502&logout=1 HTTP/1.1\r\n' + 'Content-Type: application/x-www-form-urlencoded\r\n' + 'Host: 192.168.5.20\r\n' + 'Connection: close\r\n' + '\r\n', _keepAliveTimeout: 0, _onPendingData: [Function: nop], agent: [Agent], socketPath: undefined, method: 'GET', maxHeaderSize: undefined, insecureHTTPParser: undefined, path: '/login_sid.lua&sid=bfd1da07ad8d9502&logout=1', _ended: false, res: [Circular *1], aborted: false, timeoutCb: null, upgradeOrConnect: false, parser: [HTTPParser], maxHeadersCount: null, reusedSocket: false, host: '192.168.5.20', protocol: 'http:', [Symbol(kCapture)]: false, [Symbol(kNeedDrain)]: false, [Symbol(corked)]: 0, [Symbol(kOutHeaders)]: [Object: null prototype] }, [Symbol(kCapture)]: false, [Symbol(kHeaders)]: null, [Symbol(kHeadersCount)]: 6, [Symbol(kTrailers)]: null, [Symbol(kTrailersCount)]: 0, [Symbol(RequestTimeout)]: undefined } }
-
@andy200877 Hi, eventuell mal Benutzernamen und Passwort in der Instanz neu eingeben
Sonst mal Adapter löschen und neu installieren.