Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Zeitplan Objekt schalten best. Temperatur und Telegram

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Zeitplan Objekt schalten best. Temperatur und Telegram

    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      arnold last edited by

      um 0:10 wird "durchritt Temp. Wetter" errechnet und in Daten Punk eingetragen .
      Jetzt; bei bestimmter Temp. "0 bis 4 Grad" soll Heizung EIN um 04 Uhr und AUS um 20Uhr.
      Meine Fehler ;
      __Telegram bekommt Meldung um 4 Uhr " Heizung an Temp.4-0 Grad /4-20Uhr" nicht 1x sondern 10 x
      __Andere Blockly mit 4 bis 8 Grad " Heizung an Temp.8-4 Grad /5-19Uhr"
      _________________ mit 8 bis 16Grad " Heizung an Temp.16-8 Grad /6-18Uhr"
      ( mit gleichen Aufbau )
      so, jetzt bekomme ich in Telegram (und Einschaltung der Heizung ) Meldungen um 4Uhr Heizung EIN , ändert sich die Temp. aber auf 7Grad geht Heizung EIN um 4 und um 5 Uhr, ändert sich die Temp. aber auf 10Grad geht Heizung EIN um 4 und um 5 Uhr und um 6 Uhr.

      Ich will aber bei zB. 10 grad soll die Heizung um 6 Uhr EIN und 18 AUS sein
      (Nicht auch um 4 und 5Uhr)

      af7a8cf6-ddbc-47ca-b76d-164038d8a27e-image.png
      3283bb4a-4111-44ce-9940-3736527bb24a-image.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="on_ext" id="joI.y,[,?@3SuAP{bD35" x="-1037" y="-662">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
          <field name="CONDITION">any</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="2%zj.3=wKz3sXpG~8SxH">
              <field name="oid">Virtuellgeräte.0.Temperatur.Durchschnitt__Temperatur_Wetter</field>
            </shadow>
          </value>
          <statement name="STATEMENT">
            <block type="controls_if" id="9ZZQDe;EW5B^{?}_@Kc+">
              <value name="IF0">
                <block type="logic_operation" id="Q4Y@T{O(M4`V+n{)SYfX">
                  <field name="OP">AND</field>
                  <value name="A">
                    <block type="logic_compare" id="V.)JIIn?p:xRI{)(_PLW">
                      <field name="OP">GTE</field>
                      <value name="A">
                        <block type="get_value" id="=[{|I]P}UF2Y6WSl.1-g">
                          <field name="ATTR">val</field>
                          <field name="OID">Virtuellgeräte.0.Temperatur.Durchschnitt__Temperatur_Wetter</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="math_number" id="Z%n+C$Ovv%+LmON9a/zf">
                          <field name="NUM">0</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <value name="B">
                    <block type="logic_compare" id="KmUISpCB6I]whP|2Tv(E">
                      <field name="OP">LT</field>
                      <value name="A">
                        <block type="get_value" id="No$tT),T@]?U;MhdO*Ih">
                          <field name="ATTR">val</field>
                          <field name="OID">Virtuellgeräte.0.Temperatur.Durchschnitt__Temperatur_Wetter</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="math_number" id="e}iY@7uVGp%+HGY06@)-">
                          <field name="NUM">4</field>
                        </block>
                      </value>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="schedule" id=";VUn4,qGtfX@+vH%w=77">
                  <field name="SCHEDULE">0 4 * * *</field>
                  <statement name="STATEMENT">
                    <block type="control" id="W7kB*g(:9-@n*8g:7rx|">
                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                      <field name="OID">sonoff.1.DVES_EA6DF7.POWER</field>
                      <field name="WITH_DELAY">FALSE</field>
                      <value name="VALUE">
                        <block type="logic_boolean" id="Pb=`-j|n?(0Z3OZ^_)Y=">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                      <next>
                        <block type="telegram" id="k3+o/vK(Go|c*8iN$tbD">
                          <field name="INSTANCE"></field>
                          <field name="LOG"></field>
                          <field name="SILENT">FALSE</field>
                          <field name="PARSEMODE">default</field>
                          <field name="ESCAPING">FALSE</field>
                          <field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
                          <value name="MESSAGE">
                            <shadow type="text" id=".gWsyW%k+=s;YeHo:)[8">
                              <field name="TEXT">Heizung an Temp.4-0 Grad /4-20Uhr</field>
                            </shadow>
                          </value>
                          <next>
                            <block type="debug" id="650/!BM^I@$B)+Cwm.@7">
                              <field name="Severity">info</field>
                              <value name="TEXT">
                                <shadow type="text" id=".l9hkUsRUn-iAap8G^S~">
                                  <field name="TEXT">test 4-20Uhr</field>
                                </shadow>
                              </value>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="schedule" id="v~@GGCAFSA%yOk$[E~c[">
                      <field name="SCHEDULE">0 20 * * *</field>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="O?;QEew~QX_GCiV+6g)o">
                          <value name="IF0">
                            <block type="logic_compare" id=":D]%(0U0;HM@;SP0R5,W">
                              <field name="OP">LT</field>
                              <value name="A">
                                <block type="get_value" id="Q,q~#Q?p.X%/Xm^E18Lc">
                                  <field name="ATTR">val</field>
                                  <field name="OID">sonoff.1.DVES_EA6DF7.ENERGY_Power</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="z@503eb@y+7kqq/N*[Nf">
                                  <field name="NUM">25</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="`g@lubif*XP!4[ZS`Tpg">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">sonoff.1.DVES_EA6DF7.POWER</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="hot0LceHs?B(-7P:?zIM">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>code_text
      
      paul53 Homoran Codierknecht 3 Replies Last reply Reply Quote 0
      • paul53
        paul53 @arnold last edited by paul53

        @arnold sagte: Temp.4-0 Grad /4-20Uhr"
        4 bis 8 Grad " Heizung an Temp.8-4 Grad /5-19Uhr"
        8 bis 16Grad " Heizung an Temp.16-8 Grad /6-18Uhr"

        Prinzip:

        Blockly_temp.JPG

        A 1 Reply Last reply Reply Quote 1
        • Homoran
          Homoran Global Moderator Administrators @arnold last edited by

          @arnold kein Trigger in Trigger! Nie, nicht, niemals!
          deshalb ist das auch durch ein Ausrufezeichen markiert

          1 Reply Last reply Reply Quote 0
          • Codierknecht
            Codierknecht Developer Most Active @arnold last edited by

            @arnold
            Lesestoff: https://forum.iobroker.net/topic/70481/blockly-for-dummies-starthilfe-und-tipps

            Starte zur Sicherheit mal Deine Javascript-Instanz neu.
            Mit Deinem Konstrukt hast Du möglicherweise bereits Dutzende Zeitpläne im System registriert.

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

              @paul53
              Super danke, habe nur angepasst und jetzt läuft .Bis jetzt noch die gleiche Temperatur ,bin am beobachten verhalten bei unterschiedlichen Temperatur.

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

              Support us

              ioBroker
              Community Adapters
              Donate

              909
              Online

              31.9k
              Users

              80.2k
              Topics

              1.3m
              Posts

              4
              5
              192
              Loading More Posts
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes
              Reply
              • Reply as topic
              Log in to reply
              Community
              Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
              The ioBroker Community 2014-2023
              logo