Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Problem mit Astro-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

    Problem mit Astro-Blockly

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

      @janhp sagte in Problem mit Astro-Blockly:

      Leider habe ich mit einem Skipt bisher keinen Erfolg...

      Undefined_on klingt schon mal nicht gut.

      Aber du musst nicht Tagesübergreifend arbeiten:

      @janhp sagte in Problem mit Astro-Blockly:

      von der Golden Hour (~18Uhr) bis zum nächsten Morgen 8:45 UHr aktiv ist.

      sondern dann invertieren mit NICHT zwischen 08:45 und Golden hour als Kriterium nehmen.

      23:59 - Golden hour geht auch nicht, wenn dann anders herum: golden hour bis 23:59

      1 Reply Last reply Reply Quote 0
      • da_Woody
        da_Woody @janhp last edited by

        @janhp ich versteh denn sinn nicht wirklich. wozu ein blockly? nimm smart control, da kannst du schalten und walten wie du möchtest.

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

          @da_Woody Thema verfehlt 😉
          Frage ist, warum das Skript nicht tut was es soll.

          läuft denn smart-control schon stabil?

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

            @Homoran schon richtig, meine idea war nur: warum mit nem blockly rumärgern...
            also bei mir tut smart control so einiges und das verlässlich! in der letzten ver ists auch extrm einfach einzurichten.
            hatte z.b. 4 lichter zum auto off um 2200, die konnte ich jetzt zusammenfassen in eine zeile durch mehrfach auswahl.

            garagentor öffnen, werkstattlicht abdrehn, terrassenlicht in 3 stufen einschalten, poolfilter steuerung, badlüftersteuerung...

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

              @da_Woody sagte in Problem mit Astro-Blockly:

              bei mir tut smart control so einiges und das verlässlich!

              dann muss ich mir das mal ansehen.
              aber....

              @da_Woody sagte in Problem mit Astro-Blockly:

              warum mit nem blockly rumärgern...

              muss dann bei smart control nicht auch eine Logik hinterlegt werden?
              und die kann dann den selben Denkfehler enthalten

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

                @Homoran schaus dir einfach mal an. am anfang musste man wirklich viel denken und tüfteln, jetzt total easy.

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

                  @janhp sagte:

                  von der Golden Hour (~18Uhr) bis zum nächsten Morgen 8:45 UHr aktiv

                  So wie @Homoran geschrieben hat:

                  Blockly_temp.JPG

                  1 Reply Last reply Reply Quote 0
                  • F
                    fastfoot @janhp last edited by

                    @janhp so tut es
                    Zeiten.PNG

                    1 Reply Last reply Reply Quote 0
                    • J
                      janhp last edited by

                      Vielen Dank. Problem gelöst!

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

                        @janhp sagte in Problem mit Astro-Blockly:

                        Vielen Dank. Problem gelöst!

                        und wie?

                        und dann bitte auch das Thema im Titel des ersten Posts auf [gelöst] setzen

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

                          @Homoran sagte in Problem mit Astro-Blockly:

                          und wie?

                          mit meiner Lösung? 🙂

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

                            @fastfoot sagte in Problem mit Astro-Blockly:

                            mit meiner Lösung?

                            die meiner Meinung nach NICHT funktioniert - deswegen ja die Rückfrage
                            (Astro funktioniert IMHO nicht tagesübergreifend)

                            paul53 F 2 Replies Last reply Reply Quote 0
                            • paul53
                              paul53 @Homoran last edited by

                              @Homoran sagte:

                              die meiner Meinung nach NICHT funktioniert

                              Doch die funktioniert, da durch die Wandlung nach "hh:mm" das Datum eliminiert wird,.

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

                                @paul53 Danke - wieder was neues gelernt!

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

                                  @Homoran sagte in Problem mit Astro-Blockly:

                                  @fastfoot sagte in Problem mit Astro-Blockly:

                                  mit meiner Lösung?

                                  die meiner Meinung nach NICHT funktioniert - deswegen ja die Rückfrage
                                  (Astro funktioniert IMHO nicht tagesübergreifend)

                                  ich teste für gewöhnlich Alles, bevor ich mein Halbwissen verbreite. Irrtümer sind natürlich trotzdem nicht ausgeschlossen.

                                  Warum aber die Astrofunktion(ohne Umwandlung zu hh:mm) nicht über Mitternacht funktioniert, ist folgendem Umstand geschuldet: Die Funktionen errechnen den Zeitpunkt zum aktuellen Tag, ab Mitternacht wäre der Vergleich dann zwischen ca. 19:00Uhr abends und 08:45Uhr morgens, was aber natürlich nicht funktioniert. Bei der Umwandlung spielt das keine Rolle, da hier die letzte Uhrzeit(also vom Vortag) genommen werden kann. So zumindest meine Erklärung dafür

                                  da_Woody 1 Reply Last reply Reply Quote 0
                                  • da_Woody
                                    da_Woody @fastfoot last edited by

                                    @fastfoot blockly ist ja mächtig, allerdings muss man da echt manchmal um 3 ecken denken. das und die IMHO mühsame eindeutschung können schon nerven...

                                    F 1 Reply Last reply Reply Quote 0
                                    • F
                                      fastfoot @da_Woody last edited by

                                      @da_Woody sagte in Problem mit Astro-Blockly:

                                      @fastfoot blockly ist ja mächtig, allerdings muss man da echt manchmal um 3 ecken denken. das und die IMHO mühsame eindeutschung können schon nerven...

                                      ooch, mit der Eindeutschung hatte ich noch keine Probleme, ich schau mir das dann im JS code an. Was die drei Ecken angeht, das ist ja immer so beim Programmieren, nie hat man das was man gerade glaubt zu brauchen, sehr oft auch aus Unwissen, was mich angeht. Uhrzeiten sind wohl ein Problem, was ich nie so richtig in den Griff bekommen werde 🙂

                                      da_Woody 1 Reply Last reply Reply Quote 0
                                      • da_Woody
                                        da_Woody @fastfoot last edited by

                                        @fastfoot jo, auch wenn ich sicher eine progger niete bin, rudimentäre kenntnisse sind doch da. ich versteh einen js code schneller und besser als so manches blockly... 😉

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

                                        Support us

                                        ioBroker
                                        Community Adapters
                                        Donate

                                        822
                                        Online

                                        31.8k
                                        Users

                                        80.0k
                                        Topics

                                        1.3m
                                        Posts

                                        blockly
                                        5
                                        19
                                        523
                                        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