NEWS
UNSOLVED Shelly iobroker (29552) RangeError ERR_BUFFER_OUT_OF_BOUNDS
-
Systemdata Bitte Ausfüllen Hardwaresystem: Pi3+ Arbeitsspeicher: 1GB Festplattenart: SSD Betriebssystem: Linux Node-Version: v12.16.2 Nodejs-Version: v12.16.2 NPM-Version: 6.14.4 Installationsart: Manuell Image genutzt: Nein Ort/Name der Imagedatei: Link Seit dem Shelly Update auf 20200601-122849/v1.7.0@d7961837 tritt der o.g. Fehler im Abstand von ca. 5 Min. (auch länger) auf.
Häufig sind die Shellys über iobroker yahka dann nicht mehr zu bedienen.
Hat jemand eine Idee, wie das Problem behoben werden kann?Hier ein Ausschnitt aus dem Log:
shelly.0 2020-06-05 11:41:43.002 info (29691) Listening for Shelly packets in the network
shelly.0 2020-06-05 11:41:42.875 info (29691) Starting Shelly adapter in CoAP modus.
shelly.0 2020-06-05 11:41:42.783 info (29691) Starting Adapter shelly.0 in version 3.2.8
shelly.0 2020-06-05 11:41:42.729 info (29691) starting. Version 3.2.8 in /opt/iobroker/node_modules/iobroker.shelly, node: v12.16.2, js-controller: 3.1.4
host.raspberrypi 2020-06-05 11:41:37.712 info instance system.adapter.shelly.0 started with pid 29691
host.raspberrypi 2020-06-05 11:41:07.669 info Restart adapter system.adapter.shelly.0 because enabled
host.raspberrypi 2020-06-05 11:41:07.660 info instance system.adapter.shelly.0 terminated with code 0 (NO_ERROR)
shelly.0 2020-06-05 11:41:07.570 error (27652) Exception: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to access memory outside buffer bounds -
Ich schließe mich mal an. Auch mein Iobroker hat dieses Problem. Das log sieht genauso aus.
Hier ein Auszug:2020-06-07 13:33:31.459 - info: shelly.0 (16149) Shelly device 192.168.2.74 (shelly1pm / shelly1pm-68C63AFADA51 / SHSW-PM#68C63AFADA51#1) with CoAP connected! 2020-06-07 13:33:31.543 - info: sql.0 (507) enabled logging of shelly.0.SHSW-PM#68C63AFADA51#1.Relay0.Power, Alias=false 2020-06-07 13:37:27.003 - error: shelly.0 (16149) Exception: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to write outside buffer bounds 2020-06-07 13:37:27.031 - info: host.ioBroker instance system.adapter.shelly.0 terminated with code 0 (NO_ERROR) 2020-06-07 13:37:27.033 - info: host.ioBroker Restart adapter system.adapter.shelly.0 because enabled 2020-06-07 13:37:57.050 - info: host.ioBroker instance system.adapter.shelly.0 started with pid 16244 2020-06-07 13:37:59.519 - info: shelly.0 (16244) starting. Version 3.2.8 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.20.1, js-controller: 3.1.4 2020-06-07 13:37:59.552 - info: shelly.0 (16244) Starting Adapter shelly.0 in version 3.2.8 2020-06-07 13:37:59.589 - info: shelly.0 (16244) Starting Shelly adapter in CoAP modus. 2020-06-07 13:37:59.661 - info: shelly.0 (16244) Listening for Shelly packets in the network 2020-06-07 13:38:01.531 - info: shelly.0 (16244) Shelly device 192.168.2.74 (shelly1pm / shelly1pm-68C63AFADA51 / SHSW-PM#68C63AFADA51#1) with CoAP connected! 2020-06-07 13:38:01.679 - info: sql.0 (507) enabled logging of shelly.0.SHSW-PM#68C63AFADA51#1.Relay0.Power, Alias=false 2020-06-07 13:38:07.164 - info: shelly.0 (16244) Shelly device 192.168.2.63 (shelly1 / shelly1-93BC50 / SHSW-1#93BC50#1) with CoAP connected! 2020-06-07 13:38:11.145 - info: shelly.0 (16244) Shelly device 192.168.2.67 (shelly1pm / shelly1pm-B1E260 / SHSW-PM#B1E260#1) with CoAP connected! 2020-06-07 13:38:11.257 - info: sql.0 (507) enabled logging of shelly.0.SHSW-PM#B1E260#1.Relay0.Power, Alias=false 2020-06-07 13:38:11.662 - info: shelly.0 (16244) Shelly device 192.168.2.72 (shellydimmer / shellydimmer-D47EBD / SHDM-1#D47EBD#1) with CoAP connected! 2020-06-07 13:38:11.927 - info: shelly.0 (16244) Shelly device 192.168.2.66 (shellydimmer / shellydimmer-D3E012 / SHDM-1#D3E012#1) with CoAP connected! 2020-06-07 13:42:33.901 - error: shelly.0 (16244) Exception: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to write outside buffer bounds 2020-06-07 13:42:33.930 - info: host.ioBroker instance system.adapter.shelly.0 terminated with code 0 (NO_ERROR) 2020-06-07 13:42:33.931 - info: host.ioBroker Restart adapter system.adapter.shelly.0 because enabled 2020-06-07 13:43:03.949 - info: host.ioBroker instance system.adapter.shelly.0 started with pid 16343 2020-06-07 13:43:06.449 - info: shelly.0 (16343) starting. Version 3.2.8 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.20.1, js-controller: 3.1.4 2020-06-07 13:43:06.483 - info: shelly.0 (16343) Starting Adapter shelly.0 in version 3.2.8 2020-06-07 13:43:06.533 - info: shelly.0 (16343) Starting Shelly adapter in CoAP modus. 2020-06-07 13:43:06.604 - info: shelly.0 (16343) Listening for Shelly packets in the network 2020-06-07 13:43:08.233 - info: shelly.0 (16343) Shelly device 192.168.2.63 (shelly1 / shelly1-93BC50 / SHSW-1#93BC50#1) with CoAP connected! 2020-06-07 13:43:11.282 - info: shelly.0 (16343) Shelly device 192.168.2.67 (shelly1pm / shelly1pm-B1E260 / SHSW-PM#B1E260#1) with CoAP connected! 2020-06-07 13:43:11.395 - info: sql.0 (507) enabled logging of shelly.0.SHSW-PM#B1E260#1.Relay0.Power, Alias=false 2020-06-07 13:43:12.322 - info: shelly.0 (16343) Shelly device 192.168.2.66 (shellydimmer / shellydimmer-D3E012 / SHDM-1#D3E012#1) with CoAP connected! 2020-06-07 13:43:12.352 - info: shelly.0 (16343) Shelly device 192.168.2.72 (shellydimmer / shellydimmer-D47EBD / SHDM-1#D47EBD#1) with CoAP connected! 2020-06-07 13:43:16.682 - info: shelly.0 (16343) Shelly device 192.168.2.74 (shelly1pm / shelly1pm-68C63AFADA51 / SHSW-PM#68C63AFADA51#1) with CoAP connected! 2020-06-07 13:43:16.811 - info: sql.0 (507) enabled logging of shelly.0.SHSW-PM#68C63AFADA51#1.Relay0.Power, Alias=false 2020-06-07 13:46:31.513 - info: info.0 (720) Popup news was read... 2020-06-07 13:48:05.286 - error: shelly.0 (16343) Exception: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to write outside buffer bounds 2020-06-07 13:48:05.317 - info: host.ioBroker instance system.adapter.shelly.0 terminated with code 0 (NO_ERROR) 2020-06-07 13:48:05.318 - info: host.ioBroker Restart adapter system.adapter.shelly.0 because enabled 2020-06-07 13:48:35.420 - info: host.ioBroker instance system.adapter.shelly.0 started with pid 16444 2020-06-07 13:48:37.883 - info: shelly.0 (16444) starting. Version 3.2.8 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.20.1, js-controller: 3.1.4 2020-06-07 13:48:37.917 - info: shelly.0 (16444) Starting Adapter shelly.0 in version 3.2.8
EDIT: Mit dem "Downgrade" auf Version 3.2.6 ist der Fehler weg. Version 3.2.7 und 3.2.8. sind bei mir betroffen.
-
Das Downgrade auf 3.2.6 hat bei mir leider nichts gebracht.
Ich bin auch der Meinung, dass das Problem beim letzten Shelly-Firmware-Update entstanden ist. -
https://forum.iobroker.net/topic/31619/shelly-adapter-rangeerror/3
Gib bereits einen längeren thread zu dem Thema, bisher leider ohne Lösung.
Ich habe auf mqqt umgestellt und danach den Fehler nicht mehr...
-
@dos1973 sagte in Shelly iobroker (29552) RangeError ERR_BUFFER_OUT_OF_BOUNDS:
mqqt
Mit MQTT kenne ich über haupt nicht aus. Welche Konsequenzen hat eine Umstellung darauf? Ich habe ca. 30 Shellys im Einsatz und auch diverse Blocklys. Müssen die alle angepasst werden?
-
Ich habe jetzt keine PRo/ con liste, da solltest du nochmals suchen
Kein shelly cloud mit mqqt!
in Verbindung mit iobroker, sind mir keine negativen Aspekte bekannt. Du musst jeden shelly einmal anfassen und die mqqt konfig setzen und den Adapter auf mqqt stellen
Dann geht auch longpress zum dimmen etc.
Die scripte sollten m.E gleich bleiben, da die Oid sich nicht verändert. Am besten mal mit einem Versuchen und auf die Scripte achten.
Ich hatte bei mir Netzwerkseitig einiges geändert und in diesem Zug auch das gleich durchgeführt, habe auch einige im Einsatz.
Ich weiss aber nicht, ob das die Musterlösungfür dein Eigentliches Problem ist, bei mir hatte es dadurch geklappt. -
Vielen Dank, ich werde das mal testen.