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

  1. ioBroker Community Home
  2. Deutsch
  3. Visualisierung
  4. [Vorstellung] Meine zweite Visualisierung

NEWS

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.4k

[Vorstellung] Meine zweite Visualisierung

Geplant Angeheftet Gesperrt Verschoben Visualisierung
vistemplate
1.3k Beiträge 148 Kommentatoren 548.5k Aufrufe 157 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.
  • K Kuddel

    @Saschag

    In der Debian VM läuft ein Shell-Skript, welches ich per Crontab laufen lasse.


    Versionen abfragen:

    #ioBroker Version
    iobroker=$(iobroker version)
    iobroker state set javascript.0.Versionen.JS-Controller $iobroker
    
    #Node Version
    node=$(node -v)
    iobroker state set javascript.0.Versionen.Node $node
    
    #NPM Version
    npm=$(npm -v)
    iobroker state set javascript.0.Versionen.NPM $npm
    

    Crontab Eintrag

    #Abfrage der Versionen von ioBroker, Node und NPM
    * * * * * sudo /opt/iobroker/skripts/iobroker_versionen.sh
    

    S Offline
    S Offline
    Saschag
    schrieb am zuletzt editiert von
    #52

    @Kuddel

    Vielen Dank!!

    1 Antwort Letzte Antwort
    0
    • haschelH Offline
      haschelH Offline
      haschel
      schrieb am zuletzt editiert von haschel
      #53

      Servus Kuddel,

      wirklich super Visualisierung die du da gebastelt hast, hilft mir bei der wenigen Zeit die ich habe wirklich sehr weiter. Bin schon gut am basteln. Falls ich Scripte-Mangel haben sollte, werde ich bestimmt noch auf dich zurückkommen. Aber wirklich gute Arbeit.

      Mir ist direkt noch was aufgefallen. Wahrscheinlich total easy, nur hab ich wohl ein Brett vorm Kopp.

      Die Uptime Scripte für die verschiedenen Geräte - wie hast du die realisiert?

      Beste Grüße.

      K 1 Antwort Letzte Antwort
      0
      • D Offline
        D Offline
        Dirni
        schrieb am zuletzt editiert von
        #54

        Hallo

        Könntest mir noch sagen warum das Fenster in deinen Screenshots angezeigt wird ? Sind alle Gruppen in einem eigenen Fenster ?
        Wie heist dieses Widget wenn es eines ist ?

        screen.jpg

        K 1 Antwort Letzte Antwort
        0
        • D Dirni

          Hallo

          Könntest mir noch sagen warum das Fenster in deinen Screenshots angezeigt wird ? Sind alle Gruppen in einem eigenen Fenster ?
          Wie heist dieses Widget wenn es eines ist ?

          screen.jpg

          K Offline
          K Offline
          Kuddel
          schrieb am zuletzt editiert von
          #55

          @Dirni

          Auf Grund von Platzmangel in der Spalte "Wohnzimmer" habe ich für die Steckdose nur ein Widget was das extra Fenster öffnet.

          Die Steckdosen selber sind auf der Seite "2411_EG_Steckdosen_Wohnzimmer".

          Genau so habe ich es für die Rolladen im Wohnzimmer auch gemacht.

          1 Antwort Letzte Antwort
          0
          • haschelH haschel

            Servus Kuddel,

            wirklich super Visualisierung die du da gebastelt hast, hilft mir bei der wenigen Zeit die ich habe wirklich sehr weiter. Bin schon gut am basteln. Falls ich Scripte-Mangel haben sollte, werde ich bestimmt noch auf dich zurückkommen. Aber wirklich gute Arbeit.

            Mir ist direkt noch was aufgefallen. Wahrscheinlich total easy, nur hab ich wohl ein Brett vorm Kopp.

            Die Uptime Scripte für die verschiedenen Geräte - wie hast du die realisiert?

            Beste Grüße.

            K Offline
            K Offline
            Kuddel
            schrieb am zuletzt editiert von
            #56

            @haschel

            Ja das ist ein bisschen komplexer.

            Uptime ioBroker = Uptime im RPI Adapter. Wird dann von Sekunden entsprechend umgewandelt
            Uptime CCU = Wird per Skript auf der CCU ausgelesen und auf der CCU in eine Variable geschieben
            Uptime ESX-NUC = Auf meiner WIn10 VM läuft ein Powershell Skript, was doe Uptime per PowerCLI ausgelesen und an den ioBroker übergeibt
            Uptime Win10 = Wird ebenfalls per Skitpt auf der VM ausgelesen und übergeben (per API)
            Uptime Unifi = Wird per Shell Skript auf der ioBroker VM per SSH ausgelesen und formatiert
            Uptime Sophos = Wird per Shell Skript auf der ioBroker VM per SSH ausgelesen und formatiert
            Uptime QNAP-B = Auswetung der SNMP Adapter

            Wenn du ein bestimmtes Skript brauchst, gib Bescheid, dann poste ich das eben

            haschelH 1 Antwort Letzte Antwort
            0
            • G Offline
              G Offline
              gfrene
              schrieb am zuletzt editiert von
              #57

              @Kuddel könntest du die Scripte zur Verfügung stellen wie du die Zonenreinigung umgesetzt hast :-)

              Danke dir und 1a VIS

              Gruß

              K 1 Antwort Letzte Antwort
              0
              • G gfrene

                @Kuddel könntest du die Scripte zur Verfügung stellen wie du die Zonenreinigung umgesetzt hast :-)

                Danke dir und 1a VIS

                Gruß

                K Offline
                K Offline
                Kuddel
                schrieb am zuletzt editiert von
                #58

                @gfrene

                Skript für die Zonenreinung:

                <block xmlns="http://www.w3.org/1999/xhtml" type="on_ext" id="A3mcx,(O{KZ0SAwINJkl" x="-362.00000000000057" y="10037.5">
                  <mutation items="1"></mutation>
                  <field name="CONDITION">ne</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id="=^9T:bBq#a4Q,Nh;+#c=">
                      <field name="oid">javascript.0.NoNo.Zonen_Reinigung</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="variables_set" id="?Vkt^R1:a?ZRu{JyI(Vh">
                      <field name="VAR">Buero</field>
                      <value name="VALUE">
                        <block type="text" id="a=(?PpOyB5iGBLjQ6Aap">
                          <field name="TEXT">app_zoned_clean;[[18471,19907,22571,23007,1]]</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="sYCBkY(T4jb-]X+2Eak,">
                          <field name="VAR">Flur</field>
                          <value name="VALUE">
                            <block type="text" id="%-KCb~RlSSjV6q_]/?j*">
                              <field name="TEXT">app_zoned_clean;[[22637,19580,29787,25130,2]]</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id=";M*u(QADG3GbZdCgq8GG">
                              <field name="VAR">GaesteWC</field>
                              <value name="VALUE">
                                <block type="text" id="lS%?^.}[p`XS/bXa8f#g">
                                  <field name="TEXT">app_zoned_clean;[[28009,25008,29709,26458,2]]</field>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="H#[grBDiKs9O6?Cx9J4#">
                                  <field name="VAR">Kueche</field>
                                  <value name="VALUE">
                                    <block type="text" id="qSyl{KE}K,}iq}DCvI!1">
                                      <field name="TEXT">app_zoned_clean;[[26727,25000,29777,29250,2]]</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="variables_set" id="q[mk=w]QG/B:uT%rh)%7">
                                      <field name="VAR">Wohnzimmer</field>
                                      <value name="VALUE">
                                        <block type="text" id="Qd0=lq+^}-*HGJNu^hHE">
                                          <field name="TEXT">app_zoned_clean;[[18626,25160,25976,29110,2],[18569,23306,22519,25106,2]]</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="controls_if" id="lH-2B:yzLcZ]@Mk~(nc]">
                                          <value name="IF0">
                                            <block type="logic_compare" id="Bp2=TLQfL3|kHV=a:vvq">
                                              <field name="OP">EQ</field>
                                              <value name="A">
                                                <block type="get_value" id="Hmzyi5vAP`/`|r8fEf=T">
                                                  <field name="ATTR">val</field>
                                                  <field name="OID">javascript.0.NoNo.Zonen_Reinigung</field>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <block type="math_number" id="=ef#+88ApoWQv2F(soI)">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <statement name="DO0">
                                            <block type="control" id="rvU:D+8+T0=}aFHB4Y_,">
                                              <mutation delay_input="false"></mutation>
                                              <field name="OID">mihome-vacuum.0.control.X_send_command</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="variables_get" id="OrN{Ji``zx:c+,GIQ%V~">
                                                  <field name="VAR">Buero</field>
                                                </block>
                                              </value>
                                            </block>
                                          </statement>
                                          <next>
                                            <block type="controls_if" id="p@4RtG#w?*ZfeQh-DhW=">
                                              <value name="IF0">
                                                <block type="logic_compare" id="]ML3dK+K%Ss*PP1C6}.I">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="get_value" id="A[L@C_egi[F/oVMQW^_/">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">javascript.0.NoNo.Zonen_Reinigung</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="math_number" id=":t3k=z={gtWBjX9%+oDY">
                                                      <field name="NUM">2</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="Fj!_{m.PvLy[ZCTt69Ai">
                                                  <mutation delay_input="false"></mutation>
                                                  <field name="OID">mihome-vacuum.0.control.X_send_command</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="variables_get" id="cs^jf5ppROjO7t=DIc:W">
                                                      <field name="VAR">Flur</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="controls_if" id="522b~?+NAKvD,dErnt,l">
                                                  <value name="IF0">
                                                    <block type="logic_compare" id="b3T-%fupbfET7[^%D{gz">
                                                      <field name="OP">EQ</field>
                                                      <value name="A">
                                                        <block type="get_value" id="DciAT#,TJm)AFKPl,ZKU">
                                                          <field name="ATTR">val</field>
                                                          <field name="OID">javascript.0.NoNo.Zonen_Reinigung</field>
                                                        </block>
                                                      </value>
                                                      <value name="B">
                                                        <block type="math_number" id="Mtrun}#MK=5#js?MQLDP">
                                                          <field name="NUM">3</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </value>
                                                  <statement name="DO0">
                                                    <block type="control" id="hP#DYCrpD6@t+ZCj4K}t">
                                                      <mutation delay_input="false"></mutation>
                                                      <field name="OID">mihome-vacuum.0.control.X_send_command</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="variables_get" id="d6tpE4/.-l@yw(k6Op:h">
                                                          <field name="VAR">GaesteWC</field>
                                                        </block>
                                                      </value>
                                                    </block>
                                                  </statement>
                                                  <next>
                                                    <block type="controls_if" id="wSNWFV(=oe3*Wq;f*@BI">
                                                      <value name="IF0">
                                                        <block type="logic_compare" id="Amc2r/~*m=c94}A/ex2x">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="^2CFEG{SfmYy#-cI{L{a">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">javascript.0.NoNo.Zonen_Reinigung</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="math_number" id="@{Af3%,R_U}B/_]Qnf!j">
                                                              <field name="NUM">4</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="control" id="2OX9HjBTIzS|;/.x7Evs">
                                                          <mutation delay_input="false"></mutation>
                                                          <field name="OID">mihome-vacuum.0.control.X_send_command</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="variables_get" id="!aKr!M;)d[~lIFQEW:Rv">
                                                              <field name="VAR">Kueche</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="controls_if" id="sFsn,FsK/.lHM#d!zPu{">
                                                          <value name="IF0">
                                                            <block type="logic_compare" id="sV!{?%?M[3~@{WX[desv">
                                                              <field name="OP">EQ</field>
                                                              <value name="A">
                                                                <block type="get_value" id="jUehj--)Ra/*Fa_!-kBh">
                                                                  <field name="ATTR">val</field>
                                                                  <field name="OID">javascript.0.NoNo.Zonen_Reinigung</field>
                                                                </block>
                                                              </value>
                                                              <value name="B">
                                                                <block type="math_number" id="KC(quv,.gF*^p+@UY[f/">
                                                                  <field name="NUM">5</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </value>
                                                          <statement name="DO0">
                                                            <block type="control" id="YO.z!X!:4Bz}]iBb(jhf">
                                                              <mutation delay_input="false"></mutation>
                                                              <field name="OID">mihome-vacuum.0.control.X_send_command</field>
                                                              <field name="WITH_DELAY">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="variables_get" id="hhG2Xi:Ge;lTOZ`k]ta-">
                                                                  <field name="VAR">Wohnzimmer</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </statement>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
                

                Ausgelöst wird das ganze durch den entsprechenden Wert im Datenpunkt javascript.0.NoNo.Zonen_Reiningung

                0 = Aus
                1 = Raum 1
                2 = Raum 2
                ect.

                G 2 Antworten Letzte Antwort
                1
                • K Kuddel

                  @Mallet

                  Mittlerwiele habe ich für alles mögliche Skripte am laufen (an der Zahl 56).

                  Die aufzulisten ist nicht mal eben schnell gemacht.

                  Wenn du spezielle Fragen zu Skripten hast, die evtl. für meine VIS wichtig sein könnte, schieß los.

                  M Offline
                  M Offline
                  Mallet
                  schrieb am zuletzt editiert von
                  #59

                  @Kuddel Hi Knuddel,
                  das es nicht blos ein oder 2 sind dachte ich mir schon... :) habe akutell keine direkte frage... aber wenn schreib ich... Danke :) Wirklich toll die VIS

                  1 Antwort Letzte Antwort
                  0
                  • K Kuddel

                    @haschel

                    Ja das ist ein bisschen komplexer.

                    Uptime ioBroker = Uptime im RPI Adapter. Wird dann von Sekunden entsprechend umgewandelt
                    Uptime CCU = Wird per Skript auf der CCU ausgelesen und auf der CCU in eine Variable geschieben
                    Uptime ESX-NUC = Auf meiner WIn10 VM läuft ein Powershell Skript, was doe Uptime per PowerCLI ausgelesen und an den ioBroker übergeibt
                    Uptime Win10 = Wird ebenfalls per Skitpt auf der VM ausgelesen und übergeben (per API)
                    Uptime Unifi = Wird per Shell Skript auf der ioBroker VM per SSH ausgelesen und formatiert
                    Uptime Sophos = Wird per Shell Skript auf der ioBroker VM per SSH ausgelesen und formatiert
                    Uptime QNAP-B = Auswetung der SNMP Adapter

                    Wenn du ein bestimmtes Skript brauchst, gib Bescheid, dann poste ich das eben

                    haschelH Offline
                    haschelH Offline
                    haschel
                    schrieb am zuletzt editiert von
                    #60

                    @Kuddel hört sich sehr gut an. bin gerade am fummeln, wie ich mir die Uptime per Script speicher. Das auslesen ist soweit kein Problem. Würde mich freuen wenn du mir die für das Windws-System und für Unifi geben könntest.

                    Also, Interesse hätte ich an:

                    Win 10 Uptime
                    Unifi Uptime
                    Festplattenspeicher NAS
                    WOL (Win Server)

                    Vielen Dank an dich - wirklich super Arbeit - das Verständnis wird meinerseits immer besser. :)

                    1 Antwort Letzte Antwort
                    0
                    • K Kuddel

                      @gfrene

                      Skript für die Zonenreinung:

                      <block xmlns="http://www.w3.org/1999/xhtml" type="on_ext" id="A3mcx,(O{KZ0SAwINJkl" x="-362.00000000000057" y="10037.5">
                        <mutation items="1"></mutation>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <value name="OID0">
                          <shadow type="field_oid" id="=^9T:bBq#a4Q,Nh;+#c=">
                            <field name="oid">javascript.0.NoNo.Zonen_Reinigung</field>
                          </shadow>
                        </value>
                        <statement name="STATEMENT">
                          <block type="variables_set" id="?Vkt^R1:a?ZRu{JyI(Vh">
                            <field name="VAR">Buero</field>
                            <value name="VALUE">
                              <block type="text" id="a=(?PpOyB5iGBLjQ6Aap">
                                <field name="TEXT">app_zoned_clean;[[18471,19907,22571,23007,1]]</field>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="sYCBkY(T4jb-]X+2Eak,">
                                <field name="VAR">Flur</field>
                                <value name="VALUE">
                                  <block type="text" id="%-KCb~RlSSjV6q_]/?j*">
                                    <field name="TEXT">app_zoned_clean;[[22637,19580,29787,25130,2]]</field>
                                  </block>
                                </value>
                                <next>
                                  <block type="variables_set" id=";M*u(QADG3GbZdCgq8GG">
                                    <field name="VAR">GaesteWC</field>
                                    <value name="VALUE">
                                      <block type="text" id="lS%?^.}[p`XS/bXa8f#g">
                                        <field name="TEXT">app_zoned_clean;[[28009,25008,29709,26458,2]]</field>
                                      </block>
                                    </value>
                                    <next>
                                      <block type="variables_set" id="H#[grBDiKs9O6?Cx9J4#">
                                        <field name="VAR">Kueche</field>
                                        <value name="VALUE">
                                          <block type="text" id="qSyl{KE}K,}iq}DCvI!1">
                                            <field name="TEXT">app_zoned_clean;[[26727,25000,29777,29250,2]]</field>
                                          </block>
                                        </value>
                                        <next>
                                          <block type="variables_set" id="q[mk=w]QG/B:uT%rh)%7">
                                            <field name="VAR">Wohnzimmer</field>
                                            <value name="VALUE">
                                              <block type="text" id="Qd0=lq+^}-*HGJNu^hHE">
                                                <field name="TEXT">app_zoned_clean;[[18626,25160,25976,29110,2],[18569,23306,22519,25106,2]]</field>
                                              </block>
                                            </value>
                                            <next>
                                              <block type="controls_if" id="lH-2B:yzLcZ]@Mk~(nc]">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="Bp2=TLQfL3|kHV=a:vvq">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="get_value" id="Hmzyi5vAP`/`|r8fEf=T">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">javascript.0.NoNo.Zonen_Reinigung</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="math_number" id="=ef#+88ApoWQv2F(soI)">
                                                        <field name="NUM">1</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="rvU:D+8+T0=}aFHB4Y_,">
                                                    <mutation delay_input="false"></mutation>
                                                    <field name="OID">mihome-vacuum.0.control.X_send_command</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="variables_get" id="OrN{Ji``zx:c+,GIQ%V~">
                                                        <field name="VAR">Buero</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="controls_if" id="p@4RtG#w?*ZfeQh-DhW=">
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="]ML3dK+K%Ss*PP1C6}.I">
                                                        <field name="OP">EQ</field>
                                                        <value name="A">
                                                          <block type="get_value" id="A[L@C_egi[F/oVMQW^_/">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">javascript.0.NoNo.Zonen_Reinigung</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id=":t3k=z={gtWBjX9%+oDY">
                                                            <field name="NUM">2</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="control" id="Fj!_{m.PvLy[ZCTt69Ai">
                                                        <mutation delay_input="false"></mutation>
                                                        <field name="OID">mihome-vacuum.0.control.X_send_command</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="variables_get" id="cs^jf5ppROjO7t=DIc:W">
                                                            <field name="VAR">Flur</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="controls_if" id="522b~?+NAKvD,dErnt,l">
                                                        <value name="IF0">
                                                          <block type="logic_compare" id="b3T-%fupbfET7[^%D{gz">
                                                            <field name="OP">EQ</field>
                                                            <value name="A">
                                                              <block type="get_value" id="DciAT#,TJm)AFKPl,ZKU">
                                                                <field name="ATTR">val</field>
                                                                <field name="OID">javascript.0.NoNo.Zonen_Reinigung</field>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="math_number" id="Mtrun}#MK=5#js?MQLDP">
                                                                <field name="NUM">3</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="control" id="hP#DYCrpD6@t+ZCj4K}t">
                                                            <mutation delay_input="false"></mutation>
                                                            <field name="OID">mihome-vacuum.0.control.X_send_command</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="variables_get" id="d6tpE4/.-l@yw(k6Op:h">
                                                                <field name="VAR">GaesteWC</field>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                        <next>
                                                          <block type="controls_if" id="wSNWFV(=oe3*Wq;f*@BI">
                                                            <value name="IF0">
                                                              <block type="logic_compare" id="Amc2r/~*m=c94}A/ex2x">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="^2CFEG{SfmYy#-cI{L{a">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">javascript.0.NoNo.Zonen_Reinigung</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="math_number" id="@{Af3%,R_U}B/_]Qnf!j">
                                                                    <field name="NUM">4</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <statement name="DO0">
                                                              <block type="control" id="2OX9HjBTIzS|;/.x7Evs">
                                                                <mutation delay_input="false"></mutation>
                                                                <field name="OID">mihome-vacuum.0.control.X_send_command</field>
                                                                <field name="WITH_DELAY">FALSE</field>
                                                                <value name="VALUE">
                                                                  <block type="variables_get" id="!aKr!M;)d[~lIFQEW:Rv">
                                                                    <field name="VAR">Kueche</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </statement>
                                                            <next>
                                                              <block type="controls_if" id="sFsn,FsK/.lHM#d!zPu{">
                                                                <value name="IF0">
                                                                  <block type="logic_compare" id="sV!{?%?M[3~@{WX[desv">
                                                                    <field name="OP">EQ</field>
                                                                    <value name="A">
                                                                      <block type="get_value" id="jUehj--)Ra/*Fa_!-kBh">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">javascript.0.NoNo.Zonen_Reinigung</field>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <block type="math_number" id="KC(quv,.gF*^p+@UY[f/">
                                                                        <field name="NUM">5</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <statement name="DO0">
                                                                  <block type="control" id="YO.z!X!:4Bz}]iBb(jhf">
                                                                    <mutation delay_input="false"></mutation>
                                                                    <field name="OID">mihome-vacuum.0.control.X_send_command</field>
                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                    <value name="VALUE">
                                                                      <block type="variables_get" id="hhG2Xi:Ge;lTOZ`k]ta-">
                                                                        <field name="VAR">Wohnzimmer</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </statement>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </statement>
                      </block>
                      

                      Ausgelöst wird das ganze durch den entsprechenden Wert im Datenpunkt javascript.0.NoNo.Zonen_Reiningung

                      0 = Aus
                      1 = Raum 1
                      2 = Raum 2
                      ect.

                      G Offline
                      G Offline
                      gfrene
                      schrieb am zuletzt editiert von
                      #61

                      @Kuddel Dickes danke :-) wegen dem javascript.0.NoNo.Zonen_Reiningung steht in diesen Datenpukt was ? ist das noch ein JAVA-Srcipt ? Gruß und danke für deine Hilfe.

                      K 1 Antwort Letzte Antwort
                      0
                      • K Offline
                        K Offline
                        Kuddel
                        schrieb am zuletzt editiert von
                        #62

                        @haschel

                        Uptime WIndows 10 (Powershell):
                        windows_10_uptime_umwandeln.txt windows_10_uptime_abfrage.txt

                        Uptime Unifi-Controller (Shell):
                        Voraussetzung: auf dem ioBroker einen SSH Key erstellen und auf den Unifi-Controller kopieren, sonst funktioniert die Abfrage nicht ohne PW
                        unifi_uptime_umwandelntxt.txt unifi_uptime_abfrage.txt

                        Festplattensepicher WinNAS (Powershell):
                        WinNAS_Festplattenauslastung.txt

                        WOL WinNAS (JavaScript):
                        WinNAS_WOL.txt

                        P 1 Antwort Letzte Antwort
                        0
                        • G gfrene

                          @Kuddel Dickes danke :-) wegen dem javascript.0.NoNo.Zonen_Reiningung steht in diesen Datenpukt was ? ist das noch ein JAVA-Srcipt ? Gruß und danke für deine Hilfe.

                          K Offline
                          K Offline
                          Kuddel
                          schrieb am zuletzt editiert von
                          #63

                          @gfrene

                          In dem Datenpunkt steht eine Zahl.

                          Über meine VIS wird über das entsprechende Raum Widget eine Zahl riengeschrieben.

                          Beispiel: Ich drücke in der VIS auf "Büro". Dann setzt das Widget eine 2 in das Datenobjekt.

                          Über diese 2 werden dann per Blockly die entsprechenden Koordinaten ausgewählt und der Saugvorgang gestartet

                          G 2 Antworten Letzte Antwort
                          1
                          • K Kuddel

                            @wendy2702:

                            Ein Frage.

                            Sind die Bilder von unterschiedlichen Tagen?

                            Einmal Vollmond und einmal Neumond wie es aussieht. `

                            damit man das besser erkennen kann habe ich auf der Startseite einen Vollmond genommen. diese Bild ändert sich nicht

                            EDIT: habs mal eben geändert:

                            3467_mond.png

                            M Offline
                            M Offline
                            maxpd
                            schrieb am zuletzt editiert von maxpd
                            #64

                            @Kuddel said in [Vorstellung] Meine zweite Visualisierung:

                            3467_mond.png

                            Mhhh, lässt sich im neuen Forum nicht mehr im Thread selber filtern?

                            Bei dem Astro Modul sind JavaScripte hinterlegt. Wie finde ich diese denn? Bei mir steht nur NaN oder null wo Zahlen stehen sollten.

                            Gruß
                            maxpd

                            Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

                            K 1 Antwort Letzte Antwort
                            0
                            • M maxpd

                              @Kuddel said in [Vorstellung] Meine zweite Visualisierung:

                              3467_mond.png

                              Mhhh, lässt sich im neuen Forum nicht mehr im Thread selber filtern?

                              Bei dem Astro Modul sind JavaScripte hinterlegt. Wie finde ich diese denn? Bei mir steht nur NaN oder null wo Zahlen stehen sollten.

                              K Offline
                              K Offline
                              Kuddel
                              schrieb am zuletzt editiert von
                              #65

                              @maxpd

                              Da ich keine Ahnung von Java habe, habe ich alles mit Blockly umgesetzt:

                              Tages und Nachtzeit
                              Tages_und_Nachtlaenge.txt

                              Fortschritt
                              Fortschritt.txt

                              1 Antwort Letzte Antwort
                              0
                              • M Offline
                                M Offline
                                maxpd
                                schrieb am zuletzt editiert von
                                #66

                                @Kuddel

                                Ich auch nicht :)

                                ich sehe nur unter Allgemein im Widget: javascript.0.zeiten.tageslaenge_fortschritt

                                Gruß
                                maxpd

                                Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

                                1 Antwort Letzte Antwort
                                0
                                • K Offline
                                  K Offline
                                  Kuddel
                                  schrieb am zuletzt editiert von Kuddel
                                  #67

                                  @maxpd

                                  Wenn du alle Datenojekte die ich so verwende haben möchtest, erstelle ein JavaScript und kopiere folgendes rein:

                                  createState('javascript.0.zeiten.sonnenuntergang', false, {type: 'string',name: 'sonnenuntergang'});
                                  createState('javascript.0.zeiten.sonnenaufgang', false, {type: 'string',name: 'sonnenaufgang'});
                                  createState('javascript.0.zeiten.sonnenaufgang_stunde', false, {type: 'string',name: 'sonnenaufgang_stunde'});
                                  createState('javascript.0.zeiten.sonnenaufgang_minute', false, {type: 'string',name: 'sonnenaufgang_minute'});
                                  createState('javascript.0.zeiten.nachtlaenge', false, {type: 'string',name: 'nachtlaenge'});
                                  createState('javascript.0.zeiten.nachtlaenge_in_minuten', false, {type: 'string',name: 'nachtlaenge_in_minuten'});
                                  createState('javascript.0.zeiten.nachtlaenge_keinlicht', false, {type: 'string',name: 'nachtlaenge_keinlicht'});
                                  createState('javascript.0.zeiten.nachtlaenge_fortschritt', false, {type: 'string',name: 'nachtlaenge_fortschritt'});
                                  createState('javascript.0.zeiten.tageslaenge', false, {type: 'string',name: 'tageslaenge'});
                                  createState('javascript.0.zeiten.tageslaenge_differenz', false, {type: 'string',name: 'tageslaenge_differenz'});
                                  createState('javascript.0.zeiten.tageslaenge_fortschritt', false, {type: 'string',name: 'tageslaenge_fortschritt'});
                                  createState('javascript.0.zeiten.tageslaenge_in_minuten', false, {type: 'string',name: 'tageslaenge_in_minuten'});
                                  createState('javascript.0.zeiten.tageslaenge_tageslicht', false, {type: 'string',name: 'tageslaenge_tageslicht'});
                                  createState('javascript.0.zeiten.tageslaenge_tageslicht_in_minuten', false, {type: 'string',name: 'tageslaenge_tageslicht_in_minuten'});
                                  createState('javascript.0.zeiten.tageslaenge_timer_restart', false, {type: 'boolean',name:'tageslaenge_timer_restart'});
                                  
                                  

                                  G 1 Antwort Letzte Antwort
                                  0
                                  • M Offline
                                    M Offline
                                    maxpd
                                    schrieb am zuletzt editiert von
                                    #68

                                    @Kuddel said in [Vorstellung] Meine zweite Visualisierung:

                                    @maxpd

                                    Wenn du alle Datenojekte die ich so verwende haben möchtest, erstelle ein JavaScript und kopiere folgendes rein:

                                    Die Astro Anzeige fand ich ganz interessant, da ich die Angaben auch manchmal google.
                                    Aber am meisten versuche ich erst mal Zusammenhänge und Funktionsweisen in iobroker und VIS zu verstehen.

                                    Ha, jetzt haben sich NaN und null auf false geändert :D Aber der Import von Fortschrifft funktioniert auch nicht. Da kommt eine Fehlermeldung:

                                    TypeError: Cannot read property 'appendChild' of null

                                    Gruß
                                    maxpd

                                    Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

                                    K 1 Antwort Letzte Antwort
                                    0
                                    • M maxpd

                                      @Kuddel said in [Vorstellung] Meine zweite Visualisierung:

                                      @maxpd

                                      Wenn du alle Datenojekte die ich so verwende haben möchtest, erstelle ein JavaScript und kopiere folgendes rein:

                                      Die Astro Anzeige fand ich ganz interessant, da ich die Angaben auch manchmal google.
                                      Aber am meisten versuche ich erst mal Zusammenhänge und Funktionsweisen in iobroker und VIS zu verstehen.

                                      Ha, jetzt haben sich NaN und null auf false geändert :D Aber der Import von Fortschrifft funktioniert auch nicht. Da kommt eine Fehlermeldung:

                                      TypeError: Cannot read property 'appendChild' of null

                                      K Offline
                                      K Offline
                                      Kuddel
                                      schrieb am zuletzt editiert von
                                      #69

                                      @maxpd

                                      Ja stimmt, ich kann es nach einem neuen Export aucht nicht importieren. Beim Fortschritt für die Nacht liegt irgendwo der Fehler.

                                      Hier ist der Fortschritt für Tagsüber:

                                      <block xmlns="http://www.w3.org/1999/xhtml" type="schedule" id="(zB*eILS0}lC]4feO;NQ" x="-287" y="-12">
                                        <field name="SCHEDULE">* * * * *</field>
                                        <statement name="STATEMENT">
                                          <block type="comment" id="F@)g%-I%DLPUO?NKxC~p">
                                            <field name="COMMENT">Tageslicht</field>
                                            <next>
                                              <block type="controls_if" id="cggsDF/*JY)o.]T!zs:|">
                                                <value name="IF0">
                                                  <block type="logic_compare" id="neWt`yuwThe[})R*v;ua">
                                                    <field name="OP">EQ</field>
                                                    <value name="A">
                                                      <block type="time_get" id="3o?IF#+zk%NF)7tdrZF)">
                                                        <mutation format="false" language="false"></mutation>
                                                        <field name="OPTION">hh:mm</field>
                                                      </block>
                                                    </value>
                                                    <value name="B">
                                                      <block type="get_value" id="pn0]=@}Q6ypxVSk)x_ky">
                                                        <field name="ATTR">val</field>
                                                        <field name="OID">javascript.0.zeiten.sonnenaufgang</field>
                                                      </block>
                                                    </value>
                                                  </block>
                                                </value>
                                                <statement name="DO0">
                                                  <block type="control" id="FhF0Pwtrp.dFfW%SAmMK">
                                                    <mutation delay_input="false"></mutation>
                                                    <field name="OID">javascript.0.zeiten.tageslaenge_fortschritt</field>
                                                    <field name="WITH_DELAY">FALSE</field>
                                                    <value name="VALUE">
                                                      <block type="text" id="]EO6n@[7[C{)s_~D3VgB">
                                                        <field name="TEXT">100</field>
                                                      </block>
                                                    </value>
                                                    <next>
                                                      <block type="control" id="zF!boiV!!!f{]?n0baQ=">
                                                        <mutation delay_input="false"></mutation>
                                                        <field name="OID">javascript.0.zeiten.tageslaenge_tageslicht_in_minuten</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <value name="VALUE">
                                                          <block type="convert_tostring" id=".]Q`EYCiV@we[rPrLSY1">
                                                            <value name="VALUE">
                                                              <block type="math_arithmetic" id="!2*6Vi%`h}LN!_|`1@8(" inline="false">
                                                                <field name="OP">MINUS</field>
                                                                <value name="A">
                                                                  <shadow type="math_number" id="B3|V_Ljn[~%Q+HHiV?_~">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="convert_from_date" id="7*E(LC8fHz2pU;ssHht,">
                                                                    <mutation format="false" language="false"></mutation>
                                                                    <field name="OPTION">mid</field>
                                                                    <value name="VALUE">
                                                                      <block type="time_astro" id="yS6(Fn=S5sB4/ATrUahy">
                                                                        <field name="TYPE">sunset</field>
                                                                        <field name="OFFSET">0</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <shadow type="math_number" id="(c6`X/y~y*sa=f+,g)#y">
                                                                    <field name="NUM">1</field>
                                                                  </shadow>
                                                                  <block type="time_get" id="j:5w/cmmi!1JI;lj77Pn">
                                                                    <mutation format="false" language="false"></mutation>
                                                                    <field name="OPTION">mid</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </statement>
                                                <next>
                                                  <block type="controls_if" id="(^^D^mu@vrKf*MzEai,n">
                                                    <value name="IF0">
                                                      <block type="logic_compare" id="OBaCAYbHt;;UM#v(xeQN">
                                                        <field name="OP">GT</field>
                                                        <value name="A">
                                                          <block type="get_value" id="aqm]}h[z_`dAS]2;:t;n">
                                                            <field name="ATTR">val</field>
                                                            <field name="OID">javascript.0.zeiten.tageslaenge_tageslicht_in_minuten</field>
                                                          </block>
                                                        </value>
                                                        <value name="B">
                                                          <block type="math_number" id="k(G3Y:Tu)=yEFQ5yp2eS">
                                                            <field name="NUM">0</field>
                                                          </block>
                                                        </value>
                                                      </block>
                                                    </value>
                                                    <statement name="DO0">
                                                      <block type="control" id="Rd6@e{hWV62YiKLLY/%X">
                                                        <mutation delay_input="false"></mutation>
                                                        <field name="OID">javascript.0.zeiten.tageslaenge_fortschritt</field>
                                                        <field name="WITH_DELAY">FALSE</field>
                                                        <comment pinned="false" h="80" w="160">Rechnung:
                                      (aktueller Zeitpunkt in Minuten *100)/ Tagseslänge in Minuten
                                                        </comment>
                                                        <value name="VALUE">
                                                          <block type="convert_tostring" id="h!Y]I%GI10@a.jL{6tok">
                                                            <value name="VALUE">
                                                              <block type="math_round" id="ygBOxsic4R5t?UbA@}-~">
                                                                <field name="OP">ROUND</field>
                                                                <value name="NUM">
                                                                  <shadow type="math_number" id="]:,s32?5@NfsE]u6dQ,H">
                                                                    <field name="NUM">3.1</field>
                                                                  </shadow>
                                                                  <block type="math_arithmetic" id=".5pSNur])MV]f@qp4{i:" inline="false">
                                                                    <field name="OP">DIVIDE</field>
                                                                    <value name="A">
                                                                      <shadow type="math_number" id="G`UN:3+p%7/kxBEol_%a">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="math_arithmetic" id="uP/zc2;9gJbD1lYM.oaE" inline="false">
                                                                        <field name="OP">MULTIPLY</field>
                                                                        <value name="A">
                                                                          <shadow type="math_number" id="i,38}R*oiUl1Om7!vYyI">
                                                                            <field name="NUM">1</field>
                                                                          </shadow>
                                                                          <block type="math_arithmetic" id="?~2A?%.eh#xtWJCztS@{" inline="false">
                                                                            <field name="OP">MINUS</field>
                                                                            <value name="A">
                                                                              <shadow type="math_number" id="B3|V_Ljn[~%Q+HHiV?_~">
                                                                                <field name="NUM">1</field>
                                                                              </shadow>
                                                                              <block type="convert_from_date" id="b)so8-M#4Y2YR:rb8:d8">
                                                                                <mutation format="false" language="false"></mutation>
                                                                                <field name="OPTION">mid</field>
                                                                                <value name="VALUE">
                                                                                  <block type="time_astro" id="_13-93yo_*T4j%L]p!fj">
                                                                                    <field name="TYPE">sunset</field>
                                                                                    <field name="OFFSET">0</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <shadow type="math_number" id="(c6`X/y~y*sa=f+,g)#y">
                                                                                <field name="NUM">1</field>
                                                                              </shadow>
                                                                              <block type="time_get" id="s9}ko*Y3GcHi[IQk4G6!">
                                                                                <mutation format="false" language="false"></mutation>
                                                                                <field name="OPTION">mid</field>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <value name="B">
                                                                          <shadow type="math_number" id="9ci?a^NEeRpDmWT/.fJq">
                                                                            <field name="NUM">100</field>
                                                                          </shadow>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id="WJCqhHA]_5|(VSXL)c|q">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="get_value" id="ZCwsVW~Ji2=d3_=6BFpz">
                                                                        <field name="ATTR">val</field>
                                                                        <field name="OID">javascript.0.zeiten.tageslaenge_in_minuten</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <next>
                                                          <block type="control" id="]zc;(b~L*|]iI!G,)m~G">
                                                            <mutation delay_input="false"></mutation>
                                                            <field name="OID">javascript.0.zeiten.tageslaenge_tageslicht_in_minuten</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="convert_tostring" id="XbTV|L},^Tdv^f,~_g2#">
                                                                <value name="VALUE">
                                                                  <block type="math_arithmetic" id="pu^#PKi=UWTlp26L*~`x" inline="false">
                                                                    <field name="OP">MINUS</field>
                                                                    <value name="A">
                                                                      <shadow type="math_number" id="B3|V_Ljn[~%Q+HHiV?_~">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="convert_from_date" id="X]N4(s*fnW7_jxGUUifu">
                                                                        <mutation format="false" language="false"></mutation>
                                                                        <field name="OPTION">mid</field>
                                                                        <value name="VALUE">
                                                                          <block type="time_astro" id="iTZiG%s}DR)?Sy6`;5rj">
                                                                            <field name="TYPE">sunset</field>
                                                                            <field name="OFFSET">0</field>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <value name="B">
                                                                      <shadow type="math_number" id="(c6`X/y~y*sa=f+,g)#y">
                                                                        <field name="NUM">1</field>
                                                                      </shadow>
                                                                      <block type="time_get" id=")sbT91k10eU/}HPQ~ylz">
                                                                        <mutation format="false" language="false"></mutation>
                                                                        <field name="OPTION">mid</field>
                                                                      </block>
                                                                    </value>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <next>
                                                              <block type="comment" id="Y1N3R)La8(53qWH.V?a9">
                                                                <field name="COMMENT">Tageslicht</field>
                                                                <next>
                                                                  <block type="variables_set" id="ET}/!,v^cU1/5jyE}eGQ">
                                                                    <field name="VAR">tageslicht_stunden</field>
                                                                    <value name="VALUE">
                                                                      <block type="math_round" id="t?v^j0B).zQX+H~}=N(L">
                                                                        <field name="OP">ROUNDDOWN</field>
                                                                        <value name="NUM">
                                                                          <shadow type="math_number" id="E5^T=-p[{Skz]^7aPJ+F">
                                                                            <field name="NUM">3.1</field>
                                                                          </shadow>
                                                                          <block type="math_arithmetic" id="QwUu#.n:s-Nt)d@Q@o%[" inline="false">
                                                                            <field name="OP">DIVIDE</field>
                                                                            <value name="A">
                                                                              <shadow type="math_number" id="1A!||Q4Q9fXwNB5L_|J*">
                                                                                <field name="NUM">1</field>
                                                                              </shadow>
                                                                              <block type="get_value" id="yQr4N;rn6xI;oAW_T2Nl">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">javascript.0.zeiten.tageslaenge_tageslicht_in_minuten</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <shadow type="math_number" id="`sFASt]W(*oo7d%O%hwn">
                                                                                <field name="NUM">60</field>
                                                                              </shadow>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                      </block>
                                                                    </value>
                                                                    <next>
                                                                      <block type="variables_set" id=")}DYs.qo/qSk_T|Y5Htz">
                                                                        <field name="VAR">tageslicht_minuten</field>
                                                                        <value name="VALUE">
                                                                          <block type="math_arithmetic" id="=lynCq7?+TJh%a5B?Ntt" inline="false">
                                                                            <field name="OP">MINUS</field>
                                                                            <value name="A">
                                                                              <shadow type="math_number" id="WD~!+d%3~wqM=kmHzDlk">
                                                                                <field name="NUM">1</field>
                                                                              </shadow>
                                                                              <block type="get_value" id="J=0k:+OoU6)^14p}FGfQ">
                                                                                <field name="ATTR">val</field>
                                                                                <field name="OID">javascript.0.zeiten.tageslaenge_tageslicht_in_minuten</field>
                                                                              </block>
                                                                            </value>
                                                                            <value name="B">
                                                                              <shadow type="math_number" id=")).0/8sID@I9|,f|pKo?">
                                                                                <field name="NUM">1</field>
                                                                              </shadow>
                                                                              <block type="math_arithmetic" id="(_3*6w96%s1oQHYJ16ko" inline="false">
                                                                                <field name="OP">MULTIPLY</field>
                                                                                <value name="A">
                                                                                  <shadow type="math_number" id="fc]gQz4gNGA*T6;VLb5l">
                                                                                    <field name="NUM">1</field>
                                                                                  </shadow>
                                                                                  <block type="variables_get" id="y/1C[b{KCV}@cR!6WO-7">
                                                                                    <field name="VAR">tageslicht_stunden</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <shadow type="math_number" id="TL6V{F/fJM57]O?xKm_i">
                                                                                    <field name="NUM">60</field>
                                                                                  </shadow>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                          </block>
                                                                        </value>
                                                                        <next>
                                                                          <block type="controls_if" id=".ZRuC~F66A;*aLrdlC+v">
                                                                            <value name="IF0">
                                                                              <block type="logic_compare" id="HTm~#EmdyULx?`/NKXZp">
                                                                                <field name="OP">LT</field>
                                                                                <value name="A">
                                                                                  <block type="variables_get" id="4fiBgAwIQ;48sw[.9QH?">
                                                                                    <field name="VAR">tageslicht_stunden</field>
                                                                                  </block>
                                                                                </value>
                                                                                <value name="B">
                                                                                  <block type="math_number" id="KWPSYMzD`d4?F_7y=]lo">
                                                                                    <field name="NUM">10</field>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </value>
                                                                            <statement name="DO0">
                                                                              <block type="variables_set" id="528hrX[=)+b)a0kl@Kle">
                                                                                <field name="VAR">tageslicht_stunden</field>
                                                                                <value name="VALUE">
                                                                                  <block type="text_join" id="9]x8h0aiY)OmCU:_ohg(">
                                                                                    <mutation items="2"></mutation>
                                                                                    <value name="ADD0">
                                                                                      <block type="text" id="qef:q5saO(ccR;^IVVD:">
                                                                                        <field name="TEXT">0</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="ADD1">
                                                                                      <block type="variables_get" id="vuQYs.,C2y*esJOU8:~v">
                                                                                        <field name="VAR">tageslicht_stunden</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                              </block>
                                                                            </statement>
                                                                            <next>
                                                                              <block type="controls_if" id="73j.SvxF#,oZbvhipBNI">
                                                                                <value name="IF0">
                                                                                  <block type="logic_compare" id="w*q*5{z3E|#q*c~,B;h0">
                                                                                    <field name="OP">LT</field>
                                                                                    <value name="A">
                                                                                      <block type="variables_get" id="BM)8Wr*ds{sP!z-)Y+*K">
                                                                                        <field name="VAR">tageslicht_minuten</field>
                                                                                      </block>
                                                                                    </value>
                                                                                    <value name="B">
                                                                                      <block type="math_number" id="[mr@FAqLcBz%[rHF58Qv">
                                                                                        <field name="NUM">10</field>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </value>
                                                                                <statement name="DO0">
                                                                                  <block type="variables_set" id="uPPa@wz([53N3kGW[(RJ">
                                                                                    <field name="VAR">tageslicht_minuten</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="text_join" id="-^:=WQ_=Ie8:buhh*).u">
                                                                                        <mutation items="2"></mutation>
                                                                                        <value name="ADD0">
                                                                                          <block type="text" id="pz8#`YTfV:=P_8]](/#i">
                                                                                            <field name="TEXT">0</field>
                                                                                          </block>
                                                                                        </value>
                                                                                        <value name="ADD1">
                                                                                          <block type="variables_get" id="Mq~(xp1l-t:Jj1B*l#Dc">
                                                                                            <field name="VAR">tageslicht_minuten</field>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </statement>
                                                                                <next>
                                                                                  <block type="control" id="gYZcm^-jUxihTef2X^gk">
                                                                                    <mutation delay_input="false"></mutation>
                                                                                    <field name="OID">javascript.0.zeiten.tageslaenge_tageslicht</field>
                                                                                    <field name="WITH_DELAY">FALSE</field>
                                                                                    <value name="VALUE">
                                                                                      <block type="convert_tostring" id="q[zG5-(W%PeQIJ,nTg|c">
                                                                                        <value name="VALUE">
                                                                                          <block type="text_join" id="{Ln%z*ZgfT1HwU@xZF-m">
                                                                                            <mutation items="3"></mutation>
                                                                                            <value name="ADD0">
                                                                                              <block type="variables_get" id="3D+c0Y!fe1n5AJ^#K`wY">
                                                                                                <field name="VAR">tageslicht_stunden</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="ADD1">
                                                                                              <block type="text" id="7M}EySWGm^xwZHhEY=#M">
                                                                                                <field name="TEXT">:</field>
                                                                                              </block>
                                                                                            </value>
                                                                                            <value name="ADD2">
                                                                                              <block type="variables_get" id="vC7GN1uRdzm)YkW.c_]Y">
                                                                                                <field name="VAR">tageslicht_minuten</field>
                                                                                              </block>
                                                                                            </value>
                                                                                          </block>
                                                                                        </value>
                                                                                      </block>
                                                                                    </value>
                                                                                  </block>
                                                                                </next>
                                                                              </block>
                                                                            </next>
                                                                          </block>
                                                                        </next>
                                                                      </block>
                                                                    </next>
                                                                  </block>
                                                                </next>
                                                              </block>
                                                            </next>
                                                          </block>
                                                        </next>
                                                      </block>
                                                    </statement>
                                                    <next>
                                                      <block type="controls_if" id="|)SKV{5+KIllIIw!(T:v">
                                                        <value name="IF0">
                                                          <block type="logic_operation" id="YKkKg7bAvjKaj7mV+F3S" inline="false">
                                                            <field name="OP">AND</field>
                                                            <value name="A">
                                                              <block type="logic_compare" id=")y}[Y5d^Zj|lcW.]g-~y">
                                                                <field name="OP">EQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="An.K@#d]()Gk^lL9g].G">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">javascript.0.zeiten.tageslaenge_tageslicht_in_minuten</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="text" id="pDv3@EH6gt^e:IixA}XP">
                                                                    <field name="TEXT">0</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                            <value name="B">
                                                              <block type="logic_compare" id="(CUNsRMks#.%3?oIjQ%l">
                                                                <field name="OP">NEQ</field>
                                                                <value name="A">
                                                                  <block type="get_value" id="%2wrh+-Rt%Qh]bYf^dD|">
                                                                    <field name="ATTR">val</field>
                                                                    <field name="OID">javascript.0.zeiten.tageslaenge_tageslicht</field>
                                                                  </block>
                                                                </value>
                                                                <value name="B">
                                                                  <block type="text" id="{wbkp39a3O]Q6zjD15i`">
                                                                    <field name="TEXT">00:00</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </value>
                                                        <statement name="DO0">
                                                          <block type="control" id="cU?u,@73HT#~~0Ub=(uZ">
                                                            <mutation delay_input="false"></mutation>
                                                            <field name="OID">javascript.0.zeiten.tageslaenge_tageslicht</field>
                                                            <field name="WITH_DELAY">FALSE</field>
                                                            <value name="VALUE">
                                                              <block type="convert_tostring" id="O-5R5~#q|eT@0T8c}_?0">
                                                                <value name="VALUE">
                                                                  <block type="text" id="2r6?Z7W|^({ea)3h03OY">
                                                                    <field name="TEXT">00:00</field>
                                                                  </block>
                                                                </value>
                                                              </block>
                                                            </value>
                                                          </block>
                                                        </statement>
                                                      </block>
                                                    </next>
                                                  </block>
                                                </next>
                                              </block>
                                            </next>
                                          </block>
                                        </statement>
                                      </block>
                                      

                                      1 Antwort Letzte Antwort
                                      0
                                      • M Offline
                                        M Offline
                                        maxpd
                                        schrieb am zuletzt editiert von
                                        #70

                                        Danke dir @Kuddel

                                        vielleicht kannst du dein Blockly für die Fenster oder Lampenübersicht zumindest als Screen mal zeigen? Denn eine solche Übersicht wollte ich mir auch bauen, habe aber das Gefühl, dass ich mein Blockly zu kompliziert konzipiere.

                                        Gruß
                                        maxpd

                                        Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

                                        K 1 Antwort Letzte Antwort
                                        0
                                        • M maxpd

                                          Danke dir @Kuddel

                                          vielleicht kannst du dein Blockly für die Fenster oder Lampenübersicht zumindest als Screen mal zeigen? Denn eine solche Übersicht wollte ich mir auch bauen, habe aber das Gefühl, dass ich mein Blockly zu kompliziert konzipiere.

                                          K Offline
                                          K Offline
                                          Kuddel
                                          schrieb am zuletzt editiert von
                                          #71

                                          @maxpd

                                          Fenster_EG

                                          Fenster_EG.PNG

                                          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

                                          443

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          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