Navigation

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

    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

    Javascript fehlermeldung

    This topic has been deleted. Only users with topic management privileges can see it.
    • Aphofis
      Aphofis last edited by Aphofis

      Systemdata Bitte Ausfüllen
      Hardwaresystem: pi4.
      Arbeitsspeicher: 4 GB
      Festplattenart: Micro-SD-Karte
      Betriebssystem: Ubuntu
      Node-Version: 14.21.2
      Nodejs-Version: 14.21.2
      NPM-Version: 6.14.17
      Installationsart: Skript
      Image genutzt: Ja

      Wie kann ich diesen Fehler beheben!? vielleicht kennt jemand den Fehler und kann mir helfen.

      javascript.0
      	2023-05-14 18:27:00.867	warn	at processTimers (internal/timers.js:500:7)
      javascript.0
      	2023-05-14 18:27:00.864	warn	at listOnTimeout (internal/timers.js:559:11)
      javascript.0
      	2023-05-14 18:27:00.862	warn	at Timeout._onTimeout (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1777:29)
      javascript.0
      	2023-05-14 18:27:00.859	warn	at Object.setState (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1719:20)
      javascript.0
      	2023-05-14 18:27:00.854	warn	You are assigning a string to the state "0_userdata.0.tasmota-devices.Device_1.Power" which expects a boolean. Please fix your code to use a boolean or change the state type to string. This warning might become an error in future versions.
      
      crunchip bahnuhr 3 Replies Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @Aphofis last edited by

        @aphofis sagte in Javascript fehlermeldung:

        0_userdata.0.tasmota-devices.Device_1.Power

        der DP hat wohl den falschen Typ

        Aphofis 1 Reply Last reply Reply Quote 0
        • Aphofis
          Aphofis @crunchip last edited by

          @crunchip
          Wie kann man denn den Fehler beheben !?
          bzw wo kommt der Fehler her

          mickym crunchip 2 Replies Last reply Reply Quote 0
          • mickym
            mickym Most Active @Aphofis last edited by

            @aphofis Steht dich da Du schreibst einen String in einen Boolean Datenpunkt. Entweder hast Du Kontrolle was Du schreibst oder Du änderst den Typ des Datenpunktes (Bleistift) anklicken.

            1 Reply Last reply Reply Quote 0
            • crunchip
              crunchip Forum Testing Most Active @Aphofis last edited by

              @aphofis sagte in Javascript fehlermeldung:

              wo kommt der Fehler her

              hast du selbst angelegt

              @aphofis sagte in Javascript fehlermeldung:

              Wie kann man denn den Fehler beheben !?

              den Typ ändern

              zeig mal das Raw (Bleistift) vom DP

              bzw mal dein script

              Aphofis 1 Reply Last reply Reply Quote 0
              • Aphofis
                Aphofis @crunchip last edited by

                @crunchip sagte in Javascript fehlermeldung:

                @aphofis sagte in Javascript fehlermeldung:

                wo kommt der Fehler her

                hast du selbst angelegt

                @aphofis sagte in Javascript fehlermeldung:

                Wie kann man denn den Fehler beheben !?

                den Typ ändern

                zeig mal das Raw (Bleistift) vom DP

                bzw mal dein script

                Habe den wert geändert in string nur kommt der Fehler immer noch
                ne der wurde durch Tasmota (sonoff) erstellt

                Aphofis 1 Reply Last reply Reply Quote 0
                • Aphofis
                  Aphofis @Aphofis last edited by

                  script.png

                  crunchip 1 Reply Last reply Reply Quote 0
                  • bahnuhr
                    bahnuhr Forum Testing Most Active @Aphofis last edited by

                    @aphofis sagte in Javascript fehlermeldung:

                    0_userdata.0.

                    Solche DP wurden selber angelegt.

                    Das wart du schon selbst.

                    Aphofis 1 Reply Last reply Reply Quote 0
                    • Aphofis
                      Aphofis @bahnuhr last edited by

                      @bahnuhr
                      Dann isses vermutlich sehr lange her!

                      Aphofis bahnuhr 2 Replies Last reply Reply Quote 0
                      • crunchip
                        crunchip Forum Testing Most Active @Aphofis last edited by

                        @aphofis was ist Rolle string?

                        Aphofis 1 Reply Last reply Reply Quote 0
                        • Aphofis
                          Aphofis @Aphofis last edited by

                          Wenn ich Device_1 komplett lösche, wird dieser automatisch neu erstellt das Gerät gibt es aktuell auch immer noch

                          1 Reply Last reply Reply Quote 0
                          • bahnuhr
                            bahnuhr Forum Testing Most Active @Aphofis last edited by

                            @aphofis

                            Du müsstest aber auch mal dein system updaten.
                            node 14 und npm 6 ist schon sehr lange her.

                            Aphofis 1 Reply Last reply Reply Quote 0
                            • Aphofis
                              Aphofis @crunchip last edited by

                              @crunchip sagte in Javascript fehlermeldung:

                              @aphofis was ist Rolle string?

                              Das sollte ich doch ändern oder nicht

                              1 Reply Last reply Reply Quote 0
                              • bahnuhr
                                bahnuhr Forum Testing Most Active @Aphofis last edited by

                                @aphofis sagte in Javascript fehlermeldung:

                                change the state type to string

                                Nein, nicht rolle sondern type.

                                1 Reply Last reply Reply Quote 1
                                • Aphofis
                                  Aphofis @bahnuhr last edited by

                                  @bahnuhr sagte in Javascript fehlermeldung:

                                  @aphofis

                                  Du müsstest aber auch mal dein system updaten.
                                  node 14 und npm 6 ist schon sehr lange her.

                                  Dann mache ich das erstmal vielleicht gehen die Fehler dann von alleine weg

                                  bahnuhr 1 Reply Last reply Reply Quote 0
                                  • bahnuhr
                                    bahnuhr Forum Testing Most Active @Aphofis last edited by

                                    @aphofis sagte in Javascript fehlermeldung:

                                    Dann mache ich das erstmal vielleicht gehen die Fehler dann von alleine weg

                                    Nein, mit Sicherheit nicht.

                                    Du schreibst ja per script, blocky (oder wie auch immer) ja bewusst in deinen selbst angelegten DP.

                                    Warum soll sich das ändern ?

                                    Aphofis 1 Reply Last reply Reply Quote 0
                                    • Aphofis
                                      Aphofis @bahnuhr last edited by

                                      @bahnuhr
                                      wie gesagt das Device wird durch tasmota angelegt! Wenn ich Device_1 komplett lösche wird dieser automatisch nach ein paar sek. automatisch wieder erstellt

                                      bahnuhr crunchip paul53 3 Replies Last reply Reply Quote 0
                                      • bahnuhr
                                        bahnuhr Forum Testing Most Active @Aphofis last edited by

                                        @aphofis sagte in Javascript fehlermeldung:

                                        tasmota

                                        Das wäre mir ganz neu, dass tasmota einen DP in userdata.0 anlegt.

                                        Glaub ich nicht !

                                        1 Reply Last reply Reply Quote 0
                                        • crunchip
                                          crunchip Forum Testing Most Active @Aphofis last edited by crunchip

                                          @aphofis sagte in Javascript fehlermeldung:

                                          wie gesagt das Device wird durch tasmota angelegt!

                                          ne

                                          wohl eher durch ein script

                                          bzw (d)ein device unter sonoff wird neu angelegt wenn du es löscht, hat aber nichts mit einem DP unter userdata.0 zu tun

                                          bahnuhr Aphofis 2 Replies Last reply Reply Quote 0
                                          • bahnuhr
                                            bahnuhr Forum Testing Most Active @crunchip last edited by

                                            @crunchip sagte in Javascript fehlermeldung:

                                            @aphofis sagte in Javascript fehlermeldung:

                                            wie gesagt das Device wird durch tasmota angelegt!

                                            ne

                                            wohl eher durch ein script

                                            Das wäre eine Erklärung. Aber auch dies muss er selber geschrieben haben.

                                            @Aphofis
                                            Wer hat dein System denn eingerichtet ?

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            916
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            26
                                            571
                                            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