Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Fehlermeldung

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Fehlermeldung

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

      Hey Leute, was ist das für ein Fehler!? und wie kann ich diesen beheben?

      	You are assigning a boolean to the state "0_userdata.0.tasmota-devices.Device_1.Power" which expects a string. Please fix your code to use a string or change the state type to boolean. This warning might become an error in future versions.
      
      ? Homoran 2 Replies Last reply Reply Quote 0
      • ?
        A Former User @Aphofis last edited by

        @aphofis der Datenpunkt
        0_userdata.0.tasmota-devices.Device_1.Power Scheint vom Typ String zu sein. Diesen musst du umstellen auf Boolean.

        1 Reply Last reply Reply Quote 1
        • Homoran
          Homoran Global Moderator Administrators @Aphofis last edited by

          @aphofis sagte in Fehlermeldung:

          was ist das für ein Fehler!

          @aphofis sagte in Fehlermeldung:

          You are assigning a boolean to the state "0_userdata.0.tasmota-devices.Device_1.Power"

          @aphofis sagte in Fehlermeldung:

          wie kann ich diesen beheben?

          indem du tust was da steht: statt des bool einen Text schicken!

          oder alternativ den Typ des DP von String auf Bool stellen

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

            @homoran
            wo soll da denn tasmota-devices sein und was soll da Device_1 sein !?

            sonoff.png
            Ich weiß nicht genau welches Gerät da gemeint ist.

            ? 1 Reply Last reply Reply Quote 0
            • ?
              A Former User @Aphofis last edited by

              @aphofis erst 0_userdata.0. und dann tasmota devices

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

                @ciddi89
                ist es so korrekt !?

                sonoff2.png

                ? Homoran 2 Replies Last reply Reply Quote 0
                • ?
                  A Former User @Aphofis last edited by

                  @aphofis ja so sollte der Type korrekt sein

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

                    @ciddi89
                    OK ich teste das mal.
                    nur was komisch ist wenn ich Power über den DP auf false ändere bleibt das licht an.
                    gehe ich direkt über die tasmota webseite von dem Gerät und schalte das Gerät auf false geht es aber über iobroker gehts nicht mehr

                    1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @Aphofis last edited by

                      @aphofis sagte in Fehlermeldung:

                      ist es so korrekt !?

                      ??
                      ja, das sollte der angemeckerte DP sein.

                      hast du da gerade den Typ umgestellt?
                      dann würde das jetzt keine Meldung nehr geben.

                      ABER:
                      ein Wert mit Namen Power sollte IMHO weder ein String und erst recht nicht ein Bool sein.
                      Eher eine Zahl

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

                        @homoran
                        ich weiß auch nicht warum das ein String war. also doch boolean ändern in number !?
                        Ich verstehe nicht warum sich das Gerät nicht per DP schalten lässt.

                        Homoran 1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @Aphofis last edited by

                          @aphofis sagte in Fehlermeldung:

                          @homoran
                          ich weiß auch nicht warum das ein String war. also doch boolean ändern in number !?

                          dann sind wir wieder am Anfang!

                          was kommt denn da für ein Wert?

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

                            @homoran
                            eigentlich ist es ein Object also true/false

                            Homoran 1 Reply Last reply Reply Quote 0
                            • Homoran
                              Homoran Global Moderator Administrators @Aphofis last edited by Homoran

                              @aphofis zeig doch mal!
                              wo kommt der Wert her?
                              wie kommt der in den DP?

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

                                @homoran

                                sonoff3.png

                                sonoff4.png

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

                                  @aphofis verwendest du den mqtt Adapter oder den sonoff, ich blick es gerade nicht, warum du die Daten unter userdata hast

                                  Homoran Aphofis 2 Replies Last reply Reply Quote 1
                                  • Homoran
                                    Homoran Global Moderator Administrators @crunchip last edited by

                                    @crunchip sagte in Fehlermeldung:

                                    ich blick es gerade nicht, warum du die Daten unter userdata hast

                                    genau das ist auch mein Problem

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

                                      @crunchip

                                      weil das irgendwann mal bei einem update war
                                      da sollte man alles in Userdata an eigenen DP speichern.
                                      Ich benutze das Sonoff Gerät dort lässt es sich aber auch nicht steuern über Power
                                      Licht bleibt an auch wenn ich den Wert auf false ändere.
                                      Ging ja nur um die Fehlermeldung. Woher die DP in Userdata kommen weiß ich auch nicht

                                      direkt über sonoff DP vom Gerät über Power oder Switch1 true/false lässt es sich nicht steuern

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

                                        @aphofis sagte in Fehlermeldung:

                                        Woher die DP in Userdata kommen weiß ich auch nicht

                                        na die hast du wohl selbst irgendwie angelegt

                                        @aphofis sagte in Fehlermeldung:

                                        irekt über sonoff DP vom Gerät über Power oder Switch1 true/false lässt es sich nicht steuern

                                        lässt er sich denn über die Weboberfläche schalten?

                                        @aphofis sagte in Fehlermeldung:

                                        weil das irgendwann mal bei einem update war
                                        da sollte man alles in Userdata an eigenen DP speichern.

                                        da ging es darum nicht eigene Datenpunkte unterhalb des Adapters zu speichern

                                        @aphofis sagte in Fehlermeldung:

                                        direkt über sonoff DP vom Gerät

                                        stimmen denn 192.168.0.73 und 1883?

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

                                          @crunchip sagte in Fehlermeldung:

                                          he schalten?

                                          Hmm hab die DP in userdata zu tasmota-devices jetzt gelöscht.
                                          Ja direkt per Tasmota webseite vom Gerät geht das schalten.
                                          Hatte ja um die 40 Geräte in meinem Meerwasser Aquarium eingebaut die alle gemacht haben was sie sollte und sogar im Millisekunden bereich und jetzt die eine Deckenlampe will über iobroker nicht. Irgendwie komisch obgleich Sonoff Adapter erfolgreiche verbindung zu dem Gerät Bad_Decke meldet.
                                          Ja IP und Port stimmen siehe Fotos und im Sonoff Adapter sind IP und Port und Admin inkl Passwort korrekt gesetzt

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

                                            @aphofis sagte in Fehlermeldung:

                                            die eine Deckenlampe will über iobroker nicht

                                            starte mal dieses Gerät neu per Weboberfläche und anschließend den Sonoff Adapter

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            676
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            21
                                            533
                                            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