Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Blockly followthesun Azimuth

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    245

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    4.5k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.3k

Blockly followthesun Azimuth

Scheduled Pinned Locked Moved Blockly
31 Posts 4 Posters 2.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • I ionar

    @paul53 Ich kann dein Skript nicht ganz nachvollziehen. Ich habe aber um es zu lösen drei Szenen erstellt.

    Szene Süden:
    2 Fenster in Rtg. Süden geschlossen.
    2 Fenster in Rtg. Süden auf 20% geöffnet (für Restlicht im Wohnraum)

    Szene Südwesten:
    1 Fenster in Rtg. Westen geschlossen.
    2 Fenster in Rtg. Westen auf 20% geöffnet.

    Szene Westen:
    Die 4 o. g. Fenster in Rtg. Süden öffnen

    Szene Süden: 150 Grad
    Szene Südwesten: 195 Grad
    Szene Westen: 240 Grad

    Noch ein Skript: Sonnenuntergang +30min löst die Szene aus, dass alle 10 Rolladen des Hauses sich schließen.

    paul53P Offline
    paul53P Offline
    paul53
    wrote on last edited by paul53
    #19

    @ionar sagte:

    • Szene Süden: 150 Grad
    • Szene Südwesten: 195 Grad
    • Szene Westen: 240 Grad

    Also 3 Szenen.

    @homoran sagte in Blockly followthesun Azimuth:

    Sperrvariable

    Bild_2022-05-11_192140142.png

    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

    I HomoranH 2 Replies Last reply
    1
    • paul53P paul53

      @ionar sagte:

      • Szene Süden: 150 Grad
      • Szene Südwesten: 195 Grad
      • Szene Westen: 240 Grad

      Also 3 Szenen.

      @homoran sagte in Blockly followthesun Azimuth:

      Sperrvariable

      Bild_2022-05-11_192140142.png

      I Offline
      I Offline
      ionar
      wrote on last edited by
      #20

      @paul53 sagte in Blockly followthesun Azimuth:

      @ionar sagte:

      • Szene Süden: 150 Grad
      • Szene Südwesten: 195 Grad
      • Szene Westen: 240 Grad

      Also 3 Szenen.

      @homoran sagte in Blockly followthesun Azimuth:

      Sperrvariable

      Bild_2022-05-11_173357365.png

      Aber die Szene würde dann doch alle 60 Sekunden auslösen, weil der Datenpunkt sich aktualisiert und einen neuen Wert in irgendeinen Bereich hat oder?

      HomoranH paul53P 2 Replies Last reply
      0
      • paul53P paul53

        @ionar sagte:

        • Szene Süden: 150 Grad
        • Szene Südwesten: 195 Grad
        • Szene Westen: 240 Grad

        Also 3 Szenen.

        @homoran sagte in Blockly followthesun Azimuth:

        Sperrvariable

        Bild_2022-05-11_192140142.png

        HomoranH Do not disturb
        HomoranH Do not disturb
        Homoran
        Global Moderator Administrators
        wrote on last edited by
        #21

        @paul53 ja

        @ionar
        Das ist die Luxus all in one Variante

        kein Support per PN! - Fragen im Forum stellen -
        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        1 Reply Last reply
        1
        • I ionar

          @paul53 sagte in Blockly followthesun Azimuth:

          @ionar sagte:

          • Szene Süden: 150 Grad
          • Szene Südwesten: 195 Grad
          • Szene Westen: 240 Grad

          Also 3 Szenen.

          @homoran sagte in Blockly followthesun Azimuth:

          Sperrvariable

          Bild_2022-05-11_173357365.png

          Aber die Szene würde dann doch alle 60 Sekunden auslösen, weil der Datenpunkt sich aktualisiert und einen neuen Wert in irgendeinen Bereich hat oder?

          HomoranH Do not disturb
          HomoranH Do not disturb
          Homoran
          Global Moderator Administrators
          wrote on last edited by Homoran
          #22

          @ionar sagte in Blockly followthesun Azimuth:

          oder

          sueden usw. sind hier die Sperrvariablen

          uebrigens: Wert befindet sich unter Trigger, ist keine selbst angelegte Variable!

          kein Support per PN! - Fragen im Forum stellen -
          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
          Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

          1 Reply Last reply
          1
          • I ionar

            @paul53 sagte in Blockly followthesun Azimuth:

            @ionar sagte:

            • Szene Süden: 150 Grad
            • Szene Südwesten: 195 Grad
            • Szene Westen: 240 Grad

            Also 3 Szenen.

            @homoran sagte in Blockly followthesun Azimuth:

            Sperrvariable

            Bild_2022-05-11_173357365.png

            Aber die Szene würde dann doch alle 60 Sekunden auslösen, weil der Datenpunkt sich aktualisiert und einen neuen Wert in irgendeinen Bereich hat oder?

            paul53P Offline
            paul53P Offline
            paul53
            wrote on last edited by
            #23

            @ionar sagte: die Szene würde dann doch alle 60 Sekunden auslösen, weil der Datenpunkt sich aktualisiert

            Das verhindern die Sperrvariablen.

            Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
            Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

            I 1 Reply Last reply
            1
            • paul53P paul53

              @ionar sagte: die Szene würde dann doch alle 60 Sekunden auslösen, weil der Datenpunkt sich aktualisiert

              Das verhindern die Sperrvariablen.

              I Offline
              I Offline
              ionar
              wrote on last edited by ionar
              #24

              @Homoran @paul53
              Vielen Dank euch beiden!

              @paul53 Könntest du mir das bitte zum Importieren bereitstellen?

              HomoranH paul53P 2 Replies Last reply
              0
              • I ionar

                @Homoran @paul53
                Vielen Dank euch beiden!

                @paul53 Könntest du mir das bitte zum Importieren bereitstellen?

                HomoranH Do not disturb
                HomoranH Do not disturb
                Homoran
                Global Moderator Administrators
                wrote on last edited by
                #25

                @ionar sagte in Blockly followthesun Azimuth:

                Könntest du mir das bitte zum Importieren bereitstellen?

                wird er zwar sicherlich machen, aber basteln bildet!

                kein Support per PN! - Fragen im Forum stellen -
                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                I 1 Reply Last reply
                1
                • HomoranH Homoran

                  @ionar sagte in Blockly followthesun Azimuth:

                  Könntest du mir das bitte zum Importieren bereitstellen?

                  wird er zwar sicherlich machen, aber basteln bildet!

                  I Offline
                  I Offline
                  ionar
                  wrote on last edited by
                  #26

                  @homoran :grin:

                  1 Reply Last reply
                  0
                  • I ionar

                    @Homoran @paul53
                    Vielen Dank euch beiden!

                    @paul53 Könntest du mir das bitte zum Importieren bereitstellen?

                    paul53P Offline
                    paul53P Offline
                    paul53
                    wrote on last edited by
                    #27

                    @ionar sagte: zum Importieren bereitstellen?

                    <xml xmlns="https://developers.google.com/blockly/xml">
                     <variables>
                       <variable id="v0h7%r8PQ0sIyrT.;`.{">sueden</variable>
                       <variable id="~2:c{c/2MQcU=L3F]ckN">suedwest</variable>
                       <variable id="4:L8i@iCk_bW~?wb;k3A">westen</variable>
                     </variables>
                     <block type="on_ext" id="sE3IrQo$5M4][J@+SGfU" x="63" y="163">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                       <field name="CONDITION">ne</field>
                       <field name="ACK_CONDITION"></field>
                       <value name="OID0">
                         <shadow type="field_oid" id="blbYra%e,aKA4[y+LB3u">
                           <field name="oid">javascript.1.Sonne.Azimut</field>
                         </shadow>
                       </value>
                       <statement name="STATEMENT">
                         <block type="controls_if" id="4pPCeGZcHFL#t1G/g:Xz">
                           <value name="IF0">
                             <block type="logic_compare" id="Wx~[)j`YMM9[24wCnACA">
                               <field name="OP">LT</field>
                               <value name="A">
                                 <block type="on_source" id="f=e,D0;iz=l,1hJHq5hZ">
                                   <field name="ATTR">state.val</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="C7RyBv;BH=nwsxsKI.XD">
                                   <field name="NUM">150</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="variables_set" id="J6*+Ml4k-{zCHv!y[?+r">
                               <field name="VAR" id="v0h7%r8PQ0sIyrT.;`.{">sueden</field>
                               <value name="VALUE">
                                 <block type="logic_boolean" id="A@#n~@~U*Y9)JKD9N,*,">
                                   <field name="BOOL">FALSE</field>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id="A=ApQRz{^nJF5C!nM4lI">
                                   <field name="VAR" id="~2:c{c/2MQcU=L3F]ckN">suedwest</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="IiY?uckc_Z/8eNn]Wr7!">
                                       <field name="BOOL">FALSE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="~iKG/fB7d)DAAXP1Y9!u">
                                       <field name="VAR" id="4:L8i@iCk_bW~?wb;k3A">westen</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="zAQ4:Tb:-8:Cru4nJfXB">
                                           <field name="BOOL">FALSE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </statement>
                           <next>
                             <block type="controls_if" id="6M(F%:svgzId/6!hi[O^">
                               <value name="IF0">
                                 <block type="logic_operation" id="`~25RE5nQ?+({%_pe5fB" inline="false">
                                   <field name="OP">AND</field>
                                   <value name="A">
                                     <block type="logic_negate" id="3[0~QOsTLjz%zd77$*N?">
                                       <value name="BOOL">
                                         <block type="variables_get" id="RMH+~u,/j%SpS;z(ahR}">
                                           <field name="VAR" id="v0h7%r8PQ0sIyrT.;`.{">sueden</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_compare" id="^DTUdLJ8bCuU|5$[e#r6">
                                       <field name="OP">GTE</field>
                                       <value name="A">
                                         <block type="on_source" id="=4R,IBgLmmavNe50-|DY">
                                           <field name="ATTR">state.val</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="math_number" id="D_Gec]c$XPuiHWizL/xa">
                                           <field name="NUM">150</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="variables_set" id="Q?0;[Dl0^F0Q6#%bJ@7[">
                                   <field name="VAR" id="v0h7%r8PQ0sIyrT.;`.{">sueden</field>
                                   <value name="VALUE">
                                     <block type="logic_boolean" id="{-Be3|{./)FL96zZipvD">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="control" id=":2|RWYyzP[(J5Zlv!+@n">
                                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                       <field name="OID">Object ID</field>
                                       <field name="WITH_DELAY">FALSE</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="5SbgI]I!7RG*Al8!ElGx">
                                           <field name="BOOL">TRUE</field>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                               <next>
                                 <block type="controls_if" id="/dRDS38Z$LDHklXk-I%%">
                                   <value name="IF0">
                                     <block type="logic_operation" id="o9c/XmyCGDIMVL+DK3m4" inline="false">
                                       <field name="OP">AND</field>
                                       <value name="A">
                                         <block type="logic_negate" id="#Uo+4g4;{s)kXosgLq[U">
                                           <value name="BOOL">
                                             <block type="variables_get" id="nV=D{kD{F$_7l|dz]()u">
                                               <field name="VAR" id="~2:c{c/2MQcU=L3F]ckN">suedwest</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="logic_compare" id="/fGOFKn]I.[^?Y@9[b{)">
                                           <field name="OP">GTE</field>
                                           <value name="A">
                                             <block type="on_source" id="$AoeQs5t@:}zQ~mx$6X2">
                                               <field name="ATTR">state.val</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="ca2cF$oXe5(,x?$sM~,O">
                                               <field name="NUM">195</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <statement name="DO0">
                                     <block type="variables_set" id="%N@$fxS};lB?DH@?,rZ2">
                                       <field name="VAR" id="~2:c{c/2MQcU=L3F]ckN">suedwest</field>
                                       <value name="VALUE">
                                         <block type="logic_boolean" id="f0Q1Dkx3QN,88ci$yDH0">
                                           <field name="BOOL">TRUE</field>
                                         </block>
                                       </value>
                                       <next>
                                         <block type="control" id="K_m+q!CBkP@YyiPs,u_Z">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">Object ID</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="!;Hn.B|GXvnGhMj/oD+~">
                                               <field name="BOOL">TRUE</field>
                                             </block>
                                           </value>
                                         </block>
                                       </next>
                                     </block>
                                   </statement>
                                   <next>
                                     <block type="controls_if" id="W+?8c4Q3[zx0%wz`ny5H">
                                       <value name="IF0">
                                         <block type="logic_operation" id="20VLON[R!dK?cW5o7;H#" inline="false">
                                           <field name="OP">AND</field>
                                           <value name="A">
                                             <block type="logic_negate" id="vX}YME2NkbkQ9/9A^B;3">
                                               <value name="BOOL">
                                                 <block type="variables_get" id="KbOSB3NWfN~JOyW;/Swa">
                                                   <field name="VAR" id="4:L8i@iCk_bW~?wb;k3A">westen</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="logic_compare" id="FOTHZK72dd8P.Hfkg{~M">
                                               <field name="OP">GTE</field>
                                               <value name="A">
                                                 <block type="on_source" id=".1dW1TT/.[_,.-1QR.]k">
                                                   <field name="ATTR">state.val</field>
                                                 </block>
                                               </value>
                                               <value name="B">
                                                 <block type="math_number" id="Lu?VHvR]0V_1Kb;y)Ta_">
                                                   <field name="NUM">240</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="variables_set" id="@A+j{DTGTEwVTkQC!;~F">
                                           <field name="VAR" id="4:L8i@iCk_bW~?wb;k3A">westen</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="jZdI)^7^{gIqSdtAUK;l">
                                               <field name="BOOL">TRUE</field>
                                             </block>
                                           </value>
                                           <next>
                                             <block type="control" id="nd{+w=-0FHlGxV7?8^%,">
                                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                               <field name="OID">Object ID</field>
                                               <field name="WITH_DELAY">FALSE</field>
                                               <value name="VALUE">
                                                 <block type="logic_boolean" id="U,QBtmSi4uaZ=WjLM3*P">
                                                   <field name="BOOL">TRUE</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </next>
                                         </block>
                                       </statement>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </statement>
                     </block>
                    </xml>
                    

                    Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                    Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                    1 Reply Last reply
                    0
                    • I Offline
                      I Offline
                      ionar
                      wrote on last edited by
                      #28

                      Ich versuche es gerade selber zu machen. Was bedeutet "nicht" + "Variable"?

                      HomoranH paul53P J 3 Replies Last reply
                      0
                      • I ionar

                        Ich versuche es gerade selber zu machen. Was bedeutet "nicht" + "Variable"?

                        HomoranH Do not disturb
                        HomoranH Do not disturb
                        Homoran
                        Global Moderator Administrators
                        wrote on last edited by
                        #29

                        @ionar sagte in Blockly followthesun Azimuth:

                        Was bedeutet "nicht" + "Variable"?

                        dass der Wert nicht so ist wie der der in der Variable steht

                        kein Support per PN! - Fragen im Forum stellen -
                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.
                        Das Forum freut sich über eine Spende. Benutzt dazu den Spendenbutton im Header. Danke!
                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        1 Reply Last reply
                        1
                        • I ionar

                          Ich versuche es gerade selber zu machen. Was bedeutet "nicht" + "Variable"?

                          paul53P Offline
                          paul53P Offline
                          paul53
                          wrote on last edited by
                          #30

                          @ionar sagte: Was bedeutet "nicht" + "Variable"?

                          Die Bedingung ist erfüllt, wenn die Variable nicht wahr, also falsch oder undefined ist.

                          Bitte verzichtet auf Chat-Nachrichten, denn die Handhabung ist grauenhaft !
                          Produktiv: RPi 2 mit S.USV, HM-MOD-RPI und SLC-USB-Stick mit root fs

                          1 Reply Last reply
                          1
                          • I ionar

                            Ich versuche es gerade selber zu machen. Was bedeutet "nicht" + "Variable"?

                            J Offline
                            J Offline
                            Jens Lattwesen
                            wrote on last edited by
                            #31

                            @ionar
                            Moin,

                            Verständnisfrage ;-) Richtest Du Dich "nur" nach dem Azimuth oder hast Du noch andere Sensoren am Start?

                            1 Reply Last reply
                            0
                            Reply
                            • Reply as topic
                            Log in to reply
                            • Oldest to Newest
                            • Newest to Oldest
                            • Most Votes


                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            568

                            Online

                            32.7k

                            Users

                            82.5k

                            Topics

                            1.3m

                            Posts
                            Community
                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                            ioBroker Community 2014-2025
                            logo
                            • Login

                            • Don't have an account? Register

                            • Login or register to search.
                            • First post
                              Last post
                            0
                            • Home
                            • Recent
                            • Tags
                            • Unread 0
                            • Categories
                            • Unreplied
                            • Popular
                            • GitHub
                            • Docu
                            • Hilfe