Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Temperatur überwachung

    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

    Temperatur überwachung

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

      Da ich nun zwei DS18B20 Sensoren in meinem Aquarium verbaut habe und da diese leider ab und an verschwinden und ich keine Tasmota fähige alternative kenne muss es bei denen bleiben.
      Dazu würde ich gerne diese Sensoren kontrollieren.
      Wenn die Sensoren offline sind, zeigen sie im Sonoff Adapter 0°C an und sind somit offline.
      Wie kann man es per Blockly erstellen, das wenn der eine oder der andere 0°C anzeigen sollte, das eine Nachricht ausgegeben wird und meine Alarm Sirene für 5 sek einschaltet.
      Mein Ansatz sieht so aus:
      Unbenannt.PNG

      <xml xmlns="http://www.w3.org/1999/xhtml">
        <variables>
          <variable type="" id="YtePFf,FgTNLWvN|!lz}">offline_zustand</variable>
        </variables>
        <block type="variables_set" id=";.[I,^Mh4!CtQNiNWiWA" x="-962" y="-612">
          <field name="VAR" id="YtePFf,FgTNLWvN|!lz}" variabletype="">offline_zustand</field>
          <value name="VALUE">
            <block type="convert_tonumber" id="8I!3Dx1JnU}KRm$v4TPZ">
              <value name="VALUE">
                <block type="math_number" id="o},25+o2a,/N.s1ixH2:">
                  <field name="NUM">0</field>
                </block>
              </value>
            </block>
          </value>
          <next>
            <block type="on_ext" id="`E4zo5vQ8Hp)9=!F[,_{">
              <mutation items="2"></mutation>
              <field name="CONDITION">ne</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="7`)C}In(;_FBF,Uc(uV:">
                  <field name="oid">sonoff.0.Aqua_Sensoren.DS18B20-1_Temperature</field>
                </shadow>
              </value>
              <value name="OID1">
                <shadow type="field_oid" id="h})+EEYjcm$)Ax_aM0Qg">
                  <field name="oid">sonoff.0.Aqua_Sensoren.DS18B20-2_Temperature</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="k+c!]pgs%+UK{gMgktI=">
                  <value name="IF0">
                    <block type="logic_compare" id="j=CA[[h-5W/y0^b5Z6gz">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="logic_operation" id="uPZLFwS*fAuA1xd2h]:w" inline="false">
                          <field name="OP">OR</field>
                          <value name="A">
                            <block type="get_value" id="oOxyp!Hp-5Bz[$=M8fnI">
                              <field name="ATTR">val</field>
                              <field name="OID">sonoff.0.Aqua_Sensoren.DS18B20-1_Temperature</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="get_value" id="TjBeL~iN{c7srY(A`J{m">
                              <field name="ATTR">val</field>
                              <field name="OID">sonoff.0.Aqua_Sensoren.DS18B20-2_Temperature</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <value name="B">
                        <block type="variables_get" id="iS`ku9!=2J}5O`:nqLZj">
                          <field name="VAR" id="YtePFf,FgTNLWvN|!lz}" variabletype="">offline_zustand</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="variables_set" id="}}hcE6a__v]g~:+iuwvC">
                      <field name="VAR" id="YtePFf,FgTNLWvN|!lz}" variabletype="">offline_zustand</field>
                      <value name="VALUE">
                        <block type="on_source" id="XK9Mc0:yoBHLd8Jr~!jm">
                          <field name="ATTR">state.val</field>
                        </block>
                      </value>
                      <next>
                        <block type="control" id="^AZmiBd:(SyP`25/7tF:">
                          <mutation delay_input="false"></mutation>
                          <field name="OID">sonoff.0.Aqua_Control.POWER3</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="5:f/7L8KVxh2KIY3Yf{D">
                              <field name="BOOL">TRUE</field>
                            </block>
                          </value>
                          <next>
                            <block type="control" id="UG;x(%^ZWRj.e@#5gc{:">
                              <mutation delay_input="true"></mutation>
                              <field name="OID">sonoff.0.Aqua_Control.POWER3</field>
                              <field name="WITH_DELAY">TRUE</field>
                              <field name="DELAY_MS">5</field>
                              <field name="UNIT">sec</field>
                              <field name="CLEAR_RUNNING">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="T=$Mebe`a+X*W/lQwYX/">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                              <next>
                                <block type="telegram" id="4I**D/1~+,{Xo;pG/[^-">
                                  <field name="INSTANCE">.1</field>
                                  <field name="LOG"></field>
                                  <field name="SILENT">FALSE</field>
                                  <field name="PARSEMODE">default</field>
                                  <value name="MESSAGE">
                                    <shadow type="text" id="Det!FSolK`KQOrvNyVZu">
                                      <field name="TEXT">text</field>
                                    </shadow>
                                    <block type="text" id="TXt/7[wP/[+JAP/#(j;f">
                                      <field name="TEXT">Aquarium Temperatur 1 oder 2 ist Offline</field>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </statement>
            </block>
          </next>
        </block>
      </xml>
      
      paul53 J 2 Replies Last reply Reply Quote 0
      • paul53
        paul53 @Aphofis last edited by

        @Aphofis sagte:

        wenn der eine oder der andere 0°C anzeigen sollte,

        Blockly_temp.JPG

        1 Reply Last reply Reply Quote 0
        • J
          Jan1 @Aphofis last edited by

          @Aphofis
          Da wäre es wohl sinnvoller, wenn man den Grund dafür kennen würde warum die Sensoren einfach verschwinden, denn normal ist das nicht.

          Aphofis 1 Reply Last reply Reply Quote 0
          • H
            hans_999 last edited by

            @Aphofis such doch mal im Forum nach da18B20 und Auwuarium https://forum.iobroker.net/search?term=aquarium ds18b20&in=titlesposts
            Vielleicht hilft das weiter...

            1 Reply Last reply Reply Quote 0
            • Aphofis
              Aphofis @Jan1 last edited by

              @Jan1 sagte in Temperatur überwachung:

              @Aphofis
              Da wäre es wohl sinnvoller, wenn man den Grund dafür kennen würde warum die Sensoren einfach verschwinden, denn normal ist das nicht.

              Da ich ein Meerwasser Aquarium habe und auch wenn die Röhrchen in denen die Temp Sensoren stecken trotzdessen ab und an rosten und löcher bekommen und der Sensor säuft ab. Sensor kaputt! damit ich das mitbekomme brauche ich so eine Steuerung.

              J 1 Reply Last reply Reply Quote 0
              • J
                Jan1 @Aphofis last edited by

                @Aphofis
                Alles klar, das eklärt dann auch warum die verschwinden.

                Aphofis 1 Reply Last reply Reply Quote 0
                • Aphofis
                  Aphofis @Jan1 last edited by

                  @Jan1 sagte in Temperatur überwachung:

                  @Aphofis
                  Alles klar, das eklärt dann auch warum die verschwinden.

                  Ich hatte auch schon DS18B20 für 10€ gekauft und genau das selbe nach ein paar monaten im eimer!
                  entweder dringt durch die Heißplastikschläuche Wasser ein, weil Kabel und schläuche mit der zeit durchs UV Licht der Lampen aushärtet oder das Edelstahl Röhrchen fängt an zu Rosten und wasser tritzt ein.

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  951
                  Online

                  31.9k
                  Users

                  80.2k
                  Topics

                  1.3m
                  Posts

                  4
                  7
                  568
                  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