Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Shelly Adapter: RangeError

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    SOLVED Shelly Adapter: RangeError

    This topic has been deleted. Only users with topic management privileges can see it.
    • haselchen
      haselchen Most Active @harrym last edited by

      @harrym

      Vielleicht bei Nodejs ein Downgrade auf 10.19 machen und nochmal beobachten.
      Bei mir gibt es in der Konstellation keine Fehler.

      1 Reply Last reply Reply Quote 0
      • harrym
        harrym last edited by

        ne ... node 12 läuft sauber .... und @ak1 hat node 10 in verwendung

        haselchen 1 Reply Last reply Reply Quote 0
        • haselchen
          haselchen Most Active @harrym last edited by

          @harrym

          Meinte den Kollegen in deinem Screenshot 😊

          1 Reply Last reply Reply Quote 0
          • harrym
            harrym last edited by

            der screenshot ist von mir ... weil ich eben grad bei meinem freund am broker arbeite ...

            haselchen 1 Reply Last reply Reply Quote 0
            • haselchen
              haselchen Most Active @harrym last edited by

              @harrym

              Das habe ich schon verstanden.
              Und deswegen mein Vorschlag mit dem Downgrade.
              Nodejs 12 kann ja sonst gut bei ihm funktionieren, aber vielleicht der Grund für den Fehler sein.

              harrym 1 Reply Last reply Reply Quote 0
              • harrym
                harrym @haselchen last edited by

                @haselchen wenn der fehler unter node 10 bei @ak1 auch kommt? sry .... verstehe deine logik nicht.

                haselchen 1 Reply Last reply Reply Quote 0
                • haselchen
                  haselchen Most Active @harrym last edited by

                  @harrym
                  Dann lies nochmal richtig nach 😉
                  Ich habe die Adapter Version 3.2.3 , Nodejs 10.19 und die Shelly Firmware 1.6.2
                  und diese Konstellation haben Beide nicht.

                  1 Reply Last reply Reply Quote 0
                  • harrym
                    harrym last edited by

                    danke für die info .... und zumindest habe ich ne höhere js version als du. Allerdings ist Node 12 nur bei einigen wenigen adaptern kontraproduktiv.

                    Der Rest ist gleich .... also hör auf noch etwas zu suchen und akzeptiere den fehler, dass der adapter einen speicherüberlauf generiert.

                    haselchen 1 Reply Last reply Reply Quote 0
                    • haselchen
                      haselchen Most Active @harrym last edited by

                      @harrym

                      Da er bei mir diesen Fehler nicht generiert , muss man natürlich nach einem Fehler suchen.
                      Aber da Du anscheinend den Durchblick hast , werde ich nicht weiter suchen 😉

                      harrym 1 Reply Last reply Reply Quote 0
                      • harrym
                        harrym @haselchen last edited by

                        @haselchen dann kauf die halt ein paar shelly mehr nach ..... könnte ja eventuell ein timimg problem sein .... aktivier mal en debug modus .... just my 2 cents.

                        und ne schöne nacht nocht. vielleicht mit mehr durchblick.

                        haselchen 1 Reply Last reply Reply Quote 0
                        • haselchen
                          haselchen Most Active @harrym last edited by

                          @harrym
                          OT:
                          Irgendwoher werden die -2 bei Deinem Ansehen schon herkommen 😉
                          Auch Dir eine Gute Nacht.

                          harrym 1 Reply Last reply Reply Quote 0
                          • harrym
                            harrym @haselchen last edited by harrym

                            DAS lass mal MEIN problem sein 😉 ich hab damit kein Problem g

                            1 Reply Last reply Reply Quote 0
                            • A
                              ak1 last edited by

                              Ich habe von Github auf Adapterversion 3.2.3 aktualisiert. Das Problem bleibt bestehen.

                              1 Reply Last reply Reply Quote 0
                              • B
                                Baki074 last edited by

                                Ich habe leider dasselbe Problem. Nur dass es bei mir alle zwei Stunden zu einem Neustart führt.

                                @haselchen said in Shelly Adapter: RangeError:

                                Ich habe die Adapter Version 3.2.3 , Nodejs 10.19 und die Shelly Firmware 1.6.2

                                Ich würde gerne auf diese Konstellation "wechseln", wenn es bei dir funktioniert 🙂
                                Adapter Version habe ich 3.2.2 - Nodejs 10.18 und keine Ahnung wo ich die Shelly Firmware rausfinde? Habe aber erst gestern die Firmware aller Shellys in der App aktualisieren lassen. Ich nehme mal an die neueste Version ist 1.6.2?

                                haselchen 1 Reply Last reply Reply Quote 0
                                • haselchen
                                  haselchen Most Active @Baki074 last edited by

                                  @Baki074

                                  3.2.3 bekommst manuell über die "Katze" installiert.
                                  Nodejs auf 10.19 , dafür gibt es auch ein paar Anleitungen hier und im Netz.
                                  Die Firmware der Shellys habe ich über die App aktualisiert.

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    Baki074 last edited by

                                    @haselchen said in Shelly Adapter: RangeError:

                                    3.2.3 bekommst manuell über die "Katze" installiert.

                                    Top danke!
                                    Habe Nodejs noch bei 10.18 belassen, ansonsten habe ich die gleiche Konstellation wie du.

                                    Ich werde mal die nächsten Stunden beobachten wie es sich verhält. Wenn der Fehler immer noch auftritt update ich auf 10.19. Wenn nicht, wissen wir, dass es auch mit nodejs Version 10.18 klappt.

                                    haselchen 1 Reply Last reply Reply Quote 1
                                    • haselchen
                                      haselchen Most Active @Baki074 last edited by

                                      @Baki074

                                      Alles klärchen.
                                      Gib ruhig Feedback wenn Du mehr weisst.

                                      1 Reply Last reply Reply Quote 0
                                      • B
                                        Baki074 last edited by

                                        @haselchen said in Shelly Adapter: RangeError:

                                        Gib ruhig Feedback wenn Du mehr weisst.

                                        Sieht nicht gut aus. Adapter startet nun wesentlich öfter neu.
                                        Nodejs upzudaten ist relativ aufwendig und nicht ganz ohne Risiko wenn ich mich an folgender Anleitung orientiere: https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten

                                        Gibt es evtl. eine andere Möglichkeit die ich probieren könnte?

                                        shelly.0	2020-03-28 13:58:03.632	info	(1317) Shelly device 192.168.178.52 (shellyswitch25 / shellyswitch25-F380FA / SHSW-25#F380FA#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:58:02.646	info	(1317) Shelly device 192.168.178.43 (shellyswitch25 / shellyswitch25-10C21B / SHSW-25#10C21B#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:58:01.977	info	(1317) Shelly device 192.168.178.49 (shelly1 / shelly1-F42B0C / SHSW-1#F42B0C#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:58:00.062	info	(1317) Shelly device 192.168.178.50 (shelly1 / shelly1-98F4ABF24F1E / SHSW-1#98F4ABF24F1E#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:59.116	info	(1317) Shelly device 192.168.178.58 (shelly1 / shelly1-98F4ABF3CB7F / SHSW-1#98F4ABF3CB7F#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:58.836	info	(1317) Shelly device 192.168.178.44 (shellyswitch25 / shellyswitch25-F36E41 / SHSW-25#F36E41#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:58.816	info	(1317) Shelly device 192.168.178.47 (shelly1pm / shelly1pm-C4AC19 / SHSW-PM#C4AC19#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:57.179	info	(1317) Shelly device 192.168.178.21 (shelly1pm / shelly1pm-C4A636 / SHSW-PM#C4A636#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:57.113	info	(1317) Shelly device 192.168.178.55 (shellyswitch25 / shellyswitch25-10BA6F / SHSW-25#10BA6F#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:56.169	info	(1317) Shelly device 192.168.178.53 (shellyswitch25 / shellyswitch25-F3FFA9 / SHSW-25#F3FFA9#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:54.026	info	(1317) Shelly device 192.168.178.45 (shelly1pm / shelly1pm-C4AA63 / SHSW-PM#C4AA63#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:54.015	info	(1317) Shelly device 192.168.178.54 (shellyswitch25 / shellyswitch25-F40ED7 / SHSW-25#F40ED7#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:53.177	info	(1317) Shelly device 192.168.178.40 (shellyswitch25 / shellyswitch25-10C294 / SHSW-25#10C294#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:52.680	info	(1317) Shelly device 192.168.178.51 (shellyswitch25 / shellyswitch25-110B3F / SHSW-25#110B3F#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:51.765	info	(1317) Shelly device 192.168.178.37 (shellyswitch25 / shellyswitch25-73FF32 / SHSW-25#73FF32#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:51.745	info	(1317) Shelly device 192.168.178.56 (shelly1 / shelly1-98F4ABF295EB / SHSW-1#98F4ABF295EB#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:51.147	info	(1317) Shelly device 192.168.178.42 (shellyswitch25 / shellyswitch25-F37908 / SHSW-25#F37908#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:49.494	info	(1317) Shelly device 192.168.178.57 (shelly1 / shelly1-98F4ABF286DB / SHSW-1#98F4ABF286DB#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:49.208	info	(1317) Shelly device 192.168.178.48 (shelly1pm / shelly1pm-C4B07F / SHSW-PM#C4B07F#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:48.903	info	(1317) Shelly device 192.168.178.59 (shelly1pm / shelly1pm-C4A798 / SHSW-PM#C4A798#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:57:48.794	info	(1317) Listening for Shelly packets in the network
                                        shelly.0	2020-03-28 13:57:48.717	info	(1317) Starting Shelly adapter in CoAP modus.
                                        shelly.0	2020-03-28 13:57:48.666	info	(1317) starting. Version 3.2.3 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.18.0
                                        host.phoscon-iob	2020-03-28 13:57:46.289	info	instance system.adapter.shelly.0 started with pid 1317
                                        host.phoscon-iob	2020-03-28 13:57:16.273	info	Restart adapter system.adapter.shelly.0 because enabled
                                        host.phoscon-iob	2020-03-28 13:57:16.272	info	instance system.adapter.shelly.0 terminated with code 0 (NO_ERROR)
                                        shelly.0	2020-03-28 13:57:16.222	error	(20896) Exception: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to write outside buffer bounds
                                        shelly.0	2020-03-28 13:38:46.698	info	(20896) Shelly device 192.168.178.52 (shellyswitch25 / shellyswitch25-F380FA / SHSW-25#F380FA#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:45.671	info	(20896) Shelly device 192.168.178.43 (shellyswitch25 / shellyswitch25-10C21B / SHSW-25#10C21B#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:45.567	info	(20896) Shelly device 192.168.178.57 (shelly1 / shelly1-98F4ABF286DB / SHSW-1#98F4ABF286DB#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:43.127	info	(20896) Shelly device 192.168.178.47 (shelly1pm / shelly1pm-C4AC19 / SHSW-PM#C4AC19#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:43.112	info	(20896) Shelly device 192.168.178.49 (shelly1 / shelly1-F42B0C / SHSW-1#F42B0C#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:41.814	info	(20896) Shelly device 192.168.178.44 (shellyswitch25 / shellyswitch25-F36E41 / SHSW-25#F36E41#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:41.718	info	(20896) Shelly device 192.168.178.55 (shellyswitch25 / shellyswitch25-10BA6F / SHSW-25#10BA6F#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:41.265	info	(20896) Shelly device 192.168.178.21 (shelly1pm / shelly1pm-C4A636 / SHSW-PM#C4A636#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:40.759	info	(20896) Shelly device 192.168.178.50 (shelly1 / shelly1-98F4ABF24F1E / SHSW-1#98F4ABF24F1E#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:39.729	info	(20896) Shelly device 192.168.178.58 (shelly1 / shelly1-98F4ABF3CB7F / SHSW-1#98F4ABF3CB7F#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:38.410	info	(20896) Shelly device 192.168.178.45 (shelly1pm / shelly1pm-C4AA63 / SHSW-PM#C4AA63#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:37.857	info	(20896) Shelly device 192.168.178.53 (shellyswitch25 / shellyswitch25-F3FFA9 / SHSW-25#F3FFA9#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:37.274	info	(20896) Shelly device 192.168.178.54 (shellyswitch25 / shellyswitch25-F40ED7 / SHSW-25#F40ED7#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:36.357	info	(20896) Shelly device 192.168.178.40 (shellyswitch25 / shellyswitch25-10C294 / SHSW-25#10C294#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:35.752	info	(20896) Shelly device 192.168.178.51 (shellyswitch25 / shellyswitch25-110B3F / SHSW-25#110B3F#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:34.842	info	(20896) Shelly device 192.168.178.37 (shellyswitch25 / shellyswitch25-73FF32 / SHSW-25#73FF32#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:34.418	info	(20896) Shelly device 192.168.178.42 (shellyswitch25 / shellyswitch25-F37908 / SHSW-25#F37908#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:33.490	info	(20896) Shelly device 192.168.178.48 (shelly1pm / shelly1pm-C4B07F / SHSW-PM#C4B07F#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:33.185	info	(20896) Shelly device 192.168.178.59 (shelly1pm / shelly1pm-C4A798 / SHSW-PM#C4A798#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:32.689	info	(20896) Shelly device 192.168.178.56 (shelly1 / shelly1-98F4ABF295EB / SHSW-1#98F4ABF295EB#1) with CoAP connected!
                                        shelly.0	2020-03-28 13:38:32.129	info	(20896) Listening for Shelly packets in the network
                                        shelly.0	2020-03-28 13:38:32.008	info	(20896) Starting Shelly adapter in CoAP modus.
                                        shelly.0	2020-03-28 13:38:31.944	info	(20896) starting. Version 3.2.3 in /opt/iobroker/node_modules/iobroker.shelly, node: v10.18.0
                                        host.phoscon-iob	2020-03-28 13:38:29.774	info	instance system.adapter.shelly.0 started with pid 20896
                                        host.phoscon-iob	2020-03-28 13:37:59.747	info	Restart adapter system.adapter.shelly.0 because enabled
                                        host.phoscon-iob	2020-03-28 13:37:59.746	info	instance system.adapter.shelly.0 terminated with code 0 (NO_ERROR)
                                        shelly.0	2020-03-28 13:37:59.701	error	(14216) Exception: RangeError [ERR_BUFFER_OUT_OF_BOUNDS]: Attempt to write outside buffer bounds
                                        
                                        haselchen 1 Reply Last reply Reply Quote 0
                                        • haselchen
                                          haselchen Most Active @Baki074 last edited by haselchen

                                          @Baki074

                                          Also Nodejs updaten ist keine große Sache.

                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            Baki074 @haselchen last edited by

                                            @haselchen said in Shelly Adapter: RangeError:

                                            Also Nodejs updaten ist keine große Sache.

                                            Für dich vielleicht ^^

                                            Wie kann ich beispielsweise genau die Version 10.19 installieren?
                                            Kann ich dabei im folgendem Code das x durch 19 einfach so ersetzen?

                                            curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
                                            sudo apt-get install -y nodejs

                                            haselchen 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            751
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            shelly error
                                            8
                                            57
                                            3394
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo