Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. mqtt-Power Limit über Blockly

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    24
    1
    1.3k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.6k

mqtt-Power Limit über Blockly

Geplant Angeheftet Gesperrt Verschoben Blockly
25 Beiträge 3 Kommentatoren 2.0k Aufrufe 2 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 knopers1

    @homoran
    aus dem mqtt kann ich den Wert der Solarleistung lesen, sowie den "maximales Leistungslimit" schreiben...

    HomoranH Nicht stören
    HomoranH Nicht stören
    Homoran
    Global Moderator Administrators
    schrieb am zuletzt editiert von
    #6

    @knopers1 sagte in mqtt-Power Limit über Blockly:

    sowie den "maximales Leistungslimit" schreiben...

    und da fragte ich

    @homoran sagte in mqtt-Power Limit über Blockly:

    wie machst du es denn via Datenpunkt?

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

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

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

    K 1 Antwort Letzte Antwort
    0
    • HomoranH Homoran

      @knopers1 sagte in mqtt-Power Limit über Blockly:

      sowie den "maximales Leistungslimit" schreiben...

      und da fragte ich

      @homoran sagte in mqtt-Power Limit über Blockly:

      wie machst du es denn via Datenpunkt?

      K Offline
      K Offline
      knopers1
      schrieb am zuletzt editiert von
      #7

      @homoran

      ja, es ist ein Datenpunkt. Ich habe folgendes versucht... Kann es funktionieren?

      5.png

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="on" id="G(hXlntz~E?zMmfAf;T8" x="-137" y="-612">
          <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="controls_if" id="s[R-}avHMlL2CvPO2/vL">
              <mutation elseif="1"></mutation>
              <value name="IF0">
                <block type="logic_compare" id="@Y8!ScK}ilH:K@n`.T=M">
                  <field name="OP">GT</field>
                  <value name="A">
                    <block type="get_value" id="S7V`Rre69N18)?K?pAn`">
                      <field name="ATTR">val</field>
                      <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="math_number" id="o2peKYobd?+[T;fX*0=l">
                      <field name="NUM">500</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="control" id="_*^K^LTE*=P{CK?5@MS3">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="math_number" id="OtaozD[sVYi}oJ01RT/^">
                      <field name="NUM">500</field>
                    </block>
                  </value>
                </block>
              </statement>
              <value name="IF1">
                <block type="logic_compare" id=":M!mg*tJ_[0;e6BMlI1!">
                  <field name="OP">LT</field>
                  <value name="A">
                    <block type="get_value" id="6/ELkSjnpF{?N$2)*Od^">
                      <field name="ATTR">val</field>
                      <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="math_number" id="lo^v]NR(#_/90)I;r%EA">
                      <field name="NUM">300</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO1">
                <block type="control" id="u~Zy6dW$x4%B$5%ib=09">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="math_number" id="%]g7]`J2fB4R.$QUOx]F">
                      <field name="NUM">300</field>
                    </block>
                  </value>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      
      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="on" id="G(hXlntz~E?zMmfAf;T8" x="-137" y="-612">
          <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <statement name="STATEMENT">
            <block type="controls_if" id="s[R-}avHMlL2CvPO2/vL">
              <mutation elseif="1"></mutation>
              <value name="IF0">
                <block type="logic_compare" id="@Y8!ScK}ilH:K@n`.T=M">
                  <field name="OP">GT</field>
                  <value name="A">
                    <block type="get_value" id="S7V`Rre69N18)?K?pAn`">
                      <field name="ATTR">val</field>
                      <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="math_number" id="o2peKYobd?+[T;fX*0=l">
                      <field name="NUM">500</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO0">
                <block type="control" id="_*^K^LTE*=P{CK?5@MS3">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="math_number" id="OtaozD[sVYi}oJ01RT/^">
                      <field name="NUM">500</field>
                    </block>
                  </value>
                </block>
              </statement>
              <value name="IF1">
                <block type="logic_compare" id=":M!mg*tJ_[0;e6BMlI1!">
                  <field name="OP">LT</field>
                  <value name="A">
                    <block type="get_value" id="6/ELkSjnpF{?N$2)*Od^">
                      <field name="ATTR">val</field>
                      <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                    </block>
                  </value>
                  <value name="B">
                    <block type="math_number" id="lo^v]NR(#_/90)I;r%EA">
                      <field name="NUM">300</field>
                    </block>
                  </value>
                </block>
              </value>
              <statement name="DO1">
                <block type="control" id="u~Zy6dW$x4%B$5%ib=09">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                  <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                  <field name="WITH_DELAY">FALSE</field>
                  <value name="VALUE">
                    <block type="math_number" id="%]g7]`J2fB4R.$QUOx]F">
                      <field name="NUM">300</field>
                    </block>
                  </value>
                </block>
              </statement>
            </block>
          </statement>
        </block>
      </xml>
      

      HP Microserver Gen8, RPI-4, IoBroker,

      HomoranH 2 Antworten Letzte Antwort
      0
      • K knopers1

        @homoran

        ja, es ist ein Datenpunkt. Ich habe folgendes versucht... Kann es funktionieren?

        5.png

        <xml xmlns="https://developers.google.com/blockly/xml">
          <block type="on" id="G(hXlntz~E?zMmfAf;T8" x="-137" y="-612">
            <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
              <block type="controls_if" id="s[R-}avHMlL2CvPO2/vL">
                <mutation elseif="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="@Y8!ScK}ilH:K@n`.T=M">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="get_value" id="S7V`Rre69N18)?K?pAn`">
                        <field name="ATTR">val</field>
                        <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="o2peKYobd?+[T;fX*0=l">
                        <field name="NUM">500</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="_*^K^LTE*=P{CK?5@MS3">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="math_number" id="OtaozD[sVYi}oJ01RT/^">
                        <field name="NUM">500</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="logic_compare" id=":M!mg*tJ_[0;e6BMlI1!">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="get_value" id="6/ELkSjnpF{?N$2)*Od^">
                        <field name="ATTR">val</field>
                        <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="lo^v]NR(#_/90)I;r%EA">
                        <field name="NUM">300</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="control" id="u~Zy6dW$x4%B$5%ib=09">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="math_number" id="%]g7]`J2fB4R.$QUOx]F">
                        <field name="NUM">300</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </xml>
        
        <xml xmlns="https://developers.google.com/blockly/xml">
          <block type="on" id="G(hXlntz~E?zMmfAf;T8" x="-137" y="-612">
            <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
            <field name="CONDITION">ne</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
              <block type="controls_if" id="s[R-}avHMlL2CvPO2/vL">
                <mutation elseif="1"></mutation>
                <value name="IF0">
                  <block type="logic_compare" id="@Y8!ScK}ilH:K@n`.T=M">
                    <field name="OP">GT</field>
                    <value name="A">
                      <block type="get_value" id="S7V`Rre69N18)?K?pAn`">
                        <field name="ATTR">val</field>
                        <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="o2peKYobd?+[T;fX*0=l">
                        <field name="NUM">500</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="control" id="_*^K^LTE*=P{CK?5@MS3">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="math_number" id="OtaozD[sVYi}oJ01RT/^">
                        <field name="NUM">500</field>
                      </block>
                    </value>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="logic_compare" id=":M!mg*tJ_[0;e6BMlI1!">
                    <field name="OP">LT</field>
                    <value name="A">
                      <block type="get_value" id="6/ELkSjnpF{?N$2)*Od^">
                        <field name="ATTR">val</field>
                        <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                      </block>
                    </value>
                    <value name="B">
                      <block type="math_number" id="lo^v]NR(#_/90)I;r%EA">
                        <field name="NUM">300</field>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="control" id="u~Zy6dW$x4%B$5%ib=09">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="math_number" id="%]g7]`J2fB4R.$QUOx]F">
                        <field name="NUM">300</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </xml>
        
        HomoranH Nicht stören
        HomoranH Nicht stören
        Homoran
        Global Moderator Administrators
        schrieb am zuletzt editiert von
        #8

        @knopers1 sagte in mqtt-Power Limit über Blockly:

        ja, es ist ein Datenpunkt.

        das war nicht die Frage!

        WIE kannst du darüber den Wert verändern?
        einfach eine Zahl eingeben?

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

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

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

        K 1 Antwort Letzte Antwort
        0
        • HomoranH Homoran

          @knopers1 sagte in mqtt-Power Limit über Blockly:

          ja, es ist ein Datenpunkt.

          das war nicht die Frage!

          WIE kannst du darüber den Wert verändern?
          einfach eine Zahl eingeben?

          K Offline
          K Offline
          knopers1
          schrieb am zuletzt editiert von
          #9

          @homoran ja, bei mqtt wird nur die Zahl geändert, und dies wird bei der DTU übernommen.
          Ich habe noch etwas ergänzt :

          6.png

          HP Microserver Gen8, RPI-4, IoBroker,

          1 Antwort Letzte Antwort
          0
          • K knopers1

            @homoran

            ja, es ist ein Datenpunkt. Ich habe folgendes versucht... Kann es funktionieren?

            5.png

            <xml xmlns="https://developers.google.com/blockly/xml">
              <block type="on" id="G(hXlntz~E?zMmfAf;T8" x="-137" y="-612">
                <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="controls_if" id="s[R-}avHMlL2CvPO2/vL">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="@Y8!ScK}ilH:K@n`.T=M">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="get_value" id="S7V`Rre69N18)?K?pAn`">
                            <field name="ATTR">val</field>
                            <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="o2peKYobd?+[T;fX*0=l">
                            <field name="NUM">500</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="_*^K^LTE*=P{CK?5@MS3">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_number" id="OtaozD[sVYi}oJ01RT/^">
                            <field name="NUM">500</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id=":M!mg*tJ_[0;e6BMlI1!">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="get_value" id="6/ELkSjnpF{?N$2)*Od^">
                            <field name="ATTR">val</field>
                            <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="lo^v]NR(#_/90)I;r%EA">
                            <field name="NUM">300</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="control" id="u~Zy6dW$x4%B$5%ib=09">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_number" id="%]g7]`J2fB4R.$QUOx]F">
                            <field name="NUM">300</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </xml>
            
            <xml xmlns="https://developers.google.com/blockly/xml">
              <block type="on" id="G(hXlntz~E?zMmfAf;T8" x="-137" y="-612">
                <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                <field name="CONDITION">ne</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="controls_if" id="s[R-}avHMlL2CvPO2/vL">
                    <mutation elseif="1"></mutation>
                    <value name="IF0">
                      <block type="logic_compare" id="@Y8!ScK}ilH:K@n`.T=M">
                        <field name="OP">GT</field>
                        <value name="A">
                          <block type="get_value" id="S7V`Rre69N18)?K?pAn`">
                            <field name="ATTR">val</field>
                            <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="o2peKYobd?+[T;fX*0=l">
                            <field name="NUM">500</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO0">
                      <block type="control" id="_*^K^LTE*=P{CK?5@MS3">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_number" id="OtaozD[sVYi}oJ01RT/^">
                            <field name="NUM">500</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                    <value name="IF1">
                      <block type="logic_compare" id=":M!mg*tJ_[0;e6BMlI1!">
                        <field name="OP">LT</field>
                        <value name="A">
                          <block type="get_value" id="6/ELkSjnpF{?N$2)*Od^">
                            <field name="ATTR">val</field>
                            <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="math_number" id="lo^v]NR(#_/90)I;r%EA">
                            <field name="NUM">300</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <statement name="DO1">
                      <block type="control" id="u~Zy6dW$x4%B$5%ib=09">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_number" id="%]g7]`J2fB4R.$QUOx]F">
                            <field name="NUM">300</field>
                          </block>
                        </value>
                      </block>
                    </statement>
                  </block>
                </statement>
              </block>
            </xml>
            
            HomoranH Nicht stören
            HomoranH Nicht stören
            Homoran
            Global Moderator Administrators
            schrieb am zuletzt editiert von Homoran
            #10

            @knopers1 sagte in mqtt-Power Limit über Blockly:

            Kann es funktionieren?

            probiere es aus!

            wenn es allerdings einmal > 500 war muss der Werterst wieder unter 300 fallen, damit das Limit wieder auf 300 gesetzt wird.
            wenn die Leistung anschließend zwischen 301 und 500 pendelt bleibt das Limit auf 500

            Außerdem wird jedesmal neu geschrieben auch wenn die Leistung nur um 0.1W schwankt, was dem Speicherchip ggf. nicht gut tut.

            Du solltest nur einmalig bei Über-/Unterschreitung der Entscheidungsgrenzen schreiben.

            EDIT
            Die UND Verknüpfung im sonstfalls kann nie zutreffen!

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

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

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

            K 1 Antwort Letzte Antwort
            0
            • HomoranH Homoran

              @knopers1 sagte in mqtt-Power Limit über Blockly:

              Kann es funktionieren?

              probiere es aus!

              wenn es allerdings einmal > 500 war muss der Werterst wieder unter 300 fallen, damit das Limit wieder auf 300 gesetzt wird.
              wenn die Leistung anschließend zwischen 301 und 500 pendelt bleibt das Limit auf 500

              Außerdem wird jedesmal neu geschrieben auch wenn die Leistung nur um 0.1W schwankt, was dem Speicherchip ggf. nicht gut tut.

              Du solltest nur einmalig bei Über-/Unterschreitung der Entscheidungsgrenzen schreiben.

              EDIT
              Die UND Verknüpfung im sonstfalls kann nie zutreffen!

              K Offline
              K Offline
              knopers1
              schrieb am zuletzt editiert von
              #11

              @homoran
              das hab ich mir gedacht.... Ist es hiermit nicht getan?
              6.png

              HP Microserver Gen8, RPI-4, IoBroker,

              HomoranH 1 Antwort Letzte Antwort
              0
              • K knopers1

                @homoran
                das hab ich mir gedacht.... Ist es hiermit nicht getan?
                6.png

                HomoranH Nicht stören
                HomoranH Nicht stören
                Homoran
                Global Moderator Administrators
                schrieb am zuletzt editiert von
                #12

                @knopers1 sagte in mqtt-Power Limit über Blockly:

                das hab ich mir gedacht....

                was?

                @knopers1 sagte in mqtt-Power Limit über Blockly:

                Ist es hiermit nicht getan?

                womit und warum?

                Versuche dir selbst zu erklären was du willst, dann machst du es dir leichter.
                eine vollständige Formulierung statt dies und das hilft ungemein!

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

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

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

                K 1 Antwort Letzte Antwort
                0
                • HomoranH Homoran

                  @knopers1 sagte in mqtt-Power Limit über Blockly:

                  das hab ich mir gedacht....

                  was?

                  @knopers1 sagte in mqtt-Power Limit über Blockly:

                  Ist es hiermit nicht getan?

                  womit und warum?

                  Versuche dir selbst zu erklären was du willst, dann machst du es dir leichter.
                  eine vollständige Formulierung statt dies und das hilft ungemein!

                  K Offline
                  K Offline
                  knopers1
                  schrieb am zuletzt editiert von
                  #13

                  @homoran sorry, ich bemühe mich weiter.... :grin:
                  Ist jetzt die Über/Unterschreitung der Entscheidungsgrenze passend gesetzt, so dass der Wert für Leistungslimit nicht jedes mal neu geschrieben wird?

                  7.png

                  <xml xmlns="https://developers.google.com/blockly/xml">
                    <block type="on" id="G(hXlntz~E?zMmfAf;T8" x="-137" y="-612">
                      <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="s[R-}avHMlL2CvPO2/vL">
                          <mutation elseif="1"></mutation>
                          <value name="IF0">
                            <block type="logic_multi_and" id="5La4dN}DmcNVR^B(T_16">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                              <value name="AND0">
                                <block type="logic_compare" id="@Y8!ScK}ilH:K@n`.T=M">
                                  <field name="OP">GT</field>
                                  <value name="A">
                                    <block type="get_value" id="S7V`Rre69N18)?K?pAn`">
                                      <field name="ATTR">val</field>
                                      <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="o2peKYobd?+[T;fX*0=l">
                                      <field name="NUM">500</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="AND1">
                                <block type="logic_compare" id="6GOJGx@]xZ;*ViaH8.S`">
                                  <field name="OP">LT</field>
                                  <value name="A">
                                    <block type="get_value" id="M+DF@@O$Zwu@BqTzm}mH">
                                      <field name="ATTR">val</field>
                                      <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="-X%461Ai;2pzD|m%E/N!">
                                      <field name="NUM">300</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="_*^K^LTE*=P{CK?5@MS3">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="OtaozD[sVYi}oJ01RT/^">
                                  <field name="NUM">500</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <value name="IF1">
                            <block type="logic_compare" id=":M!mg*tJ_[0;e6BMlI1!">
                              <field name="OP">LT</field>
                              <value name="A">
                                <block type="get_value" id="6/ELkSjnpF{?N$2)*Od^">
                                  <field name="ATTR">val</field>
                                  <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="lo^v]NR(#_/90)I;r%EA">
                                  <field name="NUM">300</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO1">
                            <block type="control" id="u~Zy6dW$x4%B$5%ib=09">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="%]g7]`J2fB4R.$QUOx]F">
                                  <field name="NUM">300</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </xml>
                  
                  <xml xmlns="https://developers.google.com/blockly/xml">
                    <block type="on" id="G(hXlntz~E?zMmfAf;T8" x="-137" y="-612">
                      <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <statement name="STATEMENT">
                        <block type="controls_if" id="s[R-}avHMlL2CvPO2/vL">
                          <mutation elseif="1"></mutation>
                          <value name="IF0">
                            <block type="logic_multi_and" id="5La4dN}DmcNVR^B(T_16">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                              <value name="AND0">
                                <block type="logic_compare" id="@Y8!ScK}ilH:K@n`.T=M">
                                  <field name="OP">GT</field>
                                  <value name="A">
                                    <block type="get_value" id="S7V`Rre69N18)?K?pAn`">
                                      <field name="ATTR">val</field>
                                      <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="o2peKYobd?+[T;fX*0=l">
                                      <field name="NUM">500</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <value name="AND1">
                                <block type="logic_compare" id="6GOJGx@]xZ;*ViaH8.S`">
                                  <field name="OP">LT</field>
                                  <value name="A">
                                    <block type="get_value" id="M+DF@@O$Zwu@BqTzm}mH">
                                      <field name="ATTR">val</field>
                                      <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="math_number" id="-X%461Ai;2pzD|m%E/N!">
                                      <field name="NUM">300</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="_*^K^LTE*=P{CK?5@MS3">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="OtaozD[sVYi}oJ01RT/^">
                                  <field name="NUM">500</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                          <value name="IF1">
                            <block type="logic_compare" id=":M!mg*tJ_[0;e6BMlI1!">
                              <field name="OP">LT</field>
                              <value name="A">
                                <block type="get_value" id="6/ELkSjnpF{?N$2)*Od^">
                                  <field name="ATTR">val</field>
                                  <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="math_number" id="lo^v]NR(#_/90)I;r%EA">
                                  <field name="NUM">300</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO1">
                            <block type="control" id="u~Zy6dW$x4%B$5%ib=09">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="%]g7]`J2fB4R.$QUOx]F">
                                  <field name="NUM">300</field>
                                </block>
                              </value>
                            </block>
                          </statement>
                        </block>
                      </statement>
                    </block>
                  </xml>
                  

                  HP Microserver Gen8, RPI-4, IoBroker,

                  HomoranH 1 Antwort Letzte Antwort
                  0
                  • K knopers1

                    @homoran sorry, ich bemühe mich weiter.... :grin:
                    Ist jetzt die Über/Unterschreitung der Entscheidungsgrenze passend gesetzt, so dass der Wert für Leistungslimit nicht jedes mal neu geschrieben wird?

                    7.png

                    <xml xmlns="https://developers.google.com/blockly/xml">
                      <block type="on" id="G(hXlntz~E?zMmfAf;T8" x="-137" y="-612">
                        <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="s[R-}avHMlL2CvPO2/vL">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                              <block type="logic_multi_and" id="5La4dN}DmcNVR^B(T_16">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                <value name="AND0">
                                  <block type="logic_compare" id="@Y8!ScK}ilH:K@n`.T=M">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="get_value" id="S7V`Rre69N18)?K?pAn`">
                                        <field name="ATTR">val</field>
                                        <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="o2peKYobd?+[T;fX*0=l">
                                        <field name="NUM">500</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="AND1">
                                  <block type="logic_compare" id="6GOJGx@]xZ;*ViaH8.S`">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="get_value" id="M+DF@@O$Zwu@BqTzm}mH">
                                        <field name="ATTR">val</field>
                                        <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="-X%461Ai;2pzD|m%E/N!">
                                        <field name="NUM">300</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="_*^K^LTE*=P{CK?5@MS3">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id="OtaozD[sVYi}oJ01RT/^">
                                    <field name="NUM">500</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_compare" id=":M!mg*tJ_[0;e6BMlI1!">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="get_value" id="6/ELkSjnpF{?N$2)*Od^">
                                    <field name="ATTR">val</field>
                                    <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="lo^v]NR(#_/90)I;r%EA">
                                    <field name="NUM">300</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="control" id="u~Zy6dW$x4%B$5%ib=09">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id="%]g7]`J2fB4R.$QUOx]F">
                                    <field name="NUM">300</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </statement>
                      </block>
                    </xml>
                    
                    <xml xmlns="https://developers.google.com/blockly/xml">
                      <block type="on" id="G(hXlntz~E?zMmfAf;T8" x="-137" y="-612">
                        <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                        <field name="CONDITION">ne</field>
                        <field name="ACK_CONDITION"></field>
                        <statement name="STATEMENT">
                          <block type="controls_if" id="s[R-}avHMlL2CvPO2/vL">
                            <mutation elseif="1"></mutation>
                            <value name="IF0">
                              <block type="logic_multi_and" id="5La4dN}DmcNVR^B(T_16">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" items="2"></mutation>
                                <value name="AND0">
                                  <block type="logic_compare" id="@Y8!ScK}ilH:K@n`.T=M">
                                    <field name="OP">GT</field>
                                    <value name="A">
                                      <block type="get_value" id="S7V`Rre69N18)?K?pAn`">
                                        <field name="ATTR">val</field>
                                        <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="o2peKYobd?+[T;fX*0=l">
                                        <field name="NUM">500</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <value name="AND1">
                                  <block type="logic_compare" id="6GOJGx@]xZ;*ViaH8.S`">
                                    <field name="OP">LT</field>
                                    <value name="A">
                                      <block type="get_value" id="M+DF@@O$Zwu@BqTzm}mH">
                                        <field name="ATTR">val</field>
                                        <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                      </block>
                                    </value>
                                    <value name="B">
                                      <block type="math_number" id="-X%461Ai;2pzD|m%E/N!">
                                        <field name="NUM">300</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO0">
                              <block type="control" id="_*^K^LTE*=P{CK?5@MS3">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id="OtaozD[sVYi}oJ01RT/^">
                                    <field name="NUM">500</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                            <value name="IF1">
                              <block type="logic_compare" id=":M!mg*tJ_[0;e6BMlI1!">
                                <field name="OP">LT</field>
                                <value name="A">
                                  <block type="get_value" id="6/ELkSjnpF{?N$2)*Od^">
                                    <field name="ATTR">val</field>
                                    <field name="OID">mqtt.0.openDTUonBattery.victron.HQ2410QUPQE.PPV</field>
                                  </block>
                                </value>
                                <value name="B">
                                  <block type="math_number" id="lo^v]NR(#_/90)I;r%EA">
                                    <field name="NUM">300</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <statement name="DO1">
                              <block type="control" id="u~Zy6dW$x4%B$5%ib=09">
                                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                <field name="OID">mqtt.0.openDTUonBattery.powerlimiter.cmd.upper_power_limit</field>
                                <field name="WITH_DELAY">FALSE</field>
                                <value name="VALUE">
                                  <block type="math_number" id="%]g7]`J2fB4R.$QUOx]F">
                                    <field name="NUM">300</field>
                                  </block>
                                </value>
                              </block>
                            </statement>
                          </block>
                        </statement>
                      </block>
                    </xml>
                    
                    HomoranH Nicht stören
                    HomoranH Nicht stören
                    Homoran
                    Global Moderator Administrators
                    schrieb am zuletzt editiert von
                    #14

                    @knopers1 sagte in mqtt-Power Limit über Blockly:

                    ich bemühe mich weiter....

                    weiss ich doch!

                    @knopers1 sagte in mqtt-Power Limit über Blockly:

                    Ist jetzt die Über/Unterschreitung der Entscheidungsgrenze passend gesetzt

                    nein! >500 und <300 geht nicht zeitgleich.

                    @knopers1 sagte in mqtt-Power Limit über Blockly:

                    so dass der Wert für Leistungslimit nicht jedes mal neu geschrieben wird?

                    das hat damit weniger zu tun.
                    Du müsstest nur prüfen ob die gewünschte Stufe bereits läuft und nur wenn das nicht der Fall ist schreiben.

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

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

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

                    K 1 Antwort Letzte Antwort
                    0
                    • HomoranH Homoran

                      @knopers1 sagte in mqtt-Power Limit über Blockly:

                      ich bemühe mich weiter....

                      weiss ich doch!

                      @knopers1 sagte in mqtt-Power Limit über Blockly:

                      Ist jetzt die Über/Unterschreitung der Entscheidungsgrenze passend gesetzt

                      nein! >500 und <300 geht nicht zeitgleich.

                      @knopers1 sagte in mqtt-Power Limit über Blockly:

                      so dass der Wert für Leistungslimit nicht jedes mal neu geschrieben wird?

                      das hat damit weniger zu tun.
                      Du müsstest nur prüfen ob die gewünschte Stufe bereits läuft und nur wenn das nicht der Fall ist schreiben.

                      K Offline
                      K Offline
                      knopers1
                      schrieb am zuletzt editiert von
                      #15

                      @homoran
                      du forderst mich.. Ein paar Tipps wären nicht schlecht aber ... :fearful:
                      Was hällst du davon?

                      8.png

                      HP Microserver Gen8, RPI-4, IoBroker,

                      HomoranH 1 Antwort Letzte Antwort
                      0
                      • K knopers1

                        @homoran
                        du forderst mich.. Ein paar Tipps wären nicht schlecht aber ... :fearful:
                        Was hällst du davon?

                        8.png

                        HomoranH Nicht stören
                        HomoranH Nicht stören
                        Homoran
                        Global Moderator Administrators
                        schrieb am zuletzt editiert von
                        #16

                        @knopers1 sagte in mqtt-Power Limit über Blockly:

                        du forderst mich.

                        jepp!

                        @knopers1 sagte in mqtt-Power Limit über Blockly:

                        Ein paar Tipps wären nicht schlecht

                        gerne.

                        die Idee mit der Variable ist nicht schlecht!!!

                        aber nimm noch mal
                        trigger=victron
                        falls victron > 500 UND limiter ungleich 500
                        steuere mqtt mit 500
                        sonstfalls victron < 300 und limiter ungleich 300
                        steuere mqtt mit 300

                        und statt wert von id victron nimmst du einfach den Baustein Wert aud dem Bereich Trigger

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

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

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

                        CodierknechtC 1 Antwort Letzte Antwort
                        0
                        • HomoranH Homoran

                          @knopers1 sagte in mqtt-Power Limit über Blockly:

                          du forderst mich.

                          jepp!

                          @knopers1 sagte in mqtt-Power Limit über Blockly:

                          Ein paar Tipps wären nicht schlecht

                          gerne.

                          die Idee mit der Variable ist nicht schlecht!!!

                          aber nimm noch mal
                          trigger=victron
                          falls victron > 500 UND limiter ungleich 500
                          steuere mqtt mit 500
                          sonstfalls victron < 300 und limiter ungleich 300
                          steuere mqtt mit 300

                          und statt wert von id victron nimmst du einfach den Baustein Wert aud dem Bereich Trigger

                          CodierknechtC Online
                          CodierknechtC Online
                          Codierknecht
                          Developer Most Active
                          schrieb am zuletzt editiert von
                          #17

                          Ich glaube, hier könnte ein bisschen Lesestoff nicht schaden:
                          https://forum.iobroker.net/topic/70481/blockly-for-dummies-starthilfe-und-tipps

                          "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                          Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                          HmIP|ZigBee|Tasmota|Unifi
                          Zabbix Certified Specialist
                          Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                          HomoranH 1 Antwort Letzte Antwort
                          0
                          • CodierknechtC Codierknecht

                            Ich glaube, hier könnte ein bisschen Lesestoff nicht schaden:
                            https://forum.iobroker.net/topic/70481/blockly-for-dummies-starthilfe-und-tipps

                            HomoranH Nicht stören
                            HomoranH Nicht stören
                            Homoran
                            Global Moderator Administrators
                            schrieb am zuletzt editiert von
                            #18

                            @codierknecht sagte in mqtt-Power Limit über Blockly:

                            Ich glaube, hier könnte ein bisschen Lesestoff nicht schaden:
                            https://forum.iobroker.net/topic/70481/blockly-for-dummies-starthilfe-und-tipps

                            aber erst später!

                            im Moment haperts nicht wirklich am Blockly selbst

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

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

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

                            K 1 Antwort Letzte Antwort
                            1
                            • HomoranH Homoran

                              @codierknecht sagte in mqtt-Power Limit über Blockly:

                              Ich glaube, hier könnte ein bisschen Lesestoff nicht schaden:
                              https://forum.iobroker.net/topic/70481/blockly-for-dummies-starthilfe-und-tipps

                              aber erst später!

                              im Moment haperts nicht wirklich am Blockly selbst

                              K Offline
                              K Offline
                              knopers1
                              schrieb am zuletzt editiert von knopers1
                              #19

                              @homoran

                              puhh, es haperts an allem Männer :joy:

                              9.png

                              HP Microserver Gen8, RPI-4, IoBroker,

                              K CodierknechtC 2 Antworten Letzte Antwort
                              0
                              • K knopers1

                                @homoran

                                puhh, es haperts an allem Männer :joy:

                                9.png

                                K Offline
                                K Offline
                                knopers1
                                schrieb am zuletzt editiert von
                                #20

                                @Homoran

                                benötige deine Meinung :grin: :grin:

                                HP Microserver Gen8, RPI-4, IoBroker,

                                1 Antwort Letzte Antwort
                                0
                                • K knopers1

                                  @homoran

                                  puhh, es haperts an allem Männer :joy:

                                  9.png

                                  CodierknechtC Online
                                  CodierknechtC Online
                                  Codierknecht
                                  Developer Most Active
                                  schrieb am zuletzt editiert von
                                  #21

                                  @knopers1
                                  Du hast das UND überlesen.

                                  cbb9b436-384a-4630-9851-33cf6800b15c-grafik.png

                                  "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                                  Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                                  HmIP|ZigBee|Tasmota|Unifi
                                  Zabbix Certified Specialist
                                  Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                                  K 1 Antwort Letzte Antwort
                                  1
                                  • CodierknechtC Codierknecht

                                    @knopers1
                                    Du hast das UND überlesen.

                                    cbb9b436-384a-4630-9851-33cf6800b15c-grafik.png

                                    K Offline
                                    K Offline
                                    knopers1
                                    schrieb am zuletzt editiert von
                                    #22

                                    @codierknecht
                                    danke Dir sehr.... Ist es jetzt so okay?
                                    11.png

                                    HP Microserver Gen8, RPI-4, IoBroker,

                                    CodierknechtC HomoranH 2 Antworten Letzte Antwort
                                    0
                                    • K knopers1

                                      @codierknecht
                                      danke Dir sehr.... Ist es jetzt so okay?
                                      11.png

                                      CodierknechtC Online
                                      CodierknechtC Online
                                      Codierknecht
                                      Developer Most Active
                                      schrieb am zuletzt editiert von
                                      #23

                                      @knopers1
                                      Nicht ganz. Es fehlt im jeweiligen Block noch ein "setze Limit auf ...", damit die Prüfung auch Sinn macht.
                                      Aktuell wird die Variable ja nur 1x beim Start des Script gesetzt.

                                      73f7b0cc-a1e8-40a2-8d32-12aafcae7fcd-image.png

                                      "Any fool can write code that a computer can understand. Good programmers write code that humans can understand." (Martin Fowler, "Refactoring")

                                      Proxmox 9.1.1 LXC|8 GB|Core i7-6700
                                      HmIP|ZigBee|Tasmota|Unifi
                                      Zabbix Certified Specialist
                                      Konnte ich Dir helfen? Dann benutze bitte das Voting unten rechts im Beitrag

                                      1 Antwort Letzte Antwort
                                      1
                                      • K knopers1

                                        @codierknecht
                                        danke Dir sehr.... Ist es jetzt so okay?
                                        11.png

                                        HomoranH Nicht stören
                                        HomoranH Nicht stören
                                        Homoran
                                        Global Moderator Administrators
                                        schrieb am zuletzt editiert von
                                        #24

                                        @knopers1 sagte in mqtt-Power Limit über Blockly:

                                        @codierknecht
                                        danke Dir sehr.... Ist es jetzt so okay?
                                        11.png

                                        nein, das setze auf wird nur bei Skriptstart gesetzt.

                                        Entweder separater Trigger auf das limit auf Änderung und dann den Block,

                                        oder in dem falls und sonstfalls einfach setze limit auf 300 bzw 500

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

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

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

                                        K 1 Antwort Letzte Antwort
                                        1
                                        • HomoranH Homoran

                                          @knopers1 sagte in mqtt-Power Limit über Blockly:

                                          @codierknecht
                                          danke Dir sehr.... Ist es jetzt so okay?
                                          11.png

                                          nein, das setze auf wird nur bei Skriptstart gesetzt.

                                          Entweder separater Trigger auf das limit auf Änderung und dann den Block,

                                          oder in dem falls und sonstfalls einfach setze limit auf 300 bzw 500

                                          K Offline
                                          K Offline
                                          knopers1
                                          schrieb am zuletzt editiert von
                                          #25

                                          @homoran @Codierknecht

                                          besten Dank für euere Hilfe! das Script läuft natürlich. Ich werde mir etwas von dem Lesestoff oben verlinkt durchlesen... Man macht es so sporadisch, deshalb ist es so schwer mir jedenfalls ein Script selbst zu erstellen. Besten Dank nochmal :+1:

                                          HP Microserver Gen8, RPI-4, IoBroker,

                                          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

                                          770

                                          Online

                                          32.5k

                                          Benutzer

                                          81.7k

                                          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