@paul53
Frage?
Muss ich hier noch etwas ändern oder bleibt das so!

@paul53
Frage?
Muss ich hier noch etwas ändern oder bleibt das so!

@paul53 Geht das Skript dann auch bei der Waschmaschine, die zwischen durch mal eine Pause einlegt?
@homoran Würde ich gerne machen, nur das Skript ist so lang, dass es auf meinem Laptop nicht komplett zu sehen ist. Das wären dann vier Bilder. Oder gibt es da einen Trick den ich nicht kenne?
Hallo, gibt es eine andere Möglichkeit als Screenshot das Blockly hier rein zu bringen?
Hallo, ich benötige bitte für dieses Skript mal Hilfe. Es soll die Meldung Spülmaschine fertig kommen, wenn der Zähler größer als 75 ist. Nun Zählt er schön, aber stoppt das ganze nicht. Erst als ich die Spülmaschine ausgeschaltet habe (der Zähler war mittlerweile auf 822) hat er die Meldung ausgeworfen. Wenn ich den Zähler auf 40 stelle, funktioniert es. Da ist die Spülmaschine aber noch nicht fertig.
Wo ist hier der Fehler?
Vielen Dank schon mal.
<xml xmlns="https://developers.google.com/blockly/xml">
<variables>
<variable id="_15VMX!RZlq%=ybVAz@@">Meldetext</variable>
<variable id="eDU:(iyKogwdk(uJ#v=8">SpuelmaVerzoegerungAktiv</variable>
<variable id="uVoAQZ6`(wm2IS=4jDRf">SpuelmaGrenzWertInWatt</variable>
<variable type="timeout" id="Einschaltverzoegerung">Einschaltverzoegerung</variable>
<variable id="H?Yq0BJ!zZ_^*Q$OF$bo">SpuelmaEnergyToday</variable>
<variable type="interval" id="Intervall">Intervall</variable>
<variable id="g@8Zqg%)I@g0%8,P8fT1">SpuelmaZwischensumme</variable>
<variable id="n`]^(OBF3H5whqiy-K6e">SpuelmaKostenToday</variable>
</variables>
<block type="comment" id="){{k{;f|!i!?gII9`zwj" x="746" y="-1497">
<field name="COMMENT">Initialisierung. Wird nur bei (Neu)Start augefuehrt</field>
<next>
<block type="create" id="::^lQfgj!hCg^z3b{ncl">
<field name="NAME">Variablen.SpuelmaZaehler</field>
<next>
<block type="create" id=":XvakORUFJ^_I1/^;0qD">
<field name="NAME">POW.SpuelmaAN</field>
<next>
<block type="control" id=";sX{)v2.LF(@*T{:0Jn)">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">javascript.0.POW.SpuelmaAN</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="8n1CerEfb/!a:kF]n.;P">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="Y-_]d[36yjOa0%LH9PuX">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">javascript.0.Variablen.SpuelmaZaehler</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="csR_EPjcky-A[)|H5^oB">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="timeouts_clearinterval" id="phO^MXVR-_9fNy?Ouvr(">
<field name="NAME">Intervall</field>
<next>
<block type="variables_set" id="jsP;q}fZB(WVv))@=~@4">
<field name="VAR" id="eDU:(iyKogwdk(uJ#v=8">SpuelmaVerzoegerungAktiv</field>
<value name="VALUE">
<block type="logic_boolean" id=")vqq*;$=oLq#kNU9WBX{">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="variables_set" id="BYD=sZ^j7=(,}~!O|+wa">
<field name="VAR" id="uVoAQZ6`(wm2IS=4jDRf">SpuelmaGrenzWertInWatt</field>
<value name="VALUE">
<block type="math_number" id="z}4.zbafXpd+$~M7(Kau">
<field name="NUM">35</field>
</block>
</value>
<next>
<block type="comment" id="D=EVD+t0j;mPSBKtQX3]">
<field name="COMMENT">Zyklisch ausgefuehrtes Script</field>
<next>
<block type="on_ext" id="m|v)q:,F4om_rc6-e(ql">
<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="H$3hkrvIhp$]3-H:I8*(">
<field name="oid">sonoff.0.Spühlmaschine.ENERGY_Power</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="debug" id="p3otZ0Ue+aic5y)*qagV" disabled="true">
<field name="Severity">error</field>
<value name="TEXT">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="3ifrWq./6CI{ImTjIVFF">
<field name="TEXT">test</field>
</shadow>
<block type="text_join" id="eM+{y.ZWwk:y6S!X$uXV">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="7!y]j(dE=:Mhy54F-`T`">
<field name="TEXT">Aktuelle Leistung: </field>
</block>
</value>
<value name="ADD1">
<block type="get_value" id="eStx6Z7AQaakv7uuDN#h">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Waschmaschine.ENERGY_Power</field>
</block>
</value>
<value name="ADD2">
<block type="time_get" id="{Y)!68k#A!4?U.8]sSGN">
<mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
<field name="OPTION">custom</field>
<field name="FORMAT">\n</field>
</block>
</value>
<value name="ADD3">
<block type="text" id="Gz32orjw-zzQz7nvG$`4">
<field name="TEXT">Zählerstand: </field>
</block>
</value>
<value name="ADD4">
<block type="get_value" id="~EQ5i8B]o]1+9p?h?mly">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Variablen.SpuelmaZaehler</field>
</block>
</value>
</block>
</value>
<next>
<block type="controls_if" id=".OPb[gmyqdYk8a-?FUqL" disabled="true">
<value name="IF0">
<block type="logic_operation" id="b^@Y(bi#Ex}7H*UK8u#g" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="AKPkm*qa*J{8tPZ%ERAF">
<field name="OP">LTE</field>
<value name="A">
<block type="on_source" id="(3b1pLSM=k6,6sMpLzTw">
<field name="ATTR">oldState.val</field>
</block>
</value>
<value name="B">
<block type="math_number" id="8w3Exow=PNqj=Bt0_gSn">
<field name="NUM">3</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="XQ|{5n.F[WvSNm*{mm=w">
<field name="OP">GTE</field>
<value name="A">
<block type="get_value" id="L)RiJ/%`okfa-l#`$9;U">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Waschmaschine.ENERGY_Power</field>
</block>
</value>
<value name="B">
<block type="math_number" id="pMjP`y}Npk/q)VSFLv,~">
<field name="NUM">18</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="rQiXWo2fiv){I^C}`ffb">
<field name="VAR" id="eDU:(iyKogwdk(uJ#v=8">SpuelmaVerzoegerungAktiv</field>
<value name="VALUE">
<block type="logic_boolean" id="-1~^EYz^knC8G{YQ02$:">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="debug" id="dld)E_WrMNZS=a7Tw-^1">
<field name="Severity">warn</field>
<value name="TEXT">
<shadow type="text" id="`1WuF9vR+S|3)WXNsXRL">
<field name="TEXT">***Starte Verzögerung</field>
</shadow>
</value>
<next>
<block type="timeouts_cleartimeout" id="*2bYxF_KkvjuukbeG(Gg">
<field name="NAME">Einschaltverzoegerung</field>
<next>
<block type="timeouts_settimeout" id="ApTRnB=Drq2%Tu)/w7{C">
<field name="NAME">Einschaltverzoegerung</field>
<field name="DELAY">10</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="variables_set" id="whRgs!/iRnR_[;o^Y_0*">
<field name="VAR" id="eDU:(iyKogwdk(uJ#v=8">SpuelmaVerzoegerungAktiv</field>
<value name="VALUE">
<block type="logic_boolean" id="z|6B7%$PfNm3w#G?Jd{f">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="debug" id="uo:O;yS#V^Sm:RKk:9f)">
<field name="Severity">warn</field>
<value name="TEXT">
<shadow type="text" id="uwqVI{~F,a8Q8E/*QTce">
<field name="TEXT">***Beende Verzögerung</field>
</shadow>
</value>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="comment" id="Od8P;f=Ahd~Oc,giwr2x">
<field name="COMMENT">Ab hier wird gewaschen</field>
<next>
<block type="controls_if" id="#zA4Kd6F6^,~4xXh0O|.">
<value name="IF0">
<block type="logic_operation" id="eKlVY%ZzI.6NeCC7RfZ8" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="6vFT@3bQ~`[1jTZ`b`Od">
<field name="OP">GT</field>
<value name="A">
<block type="get_value" id="e#Ljh[h5j#3I5:NB@%;~">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Spühlmaschine.ENERGY_Power</field>
</block>
</value>
<value name="B">
<block type="math_number" id="I#HAP[bGlgaYQ+^IK@}o">
<field name="NUM">35</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_operation" id="P7,!zcq:IXvk%|y^)A--" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="AdBv+wnLZqE6{|{biw|U">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="^n4Lja5$n~7{`_4Vs^^I">
<field name="ATTR">val</field>
<field name="OID">javascript.0.POW.SpuelmaAN</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="6t?Klsj(qNwesNFTl}=j">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="va|tpj,U^=}|lgCjxkBw">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="g?,=0dYW1gFuLw7cywPA">
<field name="VAR" id="eDU:(iyKogwdk(uJ#v=8">SpuelmaVerzoegerungAktiv</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="Dxo8]?oH[6O0Kb=_:]Wq">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="control" id="E!C2o?%|([kFG1--/7Lj">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">javascript.0.POW.SpuelmaAN</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="DUIeA2!B3-5d*:ADdEb{">
<field name="BOOL">TRUE</field>
</block>
</value>
<next>
<block type="procedures_callnoreturn" id="ZKJ^Z,T62:Vq)4K?wcdW">
<mutation name="Melden">
<arg name="Meldetext"></arg>
</mutation>
<value name="ARG0">
<block type="text" id="F5i*yktx;6[+Xg7,{;Ov">
<field name="TEXT">Spülmaschine LÃUFT!</field>
</block>
</value>
<next>
<block type="comment" id="Q8,yuD??T`7ptRF.4~wj">
<field name="COMMENT">Ab hier "Pause" oder "Ende" erkennen</field>
<next>
<block type="comment" id="^kYZ1OXg/$d5*?#,j]Th">
<field name="COMMENT">Maschine laeuft. Jetzt wird periodisch </field>
<next>
<block type="comment" id="EFQ9(D78Wdz|yx:hN{v6">
<field name="COMMENT">alle 10 Sekunden geprueft ob Leistung < 15 Watt</field>
<next>
<block type="timeouts_setinterval" id="XV32C3CNcm8xNMfa.ET!">
<field name="NAME">Intervall</field>
<field name="INTERVAL">10</field>
<field name="UNIT">sec</field>
<statement name="STATEMENT">
<block type="debug" id="e?K3Jx=iP4D!L:2#,ZVL" disabled="true">
<field name="Severity">warn</field>
<value name="TEXT">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="3ifrWq./6CI{ImTjIVFF">
<field name="TEXT">test</field>
</shadow>
<block type="text_join" id="2TmK2|(IH),nu-8ayk8,">
<mutation items="5"></mutation>
<value name="ADD0">
<block type="text" id="^*Ect$xL+~qh/Jttx.mt">
<field name="TEXT">Zyklisch Aktuelle Leistung: </field>
</block>
</value>
<value name="ADD1">
<block type="get_value" id="*ceqT[7M3fy`2D^bzZ4}">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Spühlmaschine.ENERGY_Power</field>
</block>
</value>
<value name="ADD2">
<block type="time_get" id="K!?IMD-ZKRl_$Hr=X3,0">
<mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
<field name="OPTION">custom</field>
<field name="FORMAT">\n</field>
</block>
</value>
<value name="ADD3">
<block type="text" id="LBa%X4hqR#/)^VX9DWGL">
<field name="TEXT">Zaehlerstand: </field>
</block>
</value>
<value name="ADD4">
<block type="get_value" id="a=[mI6Nht$,#mSmD#:}P">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Variablen.SpuelmaZaehler</field>
</block>
</value>
</block>
</value>
<next>
<block type="controls_if" id="In%ioU5iEAFuAFO#(=L-">
<mutation elseif="1"></mutation>
<value name="IF0">
<block type="logic_operation" id="a=_%$?pGPyZg:[:hla(u" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="RPz.XcaqJ}V@/SM.?}Q}">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="G)N?nqy#h6WA(r.Om!~{">
<field name="ATTR">val</field>
<field name="OID">javascript.0.POW.SpuelmaAN</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="qp{bV0h0K414/PR_`b?[">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="bL3JAh)Y~7~5u!Jz^YGS">
<field name="OP">LT</field>
<value name="A">
<block type="get_value" id="SD0,Rxl#*vX+Dw_5@M/U">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Spühlmaschine.ENERGY_Power</field>
</block>
</value>
<value name="B">
<block type="math_number" id="*+52d)~L1R!UO3i+C0tF">
<field name="NUM">12</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id="M7.~:~mV$PrhbgDO*gsl">
<field name="COMMENT">Zaehler um 1 erhoehen weil Leistung < 15 Watt</field>
<next>
<block type="control" id="Xmm`J)~83y=Zc`Oks..g">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">javascript.0.Variablen.SpuelmaZaehler</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_arithmetic" id="Vw`3`Q^nNNVR$qXU{uoE">
<field name="OP">ADD</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="oC`YC/L4OS:|F,4f/B,e">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="=L_xw%f}d!Rw^+E%YwKN">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Variablen.SpuelmaZaehler</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="ZA_xfDJy7{`F8gK]X|*[">
<field name="NUM">1</field>
</shadow>
</value>
</block>
</value>
</block>
</next>
</block>
</statement>
<value name="IF1">
<block type="logic_operation" id="c{k=_lt_Gqj6AJyDI34U" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="SCt?CI18R=x/10pgwA%R">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id="F)W3^Z0=-0r~/vS%c|yf">
<field name="ATTR">val</field>
<field name="OID">javascript.0.POW.SpuelmaAN</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="lRB=B_Bx~U[.h_LTw1we">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="QksT|8c!~HEc)=P8a$V6">
<field name="OP">GT</field>
<value name="A">
<block type="get_value" id="1JC.T1aB}:ilkI8U2/nQ">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Spühlmaschine.ENERGY_Power</field>
</block>
</value>
<value name="B">
<block type="math_number" id="cb*h(]6=9yd64aS:V21V">
<field name="NUM">38</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO1">
<block type="comment" id="^-sGN~PYX|;+F+=wVYt(">
<field name="COMMENT">Schwelle ueberschritten, Maschine laeuft noch</field>
<next>
<block type="comment" id="WAV82BiJKp3K7b]f3Li$">
<field name="COMMENT">darum Zaehler wieder auf 0 setzen</field>
<next>
<block type="control" id="CFvn{ed0OMWsphQ.]Q2D">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">javascript.0.Variablen.SpuelmaZaehler</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="mzl}/VaPq~f%z[No/+G}">
<field name="NUM">0</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
<next>
<block type="comment" id="MO:tcQW{k8-F?qh$AX0P">
<field name="COMMENT">Wenn Zaehler > 30 (30 x 10 Sekunden), </field>
<next>
<block type="comment" id="NMulWW1R$ZU1O^=zD@x?">
<field name="COMMENT">wurde das Ende wurde erkannt</field>
<next>
<block type="controls_if" id="J~G~OsPP[[.(Oq$kqV]Z">
<value name="IF0">
<block type="logic_operation" id=".(sT,{y+{OOyU|9eZq!r" inline="false">
<field name="OP">AND</field>
<value name="A">
<block type="logic_compare" id="=y4fjU]UmjDw+*lpHIfQ">
<field name="OP">GT</field>
<value name="A">
<block type="get_value" id="L0*-_z7P^8PW%6NY|:2?">
<field name="ATTR">val</field>
<field name="OID">javascript.0.Variablen.SpuelmaZaehler</field>
</block>
</value>
<value name="B">
<block type="math_number" id="wCd;p)YQ*APo!atkQ~dI">
<field name="NUM">75</field>
</block>
</value>
</block>
</value>
<value name="B">
<block type="logic_compare" id="b2t8g(g{MT[Ov9Xo$HV=">
<field name="OP">EQ</field>
<value name="A">
<block type="get_value" id=".DqC/G)=cm7M,jI-f}-o">
<field name="ATTR">val</field>
<field name="OID">javascript.0.POW.SpuelmaAN</field>
</block>
</value>
<value name="B">
<block type="logic_boolean" id="6C#woUlUr8O]HtJ):Drf">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="comment" id=",mX3hAKq.@#YQsQWJtzd">
<field name="COMMENT">Verbrauch in kWh auf 2 Nachkommastellen runden</field>
<next>
<block type="variables_set" id="Z,rJAd!;I/c0+;|+leKB">
<field name="VAR" id="H?Yq0BJ!zZ_^*Q$OF$bo">SpuelmaEnergyToday</field>
<value name="VALUE">
<block type="math_arithmetic" id="0`0.3iq:ea1!uzl)l[L0">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="YCJ?Nzg[9*Uwp%ONL^gj">
<field name="NUM">1</field>
</shadow>
<block type="math_round" id="I2]cIrexlDHR8Ge+$YVM">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="7{o**Z/AJ^,b-Pb}.l~?">
<field name="NUM">3.1</field>
</shadow>
<block type="math_arithmetic" id="Rxo-WixlL`-:kv-0Lg0p">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="4Qs-LB;83N)%F/~#nt.B">
<field name="NUM">1</field>
</shadow>
<block type="get_value" id="Ac6ea|3H-em0jz-`W|-7">
<field name="ATTR">val</field>
<field name="OID">sonoff.0.Spühlmaschine.ENERGY_Today</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="Ej73GN+2Iapwc,2mKIdg">
<field name="NUM">100</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="-u8|;7^uJRtipB@x_7Vb">
<field name="NUM">100</field>
</shadow>
</value>
</block>
</value>
<next>
<block type="comment" id="ya]`WZ:JGO.u$ltyV-1?">
<field name="COMMENT">Kosten berechnen (0,47Euro/kWh)</field>
<next>
<block type="variables_set" id="y0aN.phPl]olYk@NfPZ;">
<field name="VAR" id="g@8Zqg%)I@g0%8,P8fT1">SpuelmaZwischensumme</field>
<value name="VALUE">
<block type="math_arithmetic" id="oQM:sfgPn@}|O[^uN)[~">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="|d151rU%IdHyFN(`q^0~">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="`BdAgr:7kLRMk~w?RIOj">
<field name="VAR" id="H?Yq0BJ!zZ_^*Q$OF$bo">SpuelmaEnergyToday</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="{Gk2ie7/:RxhcpZPG_q2">
<field name="NUM">0.47</field>
</shadow>
</value>
</block>
</value>
<next>
<block type="comment" id="=ih~ONA)NiQ%^dWCj8Wb">
<field name="COMMENT">Betrag auf 2 Nachkommastellen runden</field>
<next>
<block type="variables_set" id="YIOg]|,PD9:|nD6|96Yc">
<field name="VAR" id="n`]^(OBF3H5whqiy-K6e">SpuelmaKostenToday</field>
<value name="VALUE">
<block type="math_arithmetic" id="X#w:{X[oB%R;$nS0ICs4">
<field name="OP">DIVIDE</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="YCJ?Nzg[9*Uwp%ONL^gj">
<field name="NUM">1</field>
</shadow>
<block type="math_round" id="fOW~*FJmQtGeXn2mj1t{">
<field name="OP">ROUND</field>
<value name="NUM">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="7{o**Z/AJ^,b-Pb}.l~?">
<field name="NUM">3.1</field>
</shadow>
<block type="math_arithmetic" id="n|RacA$|!-!xb[Gc/DxQ">
<field name="OP">MULTIPLY</field>
<value name="A">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="4Qs-LB;83N)%F/~#nt.B">
<field name="NUM">1</field>
</shadow>
<block type="variables_get" id="kix-b|P+34lEXy:e.Sqc">
<field name="VAR" id="g@8Zqg%)I@g0%8,P8fT1">SpuelmaZwischensumme</field>
</block>
</value>
<value name="B">
<shadow type="math_number" id="ax3}qczLK6n!7N*+XlAw">
<field name="NUM">100</field>
</shadow>
</value>
</block>
</value>
</block>
</value>
<value name="B">
<shadow type="math_number" id="UPD-4-3c,Ts8#1fX?i#5">
<field name="NUM">100</field>
</shadow>
</value>
</block>
</value>
<next>
<block type="comment" id="ltvKhNq~uIyjg04mG5WY">
<field name="COMMENT">Fertigmeldung mit Verbrauch und Kosten via Telegram senden</field>
<next>
<block type="procedures_callnoreturn" id="))8WoF*n#J2(boyH{_T9">
<mutation name="Melden">
<arg name="Meldetext"></arg>
</mutation>
<value name="ARG0">
<block type="text_join" id="dPQ@U19JA2ApS}Sal#[F" inline="false">
<mutation items="8"></mutation>
<value name="ADD0">
<block type="text" id="+Ss`gHGZE?+:fqA@C[u7">
<field name="TEXT">Spülmaschine ist FERTIG! </field>
</block>
</value>
<value name="ADD1">
<block type="time_get" id="[wOX*9hGy/Pjcv[FMa)/">
<mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
<field name="OPTION">custom</field>
<field name="FORMAT">\n</field>
</block>
</value>
<value name="ADD2">
<block type="text" id="=-4:@}^NcHxGD!(/Ey-l">
<field name="TEXT">Stromverbrauch / Kosten heute: </field>
</block>
</value>
<value name="ADD3">
<block type="time_get" id="_7]^D@aNHqp8Mu{~oqfS">
<mutation xmlns="http://www.w3.org/1999/xhtml" format="true" language="false"></mutation>
<field name="OPTION">custom</field>
<field name="FORMAT">\n</field>
</block>
</value>
<value name="ADD4">
<block type="variables_get" id="[MJbgq@G:JJ`:V9s(]K5">
<field name="VAR" id="H?Yq0BJ!zZ_^*Q$OF$bo">SpuelmaEnergyToday</field>
</block>
</value>
<value name="ADD5">
<block type="text" id="dUpd)Y=jBF27=AC8*.4b">
<field name="TEXT"> kWh / </field>
</block>
</value>
<value name="ADD6">
<block type="variables_get" id="*!U((@+{0@l(e#frx`oP">
<field name="VAR" id="n`]^(OBF3H5whqiy-K6e">SpuelmaKostenToday</field>
</block>
</value>
<value name="ADD7">
<block type="text" id="n|D5?)^|v{t@/M*bxu,z">
<field name="TEXT">Euro</field>
</block>
</value>
</block>
</value>
<next>
<block type="comment" id=",WsvipX(Riy[QR[X5V?3">
<field name="COMMENT">Maschine ausschalten und Zaehler zuruecksetzen</field>
<next>
<block type="control" id="iG@4UuVEIwY[hkHrz^f{">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">javascript.0.POW.SpuelmaAN</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="-plv%7s2k9%k;R,T!c4:">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="control" id="|L=|I6@%[|)MHL,Ug121">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">javascript.0.Variablen.SpuelmaZaehler</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="math_number" id="]?dq*EMMd[$S}4sKgY%.">
<field name="NUM">0</field>
</block>
</value>
<next>
<block type="timeouts_clearinterval" id="VBU0J{H-A5Y8C,Hd,h-W">
<field name="NAME">Intervall</field>
<next>
<block type="on_ext" id="t2s+pGwSVXrE4L6wLf8y">
<mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
<field name="CONDITION">false</field>
<field name="ACK_CONDITION"></field>
<value name="OID0">
<shadow type="field_oid" id="$USo0u@YH7s.bh~s9m5L">
<field name="oid">javascript.0.POW.SpuelmaAN</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="control" id="5:CLKxSk)|_8p+}tpVgC" disabled="true">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">sonoff.0.Spühlmaschine.POWER</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="bDN;BfTjS/CL+GrW5]J:">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
<block type="comment" id="w7z#aAX?/DGjJMy(HBgO" x="1537" y="-1088">
<field name="COMMENT">Anzeige von Leistung und Zählerstand in Logs</field>
</block>
<block type="comment" id="rei-]8Y?Hx!V:)O?8(:[" x="1537" y="-938">
<field name="COMMENT">Start Verzögerung wenn Steckdose geschaltet wird</field>
<next>
<block type="comment" id="?m]E$Mf$4{a62u/Jp%/z">
<field name="COMMENT">Bei mir nicht notwendig, darum deaktiviert</field>
</block>
</next>
</block>
<block type="comment" id="]7:CHLr;StliP_p0.)}1" x="1537" y="-313">
<field name="COMMENT">Anzeige von Leistung und Zaehlerstand in Logs</field>
</block>
<block type="comment" id="O^kvcRTTvbGha(numsLD" x="1538" y="288">
<field name="COMMENT">Sollten die Pausen deiner Maschine anders sein,</field>
<next>
<block type="comment" id="x?TLezXs0q7mvu.0e|@X">
<field name="COMMENT">kann ueber den Zaehler die Zeit angepasst werden</field>
</block>
</next>
</block>
<block type="procedures_defnoreturn" id="l1.gm`YNTt2#Ww;_Stf+" x="738" y="1488">
<mutation>
<arg name="Meldetext" varid="_15VMX!RZlq%=ybVAz@@"></arg>
</mutation>
<field name="NAME">Melden</field>
<comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
<statement name="STACK">
<block type="comment" id="CgkHkrp5c26e`w3uU(i`">
<field name="COMMENT">Hier wird die Meldung ausgegeben</field>
<next>
<block type="debug" id="SYQu;@N0JgE!W~[JZcZ_">
<field name="Severity">log</field>
<value name="TEXT">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="4+J8c.^+FrkDV^]dAda-">
<field name="TEXT">test</field>
</shadow>
<block type="variables_get" id="KuX^Hf4/i6gnp|rmq9WR">
<field name="VAR" id="_15VMX!RZlq%=ybVAz@@">Meldetext</field>
</block>
</value>
<next>
<block type="telegram" id="O_F(%KTLgxT1wAEm@feP">
<field name="INSTANCE"></field>
<field name="LOG"></field>
<field name="SILENT">FALSE</field>
<field name="PARSEMODE">default</field>
<field name="DISABLE_WEB_PAGE_PREVIEW">FALSE</field>
<value name="MESSAGE">
<shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="E_N-%Xm!jp|A-Wil^s6U">
<field name="TEXT">text</field>
</shadow>
<block type="variables_get" id="6oEN9IEFsi7M]Rl6D/Xi">
<field name="VAR" id="_15VMX!RZlq%=ybVAz@@">Meldetext</field>
</block>
</value>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</xml>
@thomas-braun Ahh super, vielen Dank nochmals
Passt das jetzt so?
Skript v.2023-01-02
*** BASE SYSTEM ***
Model : Raspberry Pi 3 Model B Plus Rev 1.3
Architecture: aarch64
Docker: false
Virtualization: none
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Systemuptime and Load:
12:17:27 up 11:52, 1 user, load average: 1.72, 1.20, 0.91
CPU threads: 4
*** Time and Time Zones ***
Sun Apr 2 10:17:27 UTC 2023
Sun Apr 2 12:17:27 CEST 2023
CEST +0200
Europe/Berlin
*** User and Groups ***
roadrunner
/home/roadrunner
roadrunner adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker
*** X-Server-Setup ***
X-Server: false
Desktop:
Terminal: tty
Boot Target: multi-user.target
*** MEMORY ***
total used free shared buff/cache available
Mem: 909M 602M 92M 0.0K 214M 229M
Swap: 99M 57M 42M
Total: 1.0G 660M 134M
909 M total memory
602 M used memory
378 M active memory
320 M inactive memory
92 M free memory
8 M buffer memory
206 M swap cache
99 M total swap
57 M used swap
42 M free swap
*** FILESYSTEM ***
Filesystem Type Size Used Avail Use% Mounted on
/dev/root ext4 29G 6.9G 21G 25% /
devtmpfs devtmpfs 325M 0 325M 0% /dev
tmpfs tmpfs 455M 0 455M 0% /dev/shm
tmpfs tmpfs 182M 1016K 181M 1% /run
tmpfs tmpfs 5.0M 4.0K 5.0M 1% /run/lock
/dev/mmcblk0p1 vfat 255M 31M 225M 13% /boot
tmpfs tmpfs 91M 16K 91M 1% /run/user/1000
Messages in dmesg:
[Sun Apr 2 00:24:32 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_headphones=0 snd_bcm2835.enable_headphones=1 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_hdmi=0 video=Composite-1:720x480@60i vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000 console=ttyS0,115200 console=tty1 root=PARTUUID=bbd52884-02 rootfstype=ext4 fsck.repair=yes rootwait
[Sun Apr 2 00:24:35 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Quota mode: none.
[Sun Apr 2 00:24:35 2023] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
[Sun Apr 2 00:24:38 2023] EXT4-fs (mmcblk0p2): re-mounted. Quota mode: none.
Show mounted filesystems (real ones only):
TARGET SOURCE FSTYPE OPTIONS
/ /dev/mmcblk0p2 ext4 rw,noatime
`-/boot /dev/mmcblk0p1 vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,errors=remount-ro
Files in neuralgic directories:
/var:
2.4G /var/
1.4G /var/log
1.3G /var/log/journal/34cd765a0cf6423881a2b2f74173496c
1.3G /var/log/journal
709M /var/cache
/opt/iobroker/backups:
23M /opt/iobroker/backups/
/opt/iobroker/iobroker-data:
168M /opt/iobroker/iobroker-data/
133M /opt/iobroker/iobroker-data/files
51M /opt/iobroker/iobroker-data/files/javascript.admin
48M /opt/iobroker/iobroker-data/files/telegram.admin
32M /opt/iobroker/iobroker-data/files/javascript.admin/static/js
The five largest files in iobroker-data are:
15M /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js.map
7.2M /opt/iobroker/iobroker-data/files/telegram.admin/rules/static/js/vendors-node_modules_iobroker_adapter-react-v5_assets_devices_parseNames_d_ts-node_modules_io-1d9f06.44fe4a3f.chunk.js
7.1M /opt/iobroker/iobroker-data/objects.jsonl
6.9M /opt/iobroker/iobroker-data/files/telegram.admin/custom/static/js/vendors-node_modules_mui_icons-material_esm_index_js.8fdf8cb7.chunk.js.map
6.9M /opt/iobroker/iobroker-data/files/javascript.admin/static/js/610.de0231c9.chunk.js.map
*** NodeJS-Installation ***
/usr/bin/nodejs v18.15.0
/usr/bin/node v18.15.0
/usr/bin/npm 9.5.0
/usr/bin/npx 9.5.0
nodejs:
Installed: 18.15.0-deb-1nodesource1
Candidate: 18.15.0-deb-1nodesource1
Version table:
*** 18.15.0-deb-1nodesource1 500
500 https://deb.nodesource.com/node_18.x bullseye/main arm64 Packages
100 /var/lib/dpkg/status
16.19.1-deb-1nodesource1 500
500 https://deb.nodesource.com/node_16.x bullseye/main arm64 Packages
12.22.12~dfsg-1~deb11u3 500
500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
12.22.5~dfsg-2~11u1 500
500 http://deb.debian.org/debian bullseye/main arm64 Packages
Temp directories causing npm8 problem: 0
*** ioBroker-Installation ***
ioBroker Status
iobroker is running on this host.
Objects type: jsonl
States type: jsonl
Core adapters versions
js-controller: 4.0.24
admin: 6.3.5
javascript: 6.1.4
Adapters from github: 0
Adapter State
+ system.adapter.admin.0 : admin : piroadrunner - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
+ system.adapter.backitup.0 : backitup : piroadrunner - enabled
system.adapter.discovery.0 : discovery : piroadrunner - disabled
+ system.adapter.influxdb.0 : influxdb : piroadrunner - enabled, port: 8086
+ system.adapter.javascript.0 : javascript : piroadrunner - enabled
+ system.adapter.shelly.0 : shelly : piroadrunner - enabled, port: 1882, bind: 0.0.0.0
+ system.adapter.sonoff.0 : sonoff : piroadrunner - enabled, port: 1883, bind: 0.0.0.0
+ system.adapter.telegram.0 : telegram : piroadrunner - enabled, port: 8443, bind: 0.0.0.0
system.adapter.vis.0 : vis : piroadrunner - disabled
system.adapter.web.0 : web : piroadrunner - disabled, port: 8082, bind: 0.0.0.0, run as: admin
+ instance is alive
Enabled adapters with bindings
+ system.adapter.admin.0 : admin : piroadrunner - enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
+ system.adapter.influxdb.0 : influxdb : piroadrunner - enabled, port: 8086
+ system.adapter.shelly.0 : shelly : piroadrunner - enabled, port: 1882, bind: 0.0.0.0
+ system.adapter.sonoff.0 : sonoff : piroadrunner - enabled, port: 1883, bind: 0.0.0.0
+ system.adapter.telegram.0 : telegram : piroadrunner - enabled, port: 8443, bind: 0.0.0.0
ioBroker-Repositories
stable : http://download.iobroker.net/sources-dist.json
beta : http://download.iobroker.net/sources-dist-latest.json
Active repo(s): stable
Installed ioBroker-Instances
Used repository: stable
Adapter "admin" : 6.3.5 , installed 6.3.5
Adapter "backitup" : 2.5.12 , installed 2.5.12
Adapter "discovery" : 3.1.0 , installed 3.1.0
Adapter "influxdb" : 3.2.0 , installed 3.2.0
Adapter "javascript" : 6.1.4 , installed 6.1.4
Controller "js-controller": 4.0.24 , installed 4.0.24
Adapter "shelly" : 6.3.1 , installed 6.3.1
Adapter "simple-api" : 2.7.2 , installed 2.7.2
Adapter "socketio" : 4.2.0 , installed 4.2.0
Adapter "sonoff" : 2.5.1 , installed 2.5.1
Adapter "telegram" : 1.15.2 , installed 1.15.2
Adapter "vis" : 1.4.15 , installed 1.4.15
Adapter "web" : 4.3.0 , installed 4.3.0
Adapter "ws" : 1.3.0 , installed 1.3.0
Objects and States
Please stand by - This may take a while
Objects: 808
States: 716
*** OS-Repositories and Updates ***
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://deb.debian.org/debian bullseye-updates InRelease
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:5 https://deb.nodesource.com/node_16.x bullseye InRelease
Hit:6 https://repos.influxdata.com/debian stable InRelease
Hit:7 https://packages.grafana.com/oss/deb stable InRelease
Hit:8 https://deb.nodesource.com/node_18.x bullseye InRelease
Reading package lists...
Pending Updates: 0
*** Listening Ports ***
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State User Inode PID/Program name
tcp 0 0 127.0.0.1:9000 0.0.0.0:* LISTEN 1001 122557 10344/iobroker.js-c
tcp 0 0 127.0.0.1:9001 0.0.0.0:* LISTEN 1001 123328 10344/iobroker.js-c
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 0 16429 523/sshd: /usr/sbin
tcp 0 0 127.0.0.1:8088 0.0.0.0:* LISTEN 116 16458 514/influxd
tcp 0 0 0.0.0.0:1883 0.0.0.0:* LISTEN 1001 123477 10417/io.sonoff.0
tcp 0 0 0.0.0.0:1882 0.0.0.0:* LISTEN 1001 123508 10432/io.shelly.0
tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 0 15423 494/cupsd
tcp6 0 0 :::22 :::* LISTEN 0 16431 523/sshd: /usr/sbin
tcp6 0 0 ::1:631 :::* LISTEN 0 15422 494/cupsd
tcp6 0 0 :::3000 :::* LISTEN 117 13746 507/grafana
tcp6 0 0 :::8081 :::* LISTEN 1001 124013 10365/io.admin.0
tcp6 0 0 :::8086 :::* LISTEN 116 13778 514/influxd
udp 0 0 0.0.0.0:631 0.0.0.0:* 0 16453 547/cups-browsed
udp 0 0 0.0.0.0:5353 0.0.0.0:* 108 12246 353/avahi-daemon: r
udp 0 0 0.0.0.0:35124 0.0.0.0:* 108 12248 353/avahi-daemon: r
udp 0 0 0.0.0.0:68 0.0.0.0:* 0 15428 489/dhcpcd
udp6 0 0 :::5353 :::* 108 12247 353/avahi-daemon: r
udp6 0 0 :::46626 :::* 108 12249 353/avahi-daemon: r
*** Log File - Last 25 Lines ***
2023-04-02 12:15:17.964 - info: javascript.0 (10395) received all states
2023-04-02 12:15:18.254 - info: javascript.0 (10395) Start javascript script.js.common.Spuelmaschine_fertig
2023-04-02 12:15:18.738 - info: javascript.0 (10395) script.js.common.Spuelmaschine_fertig: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
2023-04-02 12:15:18.789 - info: javascript.0 (10395) Start javascript script.js.Tasmota.Tasmota_reset
2023-04-02 12:15:18.820 - info: javascript.0 (10395) script.js.Tasmota.Tasmota_reset: registered 0 subscriptions, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
2023-04-02 12:15:18.838 - info: javascript.0 (10395) Start javascript script.js.common.Trockner_fertig
2023-04-02 12:15:18.862 - info: javascript.0 (10395) script.js.common.Trockner_fertig: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
2023-04-02 12:15:18.879 - info: javascript.0 (10395) Start javascript script.js.common.Stehlampe_Ein
2023-04-02 12:15:18.905 - info: javascript.0 (10395) script.js.common.Stehlampe_Ein: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
2023-04-02 12:15:18.908 - info: javascript.0 (10395) Start javascript script.js.common.Wama_Test_1
2023-04-02 12:15:18.940 - info: javascript.0 (10395) script.js.common.Wama_Test_1: registered 1 subscription, 0 schedules, 0 messages, 0 logs and 0 file subscriptions
2023-04-02 12:15:19.697 - info: telegram.0 (10410) starting. Version 1.15.2 in /opt/iobroker/node_modules/iobroker.telegram, node: v18.15.0, js-controller: 4.0.24
2023-04-02 12:15:21.607 - info: shelly.0 (10432) starting. Version 6.3.1 in /opt/iobroker/node_modules/iobroker.shelly, node: v18.15.0, js-controller: 4.0.24
2023-04-02 12:15:21.894 - info: shelly.0 (10432) Starting in MQTT mode. Listening on 0.0.0.0:1882 (QoS 0)
2023-04-02 12:15:24.598 - info: backitup.0 (10451) starting. Version 2.5.12 in /opt/iobroker/node_modules/iobroker.backitup, node: v18.15.0, js-controller: 4.0.24
2023-04-02 12:15:24.883 - info: backitup.0 (10451) [iobroker] backup was activated at 00:15 every 5 day(s)
2023-04-02 12:15:33.387 - info: shelly.0 (10432) [MQTT] Device with client id "shellyplus1-7c87ce58f3e4" connected!
2023-04-02 12:15:56.934 - info: sonoff.0 (10417) Client [Trockner] connected with secret 1680430556906_941
2023-04-02 12:15:59.187 - info: sonoff.0 (10417) Client [Stehlampe] connected with secret 1680430559183_5922
2023-04-02 12:15:59.995 - info: sonoff.0 (10417) Client [Spühlmaschine] connected with secret 1680430559993_985
2023-04-02 12:16:01.256 - info: sonoff.0 (10417) Client [Max-Zimmer] connected with secret 1680430561254_8812
2023-04-02 12:16:01.545 - info: sonoff.0 (10417) Client [DVES_801B4D] connected with secret 1680430561541_8124
2023-04-02 12:16:03.436 - info: sonoff.0 (10417) Client [Waschmaschine] connected with secret 1680430563432_9878
2023-04-02 12:16:19.056 - info: admin.0 (10365) ==> Connected system.user.admin from ::ffff:192.168.10.101
2023-04-02 12:17:00.981 - info: admin.0 (10365) <== Disconnect system.user.admin from ::ffff:192.168.10.101 admin
@thomas-braun
Das Ergebnis ist wichtig, Hauptsache es funktioniert
Dann muss ich in meine nodesource.list diese zwei Zeilen rein kopieren
deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x bullseye main
deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_18.x bullseye main
Das steht in meiner aktuell:
deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main
deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x bullseye main
@thomas-braun
Nehme ich da am Besten deine Anleitung?
Teil 1.1 Node-Upgrade/ Wechsel der nodejs-Version:
@thomas-braun
Hallo, so sieht es jetzt nach dem update aus
roadrunner@piroadrunner:~ $ sudo apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Get:2 http://deb.debian.org/debian bullseye-updates InRelease [44.1 kB]
Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Hit:5 https://repos.influxdata.com/debian stable InRelease
Get:6 https://packages.grafana.com/oss/deb stable InRelease [5,983 B]
Hit:7 https://deb.nodesource.com/node_16.x bullseye InRelease
Fetched 50.0 kB in 4s (13.1 kB/s)
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.