NEWS
Blockly zeigt Warn Meldungen.
-
@paul53 sagte in Blockly zeigt Warn Meldungen.:
@homoran sagte: da sind switch1 und switch2 vertauscht
Genau deshalb würde es passen: "POWER2" sind negiert, alle anderen nicht.
aber doch unterschiedlich
im oberen Teil ist der dritte negiert, im unteren Teil der zweite
-
@homoran
Das liegt aber an der Reihenfolge, die habe ich nicht eingehalten. Da habe ich Power 1 und Power2 vertauscht -
@einstein2002 das ist da leider icht zu sehen.
Aber dann hat @paul53 natürlich recht. -
So da habe ich mal fertig:
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="cWj)M#2q10ApriJ}z/J." x="-87" y="112"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation> <field name="CONDITION">true</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="#7nxk7{L]5dos]}o*Ulq"> <field name="oid">0_userdata.0.Terrasse_mit_TV</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id=",`L(EWw`b}Z~:?]0Oi|u"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Unterstand.LED_Terrasse_Boden_und_Sonos_Amp.LED_Terrasse_Boden_und_Sonos_AMP</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="~_]2dNN779yd/4NrnTm@"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="control" id="C++/OsdWV8_*Q3SnO1[@"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Terrasse_TV_Steckdose_im_DG.Terrasse_TV_Steckdose_DG</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="BxMF$`~}@j+71AGAP=mV"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="control" id="v_OmfSc.ziVQoLYX#hBj"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Rollo_Unterstand.Rollo_Hoch_Power1</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="*Z}%_.YM}FDa.o}r][7g"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="control" id="=*R1a_=NxrAhs-#wwstI"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Rollo_TV.Rollo_Hoch_Power1</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="I9r14*9?lH3rC#s]Pbj-"> <field name="ATTR">state.val</field> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> <next> <block type="on_ext" id="F94}@P{!jE6@T-{iCB{5"> <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="$qu1SRidmJz{9+c|tjI7"> <field name="oid">0_userdata.0.Terrasse_mit_TV</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="cV.Iz~{@^y@jj+@/klAC"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Unterstand.LED_Terrasse_Boden_und_Sonos_Amp.LED_Terrasse_Boden_und_Sonos_AMP</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="l]D]Z8E~6Lt^z44#R78k"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="control" id="E7,r/yW{WUBbTvj?G07W"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Terrasse_TV_Steckdose_im_DG.Terrasse_TV_Steckdose_DG</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="6Qp{]7J7V~[Eo62Dd3sO"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="control" id="xbP1k-}1n1?W7GFXNo^8"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Rollo_Unterstand.Rollo_Runter_Power2</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_negate" id="x0U:1pZV|Qg9t5[SraN]"> <value name="BOOL"> <block type="on_source" id="%)G^7cA1G8Nq;5m0xezI"> <field name="ATTR">state.val</field> </block> </value> </block> </value> <next> <block type="control" id="DKD21eq}u~y8d*=lk%UY"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Rollo_TV.Rollo_Runter_Power2</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_negate" id="Zve0$RJ?xcYzxn_0Go2:"> <value name="BOOL"> <block type="on_source" id=")+|zwlUrATu3B}29e2{]"> <field name="ATTR">state.val</field> </block> </value> </block> </value> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </xml>
Damit läuft es super. 1000 Dank an Euch
-
@einstein2002 sagte in Blockly zeigt Warn Meldungen.:
@homoran
So da habe ich mal fertig:ein schönes xml
-
@homoran
ja, Fotos soll ich ja nicht machen wegen der Auflösung..Das ist der Export von einem Blockly.
-
@einstein2002 sagte in Blockly zeigt Warn Meldungen.:
Fotos soll ich ja nicht machen wegen der Auflösung..
nee, eine geeignete Auflösung wählen.
So wie jetzt
geht es geradehttps://forum.iobroker.net/topic/51555/hinweise-für-gute-forenbeiträge/1
-
-
@paul53 Dann kommen die Negativen Werte unter "mache sonst" Power2??
Ich baue das mal..... Moment
-
@paul53
So das ist es, eigentlich Logisch wenn man es im Nachhinein sieht.Danke für den Wink mit dem Zaunpfahl...
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="cWj)M#2q10ApriJ}z/J." x="-87" y="112"> <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="#7nxk7{L]5dos]}o*Ulq"> <field name="oid">0_userdata.0.Terrasse_mit_TV</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id=",`L(EWw`b}Z~:?]0Oi|u"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Unterstand.LED_Terrasse_Boden_und_Sonos_Amp.LED_Terrasse_Boden_und_Sonos_AMP</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="~_]2dNN779yd/4NrnTm@"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="control" id="C++/OsdWV8_*Q3SnO1[@"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Terrasse_TV_Steckdose_im_DG.Terrasse_TV_Steckdose_DG</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="BxMF$`~}@j+71AGAP=mV"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="controls_if" id="8IJ|zUT{`~J}ui(W~}SV"> <mutation else="1"></mutation> <value name="IF0"> <block type="on_source" id="@Z/M}]3z9L6iJ2V^ne^K"> <field name="ATTR">state.val</field> </block> </value> <statement name="DO0"> <block type="comment" id="+Z/g=.36Z3)amg8:vhJu"> <field name="COMMENT">Rollo Hoch</field> <next> <block type="control" id="v_OmfSc.ziVQoLYX#hBj"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Rollo_Unterstand.Rollo_Hoch_Power1</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="]W6nLNN{TC0boiC4)YFx"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="=*R1a_=NxrAhs-#wwstI"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Rollo_TV.Rollo_Hoch_Power1</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="+^Vh:7;R`OHtw@i]E;L#"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </statement> <statement name="ELSE"> <block type="comment" id="ey]cRfF*cb={G4|P%]3k"> <field name="COMMENT">Rollo Runter</field> <next> <block type="control" id="43^7o)dK?,{4x3i{qttZ"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Rollo_Unterstand.Rollo_Runter_Power2</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="=/30@P5PVmb`o^3Zz5tG"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="BAND$7+JPDKYe0d3`Jm2"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Haus.Terrasse.Rollo_TV.Rollo_Runter_Power2</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="Q!2`J0~g:@IV6TSvX?PB"> <field name="BOOL">TRUE</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </xml>
Das mit der Auflösung muss ich mal üben, dazu muss ich aber erst einmal lesen. Also ihr lieben, ganz lieben Dank an Euch alle.
Echt klasse hier!!