Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Sonnenschutz funzt nicht, warum?(Blockly)

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    Sonnenschutz funzt nicht, warum?(Blockly)

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators last edited by

      Ist der wert vom Forecast eine Zahl?

      Gruß Rainer

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

        ja eine Zahl (Type Number) mit Grad C

        1 Reply Last reply Reply Quote 0
        • R
          RappiRN Most Active last edited by

          Dann war wohl die vorhergesagte Temperatur nicht über 22°C, oder?

          Enrico

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

            Hi,

            doch wir hatten heute 24 ° C

            Habe ich da einen Fehler drin?

            Eigentlich doch nicht, zumindest fällt er mir nicht auf.

            Der boolaen Datenpunkt steht auch auf "true"

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

              Dann mach mal ein paar sinnvolle debug blöcke rein.

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

                @totocotonio:

                ja eine Zahl (Type Number) mit Grad C `
                Wenn der Datenpunkt vom Typ "Zahl" (number) ist, bedeutet es nicht, dass der Wert tatsächlich auch eine Zahl ist. Füge mal ein:

                debug output | Typ von | Wert vom Objekt ID Forecast of temperature for today
                
                1 Reply Last reply Reply Quote 0
                • totocotonio
                  totocotonio last edited by

                  Hi,

                  wo mache ich die denn am besten rein und vor allem welche.

                  Wie gesagt ich bin noch Anfänger.

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

                    @paul53:

                    @totocotonio:

                    ja eine Zahl (Type Number) mit Grad C `
                    Wenn der Datenpunkt vom Typ "Zahl" (number) ist, bedeutet es nicht, dass der Wert tatsächlich auch eine Zahl ist. Füge mal ein:

                    debug output | Typ von | Wert vom Objekt ID Forecast of temperature for today
                    ```` `  
                    

                    Hi,

                    da bin ich überfordert wo kommt das hin.

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

                      @totocotonio:

                      wo kommt das hin. `
                      Separat (außerhalb der anderen Böcke), damit es gleich beim Skriptstart abgearbeitet wird.

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

                        1626_debug.png

                        so

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

                          Nein, so.
                          493_blockly_log_typeof.jpg

                          1 Reply Last reply Reply Quote 0
                          • R
                            RappiRN Most Active last edited by

                            Habs grad mal ausprobiert, der Wert scheint aus dem yr-Adapter zu sein.

                            Da kommt "number" raus, also sollte es auch ne Zahl sein, oder? Oder gibt es die Möglichkeit, dass der Adapter die Zahl als Text in das Objekt schreibt?

                            Enrico

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

                              Wann wird das denn dann angezeigt.

                              Wenn das script startet?

                              1 Reply Last reply Reply Quote 0
                              • R
                                RappiRN Most Active last edited by

                                Genau, direkt nach dem Speichern wird das Script ja neugestartet (wenn es denn schon läuft) und dann kommt der Eintrag.

                                Enrico

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

                                  @RappiRN:

                                  Habs grad mal ausprobiert, der Wert scheint aus dem yr-Adapter zu sein.

                                  Da kommt "number" raus, also sollte es auch ne Zahl sein, oder? Oder gibt es die Möglichkeit, dass der Adapter die Zahl als Text in das Objekt schreibt?

                                  Enrico `

                                  Ja ist der yr.

                                  Ich habe da keinen Plan.

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

                                    @RappiRN:

                                    Genau, direkt nach dem Speichern wird das Script ja neugestartet (wenn es denn schon läuft) und dann kommt der Eintrag.

                                    Enrico `

                                    1626_log.png
                                    1626_log1.png

                                    mehr kommt nicht? komisch

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

                                      Stelle mal den Debug output von debug auf info.

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

                                        @paul53:

                                        Stelle mal den Debug output von debug auf info. `

                                        ok, da kommt jetzt number raus, also müsste es doch funzen

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

                                          War der wert denn heute morgen um 11:00 bereits über 22°C?

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

                                            hi,

                                            das kann ich nicht genau sagen. :roll:

                                            Aber wenn ich das ganze mit einem Zeitplan mache(zum testen), funktioniert es auch nicht.

                                            Kann das mit dem boolean (Rolladen Automatic) zu tun haben, das der nicht funktioniert.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            872
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            27
                                            1485
                                            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