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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • 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.
    • 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
                              • Homoran
                                Homoran Global Moderator Administrators last edited by

                                Dann setz doch mal ein paar debug blöcke rein, damit man sieht wo es hängt.

                                Gruß Rainer

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

                                  Hallo Rainer,

                                  hier der debug.
                                  1626_debug1.png
                                  1626_log3.png

                                  Melde mich morgen wieder.

                                  Danke schon mal im voraus

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

                                    @totocotonio:

                                    hier der debug. `
                                    Dann packe mal die 3 Debug-Blöcke in den Astro-Trigger vor das erste falls und schaue morgen Mittag im Log das Ergebnis an. Außerdem solltest Du anschließend im Reiter "Objekte" kontrollieren, ob der Wert von 50 in die beiden Datenpunkte gelangt ist und ob der Zeitstempel mit dem Log-Zeitpunkt übereinstimmt. Falls das gegeben ist, liegt das Problem nicht im Skript, sondern woanders.

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

                                      Eine Möglichkeit wäre noch, hast du auch wirklich den max-Wert erwischt und nicht den min-Wert? Der Name ist bei beiden gleich!

                                      Enrico

                                      1 Reply Last reply Reply Quote 0
                                      • Dutchman
                                        Dutchman Developer Most Active Administrators last edited by

                                        Da du den Wert forecast benutzt denke ich Mal das hier das Problem liegt.

                                        Laut deinem Log ist forecast 18 also < 22!

                                        Soweit ich weiß kommen die forecast Werte einmal pro Tag rein und entsprechen nicht der jetzigen wirklichen Temperatur.

                                        Sent from my iPhone using Tapatalk

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

                                          Hallo,

                                          so ich habe mal jetzt eure Tipps umgesetzt.

                                          Den Debug umgesetzt.

                                          Die Temperatur ist die Max Temperatur. Den Versatz habe ich jetzt mal auf -60min gesetzt.

                                          Mal sehen was morgen passiert. Hoffentlich wird es warm, obwohl es ja im Moment nicht

                                          so aussieht.

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

                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          496
                                          Online

                                          31.7k
                                          Users

                                          79.9k
                                          Topics

                                          1.3m
                                          Posts

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