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. Error/Bug
  4. ioBroker führt jeden Morgen einen Restart durch!

NEWS

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

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

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.2k

ioBroker führt jeden Morgen einen Restart durch!

Geplant Angeheftet Gesperrt Verschoben Ungelöst Error/Bug
restart
31 Beiträge 6 Kommentatoren 2.1k Aufrufe 5 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.
  • M Offline
    M Offline
    M1R0O
    schrieb am zuletzt editiert von M1R0O
    #8

    Hmm... Danke - ich habe es jetzt mal auf 18 Prozesse reduziert. Mal abwarten.

    Außer auf das Model mit 4GB aufzustocken, habe ich wohl keine Möglichkeit oder (RAM erweitern?), wenn die Nutzung eines PCs nicht in Frage kommt!?

    HomoranH liv-in-skyL 2 Antworten Letzte Antwort
    0
    • M M1R0O

      Hmm... Danke - ich habe es jetzt mal auf 18 Prozesse reduziert. Mal abwarten.

      Außer auf das Model mit 4GB aufzustocken, habe ich wohl keine Möglichkeit oder (RAM erweitern?), wenn die Nutzung eines PCs nicht in Frage kommt!?

      HomoranH Offline
      HomoranH Offline
      Homoran
      Global Moderator Administrators
      schrieb am zuletzt editiert von
      #9

      @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

      Außer auf das Model mit 4GB aufzustocken,

      Den Pi4 gäbe es auch mit 2GB - läuft gerade bei mir im Test, aber 4GB ist sicher nicht falsch

      @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

      habe ich wohl keine Möglichkeit oder

      Es wäre noch die Multihost-Variante mit mehreren RasPi möglich

      @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

      (RAM erweitern?),

      RAM erweitern geht nicht.

      @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

      wenn die Nutzung eines PCs nicht in Frage kommt!?

      Warum nicht?

      kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

      Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

      der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

      M 1 Antwort Letzte Antwort
      1
      • M M1R0O

        Hmm... Danke - ich habe es jetzt mal auf 18 Prozesse reduziert. Mal abwarten.

        Außer auf das Model mit 4GB aufzustocken, habe ich wohl keine Möglichkeit oder (RAM erweitern?), wenn die Nutzung eines PCs nicht in Frage kommt!?

        liv-in-skyL Offline
        liv-in-skyL Offline
        liv-in-sky
        schrieb am zuletzt editiert von
        #10

        @M1R0O

        dieser befehl und das ansehen dieses logs hat bei einem anderen fall klarheit gebracht - darin sah man sehr schön, dass das system den io-broker-prozess beendete wegen zu wenig speicher - in iobroker-log sah man das nicht eindeutig
        (linux terminal)

        cat /var/log/syslog | grep "Jul  5"  >syslog.heute.log
        

        beispiel log:

        Image 10.png

        nach einem gelösten Thread wäre es sinnvoll dies in der Überschrift des ersten Posts einzutragen [gelöst]-... Bitte benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat. Forum-Tools: PicPick https://picpick.app/en/download/ und ScreenToGif https://www.screentogif.com/downloads.html

        1 Antwort Letzte Antwort
        0
        • HomoranH Homoran

          @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

          Außer auf das Model mit 4GB aufzustocken,

          Den Pi4 gäbe es auch mit 2GB - läuft gerade bei mir im Test, aber 4GB ist sicher nicht falsch

          @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

          habe ich wohl keine Möglichkeit oder

          Es wäre noch die Multihost-Variante mit mehreren RasPi möglich

          @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

          (RAM erweitern?),

          RAM erweitern geht nicht.

          @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

          wenn die Nutzung eines PCs nicht in Frage kommt!?

          Warum nicht?

          M Offline
          M Offline
          M1R0O
          schrieb am zuletzt editiert von
          #11

          @Homoran said in ioBroker führt jeden Morgen einen Restart durch!:

          Warum nicht?

          Ich nutze/besitze schon seit Jahren keinen PC mehr. Die Nutzung des RasPi als mini-PC nur für Hausautomation ist genau das Richtige für mich. Daher werde ich dann auf die 4GB-Version aufstocken.
          Danke euch allen!

          1 Antwort Letzte Antwort
          0
          • M M1R0O

            Hi zusammen,

            mein ioBroker führ aktuell jeden Morgen einen Restart durch. Das hat zur Folge, dass willkürlich Skripte gestartet werden.
            Die Rolläden fahren hinunter, der Fernseher ist an, etc...

            Woran liegt das und wie kann ich das ändern!?

            LOG im Anhang

            THX!

            iomountainI Offline
            iomountainI Offline
            iomountain
            schrieb am zuletzt editiert von
            #12

            @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

            mein ioBroker führ aktuell jeden Morgen einen Restart durch. Das hat zur Folge, dass willkürlich Skripte gestartet werden.
            Die Rolläden fahren hinunter, der Fernseher ist an, etc...

            Wenn bei einem Restart Scripte etwas ungewolltes auslösen, solltest du vielleicht bei Gelegenheit auch die Scripte nach und nach überarbeiten.

            M 1 Antwort Letzte Antwort
            0
            • iomountainI iomountain

              @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

              mein ioBroker führ aktuell jeden Morgen einen Restart durch. Das hat zur Folge, dass willkürlich Skripte gestartet werden.
              Die Rolläden fahren hinunter, der Fernseher ist an, etc...

              Wenn bei einem Restart Scripte etwas ungewolltes auslösen, solltest du vielleicht bei Gelegenheit auch die Scripte nach und nach überarbeiten.

              M Offline
              M Offline
              M1R0O
              schrieb am zuletzt editiert von
              #13

              @iomountain said in ioBroker führt jeden Morgen einen Restart durch!:

              @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

              mein ioBroker führ aktuell jeden Morgen einen Restart durch. Das hat zur Folge, dass willkürlich Skripte gestartet werden.
              Die Rolläden fahren hinunter, der Fernseher ist an, etc...

              Wenn bei einem Restart Scripte etwas ungewolltes auslösen, solltest du vielleicht bei Gelegenheit auch die Scripte nach und nach überarbeiten.

              Danke für den Hinweis.
              Aber voran liegt es, dass bspw. immer die Rollos herunter gehen und TV an- oder ausgeschaltet wird? Die Skripte zu den beiden Aktionen sehen nicht anders aus, als alle anderen.

              HomoranH 1 Antwort Letzte Antwort
              0
              • M M1R0O

                @iomountain said in ioBroker führt jeden Morgen einen Restart durch!:

                @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

                mein ioBroker führ aktuell jeden Morgen einen Restart durch. Das hat zur Folge, dass willkürlich Skripte gestartet werden.
                Die Rolläden fahren hinunter, der Fernseher ist an, etc...

                Wenn bei einem Restart Scripte etwas ungewolltes auslösen, solltest du vielleicht bei Gelegenheit auch die Scripte nach und nach überarbeiten.

                Danke für den Hinweis.
                Aber voran liegt es, dass bspw. immer die Rollos herunter gehen und TV an- oder ausgeschaltet wird? Die Skripte zu den beiden Aktionen sehen nicht anders aus, als alle anderen.

                HomoranH Offline
                HomoranH Offline
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von
                #14

                @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

                Die Skripte zu den beiden Aktionen sehen nicht anders aus

                Wie sehen die denn aus?

                Ohne das wissen ist deine Frage nicht zu beantworten:

                @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

                Aber voran liegt es, dass bspw. immer die Rollos herunter gehen und TV an

                kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                1 Antwort Letzte Antwort
                0
                • M Offline
                  M Offline
                  M1R0O
                  schrieb am zuletzt editiert von M1R0O
                  #15

                  Ich habe mehrere Skripte, um meine Rolläden zu schließen, aber nur eines, das zeitgesteuert läuft. Ich weiß nicht, welches der Skripte nach dem Restart durchläuft.

                  BlocklyJavascriptTypeScript
                  Protokoll
                  Ausgewählte Blöcke exportieren
                  <xml xmlns="http://www.w3.org/1999/xhtml">
                    <block type="astro" id="Mlk3z$D0M(Su0nfFRY`C" disabled="true" x="-262" y="-438">
                      <field name="TYPE">sunsetStart</field>
                      <field name="OFFSET">170</field>
                      <statement name="STATEMENT">
                        <block type="control" id="SjC~k~,@VHCi.%ojU9k%">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">alexa2.0.Echo-Devices.G2A0RF04821400R6.Commands.speak-volume</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="E}+H9E[bjn7eeEOHQQ4=">
                              <field name="NUM">50</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="2)Fj7pi$4i2=(Z$:e)I.">
                              <mutation delay_input="false"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.G2A0RF04821400R6.Commands.speak</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="vYv`7jMPAwbgQ*LtOpDU">
                                  <field name="TEXT">Die Rolläden schließen in 10 Minuten</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                    <block type="astro" id="^tRU89Gl/6f9n8Cch9q(" x="-263" y="-262">
                      <field name="TYPE">sunsetStart</field>
                      <field name="OFFSET">180</field>
                      <statement name="STATEMENT">
                        <block type="control" id="dVkq`K!5IJ9h;i3,%KIx">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">shelly.0.SHSW-1#5553D6#1.Relay0.Switch</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="l+-w+W0n2=hb2=%1wo%c">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                          <next>
                            <block type="controls_if" id="/HNUV}1QQ.~M=(3}5`Nq">
                              <value name="IF0">
                                <block type="logic_compare" id="MhODUo:W[k=}.bi=fsp@">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="Dldhsm49!4|@A8Hip8B]">
                                      <field name="ATTR">val</field>
                                      <field name="OID">hm-rpc.1.00155993962768.1.STATE</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="MS:WCf_kIdsKo?#.*yXB">
                                      <field name="NUM">0</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="controls_if" id="S*L(+iR.!AxMyAC}f[Sa">
                                  <value name="IF0">
                                    <block type="logic_compare" id="R=QANH`yeVA]vHQk)%ka">
                                      <field name="OP">NEQ</field>
                                      <value name="A">
                                        <block type="get_value" id="v-w(o1fCj/%:m5SZE/`R">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="Tkfb,B.mT~pN66O[)1Re">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id=".+Qw{%Fafw=D~b3AH@GR">
                                      <mutation delay_input="false"></mutation>
                                      <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="K~69nE;hO?`VD0WDZ(~2">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                              <next>
                                <block type="controls_if" id="@yqSG/DviUsGD?%s4V2z">
                                  <value name="IF0">
                                    <block type="logic_compare" id="}LdTYP9S;d?~))e@a):g">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="DcHAHU*~TyRc)a]ZkH#L">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.1.00155993962F4F.1.STATE</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="y~{@kV~`Kf`S!(N5teV]">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="controls_if" id=",r/V}5YbAf0rY^IJ+]:(">
                                      <value name="IF0">
                                        <block type="logic_compare" id="0D@DI2w}FLww!9qf?7pm">
                                          <field name="OP">NEQ</field>
                                          <value name="A">
                                            <block type="get_value" id="iR}a0L?r)G;Dx_vcJ5q{">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="Q`grS#O4H=,VHMTv)/ET">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="control" id="6D[t2]b~LUI?h`#5mrX2">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="q!JgofXndBg3^xJ.WM`,">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="controls_if" id="`9lf6cs3|)riSuMp]^FU">
                                      <value name="IF0">
                                        <block type="logic_compare" id="~r@z?3wh3M?Up}c594}7">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="w9.EVnsaT~t.x(2n-HTo">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hm-rpc.1.00155993962EF7.1.STATE</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="m5V;8w`#QQf|_E27jO.r">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="controls_if" id="H#-tgjloQ%MG}dLh(mb_">
                                          <value name="IF0">
                                            <block type="logic_compare" id="+{D#Wm,XwkU^:c(8iq{A">
                                              <field name="OP">NEQ</field>
                                              <value name="A">
                                                <block type="get_value" id="gq:lB#+!Y*jAY_6Zr7o4">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="4QtK2dp!Et(EZV~]KF[J">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="uqP0z^,1AWlnJd2Tfd-n">
                                              <mutation delay_input="false"></mutation>
                                              <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="Fo*5(dq=`+5eko{ywABR">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="controls_if" id="ePTD50C0wmJu-los0LIL">
                                          <value name="IF0">
                                            <block type="logic_compare" id="J!LlT).EdKfcZhY=?-R)">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="b[/~_sYe34#nY#z~4BMK">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">hm-rpc.1.001559939628C4.1.STATE</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="rCcN4=#cbv?fr4O];gk(">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="controls_if" id="}H?-*u{?iSRZgZrOwDYj">
                                              <value name="IF0">
                                                <block type="logic_compare" id="@fVR~5/6yJc2O-nxB^:5">
                                                  <field name="OP">NEQ</field>
                                                  <value name="A">
                                                    <block type="get_value" id="6C18T^}@bsPRsa7)66%=">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="XH)~x@FFCyhSLP^gh={B">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="hEPcIr85R|{OoUM_HfI+">
                                                  <mutation delay_input="false"></mutation>
                                                  <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="%Tz]9h.S3Cdp%[rSKt7B">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                    <block type="controls_repeat_ext" id="!Mz!Y)^@3`JP%:!c[dLt" disabled="true" x="13" y="-162">
                      <value name="TIMES">
                        <shadow type="math_number" id="_I]~e`/|ciiIh3ka@*;i">
                          <field name="NUM">3</field>
                        </shadow>
                      </value>
                    </block>
                    <block type="astro" id="h~?pM-cW#!zWN^v|VaQ@" disabled="true" x="-37" y="463">
                      <field name="TYPE">dawn</field>
                      <field name="OFFSET">+190</field>
                    </block>
                  </xml>
                  <xml xmlns="http://www.w3.org/1999/xhtml">
                    <block type="astro" id="Mlk3z$D0M(Su0nfFRY`C" disabled="true" x="-262" y="-438">
                      <field name="TYPE">sunsetStart</field>
                      <field name="OFFSET">170</field>
                      <statement name="STATEMENT">
                        <block type="control" id="SjC~k~,@VHCi.%ojU9k%">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">alexa2.0.Echo-Devices.G2A0RF04821400R6.Commands.speak-volume</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="E}+H9E[bjn7eeEOHQQ4=">
                              <field name="NUM">50</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="2)Fj7pi$4i2=(Z$:e)I.">
                              <mutation delay_input="false"></mutation>
                              <field name="OID">alexa2.0.Echo-Devices.G2A0RF04821400R6.Commands.speak</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="text" id="vYv`7jMPAwbgQ*LtOpDU">
                                  <field name="TEXT">Die Rolläden schließen in 10 Minuten</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                    <block type="astro" id="^tRU89Gl/6f9n8Cch9q(" x="-263" y="-262">
                      <field name="TYPE">sunsetStart</field>
                      <field name="OFFSET">180</field>
                      <statement name="STATEMENT">
                        <block type="control" id="dVkq`K!5IJ9h;i3,%KIx">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">shelly.0.SHSW-1#5553D6#1.Relay0.Switch</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="l+-w+W0n2=hb2=%1wo%c">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                          <next>
                            <block type="controls_if" id="/HNUV}1QQ.~M=(3}5`Nq">
                              <value name="IF0">
                                <block type="logic_compare" id="MhODUo:W[k=}.bi=fsp@">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="Dldhsm49!4|@A8Hip8B]">
                                      <field name="ATTR">val</field>
                                      <field name="OID">hm-rpc.1.00155993962768.1.STATE</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="MS:WCf_kIdsKo?#.*yXB">
                                      <field name="NUM">0</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="controls_if" id="S*L(+iR.!AxMyAC}f[Sa">
                                  <value name="IF0">
                                    <block type="logic_compare" id="R=QANH`yeVA]vHQk)%ka">
                                      <field name="OP">NEQ</field>
                                      <value name="A">
                                        <block type="get_value" id="v-w(o1fCj/%:m5SZE/`R">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="Tkfb,B.mT~pN66O[)1Re">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id=".+Qw{%Fafw=D~b3AH@GR">
                                      <mutation delay_input="false"></mutation>
                                      <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="math_number" id="K~69nE;hO?`VD0WDZ(~2">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </statement>
                                </block>
                              </statement>
                              <next>
                                <block type="controls_if" id="@yqSG/DviUsGD?%s4V2z">
                                  <value name="IF0">
                                    <block type="logic_compare" id="}LdTYP9S;d?~))e@a):g">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="DcHAHU*~TyRc)a]ZkH#L">
                                          <field name="ATTR">val</field>
                                          <field name="OID">hm-rpc.1.00155993962F4F.1.STATE</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="math_number" id="y~{@kV~`Kf`S!(N5teV]">
                                          <field name="NUM">0</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="controls_if" id=",r/V}5YbAf0rY^IJ+]:(">
                                      <value name="IF0">
                                        <block type="logic_compare" id="0D@DI2w}FLww!9qf?7pm">
                                          <field name="OP">NEQ</field>
                                          <value name="A">
                                            <block type="get_value" id="iR}a0L?r)G;Dx_vcJ5q{">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="Q`grS#O4H=,VHMTv)/ET">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="control" id="6D[t2]b~LUI?h`#5mrX2">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="math_number" id="q!JgofXndBg3^xJ.WM`,">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="controls_if" id="`9lf6cs3|)riSuMp]^FU">
                                      <value name="IF0">
                                        <block type="logic_compare" id="~r@z?3wh3M?Up}c594}7">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id="w9.EVnsaT~t.x(2n-HTo">
                                              <field name="ATTR">val</field>
                                              <field name="OID">hm-rpc.1.00155993962EF7.1.STATE</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="math_number" id="m5V;8w`#QQf|_E27jO.r">
                                              <field name="NUM">0</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="controls_if" id="H#-tgjloQ%MG}dLh(mb_">
                                          <value name="IF0">
                                            <block type="logic_compare" id="+{D#Wm,XwkU^:c(8iq{A">
                                              <field name="OP">NEQ</field>
                                              <value name="A">
                                                <block type="get_value" id="gq:lB#+!Y*jAY_6Zr7o4">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="4QtK2dp!Et(EZV~]KF[J">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="uqP0z^,1AWlnJd2Tfd-n">
                                              <mutation delay_input="false"></mutation>
                                              <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="math_number" id="Fo*5(dq=`+5eko{ywABR">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="controls_if" id="ePTD50C0wmJu-los0LIL">
                                          <value name="IF0">
                                            <block type="logic_compare" id="J!LlT).EdKfcZhY=?-R)">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="b[/~_sYe34#nY#z~4BMK">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">hm-rpc.1.001559939628C4.1.STATE</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="rCcN4=#cbv?fr4O];gk(">
                                                  <field name="NUM">0</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="controls_if" id="}H?-*u{?iSRZgZrOwDYj">
                                              <value name="IF0">
                                                <block type="logic_compare" id="@fVR~5/6yJc2O-nxB^:5">
                                                  <field name="OP">NEQ</field>
                                                  <value name="A">
                                                    <block type="get_value" id="6C18T^}@bsPRsa7)66%=">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id="XH)~x@FFCyhSLP^gh={B">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="hEPcIr85R|{OoUM_HfI+">
                                                  <mutation delay_input="false"></mutation>
                                                  <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="math_number" id="%Tz]9h.S3Cdp%[rSKt7B">
                                                      <field name="NUM">0</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                            </block>
                                          </statement>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                    <block type="controls_repeat_ext" id="!Mz!Y)^@3`JP%:!c[dLt" disabled="true" x="13" y="-162">
                      <value name="TIMES">
                        <shadow type="math_number" id="_I]~e`/|ciiIh3ka@*;i">
                          <field name="NUM">3</field>
                        </shadow>
                      </value>
                    </block>
                    <block type="astro" id="h~?pM-cW#!zWN^v|VaQ@" disabled="true" x="-37" y="463">
                      <field name="TYPE">dawn</field>
                      <field name="OFFSET">+190</field>
                    </block>
                  </xml>
                  

                  Das TV an/aus Skript ist ganz einfach:

                  <xml xmlns="http://www.w3.org/1999/xhtml">
                    <block type="controls_if" id="YW?_%h,qdylj}*tM0-is" x="-412" y="-438">
                      <value name="IF0">
                        <block type="logic_compare" id="zS$_2rlJbF2Zu6i8f]D)">
                          <field name="OP">NEQ</field>
                          <value name="A">
                            <block type="get_value" id=",SW97sbrpp3X*Rg?x@Nc">
                              <field name="ATTR">val</field>
                              <field name="OID">harmony.0.WHZ.activities.currentActivity</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="text" id="tOVj6Rkj1X*[rB$d^N[K">
                              <field name="TEXT">Fernsehen</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="control" id="wpDLO2bLd3IVtbTmjNSu">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">harmony.0.WHZ.activities.Fernsehen</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="math_number" id="WMU,JChkqno)B6?`P5pu">
                              <field name="NUM">2</field>
                            </block>
                          </value>
                        </block>
                      </statement>
                      <next>
                        <block type="controls_if" id="f.SsjUdEmEX}F^kl4(kT">
                          <value name="IF0">
                            <block type="logic_compare" id="ri[E)?7e+uM!/cnPm^;U">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="ze0DUFdco|fAM2Di/t54">
                                  <field name="ATTR">val</field>
                                  <field name="OID">harmony.0.WHZ.activities.currentActivity</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="text" id="B4R)~`0G89pbjk)nWOv8">
                                  <field name="TEXT">Fernsehen</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="0EqDa|:K@n8tcl+SSo,3">
                              <mutation delay_input="false"></mutation>
                              <field name="OID">harmony.0.WHZ.activities.Fernsehen</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id=":VB[F!(k{02]F-r`U6HM">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                        </block>
                      </next>
                    </block>
                  </xml>
                  
                  
                  dslraserD 1 Antwort Letzte Antwort
                  0
                  • M M1R0O

                    Ich habe mehrere Skripte, um meine Rolläden zu schließen, aber nur eines, das zeitgesteuert läuft. Ich weiß nicht, welches der Skripte nach dem Restart durchläuft.

                    BlocklyJavascriptTypeScript
                    Protokoll
                    Ausgewählte Blöcke exportieren
                    <xml xmlns="http://www.w3.org/1999/xhtml">
                      <block type="astro" id="Mlk3z$D0M(Su0nfFRY`C" disabled="true" x="-262" y="-438">
                        <field name="TYPE">sunsetStart</field>
                        <field name="OFFSET">170</field>
                        <statement name="STATEMENT">
                          <block type="control" id="SjC~k~,@VHCi.%ojU9k%">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G2A0RF04821400R6.Commands.speak-volume</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="math_number" id="E}+H9E[bjn7eeEOHQQ4=">
                                <field name="NUM">50</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="2)Fj7pi$4i2=(Z$:e)I.">
                                <mutation delay_input="false"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G2A0RF04821400R6.Commands.speak</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="vYv`7jMPAwbgQ*LtOpDU">
                                    <field name="TEXT">Die Rolläden schließen in 10 Minuten</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                      <block type="astro" id="^tRU89Gl/6f9n8Cch9q(" x="-263" y="-262">
                        <field name="TYPE">sunsetStart</field>
                        <field name="OFFSET">180</field>
                        <statement name="STATEMENT">
                          <block type="control" id="dVkq`K!5IJ9h;i3,%KIx">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">shelly.0.SHSW-1#5553D6#1.Relay0.Switch</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="l+-w+W0n2=hb2=%1wo%c">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="/HNUV}1QQ.~M=(3}5`Nq">
                                <value name="IF0">
                                  <block type="logic_compare" id="MhODUo:W[k=}.bi=fsp@">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="Dldhsm49!4|@A8Hip8B]">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hm-rpc.1.00155993962768.1.STATE</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="MS:WCf_kIdsKo?#.*yXB">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id="S*L(+iR.!AxMyAC}f[Sa">
                                    <value name="IF0">
                                      <block type="logic_compare" id="R=QANH`yeVA]vHQk)%ka">
                                        <field name="OP">NEQ</field>
                                        <value name="A">
                                          <block type="get_value" id="v-w(o1fCj/%:m5SZE/`R">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="Tkfb,B.mT~pN66O[)1Re">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="control" id=".+Qw{%Fafw=D~b3AH@GR">
                                        <mutation delay_input="false"></mutation>
                                        <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="K~69nE;hO?`VD0WDZ(~2">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="@yqSG/DviUsGD?%s4V2z">
                                    <value name="IF0">
                                      <block type="logic_compare" id="}LdTYP9S;d?~))e@a):g">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="DcHAHU*~TyRc)a]ZkH#L">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.1.00155993962F4F.1.STATE</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="y~{@kV~`Kf`S!(N5teV]">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="controls_if" id=",r/V}5YbAf0rY^IJ+]:(">
                                        <value name="IF0">
                                          <block type="logic_compare" id="0D@DI2w}FLww!9qf?7pm">
                                            <field name="OP">NEQ</field>
                                            <value name="A">
                                              <block type="get_value" id="iR}a0L?r)G;Dx_vcJ5q{">
                                                <field name="ATTR">val</field>
                                                <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="Q`grS#O4H=,VHMTv)/ET">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="control" id="6D[t2]b~LUI?h`#5mrX2">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="q!JgofXndBg3^xJ.WM`,">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="`9lf6cs3|)riSuMp]^FU">
                                        <value name="IF0">
                                          <block type="logic_compare" id="~r@z?3wh3M?Up}c594}7">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="w9.EVnsaT~t.x(2n-HTo">
                                                <field name="ATTR">val</field>
                                                <field name="OID">hm-rpc.1.00155993962EF7.1.STATE</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="m5V;8w`#QQf|_E27jO.r">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="controls_if" id="H#-tgjloQ%MG}dLh(mb_">
                                            <value name="IF0">
                                              <block type="logic_compare" id="+{D#Wm,XwkU^:c(8iq{A">
                                                <field name="OP">NEQ</field>
                                                <value name="A">
                                                  <block type="get_value" id="gq:lB#+!Y*jAY_6Zr7o4">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="4QtK2dp!Et(EZV~]KF[J">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id="uqP0z^,1AWlnJd2Tfd-n">
                                                <mutation delay_input="false"></mutation>
                                                <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="Fo*5(dq=`+5eko{ywABR">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="controls_if" id="ePTD50C0wmJu-los0LIL">
                                            <value name="IF0">
                                              <block type="logic_compare" id="J!LlT).EdKfcZhY=?-R)">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="get_value" id="b[/~_sYe34#nY#z~4BMK">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">hm-rpc.1.001559939628C4.1.STATE</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="rCcN4=#cbv?fr4O];gk(">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="controls_if" id="}H?-*u{?iSRZgZrOwDYj">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="@fVR~5/6yJc2O-nxB^:5">
                                                    <field name="OP">NEQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="6C18T^}@bsPRsa7)66%=">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="XH)~x@FFCyhSLP^gh={B">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="hEPcIr85R|{OoUM_HfI+">
                                                    <mutation delay_input="false"></mutation>
                                                    <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id="%Tz]9h.S3Cdp%[rSKt7B">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                      <block type="controls_repeat_ext" id="!Mz!Y)^@3`JP%:!c[dLt" disabled="true" x="13" y="-162">
                        <value name="TIMES">
                          <shadow type="math_number" id="_I]~e`/|ciiIh3ka@*;i">
                            <field name="NUM">3</field>
                          </shadow>
                        </value>
                      </block>
                      <block type="astro" id="h~?pM-cW#!zWN^v|VaQ@" disabled="true" x="-37" y="463">
                        <field name="TYPE">dawn</field>
                        <field name="OFFSET">+190</field>
                      </block>
                    </xml>
                    <xml xmlns="http://www.w3.org/1999/xhtml">
                      <block type="astro" id="Mlk3z$D0M(Su0nfFRY`C" disabled="true" x="-262" y="-438">
                        <field name="TYPE">sunsetStart</field>
                        <field name="OFFSET">170</field>
                        <statement name="STATEMENT">
                          <block type="control" id="SjC~k~,@VHCi.%ojU9k%">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">alexa2.0.Echo-Devices.G2A0RF04821400R6.Commands.speak-volume</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="math_number" id="E}+H9E[bjn7eeEOHQQ4=">
                                <field name="NUM">50</field>
                              </block>
                            </value>
                            <next>
                              <block type="control" id="2)Fj7pi$4i2=(Z$:e)I.">
                                <mutation delay_input="false"></mutation>
                                <field name="OID">alexa2.0.Echo-Devices.G2A0RF04821400R6.Commands.speak</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="text" id="vYv`7jMPAwbgQ*LtOpDU">
                                    <field name="TEXT">Die Rolläden schließen in 10 Minuten</field>
                                  </block>
                                </value>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                      <block type="astro" id="^tRU89Gl/6f9n8Cch9q(" x="-263" y="-262">
                        <field name="TYPE">sunsetStart</field>
                        <field name="OFFSET">180</field>
                        <statement name="STATEMENT">
                          <block type="control" id="dVkq`K!5IJ9h;i3,%KIx">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">shelly.0.SHSW-1#5553D6#1.Relay0.Switch</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="logic_boolean" id="l+-w+W0n2=hb2=%1wo%c">
                                <field name="BOOL">FALSE</field>
                              </block>
                            </value>
                            <next>
                              <block type="controls_if" id="/HNUV}1QQ.~M=(3}5`Nq">
                                <value name="IF0">
                                  <block type="logic_compare" id="MhODUo:W[k=}.bi=fsp@">
                                    <field name="OP">EQ</field>
                                    <value name="A">
                                      <block type="get_value" id="Dldhsm49!4|@A8Hip8B]">
                                        <field name="ATTR">val</field>
                                        <field name="OID">hm-rpc.1.00155993962768.1.STATE</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="MS:WCf_kIdsKo?#.*yXB">
                                        <field name="NUM">0</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <statement name="DO0">
                                  <block type="controls_if" id="S*L(+iR.!AxMyAC}f[Sa">
                                    <value name="IF0">
                                      <block type="logic_compare" id="R=QANH`yeVA]vHQk)%ka">
                                        <field name="OP">NEQ</field>
                                        <value name="A">
                                          <block type="get_value" id="v-w(o1fCj/%:m5SZE/`R">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="Tkfb,B.mT~pN66O[)1Re">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="control" id=".+Qw{%Fafw=D~b3AH@GR">
                                        <mutation delay_input="false"></mutation>
                                        <field name="OID">hm-rpc.0.OEQ1855592.1.LEVEL</field>
                                        <field name="WITH_DELAY">FALSE</field>
                                        <value name="VALUE">
                                          <block type="math_number" id="K~69nE;hO?`VD0WDZ(~2">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </statement>
                                  </block>
                                </statement>
                                <next>
                                  <block type="controls_if" id="@yqSG/DviUsGD?%s4V2z">
                                    <value name="IF0">
                                      <block type="logic_compare" id="}LdTYP9S;d?~))e@a):g">
                                        <field name="OP">EQ</field>
                                        <value name="A">
                                          <block type="get_value" id="DcHAHU*~TyRc)a]ZkH#L">
                                            <field name="ATTR">val</field>
                                            <field name="OID">hm-rpc.1.00155993962F4F.1.STATE</field>
                                          </block>
                                        </value>
                                        <value name="B">
                                          <block type="math_number" id="y~{@kV~`Kf`S!(N5teV]">
                                            <field name="NUM">0</field>
                                          </block>
                                        </value>
                                      </block>
                                    </value>
                                    <statement name="DO0">
                                      <block type="controls_if" id=",r/V}5YbAf0rY^IJ+]:(">
                                        <value name="IF0">
                                          <block type="logic_compare" id="0D@DI2w}FLww!9qf?7pm">
                                            <field name="OP">NEQ</field>
                                            <value name="A">
                                              <block type="get_value" id="iR}a0L?r)G;Dx_vcJ5q{">
                                                <field name="ATTR">val</field>
                                                <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="Q`grS#O4H=,VHMTv)/ET">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="control" id="6D[t2]b~LUI?h`#5mrX2">
                                            <mutation delay_input="false"></mutation>
                                            <field name="OID">hm-rpc.0.OEQ1852569.1.LEVEL</field>
                                            <field name="WITH_DELAY">FALSE</field>
                                            <value name="VALUE">
                                              <block type="math_number" id="q!JgofXndBg3^xJ.WM`,">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </statement>
                                      </block>
                                    </statement>
                                    <next>
                                      <block type="controls_if" id="`9lf6cs3|)riSuMp]^FU">
                                        <value name="IF0">
                                          <block type="logic_compare" id="~r@z?3wh3M?Up}c594}7">
                                            <field name="OP">EQ</field>
                                            <value name="A">
                                              <block type="get_value" id="w9.EVnsaT~t.x(2n-HTo">
                                                <field name="ATTR">val</field>
                                                <field name="OID">hm-rpc.1.00155993962EF7.1.STATE</field>
                                              </block>
                                            </value>
                                            <value name="B">
                                              <block type="math_number" id="m5V;8w`#QQf|_E27jO.r">
                                                <field name="NUM">0</field>
                                              </block>
                                            </value>
                                          </block>
                                        </value>
                                        <statement name="DO0">
                                          <block type="controls_if" id="H#-tgjloQ%MG}dLh(mb_">
                                            <value name="IF0">
                                              <block type="logic_compare" id="+{D#Wm,XwkU^:c(8iq{A">
                                                <field name="OP">NEQ</field>
                                                <value name="A">
                                                  <block type="get_value" id="gq:lB#+!Y*jAY_6Zr7o4">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="4QtK2dp!Et(EZV~]KF[J">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="control" id="uqP0z^,1AWlnJd2Tfd-n">
                                                <mutation delay_input="false"></mutation>
                                                <field name="OID">hm-rpc.0.OEQ1854040.1.LEVEL</field>
                                                <field name="WITH_DELAY">FALSE</field>
                                                <value name="VALUE">
                                                  <block type="math_number" id="Fo*5(dq=`+5eko{ywABR">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </statement>
                                          </block>
                                        </statement>
                                        <next>
                                          <block type="controls_if" id="ePTD50C0wmJu-los0LIL">
                                            <value name="IF0">
                                              <block type="logic_compare" id="J!LlT).EdKfcZhY=?-R)">
                                                <field name="OP">EQ</field>
                                                <value name="A">
                                                  <block type="get_value" id="b[/~_sYe34#nY#z~4BMK">
                                                    <field name="ATTR">val</field>
                                                    <field name="OID">hm-rpc.1.001559939628C4.1.STATE</field>
                                                  </block>
                                                </value>
                                                <value name="B">
                                                  <block type="math_number" id="rCcN4=#cbv?fr4O];gk(">
                                                    <field name="NUM">0</field>
                                                  </block>
                                                </value>
                                              </block>
                                            </value>
                                            <statement name="DO0">
                                              <block type="controls_if" id="}H?-*u{?iSRZgZrOwDYj">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="@fVR~5/6yJc2O-nxB^:5">
                                                    <field name="OP">NEQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="6C18T^}@bsPRsa7)66%=">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="XH)~x@FFCyhSLP^gh={B">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="hEPcIr85R|{OoUM_HfI+">
                                                    <mutation delay_input="false"></mutation>
                                                    <field name="OID">hm-rpc.0.OEQ1855282.1.LEVEL</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="math_number" id="%Tz]9h.S3Cdp%[rSKt7B">
                                                        <field name="NUM">0</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                              </block>
                                            </statement>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                      <block type="controls_repeat_ext" id="!Mz!Y)^@3`JP%:!c[dLt" disabled="true" x="13" y="-162">
                        <value name="TIMES">
                          <shadow type="math_number" id="_I]~e`/|ciiIh3ka@*;i">
                            <field name="NUM">3</field>
                          </shadow>
                        </value>
                      </block>
                      <block type="astro" id="h~?pM-cW#!zWN^v|VaQ@" disabled="true" x="-37" y="463">
                        <field name="TYPE">dawn</field>
                        <field name="OFFSET">+190</field>
                      </block>
                    </xml>
                    

                    Das TV an/aus Skript ist ganz einfach:

                    <xml xmlns="http://www.w3.org/1999/xhtml">
                      <block type="controls_if" id="YW?_%h,qdylj}*tM0-is" x="-412" y="-438">
                        <value name="IF0">
                          <block type="logic_compare" id="zS$_2rlJbF2Zu6i8f]D)">
                            <field name="OP">NEQ</field>
                            <value name="A">
                              <block type="get_value" id=",SW97sbrpp3X*Rg?x@Nc">
                                <field name="ATTR">val</field>
                                <field name="OID">harmony.0.WHZ.activities.currentActivity</field>
                              </block>
                            </value>
                            <value name="B">
                              <block type="text" id="tOVj6Rkj1X*[rB$d^N[K">
                                <field name="TEXT">Fernsehen</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <statement name="DO0">
                          <block type="control" id="wpDLO2bLd3IVtbTmjNSu">
                            <mutation delay_input="false"></mutation>
                            <field name="OID">harmony.0.WHZ.activities.Fernsehen</field>
                            <field name="WITH_DELAY">FALSE</field>
                            <value name="VALUE">
                              <block type="math_number" id="WMU,JChkqno)B6?`P5pu">
                                <field name="NUM">2</field>
                              </block>
                            </value>
                          </block>
                        </statement>
                        <next>
                          <block type="controls_if" id="f.SsjUdEmEX}F^kl4(kT">
                            <value name="IF0">
                              <block type="logic_compare" id="ri[E)?7e+uM!/cnPm^;U">
                                <field name="OP">EQ</field>
                                <value name="A">
                                  <block type="get_value" id="ze0DUFdco|fAM2Di/t54">
                                    <field name="ATTR">val</field>
                                    <field name="OID">harmony.0.WHZ.activities.currentActivity</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="text" id="B4R)~`0G89pbjk)nWOv8">
                                    <field name="TEXT">Fernsehen</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="0EqDa|:K@n8tcl+SSo,3">
                                <mutation delay_input="false"></mutation>
                                <field name="OID">harmony.0.WHZ.activities.Fernsehen</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id=":VB[F!(k{02]F-r`U6HM">
                                    <field name="NUM">0</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </next>
                      </block>
                    </xml>
                    
                    
                    dslraserD Offline
                    dslraserD Offline
                    dslraser
                    Forum Testing Most Active
                    schrieb am zuletzt editiert von dslraser
                    #16

                    @M1R0O

                    das startet immer, bei jedem Aufruf des Blockly, auch beim Neustart. Da ist kein Trigger drinn der das Blockly auslösen soll...

                    Edit:
                    Das erste lässt sich nicht importieren (bei mir) habe ich mir jetzt nicht angesehen.

                    Bildschirmfoto 2019-07-05 um 13.04.29.png

                    1 Antwort Letzte Antwort
                    1
                    • M Offline
                      M Offline
                      M1R0O
                      schrieb am zuletzt editiert von
                      #17

                      Das ist das Rolläden-Skript:
                      Bildschirmfoto 2019-07-05 um 15.20.59.png

                      Hier arbeite ich mit Triggern.

                      HomoranH 1 Antwort Letzte Antwort
                      0
                      • M M1R0O

                        Das ist das Rolläden-Skript:
                        Bildschirmfoto 2019-07-05 um 15.20.59.png

                        Hier arbeite ich mit Triggern.

                        HomoranH Offline
                        HomoranH Offline
                        Homoran
                        Global Moderator Administrators
                        schrieb am zuletzt editiert von
                        #18

                        @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

                        Hier arbeite ich mit Triggern.

                        reicht ja ein skript ohne Trigger um die Rollläden zu bewegen

                        Interessant wäre das Skript in dem dein TV vorkommt.
                        Das klingt nach einem Toggle

                        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                        M 1 Antwort Letzte Antwort
                        0
                        • HomoranH Homoran

                          @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

                          Hier arbeite ich mit Triggern.

                          reicht ja ein skript ohne Trigger um die Rollläden zu bewegen

                          Interessant wäre das Skript in dem dein TV vorkommt.
                          Das klingt nach einem Toggle

                          M Offline
                          M Offline
                          M1R0O
                          schrieb am zuletzt editiert von M1R0O
                          #19

                          @Homoran said in ioBroker führt jeden Morgen einen Restart durch!:

                          @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

                          Interessant wäre das Skript in dem dein TV vorkommt.
                          Das klingt nach einem Toggle

                          Das hat @dslraser in seinem Post dargestellt. Dies ist in der Tat ein Toggle ohne Trigger.
                          Wie kann ich ein Trigger hinzufügen, aber dennoch die Toggle-Funktion behalten?

                          HomoranH 1 Antwort Letzte Antwort
                          0
                          • M M1R0O

                            @Homoran said in ioBroker führt jeden Morgen einen Restart durch!:

                            @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

                            Interessant wäre das Skript in dem dein TV vorkommt.
                            Das klingt nach einem Toggle

                            Das hat @dslraser in seinem Post dargestellt. Dies ist in der Tat ein Toggle ohne Trigger.
                            Wie kann ich ein Trigger hinzufügen, aber dennoch die Toggle-Funktion behalten?

                            HomoranH Offline
                            HomoranH Offline
                            Homoran
                            Global Moderator Administrators
                            schrieb am zuletzt editiert von
                            #20

                            @M1R0O sagte in ioBroker führt jeden Morgen einen Restart durch!:

                            Wie kann ich ein Trigger hinzufügen, aber dennoch die Toggle-Funktion behalten?

                            indem du einen Trigger drumherum baust, der nur auf Änderung der activity triggert.

                            Die restlichen falls beliben innerhalb des triggers, wobei ich ein falls mit sonstfalls bevorzugen würde

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            1 Antwort Letzte Antwort
                            1
                            • M Offline
                              M Offline
                              M1R0O
                              schrieb am zuletzt editiert von
                              #21

                              Puh, hört sich gut an, verstehe ich aber erstmal nicht. Hast du ein Beispiel, ansonsten lese ich mich ein.

                              Gestartete Rollädenskripte ohne Trigger habe ich keine. Pausierte schon, zählen die auch?
                              Die restlichen Rollädenskripte sehen so aus:
                              Bildschirmfoto 2019-07-05 um 15.32.44.png

                              dslraserD 1 Antwort Letzte Antwort
                              0
                              • M M1R0O

                                Puh, hört sich gut an, verstehe ich aber erstmal nicht. Hast du ein Beispiel, ansonsten lese ich mich ein.

                                Gestartete Rollädenskripte ohne Trigger habe ich keine. Pausierte schon, zählen die auch?
                                Die restlichen Rollädenskripte sehen so aus:
                                Bildschirmfoto 2019-07-05 um 15.32.44.png

                                dslraserD Offline
                                dslraserD Offline
                                dslraser
                                Forum Testing Most Active
                                schrieb am zuletzt editiert von
                                #22

                                @M1R0O
                                alle Blocklys (oder eben Scripte) die nur steuere/aktualisiere usw. Befehle ohne Trigger haben werden einmalig beim Start ausgeführt, oder wenn das Blockly aktualisiert wird.
                                Danach lauscht ja kein Trigger mehr, ob was passiert und etwas ausgeführt werden soll.

                                Nimm Dir mal einen steuere Befehl (irgendwas an/ausschalten) das geht nur ein Mal beim Start.(oder eben beim System/oder Instanz neu starten), danach passiert damit nix mehr.

                                Mit Trigger, der z.B. entweder auf aktualisieren / ändern eines Datenpunktes reagiert kannst Du anschließend innerhalb des Triggers ptüfen und gegebenenfalls Deine Aktionen schalten.

                                1 Antwort Letzte Antwort
                                0
                                • M Offline
                                  M Offline
                                  M1R0O
                                  schrieb am zuletzt editiert von
                                  #23

                                  Das ist schlecht, denn ich habe zig Skripte, die als Toggle für mein Wandtablet dienen.
                                  Wenn ich alle, auch die pausierten, Skripte mit einem Trigger versehen muss, den ich bisher nicht verstehe, habe ich noch etwas zu tun...

                                  AlCalzoneA 1 Antwort Letzte Antwort
                                  0
                                  • M M1R0O

                                    Das ist schlecht, denn ich habe zig Skripte, die als Toggle für mein Wandtablet dienen.
                                    Wenn ich alle, auch die pausierten, Skripte mit einem Trigger versehen muss, den ich bisher nicht verstehe, habe ich noch etwas zu tun...

                                    AlCalzoneA Offline
                                    AlCalzoneA Offline
                                    AlCalzone
                                    Developer
                                    schrieb am zuletzt editiert von AlCalzone
                                    #24

                                    @M1R0O Habe kein blockly zur Hand, aber in Worten etwa so (am obigen Beispiel):

                                    [TRIGGER (rot): Falls Objekt-ID "harmony.0......currentActivity" wurde geändert:]
                                    | falls [WERT (roter Variablen-Block)] gleich "Fernsehen"
                                    | | steuere "harmony.0....Fernsehen" mit 0
                                    | sonst
                                    | | steuere "harmony.0....Fernsehen" mit 2
                                    |__
                                    
                                    

                                    Diese Skripte müssen immer laufen und im VIS änderst du jeweils nur den Wert, der überwacht wird (....currentActivity in deinem fall).

                                    Skripte starten und stoppen sollte man nicht automatisiert machen, da sonst genau deine beschriebenen Phänomene auftreten.

                                    Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                    1 Antwort Letzte Antwort
                                    1
                                    • M Offline
                                      M Offline
                                      M1R0O
                                      schrieb am zuletzt editiert von M1R0O
                                      #25

                                      Meinst du so:
                                      Bildschirmfoto 2019-07-07 um 16.45.19.png
                                      ?
                                      Danke

                                      Edit: So geht´s auf keinen Fall, da so eine Fernsehen-Bootschleife erzeugt wird.

                                      AlCalzoneA dslraserD 3 Antworten Letzte Antwort
                                      0
                                      • M M1R0O

                                        Meinst du so:
                                        Bildschirmfoto 2019-07-07 um 16.45.19.png
                                        ?
                                        Danke

                                        Edit: So geht´s auf keinen Fall, da so eine Fernsehen-Bootschleife erzeugt wird.

                                        AlCalzoneA Offline
                                        AlCalzoneA Offline
                                        AlCalzone
                                        Developer
                                        schrieb am zuletzt editiert von
                                        #26

                                        @M1R0O Was sorgt denn für die Bootschleife? Ggf. reicht es "anerkannt" auf "Update" zu setzen.

                                        Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                        M 1 Antwort Letzte Antwort
                                        0
                                        • M M1R0O

                                          Meinst du so:
                                          Bildschirmfoto 2019-07-07 um 16.45.19.png
                                          ?
                                          Danke

                                          Edit: So geht´s auf keinen Fall, da so eine Fernsehen-Bootschleife erzeugt wird.

                                          dslraserD Offline
                                          dslraserD Offline
                                          dslraser
                                          Forum Testing Most Active
                                          schrieb am zuletzt editiert von dslraser
                                          #27

                                          @M1R0O
                                          willst Du damit schalten/steuern können, oder soll das nur zur Anzeige (z.B. auf Deiner VIS) dienen ?

                                          Edit: in Deinem Beispiel ist der Trigger die aktuelle activitie. Wenn also die activitie aktualisiert werden und aktuell alles ungleich Fernsehen ist soll die activitie Fernsehen mit 2 gstartet werden. (gibt es übrigens nicht zum schalten. Es gibt zwar 0/1/2/3, aber zum schalten nur 0 und 1, siehe Adapter Info)

                                          https://github.com/foxriver76/ioBroker.harmony/blob/master/README.md

                                          Dein Beispiel kann nicht richtig funktionieren. funktionieren

                                          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

                                          307

                                          Online

                                          32.6k

                                          Benutzer

                                          82.2k

                                          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