NEWS
Zigbee Adapter - restart loop detected
-
Ich vermute du hast da noch ganz andere Probleme...
Funktioniert
tail -f /opt/iobroker/log/iobroker.current.log
denn?
-
@thomas-braun
Die vielen logs scheinen vom statistics-Adapter zu kommen. -
Graf Zahl?
Was loggst du da bitte alles?
Dann schalt den Quasselkopp mal aus, damit der nicht dauernd in das Log reinblökt. -
2022-07-04 23:06:18.696 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Stromverkauf.month on NaN to NaN 2022-07-04 23:06:18.699 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Stromverkauf.quarter on NaN to NaN 2022-07-04 23:06:18.703 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Stromverkauf.year on NaN to NaN 2022-07-04 23:06:18.712 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Strombezug_STAWA.15Min on 0 to 7157 2022-07-04 23:06:18.724 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Strombezug_STAWA.hour on 0 to 7157 2022-07-04 23:06:18.731 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Strombezug_STAWA.day on 0 to 1215739 2022-07-04 23:06:18.734 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Strombezug_STAWA.week on 0 to 1215739 2022-07-04 23:06:18.739 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Strombezug_STAWA.month on 0 to 3410906 2022-07-04 23:06:18.744 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Strombezug_STAWA.quarter on 0 to 3410906 2022-07-04 23:06:18.752 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Strombezug_STAWA.year on 0 to 86863699 2022-07-04 23:06:18.756 - debug: statistics.0 (1771) [STATE CHANGE] new last for "temp.avg.0_userdata.0.Holger2.Energie_Haus.Strombezug_STAWA.last: 0 2022-07-04 23:06:18.767 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.15Min on NaN to NaN 2022-07-04 23:06:18.771 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.hour on NaN to NaN 2022-07-04 23:06:18.775 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.day on NaN to NaN 2022-07-04 23:06:18.779 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.week on NaN to NaN 2022-07-04 23:06:18.784 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.month on NaN to NaN 2022-07-04 23:06:18.788 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.quarter on NaN to NaN 2022-07-04 23:06:18.792 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.year on NaN to NaN 2022-07-04 23:06:18.800 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Gesamtverbrauch_Haus.15Min on 0 to 22072 2022-07-04 23:06:18.803 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Gesamtverbrauch_Haus.hour on 0 to 22072 2022-07-04 23:06:18.806 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Gesamtverbrauch_Haus.day on 0 to 15671914 2022-07-04 23:06:18.809 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Gesamtverbrauch_Haus.week on 0 to 15671914 2022-07-04 23:06:18.812 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Gesamtverbrauch_Haus.month on 0 to 42252619 2022-07-04 23:06:18.815 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Gesamtverbrauch_Haus.quarter on 0 to 42252619 2022-07-04 23:06:18.819 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumDelta.0_userdata.0.Holger2.Energie_Haus.Gesamtverbrauch_Haus.year on 0 to 809781803 2022-07-04 23:06:18.823 - debug: statistics.0 (1771) [STATE CHANGE] new last for "temp.avg.0_userdata.0.Holger2.Energie_Haus.Gesamtverbrauch_Haus.last: 0 2022-07-04 23:06:18.837 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.15Min on NaN to NaN 2022-07-04 23:06:18.840 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.hour on NaN to NaN 2022-07-04 23:06:18.845 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.day on NaN to NaN 2022-07-04 23:06:18.849 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.week on NaN to NaN 2022-07-04 23:06:18.854 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.month on NaN to NaN 2022-07-04 23:06:18.858 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.quarter on NaN to NaN 2022-07-04 23:06:18.862 - debug: statistics.0 (1771) [STATE CHANGE] Increase temp.sumGroup.Strombezug.year on NaN to NaN
...ein Teil...
-
Joh, in der Frequenz zu loggen dürfte irgendwann das System überlasten.
Außerdem steht der auf debug. -
@thomas-braun
auf info umstellen?
dann geht es deutlich gemächlicher. -
Natürlich. Was willste denn mit den Debug-Zeilen?
-
pi@raspi:~ $ iobroker logs --watch Uncaught Rejection: Error: Cannot create a string longer than 0xffffff0 characters at Object.slice (buffer.js:609:37) at Buffer.toString (buffer.js:827:14) at CLILogs.execute (/opt/iobroker/node_modules/@iobroker/js-controller-cli/lib/cli/cliLogs.js:40:51) at processCommand (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:1137:25) at Object.module.exports.execute (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:3314:5) at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js:1:24) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12)
Das bringt er jetzt immer noch, obwohl Adapter statistics aus.
-
@brokeling sagte in Zigbee Adapter - restart loop detected:
Das bringt er jetzt immer noch, obwohl Adapter statistics aus.
Na klar, das file ist ja immer noch so riesig. Der alte Kram steht ja noch drin.
sudo apt update tail -f /opt/iobroker/log/iobroker.current.log
-
@thomas-braun
alles löschen? -
pi@raspi:~ $ sudo apt update Holen:1 http://phoscon.de/apt/deconz buster InRelease [2.869 B] Holen:2 http://archive.raspberrypi.org/debian buster InRelease [32,6 kB] OK:3 https://deb.nodesource.com/node_12.x buster InRelease Holen:4 http://raspbian.raspberrypi.org/raspbian buster InRelease [15,0 kB] OK:5 https://deb.nodesource.com/node_14.x buster InRelease Holen:6 http://phoscon.de/apt/deconz buster/main armhf Packages [734 B] Holen:7 http://archive.raspberrypi.org/debian buster/main armhf Packages [391 kB] Holen:8 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages [13,0 MB] Es wurden 47,6 kB in 7 s geholt (7.063 B/s). Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig Aktualisierung für 4 Pakete verfügbar. Führen Sie »apt list --upgradable« aus, um sie anzuzeigen.
pi@raspi:~ $ tail -f /opt/iobroker/log/iobroker.current.log 2022-07-04 23:15:39.626 - info: fritzdect.0 (2320) State value to set for "fritzdect.0.DECT_grpC786EA-3BDC033DC.boostactiveendtime" has to be type "number" but received type "string" 2022-07-04 23:15:39.627 - info: fritzdect.0 (2320) State value to set for "fritzdect.0.DECT_grpC786EA-3BDC033DC.endperiod" has to be type "number" but received type "string" 2022-07-04 23:15:39.629 - info: fritzdect.0 (2320) State value to set for "fritzdect.0.DECT_grpC786EA-3BDC03168.windowopenactiveendtime" has to be type "number" but received type "string" 2022-07-04 23:15:39.630 - info: fritzdect.0 (2320) State value to set for "fritzdect.0.DECT_grpC786EA-3BDC03168.boostactiveendtime" has to be type "number" but received type "string" 2022-07-04 23:15:39.631 - info: fritzdect.0 (2320) State value to set for "fritzdect.0.DECT_grpC786EA-3BDC03168.endperiod" has to be type "number" but received type "string" 2022-07-04 23:15:39.633 - info: fritzdect.0 (2320) State value to set for "fritzdect.0.DECT_grpC786EA-3BDC032FE.windowopenactiveendtime" has to be type "number" but received type "string" 2022-07-04 23:15:39.634 - info: fritzdect.0 (2320) State value to set for "fritzdect.0.DECT_grpC786EA-3BDC032FE.boostactiveendtime" has to be type "number" but received type "string" 2022-07-04 23:15:39.634 - info: fritzdect.0 (2320) State value to set for "fritzdect.0.DECT_grpC786EA-3BDC032FE.endperiod" has to be type "number" but received type "string" 2022-07-04 23:16:08.531 - info: javascript.0 (19239) script.js.common.Display.Display3_TFT.Alternativ.L8_CO2_WoZi1: 3 2022-07-04 23:17:08.491 - info: javascript.0 (19239) script.js.common.Display.Display3_TFT.Alternativ.L8_CO2_WoZi1: 3
-
Dann jetzt den Adapter neustarten.
-
@thomas-braun
läuft schon. -
Und?
-
@thomas-braun
kann ich nicht sagen.
Der zickt nur druchschnittlich einmal rum in 24 h.
Da muss man jetzt abwarten.
Ich muss mir den statistics Adapter nochmal anschauen, ob ich den anders konfigurieren kann. Der loggt wohl zu viel, oder?
Die Adapter werde ich updaten oder rausschmeißen. Paar davon brauche ich garnicht. Doch das Löschen über die Admin Oberfläche hatte ich schon versucht, hat aber nicht geklappt. Blieb stehen. Muss ich nochmal probieren. -
Du sollst den zigbee-Adapter jetzt neustarten.
-
@thomas-braun
ja ok, aber das ist unauffällig. Was dann? -
Zeigen...
-
das hier?
pi@raspi:~ $ tail -f /opt/iobroker/log/iobroker.current.log 2022-07-04 23:30:39.535 - info: fritzdect.0 (2320) State value to set for "fritzdect.0.DECT_grpC786EA-3BDC032FE.boostactiveendtime" has to be type "number" but received type "string" 2022-07-04 23:30:39.535 - info: fritzdect.0 (2320) State value to set for "fritzdect.0.DECT_grpC786EA-3BDC032FE.endperiod" has to be type "number" but received type "string" 2022-07-04 23:30:48.901 - warn: zigbee.0 (16002) DeviceAvailability:Failed to ping 0xec1bbdfffeaa8f30 TRADFRI bulb E27 WW 806lm 2022-07-04 23:30:49.025 - warn: zigbee.0 (16002) DeviceAvailability:Failed to ping 0xec1bbdfffea186d2 TRADFRI bulb E27 WW 806lm 2022-07-04 23:30:49.113 - warn: zigbee.0 (16002) DeviceAvailability:Failed to ping 0xec1bbdfffea17968 TRADFRI bulb E27 WW 806lm 2022-07-04 23:30:50.046 - warn: zigbee.0 (16002) DeviceAvailability:Failed to ping 0xec1bbdfffeaa888d TRADFRI bulb E27 WW 806lm 2022-07-04 23:31:08.504 - info: javascript.0 (19239) script.js.common.Display.Display3_TFT.Alternativ.L8_CO2_WoZi1: 3 2022-07-04 23:32:08.496 - info: javascript.0 (19239) script.js.common.Display.Display3_TFT.Alternativ.L8_CO2_WoZi1: 3 2022-07-04 23:34:08.032 - info: sql.0 (918) Do not store value "NULL" for HumAußen because no number 2022-07-04 23:34:08.484 - info: javascript.0 (19239) script.js.common.Display.Display3_TFT.Alternativ.L8_CO2_WoZi1: 3
-
Das sieht so aus:
2022-07-04 23:36:45.009 - info: host.chet stopInstance system.adapter.zigbee.0 (force=false, process=true) 2022-07-04 23:36:45.019 - info: host.chet stopInstance system.adapter.zigbee.0 send kill signal 2022-07-04 23:36:45.015 - info: zigbee.0 (451863) Got terminate signal TERMINATE_YOURSELF 2022-07-04 23:36:45.029 - info: zigbee.0 (451863) cleaned everything up... 2022-07-04 23:36:45.033 - info: zigbee.0 (451863) Zigbee: disabling joining new devices. 2022-07-04 23:36:45.530 - info: zigbee.0 (451863) terminating 2022-07-04 23:36:45.532 - info: zigbee.0 (451863) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2022-07-04 23:36:46.020 - info: host.chet stopInstance system.adapter.zigbee.0 killing pid 451863 2022-07-04 23:36:46.147 - info: host.chet instance system.adapter.zigbee.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION) 2022-07-04 23:36:48.212 - info: host.chet instance system.adapter.zigbee.0 started with pid 567035 2022-07-04 23:36:52.021 - info: zigbee.0 (567035) starting. Version 1.7.5 in /opt/iobroker/node_modules/iobroker.zigbee, node: v18.4.0, js-controller: 4.0.23 2022-07-04 23:36:52.076 - info: zigbee.0 (567035) internal Backups are disabled 2022-07-04 23:36:52.082 - info: zigbee.0 (567035) Starting Zigbee npm ... 2022-07-04 23:36:52.629 - info: zigbee.0 (567035) Installed Version: iobroker.zigbee@1.7.5 2022-07-04 23:37:03.580 - info: zigbee.0 (567035) Coordinator firmware version: {"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20220507}} 2022-07-04 23:37:03.588 - info: zigbee.0 (567035) Unable to disable LED, unsupported function. 2022-07-04 23:37:03.606 - info: zigbee.0 (567035) --> transmitPower : normal 2022-07-04 23:37:03.614 - info: zigbee.0 (567035) Currently no devices. 2022-07-04 23:37:03.615 - info: zigbee.0 (567035) Zigbee started