Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. [Hilfe] Blockly Poolheizung einschalten, wenn PV Strom liefert

    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

    [Hilfe] Blockly Poolheizung einschalten, wenn PV Strom liefert

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

      Hallo

      Ich habe mich wieder mal an einem Blockly versucht.

      Da ich für meinen Pool eine Heizung (Wärmepumpe) habe möchte ich die nur Aktivieren, wenn meine PV Anlage Strom liefert!!

      Das Ganze habe ich auch für meine Poolpumpe gemacht.

      Die Skripte sind gut zwei Wochen gelaufen aber seit heute machen sie nicht mehr so richtig mit.

      Die Poolpumpe schaltet ständig ein und gleich wieder aus!!

      Wenn ich im ioBroker Admin dann die Skripte an schauen will stürzt das ganze immer wieder ab.

      Das heißt der Admin bleibt einfach hängen und ich kann nicht mehr machen!!

      Habe ich da einen Fehler eingebaut?

      Das Ganze soll so Funktionierten:

      ZB Poolpumpe.

      ! ````
      <xml xmlns="http://www.w3.org/1999/xhtml"><block id="VX_v`dn?Ev,MG1bp(WuM" type="on" x="-413" y="-338"><field name="OID">fronius.0.powerflow.P_Grid</field>
      <field name="CONDITION">ne</field>

      <statement name="STATEMENT"><block id="^8Z%0D._[K/[P5The1ai" type="controls_if"><value name="IF0"><block id=")pHA[GSgE#bP6:x}O42S" type="logic_compare"><field name="OP">LT</field>
              <value name="A"><block id=",4lXNOJNET67H_VAYx4;" type="on_source"><field name="ATTR">state.val</field></block></value> 
              <value name="B"><block id="{57g7bmQ/2Me+Fe^ZsYh" type="math_number"><field name="NUM">-900</field></block></value></block></value> 
          <statement name="DO0"><block id="#+Zu#tV?]GQv1E?t3N#T" type="control"><mutation delay_input="true"></mutation>
              <field name="OID">sonoff.0.Sonoff-TH-89-Poolpumpe.POWER</field>
              <field name="WITH_DELAY">TRUE</field>
              <field name="DELAY_MS">200</field>
              <field name="UNIT">ms</field>
              <field name="CLEAR_RUNNING">FALSE</field>
              <value name="VALUE"><block id="d5pbH`:7cIBUvnf@WH@9" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
              <next><block id="73e!%Er@+O!-#e2-tX{:" type="comment"><field name="COMMENT">Datenpunkt Pumpe mit PV Strom</field>
                  <next><block id="RG{aOA,B4:USt`j6CmZ/" type="control"><mutation delay_input="true"></mutation>
                      <field name="OID">javascript.0.Pool.Pumpe mit PV-Strom AN</field>
                      <field name="WITH_DELAY">TRUE</field>
                      <field name="DELAY_MS">400</field>
                      <field name="UNIT">ms</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <value name="VALUE"><block id="TLYix=)`Ut+Dw5)7G-F)" type="logic_boolean"><field name="BOOL">TRUE</field></block></value> 
                      <next><block id="6yC:tewv0=U/T4ROgkHg" type="timeouts_cleartimeout"><field name="NAME">timeout</field>
                          <next><block id="YG^R^.nfKxkB7vq{x}vF" type="debug"><field name="Severity">log</field>
                              <value name="TEXT"><shadow id="#%Om(;Nqflzj~{BMKrFB" type="text"><field name="TEXT">timeout Stopp</field></shadow></value></block></next></block></next></block></next></block></next></block></statement> 
          <next><block id="uhFGDggvBFpl`=!H6`[p" type="controls_if"><value name="IF0"><block id="zt(LURn}E,rKEgA.H|N^" type="logic_compare"><field name="OP">GT</field>
                  <value name="A"><block id="C(oW|IQCNb,w(rH-pzDu" type="on_source"><field name="ATTR">state.val</field></block></value> 
                  <value name="B"><block id="}WyznbHKkyaIK!ZUC!ko" type="math_number"><field name="NUM">500</field></block></value></block></value> 
              <statement name="DO0"><block id=";OXi{}R6U){:zhKi%//b" type="timeouts_settimeout"><field name="NAME">timeout</field>
                  <field name="DELAY">20</field>
                  <field name="UNIT">min</field>
                  <statement name="STATEMENT"><block id="`}F%2to`IR[?z1x8G:}|" type="control"><mutation delay_input="true"></mutation>
                      <field name="OID">sonoff.0.Sonoff-TH-89-Poolpumpe.POWER</field>
                      <field name="WITH_DELAY">TRUE</field>
                      <field name="DELAY_MS">200</field>
                      <field name="UNIT">ms</field>
                      <field name="CLEAR_RUNNING">FALSE</field>
                      <value name="VALUE"><block id="g/4m7CtT3`3V4!?fG`p?" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                      <next><block id="JU9pD#@+5b[`o+Yfq2`r" type="control"><mutation delay_input="true"></mutation>
                          <field name="OID">javascript.0.Pool.Pumpe mit PV-Strom AN</field>
                          <field name="WITH_DELAY">TRUE</field>
                          <field name="DELAY_MS">400</field>
                          <field name="UNIT">ms</field>
                          <field name="CLEAR_RUNNING">FALSE</field>
                          <value name="VALUE"><block id=",2n2mah;s*2(FL[V]Yxz" type="logic_boolean"><field name="BOOL">FALSE</field></block></value> 
                          <next><block id="Igkg#/DG1-xKJ/W]NvT~" type="debug"><field name="Severity">log</field>
                              <value name="TEXT"><shadow id="RwCChKK:wDO}=)-o@4j|" type="text"><field name="TEXT">timeout vorbei</field></shadow></value></block></next></block></next></block></statement> 
                  <next><block id="/@iJD!A~;jU1ncWDuYXg" type="debug"><field name="Severity">log</field>
                      <value name="TEXT"><shadow id="5f4Mxr3Q:_NEhP@ysDCH" type="text"><field name="TEXT">timeout 20 Min</field></shadow></value></block></next></block></statement></block></next></block></statement></block></xml> 
      
      Wenn die PV Anlage einen Überschuss von 900 Watt produziert soll sich die Pumpe einschalten.
      
      Wenn ich mehr als 500 Watt Strom aus dem Netz beziehe soll die Pumpe wieder abschalten.
      
      Für kurzeitige Schwankungen (zb. Wolken) wollte ich einen timeout einbauen.
      
      Kann mir da wer helfen.
      
      Danke
      [4668_unbenannt_01.png](/assets/uploads/files/4668_unbenannt_01.png)
      1 Reply Last reply Reply Quote 0
      • SmarthomeMF
        SmarthomeMF last edited by

        4668_unbenannt_02.png

        1 Reply Last reply Reply Quote 0
        • SmarthomeMF
          SmarthomeMF last edited by

          Hat da jemand eine Idee an was das liegen kann??

          Heute ist die Poolpumpe relativ stabile gelaufen aber die Poolheizung hat sich immer wieder aus und ein geschaltet!!

          Bitte um Hilfe

          Danke

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

          Support us

          ioBroker
          Community Adapters
          Donate

          545
          Online

          31.7k
          Users

          79.9k
          Topics

          1.3m
          Posts

          1
          3
          552
          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