Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. Automatischer Wechsel des VIEW zu einer bestimmten Zeit

NEWS

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    11
    1
    324

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.5k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.5k

Automatischer Wechsel des VIEW zu einer bestimmten Zeit

Geplant Angeheftet Gesperrt Verschoben Blockly
30 Beiträge 8 Kommentatoren 4.1k Aufrufe 7 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • V vtecmike

    Vielen Dank Jungs.....hoffe es klappt!

    V Offline
    V Offline
    vtecmike
    schrieb am zuletzt editiert von
    #9

    @vtecmike said in Automatischer Wechsel des VIEW zu einer bestimmten Zeit:

    Vielen Dank Jungs.....hoffe es klappt!

    hat leider nicht funtioniert :(

    PeoplesP 1 Antwort Letzte Antwort
    0
    • V vtecmike

      @vtecmike said in Automatischer Wechsel des VIEW zu einer bestimmten Zeit:

      Vielen Dank Jungs.....hoffe es klappt!

      hat leider nicht funtioniert :(

      PeoplesP Offline
      PeoplesP Offline
      Peoples
      schrieb am zuletzt editiert von Peoples
      #10

      @vtecmike

      Hab da vor langem Mal ein Script geschrieben welches ich bis heute verwende, das könntest du ganz einfach ergänzen bzw. Dir das benötigte rauskopieren:
      https://forum.iobroker.net/topic/20876/vorlage-automatischer-view-wechsel-u-slideshow

      Ich beantworte keine Fragen zu Themen via PN

      V 1 Antwort Letzte Antwort
      0
      • PeoplesP Peoples

        @vtecmike

        Hab da vor langem Mal ein Script geschrieben welches ich bis heute verwende, das könntest du ganz einfach ergänzen bzw. Dir das benötigte rauskopieren:
        https://forum.iobroker.net/topic/20876/vorlage-automatischer-view-wechsel-u-slideshow

        V Offline
        V Offline
        vtecmike
        schrieb am zuletzt editiert von
        #11

        @peoples Vielen vielen Dank......
        Hab es versucht,schaff es aber leider nicht die dinge raus zu nehmen was ich brauche und aus zu füllen....:(

        Danke trotzdem

        PeoplesP 1 Antwort Letzte Antwort
        0
        • V vtecmike

          @peoples Vielen vielen Dank......
          Hab es versucht,schaff es aber leider nicht die dinge raus zu nehmen was ich brauche und aus zu füllen....:(

          Danke trotzdem

          PeoplesP Offline
          PeoplesP Offline
          Peoples
          schrieb am zuletzt editiert von
          #12

          @vtecmike
          Beschreib nochmal genau was du erreichen willst inkl. Der genauen Namen der Views

          Dann bastel ich dirs zusammen

          Ich beantworte keine Fragen zu Themen via PN

          V 1 Antwort Letzte Antwort
          0
          • PeoplesP Peoples

            @vtecmike
            Beschreib nochmal genau was du erreichen willst inkl. Der genauen Namen der Views

            Dann bastel ich dirs zusammen

            V Offline
            V Offline
            vtecmike
            schrieb am zuletzt editiert von
            #13

            @peoples Echt nett von dir, dafür schonmal danke.......

            Also ich hab einen View der heißt "04Navigation" und den sollte man von 05:00Uhr bis 18:00Uhr zu sehen sein. Dann habe ich einen Nacht-View,der heißt "03NavigationNacht" und der sollte automatisch von 18:00-05:00Uhr zu sehen sein . Mein Projekt heißt "HOME"

            wenn du noch infos brauchst, meld dich einfach...

            opossumO PeoplesP 2 Antworten Letzte Antwort
            0
            • V vtecmike

              @peoples Echt nett von dir, dafür schonmal danke.......

              Also ich hab einen View der heißt "04Navigation" und den sollte man von 05:00Uhr bis 18:00Uhr zu sehen sein. Dann habe ich einen Nacht-View,der heißt "03NavigationNacht" und der sollte automatisch von 18:00-05:00Uhr zu sehen sein . Mein Projekt heißt "HOME"

              wenn du noch infos brauchst, meld dich einfach...

              opossumO Offline
              opossumO Offline
              opossum
              schrieb am zuletzt editiert von
              #14

              @vtecmike , @Peoples ,
              sorry, habe das gerade gelesen. Hoffe, Ihr seid mir nicht böse. @vtecmike, versuche es bitte mal so:

              2509c01b-ff9f-46db-a656-42dcf5b7c9ad-image.png

              @vtecmike ,
              wäre gut, wenn Du bei Nichtfunktionieren etwas mehr Infos geben würdest. Danke Dir.

              https://schlepper-petersdorf.jimdofree.com/

              V 1 Antwort Letzte Antwort
              0
              • C Offline
                C Offline
                Coffeelover
                schrieb am zuletzt editiert von
                #15

                Eine alternative Lösung:
                1 Datenpunkt, welche um 05:00 auf 0, um 18:00 auf Wert 1 gesetzt wird.
                Dieser Datenpunkt steuert ein "View in Widget 8". In dem Widget musst du dann nurnoch für View Tab [0] die Tagesview und bei View Tab [1] die Nachtview sowie unter Object ID den o.g. Datenpunkt anlegen.

                1 Antwort Letzte Antwort
                0
                • opossumO opossum

                  @vtecmike , @Peoples ,
                  sorry, habe das gerade gelesen. Hoffe, Ihr seid mir nicht böse. @vtecmike, versuche es bitte mal so:

                  2509c01b-ff9f-46db-a656-42dcf5b7c9ad-image.png

                  @vtecmike ,
                  wäre gut, wenn Du bei Nichtfunktionieren etwas mehr Infos geben würdest. Danke Dir.

                  V Offline
                  V Offline
                  vtecmike
                  schrieb am zuletzt editiert von
                  #16

                  @opossum Guten Morgen und....danke.
                  Leider hab ich es so wie du das hier am Bild zusammengestellt hast bereits versucht. Eigentlich funtioniert es so auch (also er schaltet schon um auf die andere VIE).Wenn ich im iobroker auf Objekte gehe und die 3 vis-Zeilenbroker1.PNG beobachte,dann schaltet er "command" & "data" schon um

                  ABER.........

                  Sobald ich mich mit einem Gerät (Ipad,Handy...) einlogge (also auf die VIE gehe) Schaltet er in der sec. wieder auf die ursprungs view zurück.Daher glaube ich das die Version von "Coffelover" mit den Datenpunkten setzen, funtionieren könnte. Jedoch bekomm ich das alleine nicht hin die Datenpunkte so zu erstellen......werde es aber versuchen

                  Danke Jungs....

                  crunchipC 1 Antwort Letzte Antwort
                  0
                  • V vtecmike

                    @opossum Guten Morgen und....danke.
                    Leider hab ich es so wie du das hier am Bild zusammengestellt hast bereits versucht. Eigentlich funtioniert es so auch (also er schaltet schon um auf die andere VIE).Wenn ich im iobroker auf Objekte gehe und die 3 vis-Zeilenbroker1.PNG beobachte,dann schaltet er "command" & "data" schon um

                    ABER.........

                    Sobald ich mich mit einem Gerät (Ipad,Handy...) einlogge (also auf die VIE gehe) Schaltet er in der sec. wieder auf die ursprungs view zurück.Daher glaube ich das die Version von "Coffelover" mit den Datenpunkten setzen, funtionieren könnte. Jedoch bekomm ich das alleine nicht hin die Datenpunkte so zu erstellen......werde es aber versuchen

                    Danke Jungs....

                    crunchipC Abwesend
                    crunchipC Abwesend
                    crunchip
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von
                    #17

                    @vtecmike sagte in Automatischer Wechsel des VIEW zu einer bestimmten Zeit:

                    Sobald ich mich mit einem Gerät (Ipad,Handy...) einlogge (also auf die VIE gehe) Schaltet er in der sec. wieder auf die ursprungs view zurück

                    dafür ist doch auch die instance control vis, anstatt mit * alle zu schalten, explizit die Instanz des Gerätes schalten, dann sollte es egal sein, was du auf nem anderen Gerät machst.

                    umgestiegen von Proxmox auf Unraid

                    1 Antwort Letzte Antwort
                    0
                    • V Offline
                      V Offline
                      vtecmike
                      schrieb am zuletzt editiert von vtecmike
                      #18

                      @crunchip Verstehe ich dich richtig, ich soll in "instance-Control vis" statt !!Blockly3.PNG soll ich die id des gerätes eintragen....?

                      crunchipC 1 Antwort Letzte Antwort
                      0
                      • V vtecmike

                        @crunchip Verstehe ich dich richtig, ich soll in "instance-Control vis" statt !!Blockly3.PNG soll ich die id des gerätes eintragen....?

                        crunchipC Abwesend
                        crunchipC Abwesend
                        crunchip
                        Forum Testing Most Active
                        schrieb am zuletzt editiert von crunchip
                        #19

                        @vtecmike ja, so wie HIER gezeigt
                        Jedes Gerät hat seine eigene Instanz ID, ruf mit deinem Tablet (das du mit deinen Views steuern möchtest) die Vis im EDIT Modus auf, dann siehst du die ID, diese trägst du in dein blockly ein

                        umgestiegen von Proxmox auf Unraid

                        K 1 Antwort Letzte Antwort
                        0
                        • crunchipC crunchip

                          @vtecmike ja, so wie HIER gezeigt
                          Jedes Gerät hat seine eigene Instanz ID, ruf mit deinem Tablet (das du mit deinen Views steuern möchtest) die Vis im EDIT Modus auf, dann siehst du die ID, diese trägst du in dein blockly ein

                          K Offline
                          K Offline
                          Kusi
                          schrieb am zuletzt editiert von
                          #20

                          @crunchip sagte in Automatischer Wechsel des VIEW zu einer bestimmten Zeit:

                          die Vis im EDIT Modus auf

                          Anderer Vorschlag:
                          Nimm folgendes Widget und ziehe es an eine freie Stelle auf deiner VIS (ggfs. Schriftfarbe anpassen).
                          b72508e7-7614-4274-b344-a672eb5426ce-image.png
                          Aktualisiere und Starte nun die VIS (ioBroker-APP) auf deinem Gerät, bei welchem du die View ändern lassen willst.
                          Jetzt siehst du die Instanz-ID in diesem Widget..
                          So kannst du ganz einfach sämtliche Instanz-ID´s all deiner Geräte auslesen.

                          V 1 Antwort Letzte Antwort
                          0
                          • V vtecmike

                            @peoples Echt nett von dir, dafür schonmal danke.......

                            Also ich hab einen View der heißt "04Navigation" und den sollte man von 05:00Uhr bis 18:00Uhr zu sehen sein. Dann habe ich einen Nacht-View,der heißt "03NavigationNacht" und der sollte automatisch von 18:00-05:00Uhr zu sehen sein . Mein Projekt heißt "HOME"

                            wenn du noch infos brauchst, meld dich einfach...

                            PeoplesP Offline
                            PeoplesP Offline
                            Peoples
                            schrieb am zuletzt editiert von
                            #21

                            @vtecmike sagte in Automatischer Wechsel des VIEW zu einer bestimmten Zeit:

                            @peoples Echt nett von dir, dafür schonmal danke.......

                            Also ich hab einen View der heißt "04Navigation" und den sollte man von 05:00Uhr bis 18:00Uhr zu sehen sein. Dann habe ich einen Nacht-View,der heißt "03NavigationNacht" und der sollte automatisch von 18:00-05:00Uhr zu sehen sein . Mein Projekt heißt "HOME"

                            wenn du noch infos brauchst, meld dich einfach...

                            Hi,

                            sorry hat weng gedauert. Ich habe dir da mal schnell was zusammengebastelt sollte funktionieren.
                            Das FFFFFF.... bei Instance bedeutet dass er alle Geräte dahin umschaltet, möchtest du ein spezielles, brauchst du wie schon erwähnt die Instanz der View des Wunschgerätes.

                            Rückinfo ist gewünscht :-)

                            function viewSwitch(dp){
                                if(dp == 'tag'){
                                    setState('vis.0.control.instance', 'FFFFFFFF');
                                    setState('vis.0.control.data', 'HOME/04Navigation');
                                    setState('vis.0.control.command', 'changeView');
                                } else {
                                    setState('vis.0.control.instance', 'FFFFFFFF');
                                    setState('vis.0.control.data', 'HOME/03NavigationNacht');
                                    setState('vis.0.control.command', 'changeView');
                                }
                            }
                            
                            
                            
                            schedule('00 5 * * *', function () {
                                viewSwitch('tag');
                                log('View gewechselt um 5 Uhr früh');
                            });
                            
                            schedule('00 18 * * *', function () {
                                viewSwitch('nacht');
                                log('View gewechselt um 18 Uhr abends');
                            });
                            

                            Ich beantworte keine Fragen zu Themen via PN

                            1 Antwort Letzte Antwort
                            1
                            • K Kusi

                              @crunchip sagte in Automatischer Wechsel des VIEW zu einer bestimmten Zeit:

                              die Vis im EDIT Modus auf

                              Anderer Vorschlag:
                              Nimm folgendes Widget und ziehe es an eine freie Stelle auf deiner VIS (ggfs. Schriftfarbe anpassen).
                              b72508e7-7614-4274-b344-a672eb5426ce-image.png
                              Aktualisiere und Starte nun die VIS (ioBroker-APP) auf deinem Gerät, bei welchem du die View ändern lassen willst.
                              Jetzt siehst du die Instanz-ID in diesem Widget..
                              So kannst du ganz einfach sämtliche Instanz-ID´s all deiner Geräte auslesen.

                              V Offline
                              V Offline
                              vtecmike
                              schrieb am zuletzt editiert von vtecmike
                              #22

                              @kusi Woher bekomme ich das widget....dein gepostetes kann ich nicht rein ziehen.
                              Kann ich das wo downloaden?

                              Ach und noch etwas....wisst ihr wie ich mehrere ID Nummern der Geräte eintrage ?Muss ich die mit einem beistrich trennen oder strichpunkt? FFFFFFFF will ich nicht,sollen nicht alle geräte sein! 3 Stk

                              K PeoplesP 2 Antworten Letzte Antwort
                              0
                              • V vtecmike

                                @kusi Woher bekomme ich das widget....dein gepostetes kann ich nicht rein ziehen.
                                Kann ich das wo downloaden?

                                Ach und noch etwas....wisst ihr wie ich mehrere ID Nummern der Geräte eintrage ?Muss ich die mit einem beistrich trennen oder strichpunkt? FFFFFFFF will ich nicht,sollen nicht alle geräte sein! 3 Stk

                                K Offline
                                K Offline
                                Kusi
                                schrieb am zuletzt editiert von
                                #23

                                @vtecmike sagte in Automatischer Wechsel des VIEW zu einer bestimmten Zeit:

                                Woher bekomme ich das widget

                                Ist dies nicht ein Standard-Widget und vorinstalliert?

                                1 Antwort Letzte Antwort
                                1
                                • V vtecmike

                                  @kusi Woher bekomme ich das widget....dein gepostetes kann ich nicht rein ziehen.
                                  Kann ich das wo downloaden?

                                  Ach und noch etwas....wisst ihr wie ich mehrere ID Nummern der Geräte eintrage ?Muss ich die mit einem beistrich trennen oder strichpunkt? FFFFFFFF will ich nicht,sollen nicht alle geräte sein! 3 Stk

                                  PeoplesP Offline
                                  PeoplesP Offline
                                  Peoples
                                  schrieb am zuletzt editiert von Peoples
                                  #24

                                  Du musst das FFFFFFFF ersetzen bzw. Wenn es mehr als ein Gerät ist das du umschalten willst, den Wechselbefehl für jede Instanz ausführen

                                  Ich beantworte keine Fragen zu Themen via PN

                                  1 Antwort Letzte Antwort
                                  1
                                  • V Offline
                                    V Offline
                                    vtecmike
                                    schrieb am zuletzt editiert von
                                    #25

                                    Folgendes Update kann ich euch geben:

                                    Warum eure Tips grundsätzlich nicht funtioniert haben ist......das die Zeit die der iobroker nimmt,nicht die gleiche ist wie der PC (also die richtige Zeit). Und zwar denke ich es liegt an der Sommerzeit Stunde...denn der iobroker ist genau 1 Std. hinten.

                                    Gut, dass habe ich jetzt kompensiert als das ich einfach die Zeit die ich zum Umschalten gerne hätte um eine Std. vor stelle.
                                    Ich hab jetzt durch Tage langes googeln verschiedene Versionen des Blockly Skripts zusammengestellt. Leider funtioniert das umschalten nur ab und zu und dann auch nur ein mal.....wenn ich den Timetrigger raus nehme und durch einen Switch ersetze,funtioniert es. Nur mit den ganzen Timetrigger (sowohl Cron als auch die anderen, mag er nicht.

                                    Das mit den einzelnen Geräten statt FFFFFFFF hab ich auch aufgegeben,dass funtioniert nicht.Da im Datenpunkt von "instance" immer "notdefined" steht und auch immer so bleibt.

                                    So hab ich den Block jetzt gebaut und am laufen...jedoch funtioniert es blos über den schalter den ich eingebaut habe

                                    PS:Ich weiss leider nicht wie ich hier den Blockly Export Skript hier posten kann ,sorry dafür...

                                    <xml xmlns="https://developers.google.com/blockly/xml">
                                      <variables>
                                        <variable type="cron" id="meinZeitplan">meinZeitplan</variable>
                                        <variable type="cron" id="meinZeitplan2">meinZeitplan2</variable>
                                      </variables>
                                      <block type="on" id="*HWp1D${`-yl+E,`u3s]" x="-1812" y="-1387">
                                        <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                        <field name="CONDITION">true</field>
                                        <field name="ACK_CONDITION"></field>
                                      </block>
                                      <block type="procedures_callnoreturn" id="8K-Oq~h$#|zvA/(6]R5s" x="-1562" y="-1187">
                                        <mutation name="registriereZeitplan"></mutation>
                                        <next>
                                          <block type="on" id="sN9Z.t:e@!U@Y5hQqKhP">
                                            <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                            <field name="CONDITION">true</field>
                                            <field name="ACK_CONDITION"></field>
                                            <statement name="STATEMENT">
                                              <block type="procedures_callnoreturn" id="e5gZQ:#(lCfQqHS=7U,)">
                                                <mutation name="registriereZeitplan"></mutation>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                      <block type="procedures_defnoreturn" id="0LnAu)iEiLW~e!tuysBt" x="-1563" y="-963">
                                        <field name="NAME">registriereZeitplan</field>
                                        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                        <statement name="STACK">
                                          <block type="schedule_clear" id="-UZInqFHfO=u[,~I=V(s">
                                            <field name="NAME">meinZeitplan</field>
                                            <next>
                                              <block type="debug" id="C`B1G]?%asBMl*htFd+,">
                                                <field name="Severity">log</field>
                                                <value name="TEXT">
                                                  <shadow type="text" id="[=8AY*`V67o`I*%AWi7$">
                                                    <field name="TEXT"></field>
                                                  </shadow>
                                                  <block type="time_get" id="`S_4Xioo*=vYq75|:fud">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                    <field name="OPTION">custom</field>
                                                    <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="schedule_create" id="9[Pc`3+LkpDRi?8S/fHY">
                                                    <field name="NAME">meinZeitplan</field>
                                                    <value name="SCHEDULE">
                                                      <shadow type="field_cron" id="mJ2^)[SuEbxW}v0ri^WG">
                                                        <field name="CRON">* * * * *</field>
                                                      </shadow>
                                                      <block type="field_cron" id="Ds/|)X]8Q9Y?-{~g)@FH">
                                                        <field name="CRON">0 17 * * *</field>
                                                      </block>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="controls_if" id="Eh)TH4QX=`?=?Fc1$+FV">
                                                        <value name="IF0">
                                                          <block type="logic_boolean" id="Tl_Pj=FGyhMm!Bn/mYvH">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="control" id="=qD.2d[b~GZ`5@$8X:VB">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">vis.0.control.instance</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="text" id=",0a--*OZIvtYpk#f3VeS">
                                                                <field name="TEXT">FFFFFFFF</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="control" id="26Cz72*P/e}/Mq2aJbl{">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">vis.0.control.data</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="text" id="Nx;2Pb|,M+/KE/od{Hqd">
                                                                    <field name="TEXT">Home/03NavigationNacht</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="control" id="#%t11NuyCJqU]r)+-p~s">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">vis.0.control.command</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="text" id="5Z=C9_u|_[@25=IoO`+~">
                                                                        <field name="TEXT">changeView</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                      <block type="procedures_callnoreturn" id="1kl8:7KS3W/@nHJ:)rr$" x="-1562" y="-587">
                                        <mutation name="registriereZeitplan2"></mutation>
                                        <next>
                                          <block type="on" id="bAO6]U8;L{p_vg`v}tkM">
                                            <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                            <field name="CONDITION">true</field>
                                            <field name="ACK_CONDITION"></field>
                                            <statement name="STATEMENT">
                                              <block type="procedures_callnoreturn" id="@Qr5$/oy~WdG(eo$82?)">
                                                <mutation name="registriereZeitplan2"></mutation>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                      <block type="procedures_defnoreturn" id="{dM;I%I:bkTdyX3+c{p|" x="-1562" y="-387">
                                        <field name="NAME">registriereZeitplan2</field>
                                        <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                        <statement name="STACK">
                                          <block type="schedule_clear" id="m:)sSx{Q%KIK9WeFKki-">
                                            <field name="NAME">meinZeitplan</field>
                                            <next>
                                              <block type="debug" id="JVfvpZVRlmcL|1.s2/Zq">
                                                <field name="Severity">log</field>
                                                <value name="TEXT">
                                                  <shadow type="text">
                                                    <field name="TEXT"></field>
                                                  </shadow>
                                                  <block type="time_get" id="K)Bhsx4JRHXR(--/:lqw">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                    <field name="OPTION">custom</field>
                                                    <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="schedule_create" id="Xmnhafwq$q5binP_?$HC">
                                                    <field name="NAME">meinZeitplan2</field>
                                                    <value name="SCHEDULE">
                                                      <shadow type="field_cron" id="RXKCv)}.|jM+A!v*/,+F">
                                                        <field name="CRON">* * * * *</field>
                                                      </shadow>
                                                      <block type="field_cron" id="%~X6]MIQlA/G10SCB`ai">
                                                        <field name="CRON">0 6 * * *</field>
                                                      </block>
                                                    </value>
                                                    <statement name="STATEMENT">
                                                      <block type="controls_if" id="hs9`3p/@oVOlgcfU|2{,">
                                                        <value name="IF0">
                                                          <block type="logic_boolean" id="z;vsP,_fsVO(F0o*T!lA">
                                                            <field name="BOOL">TRUE</field>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="control" id="q.sG|F0`84h}u10SAHUG">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">vis.0.control.instance</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="text" id="aGk23%J-PrC+w#Z7N,y}">
                                                                <field name="TEXT">FFFFFFFF</field>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="control" id="c7A9*kPm9VkTctgzzleD">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">vis.0.control.data</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="text" id="{S2xe0]]NM1pT|PJSF]E">
                                                                    <field name="TEXT">Home/04Navigation</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="control" id="I5=#4Y2g-Yg{ig(Bte2f">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">vis.0.control.command</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="text" id="?`o+$wsWQ$~@=j*4{hD]">
                                                                        <field name="TEXT">changeView</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </statement>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                      <block type="on" id="p4v=J%:i!Wpx;tUc$9~Q" x="-1662" y="-37">
                                        <field name="OID">0_userdata.0.Time.Button</field>
                                        <field name="CONDITION">true</field>
                                        <field name="ACK_CONDITION"></field>
                                        <statement name="STATEMENT">
                                          <block type="controls_if" id="X-jm3f^^OmGor-(Y8UP;">
                                            <value name="IF0">
                                              <block type="logic_boolean" id="Vp47z.L,-XTG/iDXhKXn">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id="ao@rqnZA3HTTe/3MMcsk">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">vis.0.control.instance</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="text" id="fKGA9P@V7bQ9njHBfP6X">
                                                    <field name="TEXT">FFFFFFFF</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="control" id="xN8fU=bbJq80?5j{#-E]">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">vis.0.control.data</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="DK}b.$m+]HWh}$90f84]">
                                                        <field name="TEXT">Home/03NavigationNacht</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="control" id="!76~69-hvNEG),ecJ+i[">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">vis.0.control.command</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="?w|;Y(1@CG~.NMYt28EP">
                                                            <field name="TEXT">changeView</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                      </block>
                                      <block type="on" id="{(LuPbhME@NviW+kWnda" x="-1662" y="288">
                                        <field name="OID">0_userdata.0.Time.Button</field>
                                        <field name="CONDITION">false</field>
                                        <field name="ACK_CONDITION"></field>
                                        <statement name="STATEMENT">
                                          <block type="controls_if" id="yYmNZ:Lm3VQTtg_5vjoU">
                                            <value name="IF0">
                                              <block type="logic_boolean" id="nzmTY5-FqbKmwoC1c{`I">
                                                <field name="BOOL">TRUE</field>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id="XQFw1w2zO(A9PD~)*M6a">
                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                <field name="OID">vis.0.control.instance</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="text" id=",czvw:YV%NL#}F%J7B^M">
                                                    <field name="TEXT">FFFFFFFF</field>
                                                  </block>
                                                </value>
                                                <next>
                                                  <block type="control" id="V_R2O@jP((N?xqGjC]cW">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">vis.0.control.data</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="-kS#PO0b:!{e%HW04:wS">
                                                        <field name="TEXT">Home/04Navigation</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="control" id="]4DqWJBj(r8LYAc+o/B+">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">vis.0.control.command</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="@5#%zNA.Uv=H,7-08+/v">
                                                            <field name="TEXT">changeView</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                      </block>
                                    </xml>
                                    
                                    
                                    BananaJoeB K PeoplesP 3 Antworten Letzte Antwort
                                    0
                                    • V vtecmike

                                      Folgendes Update kann ich euch geben:

                                      Warum eure Tips grundsätzlich nicht funtioniert haben ist......das die Zeit die der iobroker nimmt,nicht die gleiche ist wie der PC (also die richtige Zeit). Und zwar denke ich es liegt an der Sommerzeit Stunde...denn der iobroker ist genau 1 Std. hinten.

                                      Gut, dass habe ich jetzt kompensiert als das ich einfach die Zeit die ich zum Umschalten gerne hätte um eine Std. vor stelle.
                                      Ich hab jetzt durch Tage langes googeln verschiedene Versionen des Blockly Skripts zusammengestellt. Leider funtioniert das umschalten nur ab und zu und dann auch nur ein mal.....wenn ich den Timetrigger raus nehme und durch einen Switch ersetze,funtioniert es. Nur mit den ganzen Timetrigger (sowohl Cron als auch die anderen, mag er nicht.

                                      Das mit den einzelnen Geräten statt FFFFFFFF hab ich auch aufgegeben,dass funtioniert nicht.Da im Datenpunkt von "instance" immer "notdefined" steht und auch immer so bleibt.

                                      So hab ich den Block jetzt gebaut und am laufen...jedoch funtioniert es blos über den schalter den ich eingebaut habe

                                      PS:Ich weiss leider nicht wie ich hier den Blockly Export Skript hier posten kann ,sorry dafür...

                                      <xml xmlns="https://developers.google.com/blockly/xml">
                                        <variables>
                                          <variable type="cron" id="meinZeitplan">meinZeitplan</variable>
                                          <variable type="cron" id="meinZeitplan2">meinZeitplan2</variable>
                                        </variables>
                                        <block type="on" id="*HWp1D${`-yl+E,`u3s]" x="-1812" y="-1387">
                                          <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                          <field name="CONDITION">true</field>
                                          <field name="ACK_CONDITION"></field>
                                        </block>
                                        <block type="procedures_callnoreturn" id="8K-Oq~h$#|zvA/(6]R5s" x="-1562" y="-1187">
                                          <mutation name="registriereZeitplan"></mutation>
                                          <next>
                                            <block type="on" id="sN9Z.t:e@!U@Y5hQqKhP">
                                              <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                              <field name="CONDITION">true</field>
                                              <field name="ACK_CONDITION"></field>
                                              <statement name="STATEMENT">
                                                <block type="procedures_callnoreturn" id="e5gZQ:#(lCfQqHS=7U,)">
                                                  <mutation name="registriereZeitplan"></mutation>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                        <block type="procedures_defnoreturn" id="0LnAu)iEiLW~e!tuysBt" x="-1563" y="-963">
                                          <field name="NAME">registriereZeitplan</field>
                                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                          <statement name="STACK">
                                            <block type="schedule_clear" id="-UZInqFHfO=u[,~I=V(s">
                                              <field name="NAME">meinZeitplan</field>
                                              <next>
                                                <block type="debug" id="C`B1G]?%asBMl*htFd+,">
                                                  <field name="Severity">log</field>
                                                  <value name="TEXT">
                                                    <shadow type="text" id="[=8AY*`V67o`I*%AWi7$">
                                                      <field name="TEXT"></field>
                                                    </shadow>
                                                    <block type="time_get" id="`S_4Xioo*=vYq75|:fud">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                      <field name="OPTION">custom</field>
                                                      <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="schedule_create" id="9[Pc`3+LkpDRi?8S/fHY">
                                                      <field name="NAME">meinZeitplan</field>
                                                      <value name="SCHEDULE">
                                                        <shadow type="field_cron" id="mJ2^)[SuEbxW}v0ri^WG">
                                                          <field name="CRON">* * * * *</field>
                                                        </shadow>
                                                        <block type="field_cron" id="Ds/|)X]8Q9Y?-{~g)@FH">
                                                          <field name="CRON">0 17 * * *</field>
                                                        </block>
                                                      </value>
                                                      <statement name="STATEMENT">
                                                        <block type="controls_if" id="Eh)TH4QX=`?=?Fc1$+FV">
                                                          <value name="IF0">
                                                            <block type="logic_boolean" id="Tl_Pj=FGyhMm!Bn/mYvH">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="control" id="=qD.2d[b~GZ`5@$8X:VB">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">vis.0.control.instance</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="text" id=",0a--*OZIvtYpk#f3VeS">
                                                                  <field name="TEXT">FFFFFFFF</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="control" id="26Cz72*P/e}/Mq2aJbl{">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">vis.0.control.data</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="text" id="Nx;2Pb|,M+/KE/od{Hqd">
                                                                      <field name="TEXT">Home/03NavigationNacht</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="control" id="#%t11NuyCJqU]r)+-p~s">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">vis.0.control.command</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="text" id="5Z=C9_u|_[@25=IoO`+~">
                                                                          <field name="TEXT">changeView</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                        <block type="procedures_callnoreturn" id="1kl8:7KS3W/@nHJ:)rr$" x="-1562" y="-587">
                                          <mutation name="registriereZeitplan2"></mutation>
                                          <next>
                                            <block type="on" id="bAO6]U8;L{p_vg`v}tkM">
                                              <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                              <field name="CONDITION">true</field>
                                              <field name="ACK_CONDITION"></field>
                                              <statement name="STATEMENT">
                                                <block type="procedures_callnoreturn" id="@Qr5$/oy~WdG(eo$82?)">
                                                  <mutation name="registriereZeitplan2"></mutation>
                                                </block>
                                              </statement>
                                            </block>
                                          </next>
                                        </block>
                                        <block type="procedures_defnoreturn" id="{dM;I%I:bkTdyX3+c{p|" x="-1562" y="-387">
                                          <field name="NAME">registriereZeitplan2</field>
                                          <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                          <statement name="STACK">
                                            <block type="schedule_clear" id="m:)sSx{Q%KIK9WeFKki-">
                                              <field name="NAME">meinZeitplan</field>
                                              <next>
                                                <block type="debug" id="JVfvpZVRlmcL|1.s2/Zq">
                                                  <field name="Severity">log</field>
                                                  <value name="TEXT">
                                                    <shadow type="text">
                                                      <field name="TEXT"></field>
                                                    </shadow>
                                                    <block type="time_get" id="K)Bhsx4JRHXR(--/:lqw">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                      <field name="OPTION">custom</field>
                                                      <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="schedule_create" id="Xmnhafwq$q5binP_?$HC">
                                                      <field name="NAME">meinZeitplan2</field>
                                                      <value name="SCHEDULE">
                                                        <shadow type="field_cron" id="RXKCv)}.|jM+A!v*/,+F">
                                                          <field name="CRON">* * * * *</field>
                                                        </shadow>
                                                        <block type="field_cron" id="%~X6]MIQlA/G10SCB`ai">
                                                          <field name="CRON">0 6 * * *</field>
                                                        </block>
                                                      </value>
                                                      <statement name="STATEMENT">
                                                        <block type="controls_if" id="hs9`3p/@oVOlgcfU|2{,">
                                                          <value name="IF0">
                                                            <block type="logic_boolean" id="z;vsP,_fsVO(F0o*T!lA">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="control" id="q.sG|F0`84h}u10SAHUG">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">vis.0.control.instance</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="text" id="aGk23%J-PrC+w#Z7N,y}">
                                                                  <field name="TEXT">FFFFFFFF</field>
                                                                </block>
                                                              </value>
                                                              <next>
                                                                <block type="control" id="c7A9*kPm9VkTctgzzleD">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">vis.0.control.data</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="text" id="{S2xe0]]NM1pT|PJSF]E">
                                                                      <field name="TEXT">Home/04Navigation</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="control" id="I5=#4Y2g-Yg{ig(Bte2f">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">vis.0.control.command</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="text" id="?`o+$wsWQ$~@=j*4{hD]">
                                                                          <field name="TEXT">changeView</field>
                                                                        </block>
                                                                      </value>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </next>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </statement>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </statement>
                                        </block>
                                        <block type="on" id="p4v=J%:i!Wpx;tUc$9~Q" x="-1662" y="-37">
                                          <field name="OID">0_userdata.0.Time.Button</field>
                                          <field name="CONDITION">true</field>
                                          <field name="ACK_CONDITION"></field>
                                          <statement name="STATEMENT">
                                            <block type="controls_if" id="X-jm3f^^OmGor-(Y8UP;">
                                              <value name="IF0">
                                                <block type="logic_boolean" id="Vp47z.L,-XTG/iDXhKXn">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="ao@rqnZA3HTTe/3MMcsk">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">vis.0.control.instance</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="fKGA9P@V7bQ9njHBfP6X">
                                                      <field name="TEXT">FFFFFFFF</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="xN8fU=bbJq80?5j{#-E]">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">vis.0.control.data</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="text" id="DK}b.$m+]HWh}$90f84]">
                                                          <field name="TEXT">Home/03NavigationNacht</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="!76~69-hvNEG),ecJ+i[">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">vis.0.control.command</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="text" id="?w|;Y(1@CG~.NMYt28EP">
                                                              <field name="TEXT">changeView</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                        <block type="on" id="{(LuPbhME@NviW+kWnda" x="-1662" y="288">
                                          <field name="OID">0_userdata.0.Time.Button</field>
                                          <field name="CONDITION">false</field>
                                          <field name="ACK_CONDITION"></field>
                                          <statement name="STATEMENT">
                                            <block type="controls_if" id="yYmNZ:Lm3VQTtg_5vjoU">
                                              <value name="IF0">
                                                <block type="logic_boolean" id="nzmTY5-FqbKmwoC1c{`I">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="XQFw1w2zO(A9PD~)*M6a">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">vis.0.control.instance</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id=",czvw:YV%NL#}F%J7B^M">
                                                      <field name="TEXT">FFFFFFFF</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="control" id="V_R2O@jP((N?xqGjC]cW">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">vis.0.control.data</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="text" id="-kS#PO0b:!{e%HW04:wS">
                                                          <field name="TEXT">Home/04Navigation</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="]4DqWJBj(r8LYAc+o/B+">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">vis.0.control.command</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="text" id="@5#%zNA.Uv=H,7-08+/v">
                                                              <field name="TEXT">changeView</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </xml>
                                      
                                      
                                      BananaJoeB Online
                                      BananaJoeB Online
                                      BananaJoe
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #26

                                      @vtecmike Hast du denn auf dem System auf dem ioBroker läuft die richtige Zeit / Zeitzone eingestellt?

                                      ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 9 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV 750W kaskadiert || Creality CR-10 SE 3D-Drucker

                                      1 Antwort Letzte Antwort
                                      0
                                      • V vtecmike

                                        Folgendes Update kann ich euch geben:

                                        Warum eure Tips grundsätzlich nicht funtioniert haben ist......das die Zeit die der iobroker nimmt,nicht die gleiche ist wie der PC (also die richtige Zeit). Und zwar denke ich es liegt an der Sommerzeit Stunde...denn der iobroker ist genau 1 Std. hinten.

                                        Gut, dass habe ich jetzt kompensiert als das ich einfach die Zeit die ich zum Umschalten gerne hätte um eine Std. vor stelle.
                                        Ich hab jetzt durch Tage langes googeln verschiedene Versionen des Blockly Skripts zusammengestellt. Leider funtioniert das umschalten nur ab und zu und dann auch nur ein mal.....wenn ich den Timetrigger raus nehme und durch einen Switch ersetze,funtioniert es. Nur mit den ganzen Timetrigger (sowohl Cron als auch die anderen, mag er nicht.

                                        Das mit den einzelnen Geräten statt FFFFFFFF hab ich auch aufgegeben,dass funtioniert nicht.Da im Datenpunkt von "instance" immer "notdefined" steht und auch immer so bleibt.

                                        So hab ich den Block jetzt gebaut und am laufen...jedoch funtioniert es blos über den schalter den ich eingebaut habe

                                        PS:Ich weiss leider nicht wie ich hier den Blockly Export Skript hier posten kann ,sorry dafür...

                                        <xml xmlns="https://developers.google.com/blockly/xml">
                                          <variables>
                                            <variable type="cron" id="meinZeitplan">meinZeitplan</variable>
                                            <variable type="cron" id="meinZeitplan2">meinZeitplan2</variable>
                                          </variables>
                                          <block type="on" id="*HWp1D${`-yl+E,`u3s]" x="-1812" y="-1387">
                                            <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                            <field name="CONDITION">true</field>
                                            <field name="ACK_CONDITION"></field>
                                          </block>
                                          <block type="procedures_callnoreturn" id="8K-Oq~h$#|zvA/(6]R5s" x="-1562" y="-1187">
                                            <mutation name="registriereZeitplan"></mutation>
                                            <next>
                                              <block type="on" id="sN9Z.t:e@!U@Y5hQqKhP">
                                                <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                                <field name="CONDITION">true</field>
                                                <field name="ACK_CONDITION"></field>
                                                <statement name="STATEMENT">
                                                  <block type="procedures_callnoreturn" id="e5gZQ:#(lCfQqHS=7U,)">
                                                    <mutation name="registriereZeitplan"></mutation>
                                                  </block>
                                                </statement>
                                              </block>
                                            </next>
                                          </block>
                                          <block type="procedures_defnoreturn" id="0LnAu)iEiLW~e!tuysBt" x="-1563" y="-963">
                                            <field name="NAME">registriereZeitplan</field>
                                            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                            <statement name="STACK">
                                              <block type="schedule_clear" id="-UZInqFHfO=u[,~I=V(s">
                                                <field name="NAME">meinZeitplan</field>
                                                <next>
                                                  <block type="debug" id="C`B1G]?%asBMl*htFd+,">
                                                    <field name="Severity">log</field>
                                                    <value name="TEXT">
                                                      <shadow type="text" id="[=8AY*`V67o`I*%AWi7$">
                                                        <field name="TEXT"></field>
                                                      </shadow>
                                                      <block type="time_get" id="`S_4Xioo*=vYq75|:fud">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                        <field name="OPTION">custom</field>
                                                        <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="schedule_create" id="9[Pc`3+LkpDRi?8S/fHY">
                                                        <field name="NAME">meinZeitplan</field>
                                                        <value name="SCHEDULE">
                                                          <shadow type="field_cron" id="mJ2^)[SuEbxW}v0ri^WG">
                                                            <field name="CRON">* * * * *</field>
                                                          </shadow>
                                                          <block type="field_cron" id="Ds/|)X]8Q9Y?-{~g)@FH">
                                                            <field name="CRON">0 17 * * *</field>
                                                          </block>
                                                        </value>
                                                        <statement name="STATEMENT">
                                                          <block type="controls_if" id="Eh)TH4QX=`?=?Fc1$+FV">
                                                            <value name="IF0">
                                                              <block type="logic_boolean" id="Tl_Pj=FGyhMm!Bn/mYvH">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="control" id="=qD.2d[b~GZ`5@$8X:VB">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">vis.0.control.instance</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="text" id=",0a--*OZIvtYpk#f3VeS">
                                                                    <field name="TEXT">FFFFFFFF</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="control" id="26Cz72*P/e}/Mq2aJbl{">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">vis.0.control.data</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="text" id="Nx;2Pb|,M+/KE/od{Hqd">
                                                                        <field name="TEXT">Home/03NavigationNacht</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="control" id="#%t11NuyCJqU]r)+-p~s">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">vis.0.control.command</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="text" id="5Z=C9_u|_[@25=IoO`+~">
                                                                            <field name="TEXT">changeView</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                          <block type="procedures_callnoreturn" id="1kl8:7KS3W/@nHJ:)rr$" x="-1562" y="-587">
                                            <mutation name="registriereZeitplan2"></mutation>
                                            <next>
                                              <block type="on" id="bAO6]U8;L{p_vg`v}tkM">
                                                <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                                <field name="CONDITION">true</field>
                                                <field name="ACK_CONDITION"></field>
                                                <statement name="STATEMENT">
                                                  <block type="procedures_callnoreturn" id="@Qr5$/oy~WdG(eo$82?)">
                                                    <mutation name="registriereZeitplan2"></mutation>
                                                  </block>
                                                </statement>
                                              </block>
                                            </next>
                                          </block>
                                          <block type="procedures_defnoreturn" id="{dM;I%I:bkTdyX3+c{p|" x="-1562" y="-387">
                                            <field name="NAME">registriereZeitplan2</field>
                                            <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                            <statement name="STACK">
                                              <block type="schedule_clear" id="m:)sSx{Q%KIK9WeFKki-">
                                                <field name="NAME">meinZeitplan</field>
                                                <next>
                                                  <block type="debug" id="JVfvpZVRlmcL|1.s2/Zq">
                                                    <field name="Severity">log</field>
                                                    <value name="TEXT">
                                                      <shadow type="text">
                                                        <field name="TEXT"></field>
                                                      </shadow>
                                                      <block type="time_get" id="K)Bhsx4JRHXR(--/:lqw">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                        <field name="OPTION">custom</field>
                                                        <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="schedule_create" id="Xmnhafwq$q5binP_?$HC">
                                                        <field name="NAME">meinZeitplan2</field>
                                                        <value name="SCHEDULE">
                                                          <shadow type="field_cron" id="RXKCv)}.|jM+A!v*/,+F">
                                                            <field name="CRON">* * * * *</field>
                                                          </shadow>
                                                          <block type="field_cron" id="%~X6]MIQlA/G10SCB`ai">
                                                            <field name="CRON">0 6 * * *</field>
                                                          </block>
                                                        </value>
                                                        <statement name="STATEMENT">
                                                          <block type="controls_if" id="hs9`3p/@oVOlgcfU|2{,">
                                                            <value name="IF0">
                                                              <block type="logic_boolean" id="z;vsP,_fsVO(F0o*T!lA">
                                                                <field name="BOOL">TRUE</field>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="control" id="q.sG|F0`84h}u10SAHUG">
                                                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                <field name="OID">vis.0.control.instance</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="text" id="aGk23%J-PrC+w#Z7N,y}">
                                                                    <field name="TEXT">FFFFFFFF</field>
                                                                  </block>
                                                                </value>
                                                                <next>
                                                                  <block type="control" id="c7A9*kPm9VkTctgzzleD">
                                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                    <field name="OID">vis.0.control.data</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="text" id="{S2xe0]]NM1pT|PJSF]E">
                                                                        <field name="TEXT">Home/04Navigation</field>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="control" id="I5=#4Y2g-Yg{ig(Bte2f">
                                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                        <field name="OID">vis.0.control.command</field>
                                                                        <field name="WITH_DELAY">FALSE</field>
                                                                        <value name="VALUE">
                                                                          <block type="text" id="?`o+$wsWQ$~@=j*4{hD]">
                                                                            <field name="TEXT">changeView</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </statement>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </statement>
                                          </block>
                                          <block type="on" id="p4v=J%:i!Wpx;tUc$9~Q" x="-1662" y="-37">
                                            <field name="OID">0_userdata.0.Time.Button</field>
                                            <field name="CONDITION">true</field>
                                            <field name="ACK_CONDITION"></field>
                                            <statement name="STATEMENT">
                                              <block type="controls_if" id="X-jm3f^^OmGor-(Y8UP;">
                                                <value name="IF0">
                                                  <block type="logic_boolean" id="Vp47z.L,-XTG/iDXhKXn">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="ao@rqnZA3HTTe/3MMcsk">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">vis.0.control.instance</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="fKGA9P@V7bQ9njHBfP6X">
                                                        <field name="TEXT">FFFFFFFF</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="control" id="xN8fU=bbJq80?5j{#-E]">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">vis.0.control.data</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="DK}b.$m+]HWh}$90f84]">
                                                            <field name="TEXT">Home/03NavigationNacht</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="!76~69-hvNEG),ecJ+i[">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">vis.0.control.command</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="text" id="?w|;Y(1@CG~.NMYt28EP">
                                                                <field name="TEXT">changeView</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                          </block>
                                          <block type="on" id="{(LuPbhME@NviW+kWnda" x="-1662" y="288">
                                            <field name="OID">0_userdata.0.Time.Button</field>
                                            <field name="CONDITION">false</field>
                                            <field name="ACK_CONDITION"></field>
                                            <statement name="STATEMENT">
                                              <block type="controls_if" id="yYmNZ:Lm3VQTtg_5vjoU">
                                                <value name="IF0">
                                                  <block type="logic_boolean" id="nzmTY5-FqbKmwoC1c{`I">
                                                    <field name="BOOL">TRUE</field>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="XQFw1w2zO(A9PD~)*M6a">
                                                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                    <field name="OID">vis.0.control.instance</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text" id=",czvw:YV%NL#}F%J7B^M">
                                                        <field name="TEXT">FFFFFFFF</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="control" id="V_R2O@jP((N?xqGjC]cW">
                                                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                        <field name="OID">vis.0.control.data</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="text" id="-kS#PO0b:!{e%HW04:wS">
                                                            <field name="TEXT">Home/04Navigation</field>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="]4DqWJBj(r8LYAc+o/B+">
                                                            <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                            <field name="OID">vis.0.control.command</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="text" id="@5#%zNA.Uv=H,7-08+/v">
                                                                <field name="TEXT">changeView</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                          </block>
                                        </xml>
                                        
                                        
                                        K Offline
                                        K Offline
                                        Kusi
                                        schrieb am zuletzt editiert von Kusi
                                        #27

                                        @vtecmike sagte in Automatischer Wechsel des VIEW zu einer bestimmten Zeit:

                                        Und zwar denke ich es liegt an der Sommerzeit Stunde...denn der iobroker ist genau 1 Std. hinten.

                                        timedatectl
                                        

                                        Gib mal obigen Befehl in der Konsole (Putty) ein und schaue, ob die Uhrzeit bei Local Time der jetzigen übereinstimmt.
                                        Vermutlich stimmt aber die Zeit nicht, da die Time Zone falsch ist...
                                        So sieht es bei mir aus und ist korrekt:
                                        73a1c0f6-adf0-471b-bb83-11912cfbf97a-image.png

                                        Falls die Zeitzone nicht stimmt und du diese auf Berlin einstellen möchtest, dann musst du folgendes eingeben:

                                        sudo timedatectl set-timezone Europe/Berlin
                                        

                                        Wie folgt sieht das Blockly bei mir aus, um die View (Nachtmodus) zu ändern:
                                        04fc392f-bd4c-4988-9666-a39afdc8a66d-image.png

                                        1 Antwort Letzte Antwort
                                        0
                                        • V vtecmike

                                          Folgendes Update kann ich euch geben:

                                          Warum eure Tips grundsätzlich nicht funtioniert haben ist......das die Zeit die der iobroker nimmt,nicht die gleiche ist wie der PC (also die richtige Zeit). Und zwar denke ich es liegt an der Sommerzeit Stunde...denn der iobroker ist genau 1 Std. hinten.

                                          Gut, dass habe ich jetzt kompensiert als das ich einfach die Zeit die ich zum Umschalten gerne hätte um eine Std. vor stelle.
                                          Ich hab jetzt durch Tage langes googeln verschiedene Versionen des Blockly Skripts zusammengestellt. Leider funtioniert das umschalten nur ab und zu und dann auch nur ein mal.....wenn ich den Timetrigger raus nehme und durch einen Switch ersetze,funtioniert es. Nur mit den ganzen Timetrigger (sowohl Cron als auch die anderen, mag er nicht.

                                          Das mit den einzelnen Geräten statt FFFFFFFF hab ich auch aufgegeben,dass funtioniert nicht.Da im Datenpunkt von "instance" immer "notdefined" steht und auch immer so bleibt.

                                          So hab ich den Block jetzt gebaut und am laufen...jedoch funtioniert es blos über den schalter den ich eingebaut habe

                                          PS:Ich weiss leider nicht wie ich hier den Blockly Export Skript hier posten kann ,sorry dafür...

                                          <xml xmlns="https://developers.google.com/blockly/xml">
                                            <variables>
                                              <variable type="cron" id="meinZeitplan">meinZeitplan</variable>
                                              <variable type="cron" id="meinZeitplan2">meinZeitplan2</variable>
                                            </variables>
                                            <block type="on" id="*HWp1D${`-yl+E,`u3s]" x="-1812" y="-1387">
                                              <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                              <field name="CONDITION">true</field>
                                              <field name="ACK_CONDITION"></field>
                                            </block>
                                            <block type="procedures_callnoreturn" id="8K-Oq~h$#|zvA/(6]R5s" x="-1562" y="-1187">
                                              <mutation name="registriereZeitplan"></mutation>
                                              <next>
                                                <block type="on" id="sN9Z.t:e@!U@Y5hQqKhP">
                                                  <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                                  <field name="CONDITION">true</field>
                                                  <field name="ACK_CONDITION"></field>
                                                  <statement name="STATEMENT">
                                                    <block type="procedures_callnoreturn" id="e5gZQ:#(lCfQqHS=7U,)">
                                                      <mutation name="registriereZeitplan"></mutation>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                            <block type="procedures_defnoreturn" id="0LnAu)iEiLW~e!tuysBt" x="-1563" y="-963">
                                              <field name="NAME">registriereZeitplan</field>
                                              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                              <statement name="STACK">
                                                <block type="schedule_clear" id="-UZInqFHfO=u[,~I=V(s">
                                                  <field name="NAME">meinZeitplan</field>
                                                  <next>
                                                    <block type="debug" id="C`B1G]?%asBMl*htFd+,">
                                                      <field name="Severity">log</field>
                                                      <value name="TEXT">
                                                        <shadow type="text" id="[=8AY*`V67o`I*%AWi7$">
                                                          <field name="TEXT"></field>
                                                        </shadow>
                                                        <block type="time_get" id="`S_4Xioo*=vYq75|:fud">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                          <field name="OPTION">custom</field>
                                                          <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="schedule_create" id="9[Pc`3+LkpDRi?8S/fHY">
                                                          <field name="NAME">meinZeitplan</field>
                                                          <value name="SCHEDULE">
                                                            <shadow type="field_cron" id="mJ2^)[SuEbxW}v0ri^WG">
                                                              <field name="CRON">* * * * *</field>
                                                            </shadow>
                                                            <block type="field_cron" id="Ds/|)X]8Q9Y?-{~g)@FH">
                                                              <field name="CRON">0 17 * * *</field>
                                                            </block>
                                                          </value>
                                                          <statement name="STATEMENT">
                                                            <block type="controls_if" id="Eh)TH4QX=`?=?Fc1$+FV">
                                                              <value name="IF0">
                                                                <block type="logic_boolean" id="Tl_Pj=FGyhMm!Bn/mYvH">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="=qD.2d[b~GZ`5@$8X:VB">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">vis.0.control.instance</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="text" id=",0a--*OZIvtYpk#f3VeS">
                                                                      <field name="TEXT">FFFFFFFF</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="control" id="26Cz72*P/e}/Mq2aJbl{">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">vis.0.control.data</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="text" id="Nx;2Pb|,M+/KE/od{Hqd">
                                                                          <field name="TEXT">Home/03NavigationNacht</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="control" id="#%t11NuyCJqU]r)+-p~s">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">vis.0.control.command</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="text" id="5Z=C9_u|_[@25=IoO`+~">
                                                                              <field name="TEXT">changeView</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                            <block type="procedures_callnoreturn" id="1kl8:7KS3W/@nHJ:)rr$" x="-1562" y="-587">
                                              <mutation name="registriereZeitplan2"></mutation>
                                              <next>
                                                <block type="on" id="bAO6]U8;L{p_vg`v}tkM">
                                                  <field name="OID">0_userdata.0.Wassermelder.Sensor</field>
                                                  <field name="CONDITION">true</field>
                                                  <field name="ACK_CONDITION"></field>
                                                  <statement name="STATEMENT">
                                                    <block type="procedures_callnoreturn" id="@Qr5$/oy~WdG(eo$82?)">
                                                      <mutation name="registriereZeitplan2"></mutation>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </next>
                                            </block>
                                            <block type="procedures_defnoreturn" id="{dM;I%I:bkTdyX3+c{p|" x="-1562" y="-387">
                                              <field name="NAME">registriereZeitplan2</field>
                                              <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                                              <statement name="STACK">
                                                <block type="schedule_clear" id="m:)sSx{Q%KIK9WeFKki-">
                                                  <field name="NAME">meinZeitplan</field>
                                                  <next>
                                                    <block type="debug" id="JVfvpZVRlmcL|1.s2/Zq">
                                                      <field name="Severity">log</field>
                                                      <value name="TEXT">
                                                        <shadow type="text">
                                                          <field name="TEXT"></field>
                                                        </shadow>
                                                        <block type="time_get" id="K)Bhsx4JRHXR(--/:lqw">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
                                                          <field name="OPTION">custom</field>
                                                          <field name="FORMAT">JJJJ.MM.TT SS:mm:ss.sss</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="schedule_create" id="Xmnhafwq$q5binP_?$HC">
                                                          <field name="NAME">meinZeitplan2</field>
                                                          <value name="SCHEDULE">
                                                            <shadow type="field_cron" id="RXKCv)}.|jM+A!v*/,+F">
                                                              <field name="CRON">* * * * *</field>
                                                            </shadow>
                                                            <block type="field_cron" id="%~X6]MIQlA/G10SCB`ai">
                                                              <field name="CRON">0 6 * * *</field>
                                                            </block>
                                                          </value>
                                                          <statement name="STATEMENT">
                                                            <block type="controls_if" id="hs9`3p/@oVOlgcfU|2{,">
                                                              <value name="IF0">
                                                                <block type="logic_boolean" id="z;vsP,_fsVO(F0o*T!lA">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="q.sG|F0`84h}u10SAHUG">
                                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                  <field name="OID">vis.0.control.instance</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="text" id="aGk23%J-PrC+w#Z7N,y}">
                                                                      <field name="TEXT">FFFFFFFF</field>
                                                                    </block>
                                                                  </value>
                                                                  <next>
                                                                    <block type="control" id="c7A9*kPm9VkTctgzzleD">
                                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                      <field name="OID">vis.0.control.data</field>
                                                                      <field name="WITH_DELAY">FALSE</field>
                                                                      <value name="VALUE">
                                                                        <block type="text" id="{S2xe0]]NM1pT|PJSF]E">
                                                                          <field name="TEXT">Home/04Navigation</field>
                                                                        </block>
                                                                      </value>
                                                                      <next>
                                                                        <block type="control" id="I5=#4Y2g-Yg{ig(Bte2f">
                                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                          <field name="OID">vis.0.control.command</field>
                                                                          <field name="WITH_DELAY">FALSE</field>
                                                                          <value name="VALUE">
                                                                            <block type="text" id="?`o+$wsWQ$~@=j*4{hD]">
                                                                              <field name="TEXT">changeView</field>
                                                                            </block>
                                                                          </value>
                                                                        </block>
                                                                      </next>
                                                                    </block>
                                                                  </next>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </statement>
                                            </block>
                                            <block type="on" id="p4v=J%:i!Wpx;tUc$9~Q" x="-1662" y="-37">
                                              <field name="OID">0_userdata.0.Time.Button</field>
                                              <field name="CONDITION">true</field>
                                              <field name="ACK_CONDITION"></field>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="X-jm3f^^OmGor-(Y8UP;">
                                                  <value name="IF0">
                                                    <block type="logic_boolean" id="Vp47z.L,-XTG/iDXhKXn">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="ao@rqnZA3HTTe/3MMcsk">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">vis.0.control.instance</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="text" id="fKGA9P@V7bQ9njHBfP6X">
                                                          <field name="TEXT">FFFFFFFF</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="xN8fU=bbJq80?5j{#-E]">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">vis.0.control.data</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="text" id="DK}b.$m+]HWh}$90f84]">
                                                              <field name="TEXT">Home/03NavigationNacht</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="!76~69-hvNEG),ecJ+i[">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">vis.0.control.command</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="text" id="?w|;Y(1@CG~.NMYt28EP">
                                                                  <field name="TEXT">changeView</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                            </block>
                                            <block type="on" id="{(LuPbhME@NviW+kWnda" x="-1662" y="288">
                                              <field name="OID">0_userdata.0.Time.Button</field>
                                              <field name="CONDITION">false</field>
                                              <field name="ACK_CONDITION"></field>
                                              <statement name="STATEMENT">
                                                <block type="controls_if" id="yYmNZ:Lm3VQTtg_5vjoU">
                                                  <value name="IF0">
                                                    <block type="logic_boolean" id="nzmTY5-FqbKmwoC1c{`I">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="XQFw1w2zO(A9PD~)*M6a">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">vis.0.control.instance</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="text" id=",czvw:YV%NL#}F%J7B^M">
                                                          <field name="TEXT">FFFFFFFF</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="V_R2O@jP((N?xqGjC]cW">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">vis.0.control.data</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="text" id="-kS#PO0b:!{e%HW04:wS">
                                                              <field name="TEXT">Home/04Navigation</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="]4DqWJBj(r8LYAc+o/B+">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                              <field name="OID">vis.0.control.command</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="text" id="@5#%zNA.Uv=H,7-08+/v">
                                                                  <field name="TEXT">changeView</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </statement>
                                                </block>
                                              </statement>
                                            </block>
                                          </xml>
                                          
                                          
                                          PeoplesP Offline
                                          PeoplesP Offline
                                          Peoples
                                          schrieb am zuletzt editiert von
                                          #28

                                          @vtecmike
                                          Und das mit dem notdefined kommt daher dass du mit Hilfe des o.g. Widgets keine Instanz generiert hast und dieses auch nicht automatisch passiert ist

                                          Ich beantworte keine Fragen zu Themen via PN

                                          V 1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          594

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe