Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Lukas13

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 5
    • Best 0
    • Groups 1

    Lukas13

    @Lukas13

    Starter

    0
    Reputation
    3
    Profile views
    5
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    Lukas13 Follow
    Starter

    Latest posts made by Lukas13

    • RE: Zeitzähler Ladezustand Wallbox

      Okay ich probiere es mal anders. Ich möchte aber die Zeitberechnung auf den Zeitstempel bezogen und nicht vom System. Das habe ich nämlich auch schon probiert und da variiert die Zeit im ms Bereich, was für mich keine genaue Messung ist.

      posted in Blockly
      Lukas13
      Lukas13
    • Zeitzähler Ladezustand Wallbox

      Hallo,

      ich möchte die Ladezeit von meiner Wallbox gerne loggen. Einmal die Ladezeit seit Ladestart und einmal die Gesamt Ladezeit der Wallbox. Die Ladezeit seit Ladestart funktioniert einwandfrei. Die Gesamtladezeit funktioniert leider nicht wie gewünscht. Sie erhöht sich nicht um die Zeit in Sekunden seit Ladestart sondern zu schnell und zu viel. Leider finde ich den Fehler auch nicht. Die Zeit soll anfangen zu zählen sobald der Ladestatus auf 2 erhöht wird. Die Zeit soll in Sekunden gemessen werden.
      Screenshot_20220218-230417_Chrome.jpg
      Ich hoffe jemand findet den Fehler in meinem Skript und kann ihn mir erklären.

      Hier noch die Blockly programmierung falls es jemand bei sich selbst ausprobieren möchte und ein ScreenshotBlockly_Skript_Ladezeit_Wallbox.PNG

      <xml xmlns="https://developers.google.com/blockly/xml">
        <variables>
          <variable type="timeout" id="timeout">timeout</variable>
          <variable id="0+26QsH]ehr/=G`W`!Gc">Zeitstempel_Ladezustand_&gt;2</variable>
          <variable type="interval" id="Intervall">Intervall</variable>
        </variables>
        <block type="on_ext" id="L)(b7H]KibOx?:v)xlzV" x="338" y="138">
          <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
          <field name="CONDITION">ne</field>
          <field name="ACK_CONDITION"></field>
          <value name="OID0">
            <shadow type="field_oid" id="hVb9Xu[l@JocyuIv[yec">
              <field name="oid">0_userdata.0.Standartwerte.TestNumber_1</field>
            </shadow>
            <block type="field_oid" id="ykB+iY4R2%+TH#vc`l9(">
              <field name="oid">0_userdata.0.Status.Wallbox.Warp_Pro_1.Ladezustand</field>
            </block>
          </value>
          <statement name="STATEMENT">
            <block type="on_ext" id="1H1!^x2TuZ_dMYab=[S?">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
              <field name="CONDITION">gt</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="CC$DYbChG:zIoWrX7|tY">
                  <field name="oid">default</field>
                </shadow>
                <block type="field_oid" id="/=Xh^{O#0uHH4+b#vj8?">
                  <field name="oid">0_userdata.0.Status.Wallbox.Warp_Pro_1.Ladezustand</field>
                </block>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="eP.w`fRL:8f)4WA+Y}%6">
                  <value name="IF0">
                    <block type="logic_compare" id="*}NJ0JhchE3mA-fEjCk3" inline="false">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="math_number" id="3*d~:T@qNF|$xb[U7119">
                          <field name="NUM">2</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="get_value_var" id="c!!T7%xQC2afx}c~0#7:">
                          <field name="ATTR">val</field>
                          <value name="OID">
                            <shadow type="text" id="+*e7bb1W#?yF:icLm-;-">
                              <field name="TEXT"></field>
                            </shadow>
                            <block type="field_oid" id="+BIPFN{H2=yW_QYRKbs(">
                              <field name="oid">0_userdata.0.Status.Wallbox.Warp_Pro_1.Ladezustand</field>
                            </block>
                          </value>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="variables_set" id="jr`yWg`@,lztMy|rSFIi">
                      <field name="VAR" id="0+26QsH]ehr/=G`W`!Gc">Zeitstempel_Ladezustand_&gt;2</field>
                      <value name="VALUE">
                        <block type="time_get" id="2Zk3_wZW_ii3AGDXPD36">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                          <field name="OPTION">object</field>
                        </block>
                      </value>
                    </block>
                  </statement>
                </block>
              </statement>
              <next>
                <block type="timeouts_settimeout" id="9za]+n-99P4[{Xro#iWg">
                  <field name="NAME">timeout</field>
                  <field name="DELAY">1000</field>
                  <field name="UNIT">ms</field>
                  <statement name="STATEMENT">
                    <block type="controls_if" id="P3}x~-szQ0)F$nJa#e41">
                      <mutation elseif="1"></mutation>
                      <value name="IF0">
                        <block type="logic_compare" id="$MSvt-!QwtUx!F[2iXE|" inline="false">
                          <field name="OP">EQ</field>
                          <value name="A">
                            <block type="math_number" id="t0Zct{2[4`PBfi=dlc|g">
                              <field name="NUM">2</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="get_value_var" id="DW6]A:]l62gzCf:m*+~P">
                              <field name="ATTR">val</field>
                              <value name="OID">
                                <shadow type="text" id="tR)v#cB(o1E50oX)?yho">
                                  <field name="TEXT"></field>
                                </shadow>
                                <block type="field_oid" id="Q_6Y:f:FyXT2,3ugo?^Y">
                                  <field name="oid">0_userdata.0.Status.Wallbox.Warp_Pro_1.Ladezustand</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO0">
                        <block type="timeouts_setinterval" id="!PkVV_{{z|(sIaJF4Z|z">
                          <field name="NAME">Intervall</field>
                          <field name="INTERVAL">1000</field>
                          <field name="UNIT">ms</field>
                          <statement name="STATEMENT">
                            <block type="control" id="0piJsg%2{9](y~{C.Dk%">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.Status.Wallbox.Warp_Pro_1.Ladezeit</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="convert_tonumber" id="1=$zL7$P+)_]2M{jUVTj">
                                  <value name="VALUE">
                                    <block type="math_arithmetic" id="PDEiOfv5N9-,W7#pHMfV" inline="false">
                                      <field name="OP">DIVIDE</field>
                                      <value name="A">
                                        <shadow type="math_number" id="WE2dVAz[{h`veMbffwd~">
                                          <field name="NUM">1</field>
                                        </shadow>
                                        <block type="math_arithmetic" id="P^Y5DRIhCopoPxOdSmd0" inline="false">
                                          <field name="OP">MINUS</field>
                                          <value name="A">
                                            <shadow type="math_number" id="}|Wms/Y(f!sQ[cU^*mWF">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="time_get" id="+z1Bf*j!`oriP#KEfLIF">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                              <field name="OPTION">object</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number" id="F`fFnk%rQn8iBb|)[%Cv">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="variables_get" id="ygJo4h)Is;2qk{i,A1,d">
                                              <field name="VAR" id="0+26QsH]ehr/=G`W`!Gc">Zeitstempel_Ladezustand_&gt;2</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <shadow type="math_number" id="{6}W]a:Klf%5{z(6K0fu">
                                          <field name="NUM">1000</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="f#j4^Cq-Ha%:Wdh[lK}q">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">0_userdata.0.Status.Wallbox.Warp_Pro_1.Ladezeit_Gesamt</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="convert_tonumber" id="P(RyN.Q+ttH+lg!w?2$k">
                                      <value name="VALUE">
                                        <block type="math_arithmetic" id="4]Crc;Ah)=1K}LVYQTga" inline="false">
                                          <field name="OP">ADD</field>
                                          <value name="A">
                                            <shadow type="math_number" id="=GqX^TFaRZ++G(iO8Lvp">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="get_value_var" id="}-Hg6p3YYE+GYCDndJ%^">
                                              <field name="ATTR">val</field>
                                              <value name="OID">
                                                <shadow type="text" id="P}8jXkUkLbN`}voJv_gb">
                                                  <field name="TEXT"></field>
                                                </shadow>
                                                <block type="field_oid" id="Y/*1e{5![{(6,)]Lr:.l">
                                                  <field name="oid">0_userdata.0.Status.Wallbox.Warp_Pro_1.Ladezeit_Gesamt</field>
                                                </block>
                                              </value>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <shadow type="math_number" id="lCNtg32~4m~%?T-@*@ka">
                                              <field name="NUM">1</field>
                                            </shadow>
                                            <block type="math_arithmetic" id="G$E[jxtC7z9#I(AiQ7g+" inline="false">
                                              <field name="OP">DIVIDE</field>
                                              <value name="A">
                                                <shadow type="math_number">
                                                  <field name="NUM">1</field>
                                                </shadow>
                                                <block type="math_arithmetic" id="Ep.f4~$/?PfLZ9@I7+/u" inline="false">
                                                  <field name="OP">MINUS</field>
                                                  <value name="A">
                                                    <shadow type="math_number">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="time_get" id="N?xVcwx4fY3!CpTj`pSi">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" format="false" language="false"></mutation>
                                                      <field name="OPTION">object</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <shadow type="math_number">
                                                      <field name="NUM">1</field>
                                                    </shadow>
                                                    <block type="variables_get" id="-eG9`;MRd#sg!$%FRN7T">
                                                      <field name="VAR" id="0+26QsH]ehr/=G`W`!Gc">Zeitstempel_Ladezustand_&gt;2</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <value name="B">
                                                <shadow type="math_number" id="M^!hon1V`SFz#m|!FPI1">
                                                  <field name="NUM">1000</field>
                                                </shadow>
                                              </value>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </statement>
                        </block>
                      </statement>
                      <value name="IF1">
                        <block type="logic_compare" id=".;nO%im(4?1kQ_!/BnUN" inline="false">
                          <field name="OP">NEQ</field>
                          <value name="A">
                            <block type="math_number" id="2JJ+^g$I_6#6X_Q`ChWU">
                              <field name="NUM">2</field>
                            </block>
                          </value>
                          <value name="B">
                            <block type="get_value_var" id="H}|^|2[$bmw=-8sH[lvY">
                              <field name="ATTR">val</field>
                              <value name="OID">
                                <shadow type="text">
                                  <field name="TEXT"></field>
                                </shadow>
                                <block type="field_oid" id="dDA)w,`Wb5R(T|-eDKF)">
                                  <field name="oid">0_userdata.0.Standartwerte.TestNumber_1</field>
                                </block>
                              </value>
                            </block>
                          </value>
                        </block>
                      </value>
                      <statement name="DO1">
                        <block type="timeouts_clearinterval" id="M3H]Q#yy}!TA@MVnk]jF">
                          <field name="NAME">Intervall</field>
                          <next>
                            <block type="control" id="d3P5#L~%bJ]b)~.)8)5a">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">0_userdata.0.Status.Wallbox.Warp_Pro_1.Ladezeit</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="math_number" id="S!88$L_pBB80KmZAxKa.">
                                  <field name="NUM">0</field>
                                </block>
                              </value>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </statement>
        </block>
      </xml>
      
      posted in Blockly
      Lukas13
      Lukas13
    • RE: Test Adapter bshb (Bosch Smart Home) v0.0.x

      @holomekc Ich hab den Controller resetet weil das System passwort sich nicht ändern oder zurücksetzen lassen hat und jetzt ging es. Trotzdem danke für die hilfe an euch alle

      posted in Tester
      Lukas13
      Lukas13
    • RE: Test Adapter bshb (Bosch Smart Home) v0.0.x

      @holomekc

      Das ist aus der Logdatei:
      Gibt es bei der uuid bestimmte Vorgaben wie lang und welche Zeichen sie haben darf?

      2021-01-28 22:00:16.862  - info: host.Lukas-Raspi instance system.adapter.bshb.0 started with pid 15756
      2021-01-28 22:00:18.695  - info: bshb.0 (15756) starting. Version 0.1.12 in /opt/iobroker/node_modules/iobroker.bshb, node: v12.20.1, js-controller: 3.1.6
      2021-01-28 22:00:18.738  - info: bshb.0 (15756) Client certificate found in system.certificates
      2021-01-28 22:00:18.739  - info: bshb.0 (15756) Check if certificate is file reference or actual content
      2021-01-28 22:00:18.740  - info: bshb.0 (15756) certificate seems to be actual content. Use value from state.
      2021-01-28 22:00:18.740  - info: bshb.0 (15756) private key seems to be actual content. Use value from state.
      2021-01-28 22:00:18.749  - info: bshb.0 (15756) Check if client with identifier: ioBroker.bshb_(normalerweise uudi) is already paired.
      2021-01-28 22:00:19.005  - info: bshb.0 (15756) Client with identifier: ioBroker.bshb_(normalerweise uudi) was not paired yet.
      2021-01-28 22:00:19.006  - info: bshb.0 (15756) Start pairing. Activate pairing on Bosch Smart Home Controller by pressing button until flashing.
      2021-01-28 22:00:19.664  - info: bshb.0 (15756) Unexpected pairing response. Most likely wrong input data. Check password, etc. Pairing stopped.
      2021-01-28 22:00:19.667  - info: bshb.0 (15756) Start detecting scenarios...
      2021-01-28 22:00:19.668  - info: bshb.0 (15756) Start detecting messages...
      2021-01-28 22:00:19.670  - info: bshb.0 (15756) Start detecting devices...
      2021-01-28 22:00:19.671  - info: bshb.0 (15756) Start detecting open doors/windows...
      2021-01-28 22:00:20.967  - error: bshb.0 (15756) uncaught exception: error during call to BSHC: 
      2021-01-28 22:00:20.969  - error: bshb.0 (15756) BshbError: error during call to BSHC: 
          at BshcClient.AbstractBshcClient.handleError (/opt/iobroker/node_modules/bosch-smart-home-bridge/dist/api/abstract-bshc-client.js:166:32)
          at ClientRequest.<anonymous> (/opt/iobroker/node_modules/bosch-smart-home-bridge/dist/api/abstract-bshc-client.js:150:23)
          at ClientRequest.emit (events.js:314:20)
          at TLSSocket.socketErrorListener (_http_client.js:427:9)
          at TLSSocket.emit (events.js:314:20)
          at errorOrDestroy (internal/streams/destroy.js:108:12)
          at onwriteError (_stream_writable.js:424:5)
          at onwrite (_stream_writable.js:445:5)
          at internal/streams/destroy.js:50:7
          at TLSSocket.Socket._destroy (net.js:680:5)
      2021-01-28 22:00:20.971  - info: bshb.0 (15756) cleaned everything up...
      2021-01-28 22:00:20.972  - error: bshb.0 (15756) uncaught exception: error during call to BSHC: 
      2021-01-28 22:00:20.973  - error: bshb.0 (15756) BshbError: error during call to BSHC: 
          at BshcClient.AbstractBshcClient.handleError (/opt/iobroker/node_modules/bosch-smart-home-bridge/dist/api/abstract-bshc-client.js:166:32)
          at ClientRequest.<anonymous> (/opt/iobroker/node_modules/bosch-smart-home-bridge/dist/api/abstract-bshc-client.js:150:23)
          at ClientRequest.emit (events.js:314:20)
          at TLSSocket.socketErrorListener (_http_client.js:427:9)
          at TLSSocket.emit (events.js:314:20)
          at errorOrDestroy (internal/streams/destroy.js:108:12)
          at onwriteError (_stream_writable.js:424:5)
          at onwrite (_stream_writable.js:445:5)
          at internal/streams/destroy.js:50:7
          at TLSSocket.Socket._destroy (net.js:680:5)
      2021-01-28 22:00:20.980  - info: bshb.0 (15756) terminating
      2021-01-28 22:00:20.981  - info: bshb.0 (15756) Terminated (NO_ERROR): Without reason
      
      posted in Tester
      Lukas13
      Lukas13
    • RE: Test Adapter bshb (Bosch Smart Home) v0.0.x

      Hey liebe Community,

      Ich verzweifle seit Stunden mit dem verbinden von iobroker und meinem Bosch Smart Home Controller. Ich habe es auch schon mit verschiedenen uuids probiert, aber es kommt immer das selbe.
      Ich bekomme immer diese Meldungen im Log:

      bshb.0	2021-01-28 22:00:55.318	info	(15834) Terminated (NO_ERROR): Without reason
      bshb.0	2021-01-28 22:00:55.316	info	(15834) terminating
      bshb.0	2021-01-28 22:00:55.309	error	(15834) BshbError: error during call to BSHC: at BshcClient.AbstractBshcClient.handleError (/opt/iobroker/node_modules/bosch-smart-home-bridge/dist/api/abstract-bshc-client.js:166:32) at Clie
      bshb.0	2021-01-28 22:00:55.308	error	(15834) uncaught exception: error during call to BSHC:
      bshb.0	2021-01-28 22:00:55.307	info	(15834) cleaned everything up...
      bshb.0	2021-01-28 22:00:55.305	error	(15834) BshbError: error during call to BSHC: at BshcClient.AbstractBshcClient.handleError (/opt/iobroker/node_modules/bosch-smart-home-bridge/dist/api/abstract-bshc-client.js:166:32) at Clie
      bshb.0	2021-01-28 22:00:55.304	error	(15834) uncaught exception: error during call to BSHC:
      bshb.0	2021-01-28 22:00:54.592	info	(15834) Start detecting open doors/windows...
      bshb.0	2021-01-28 22:00:54.590	info	(15834) Start detecting devices...
      bshb.0	2021-01-28 22:00:54.588	info	(15834) Start detecting messages...
      bshb.0	2021-01-28 22:00:54.587	info	(15834) Start detecting scenarios...
      bshb.0	2021-01-28 22:00:54.584	info	(15834) Unexpected pairing response. Most likely wrong input data. Check password, etc. Pairing stopped.
      bshb.0	2021-01-28 22:00:53.886	info	(15834) Start pairing. Activate pairing on Bosch Smart Home Controller by pressing button until flashing.
      bshb.0	2021-01-28 22:00:53.885	info	(15834) Client with identifier: ioBroker.bshb_l(hier steht normalerweise die uuid) was not paired yet.
      bshb.0	2021-01-28 22:00:53.563	info	(15834) Check if client with identifier: ioBroker.bshb_(hier steht normalerweise die uuid) is already paired.
      bshb.0	2021-01-28 22:00:53.554	info	(15834) private key seems to be actual content. Use value from state.
      bshb.0	2021-01-28 22:00:53.554	info	(15834) certificate seems to be actual content. Use value from state.
      bshb.0	2021-01-28 22:00:53.553	info	(15834) Check if certificate is file reference or actual content
      bshb.0	2021-01-28 22:00:53.552	info	(15834) Client certificate found in system.certificates
      bshb.0	2021-01-28 22:00:53.497	info	(15834) starting. Version 0.1.12 in /opt/iobroker/node_modules/iobroker.bshb, node: v12.20.1, js-controller: 3.1.6
      

      Kann mir jemand sagen, woran es liegt, dass er sich nicht verbindet?

      posted in Tester
      Lukas13
      Lukas13
    Community
    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
    The ioBroker Community 2014-2023
    logo