NEWS
Handyladung per Skript mit Fehler / ohne Funktion Hilfe
-
Hallo zusammen,
anbei ein Skript mit Blockly
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on" id="sh_6?8^;9ExO-}/4Dx:." x="-162" y="-212"> <field name="OID">paw.0.SM-G975F.info.battery.level</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="CI$h@O!ge0Zuvw#O,7%y"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="CtN*18c!yPmh!L-ar{o$"> <field name="OP">LTE</field> <value name="A"> <block type="get_value" id="y6SiNnTcOh/x=P2Ie/.D"> <field name="ATTR">val</field> <field name="OID">paw.0.SM-G975F.info.battery.level</field> </block> </value> <value name="B"> <block type="text" id="LuPQ,;k1c$4Kp/J@sW4Z"> <field name="TEXT">16</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="xMKb+i^s]uHe4{f^dgmL"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">sonoff.0.SonoffDRNr6STSZ.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="C)jl1W_Ggi9m.yS/.e!U"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="l;ns{D^Q)3;aLtd~Cema"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="$$L!iJarhK;9B:sU=DeP"> <field name="ATTR">val</field> <field name="OID">paw.0.SM-G975F.info.battery.level</field> </block> </value> <value name="B"> <block type="text" id="Or,mU;tfWJBqjpdcDzuZ"> <field name="TEXT">88</field> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="f60qJA%{@*P)F4ZT+|6+"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">sonoff.0.SonoffDRNr6STSZ.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="},/;ADTzl5ym^:fr,tTa"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </statement> </block> </xml>
welches leider nicht funktioniert. Die Datenpunkte sind richtig nach Prüfung.Kann mir jemmand dazu helfen?
Danke.
VG
BLRD
-
Hallo zusammen,
anbei ein Skript mit Blockly
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on" id="sh_6?8^;9ExO-}/4Dx:." x="-162" y="-212"> <field name="OID">paw.0.SM-G975F.info.battery.level</field> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <statement name="STATEMENT"> <block type="controls_if" id="CI$h@O!ge0Zuvw#O,7%y"> <mutation elseif="1"></mutation> <value name="IF0"> <block type="logic_compare" id="CtN*18c!yPmh!L-ar{o$"> <field name="OP">LTE</field> <value name="A"> <block type="get_value" id="y6SiNnTcOh/x=P2Ie/.D"> <field name="ATTR">val</field> <field name="OID">paw.0.SM-G975F.info.battery.level</field> </block> </value> <value name="B"> <block type="text" id="LuPQ,;k1c$4Kp/J@sW4Z"> <field name="TEXT">16</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="xMKb+i^s]uHe4{f^dgmL"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">sonoff.0.SonoffDRNr6STSZ.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="C)jl1W_Ggi9m.yS/.e!U"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <value name="IF1"> <block type="logic_compare" id="l;ns{D^Q)3;aLtd~Cema"> <field name="OP">GTE</field> <value name="A"> <block type="get_value" id="$$L!iJarhK;9B:sU=DeP"> <field name="ATTR">val</field> <field name="OID">paw.0.SM-G975F.info.battery.level</field> </block> </value> <value name="B"> <block type="text" id="Or,mU;tfWJBqjpdcDzuZ"> <field name="TEXT">88</field> </block> </value> </block> </value> <statement name="DO1"> <block type="control" id="f60qJA%{@*P)F4ZT+|6+"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">sonoff.0.SonoffDRNr6STSZ.POWER</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="},/;ADTzl5ym^:fr,tTa"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </statement> </block> </xml>
welches leider nicht funktioniert. Die Datenpunkte sind richtig nach Prüfung.Kann mir jemmand dazu helfen?
Danke.
VG
BLRD
-
@BLRD Mathematikbaustein, anstatt deiner grünen
-
@BLRD sollte funktionieren mit den Mathe-Zahlen, hab mein script auch so aufgebaut fürs Tablet funzt.
-
@BLRD sollte funktionieren mit den Mathe-Zahlen, hab mein script auch so aufgebaut fürs Tablet funzt.
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden

