NEWS
Script für Schalter und Bewegungsmelder ** gelöst **
-
Script teil vorher würde nur 1 daten punkt abgefragt ob true oder false
<block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="ov}D(Be]`(nzX#Js!}]h" x="113" y="-37"> <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="SAKP82;OM?2N%*fzz[{{"> <field name="oid">zigbee.0.001788010bdb63a3.on_press</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="y7[mgz]-NK5R{5ajJg|4"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="x}P/*I%sVvM{9=$Nd)ln"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="variables_set" id="iA|yzw[fYyfX#3gi%pcq"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> <value name="VALUE"> <block type="on_source" id="Rx]e4#tp[EJaM4_]T6Y^"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="controls_if" id="?[IJ/6:3lbB5u-m,QzBJ"> <value name="IF0"> <block type="variables_get" id="ku~F=kmsW^D]e/3T{6]5"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="j9UA4-ObYtdM3kj4!fvq"> <field name="NAME">timeout</field> </block> </statement> </block> </next> </block> </next> </block> </statement> </block>
im neuen sind es 2 unterschiedliche<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="3)0xb@gM3^9`aYO+ddjs" 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="MUE-tV{njdV4VS:^YuW#"> <field name="oid">zigbee.0.001788010bdb63a3.on_press</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="hH#8KL}T2emPgo!YHqwM"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=",Al96J;tkLE+[!tOC_TT"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <next> <block type="on_ext" id="bu0Nedy?)lN++yIzSXYy"> <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="y$w*dkn%~kg)b.vi2LGJ"> <field name="oid">zigbee.0.001788010bdb63a3.off_press</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="b9)`|#xwOkHj#J8H|x4}"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="#1]Qdl:%w-*|bvSGgjNJ"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </xml>
-
Script teil vorher würde nur 1 daten punkt abgefragt ob true oder false
<block xmlns="https://developers.google.com/blockly/xml" type="on_ext" id="ov}D(Be]`(nzX#Js!}]h" x="113" y="-37"> <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="SAKP82;OM?2N%*fzz[{{"> <field name="oid">zigbee.0.001788010bdb63a3.on_press</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="y7[mgz]-NK5R{5ajJg|4"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="x}P/*I%sVvM{9=$Nd)ln"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="variables_set" id="iA|yzw[fYyfX#3gi%pcq"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> <value name="VALUE"> <block type="on_source" id="Rx]e4#tp[EJaM4_]T6Y^"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="controls_if" id="?[IJ/6:3lbB5u-m,QzBJ"> <value name="IF0"> <block type="variables_get" id="ku~F=kmsW^D]e/3T{6]5"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="j9UA4-ObYtdM3kj4!fvq"> <field name="NAME">timeout</field> </block> </statement> </block> </next> </block> </next> </block> </statement> </block>
im neuen sind es 2 unterschiedliche<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="3)0xb@gM3^9`aYO+ddjs" 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="MUE-tV{njdV4VS:^YuW#"> <field name="oid">zigbee.0.001788010bdb63a3.on_press</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="hH#8KL}T2emPgo!YHqwM"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id=",Al96J;tkLE+[!tOC_TT"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <next> <block type="on_ext" id="bu0Nedy?)lN++yIzSXYy"> <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="y$w*dkn%~kg)b.vi2LGJ"> <field name="oid">zigbee.0.001788010bdb63a3.off_press</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="b9)`|#xwOkHj#J8H|x4}"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="#1]Qdl:%w-*|bvSGgjNJ"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </next> </block> </xml>
-
@paul53
Das ist das alte script mit bewegungsmelder<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</variable> <variable type="timeout" id="timeout">timeout</variable> </variables> <block type="on_ext" id=")7viWO.,ae+4/i$Su{v1" x="123" y="-645"> <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="C{a`XU,:c^M[AsDI7qnt"> <field name="oid">zigbee.0.bc33acfffec14868.occupancy</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="9DsA`f[*y[El#p^C2%KJ"> <value name="IF0"> <block type="logic_negate" id="]lJ$,j5ZAt!F_OH~3dPJ"> <value name="BOOL"> <block type="variables_get" id=".ga$.J5quUYHnJ$p!JMm"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="_LepHk2DO1;iMdeh~a2%"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="al@D4zbs@a1Hl4,p2,=#" inline="false"> <field name="OP">AND</field> <value name="B"> <block type="on_source" id="Ky@{xEqs3cF|h-fMkq0s"> <field name="ATTR">state.val</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="0I-sY/$R5#4_j|mwo80c"> <field name="NAME">timeout</field> <next> <block type="controls_if" id="7M)STun%Th0%[,s830xz"> <value name="IF0"> <block type="logic_negate" id="X[cT]3:Cqum?`;{Qo!5N"> <value name="BOOL"> <block type="get_value" id="Tj5cklBH,7}eUyV46O,0"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0003275cf3.state</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="pfAa@mhg2tdjGForYOK("> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="cpv%OP+fg[x*Qd`Gr6NN"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="qD)6D1AMS,$W,~NY:RD$"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="%V{6.cnTS#f,1r!EM?vL"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Sonstieges.Farbtemperatur.Helldunkel_nach_Zeit</field> </block> </value> <next> <block type="control" id="I/s7EPsv2CY=Hv?Ua-R#"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.colortemp</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="`,;7T7Is)a*Kl~roS~Fg"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Sonstieges.Farbtemperatur.Kalt_Warm</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> <statement name="ELSE"> <block type="timeouts_settimeout" id="1;lyA@b?X+`r[NP8asP%"> <field name="NAME">timeout</field> <field name="DELAY">2</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="controls_if" id="wye@q.,:qFUo-yr{qC/;"> <value name="IF0"> <block type="get_value" id="ZG#|FoPrKpBt2=an^%6T"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0003275cf3.state</field> </block> </value> <statement name="DO0"> <block type="control" id="nh8Y1!h#oxfCpka$9MOP"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="KzzUYq@FR=cqOTZ$JFrl"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </statement> </block> </statement> </block> </statement> </block> </statement> <next> <block type="on_ext" id="ov}D(Be]`(nzX#Js!}]h"> <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="SAKP82;OM?2N%*fzz[{{"> <field name="oid">zigbee.0.001788010bdb63a3.on_press</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="y7[mgz]-NK5R{5ajJg|4"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="x}P/*I%sVvM{9=$Nd)ln"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="variables_set" id="iA|yzw[fYyfX#3gi%pcq"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> <value name="VALUE"> <block type="on_source" id="Rx]e4#tp[EJaM4_]T6Y^"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="controls_if" id="?[IJ/6:3lbB5u-m,QzBJ"> <value name="IF0"> <block type="variables_get" id="ku~F=kmsW^D]e/3T{6]5"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="j9UA4-ObYtdM3kj4!fvq"> <field name="NAME">timeout</field> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </xml>
-
@paul53
Das ist das alte script mit bewegungsmelder<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</variable> <variable type="timeout" id="timeout">timeout</variable> </variables> <block type="on_ext" id=")7viWO.,ae+4/i$Su{v1" x="123" y="-645"> <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="C{a`XU,:c^M[AsDI7qnt"> <field name="oid">zigbee.0.bc33acfffec14868.occupancy</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="9DsA`f[*y[El#p^C2%KJ"> <value name="IF0"> <block type="logic_negate" id="]lJ$,j5ZAt!F_OH~3dPJ"> <value name="BOOL"> <block type="variables_get" id=".ga$.J5quUYHnJ$p!JMm"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="_LepHk2DO1;iMdeh~a2%"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="al@D4zbs@a1Hl4,p2,=#" inline="false"> <field name="OP">AND</field> <value name="B"> <block type="on_source" id="Ky@{xEqs3cF|h-fMkq0s"> <field name="ATTR">state.val</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="0I-sY/$R5#4_j|mwo80c"> <field name="NAME">timeout</field> <next> <block type="controls_if" id="7M)STun%Th0%[,s830xz"> <value name="IF0"> <block type="logic_negate" id="X[cT]3:Cqum?`;{Qo!5N"> <value name="BOOL"> <block type="get_value" id="Tj5cklBH,7}eUyV46O,0"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0003275cf3.state</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="pfAa@mhg2tdjGForYOK("> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="cpv%OP+fg[x*Qd`Gr6NN"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="qD)6D1AMS,$W,~NY:RD$"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="%V{6.cnTS#f,1r!EM?vL"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Sonstieges.Farbtemperatur.Helldunkel_nach_Zeit</field> </block> </value> <next> <block type="control" id="I/s7EPsv2CY=Hv?Ua-R#"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.colortemp</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="`,;7T7Is)a*Kl~roS~Fg"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Sonstieges.Farbtemperatur.Kalt_Warm</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> <statement name="ELSE"> <block type="timeouts_settimeout" id="1;lyA@b?X+`r[NP8asP%"> <field name="NAME">timeout</field> <field name="DELAY">2</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="controls_if" id="wye@q.,:qFUo-yr{qC/;"> <value name="IF0"> <block type="get_value" id="ZG#|FoPrKpBt2=an^%6T"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0003275cf3.state</field> </block> </value> <statement name="DO0"> <block type="control" id="nh8Y1!h#oxfCpka$9MOP"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="KzzUYq@FR=cqOTZ$JFrl"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </statement> </block> </statement> </block> </statement> </block> </statement> <next> <block type="on_ext" id="ov}D(Be]`(nzX#Js!}]h"> <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="SAKP82;OM?2N%*fzz[{{"> <field name="oid">zigbee.0.001788010bdb63a3.on_press</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="y7[mgz]-NK5R{5ajJg|4"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="x}P/*I%sVvM{9=$Nd)ln"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="variables_set" id="iA|yzw[fYyfX#3gi%pcq"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> <value name="VALUE"> <block type="on_source" id="Rx]e4#tp[EJaM4_]T6Y^"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="controls_if" id="?[IJ/6:3lbB5u-m,QzBJ"> <value name="IF0"> <block type="variables_get" id="ku~F=kmsW^D]e/3T{6]5"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="j9UA4-ObYtdM3kj4!fvq"> <field name="NAME">timeout</field> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </xml>
@horst-böttcher sagte: Das ist das alte script mit bewegungsmelder
... und das funktioniert nicht?
Wie verhalten sich "on_press" und "off_press"? -
@horst-böttcher sagte: Das ist das alte script mit bewegungsmelder
... und das funktioniert nicht?
Wie verhalten sich "on_press" und "off_press"?@paul53
Press on und off gehen kurz auf True und dann wieder auf false
das ist dieser Taster

-
@paul53
Das ist das alte script mit bewegungsmelder<xml xmlns="https://developers.google.com/blockly/xml"> <variables> <variable id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</variable> <variable type="timeout" id="timeout">timeout</variable> </variables> <block type="on_ext" id=")7viWO.,ae+4/i$Su{v1" x="123" y="-645"> <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="C{a`XU,:c^M[AsDI7qnt"> <field name="oid">zigbee.0.bc33acfffec14868.occupancy</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="9DsA`f[*y[El#p^C2%KJ"> <value name="IF0"> <block type="logic_negate" id="]lJ$,j5ZAt!F_OH~3dPJ"> <value name="BOOL"> <block type="variables_get" id=".ga$.J5quUYHnJ$p!JMm"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> </block> </value> </block> </value> <statement name="DO0"> <block type="controls_if" id="_LepHk2DO1;iMdeh~a2%"> <mutation else="1"></mutation> <value name="IF0"> <block type="logic_operation" id="al@D4zbs@a1Hl4,p2,=#" inline="false"> <field name="OP">AND</field> <value name="B"> <block type="on_source" id="Ky@{xEqs3cF|h-fMkq0s"> <field name="ATTR">state.val</field> </block> </value> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="0I-sY/$R5#4_j|mwo80c"> <field name="NAME">timeout</field> <next> <block type="controls_if" id="7M)STun%Th0%[,s830xz"> <value name="IF0"> <block type="logic_negate" id="X[cT]3:Cqum?`;{Qo!5N"> <value name="BOOL"> <block type="get_value" id="Tj5cklBH,7}eUyV46O,0"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0003275cf3.state</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="pfAa@mhg2tdjGForYOK("> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="cpv%OP+fg[x*Qd`Gr6NN"> <field name="BOOL">TRUE</field> </block> </value> <next> <block type="control" id="qD)6D1AMS,$W,~NY:RD$"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.brightness</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="%V{6.cnTS#f,1r!EM?vL"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Sonstieges.Farbtemperatur.Helldunkel_nach_Zeit</field> </block> </value> <next> <block type="control" id="I/s7EPsv2CY=Hv?Ua-R#"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.colortemp</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="get_value" id="`,;7T7Is)a*Kl~roS~Fg"> <field name="ATTR">val</field> <field name="OID">0_userdata.0.Sonstieges.Farbtemperatur.Kalt_Warm</field> </block> </value> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </statement> <statement name="ELSE"> <block type="timeouts_settimeout" id="1;lyA@b?X+`r[NP8asP%"> <field name="NAME">timeout</field> <field name="DELAY">2</field> <field name="UNIT">min</field> <statement name="STATEMENT"> <block type="controls_if" id="wye@q.,:qFUo-yr{qC/;"> <value name="IF0"> <block type="get_value" id="ZG#|FoPrKpBt2=an^%6T"> <field name="ATTR">val</field> <field name="OID">zigbee.0.00158d0003275cf3.state</field> </block> </value> <statement name="DO0"> <block type="control" id="nh8Y1!h#oxfCpka$9MOP"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="KzzUYq@FR=cqOTZ$JFrl"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </statement> </block> </statement> </block> </statement> </block> </statement> <next> <block type="on_ext" id="ov}D(Be]`(nzX#Js!}]h"> <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="SAKP82;OM?2N%*fzz[{{"> <field name="oid">zigbee.0.001788010bdb63a3.on_press</field> </shadow> </value> <statement name="STATEMENT"> <block type="control" id="y7[mgz]-NK5R{5ajJg|4"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">zigbee.0.00158d0003275cf3.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="on_source" id="x}P/*I%sVvM{9=$Nd)ln"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="variables_set" id="iA|yzw[fYyfX#3gi%pcq"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> <value name="VALUE"> <block type="on_source" id="Rx]e4#tp[EJaM4_]T6Y^"> <field name="ATTR">state.val</field> </block> </value> <next> <block type="controls_if" id="?[IJ/6:3lbB5u-m,QzBJ"> <value name="IF0"> <block type="variables_get" id="ku~F=kmsW^D]e/3T{6]5"> <field name="VAR" id="oSQQ2fSPDU*qU`rN:}(2">manuell_ein</field> </block> </value> <statement name="DO0"> <block type="timeouts_cleartimeout" id="j9UA4-ObYtdM3kj4!fvq"> <field name="NAME">timeout</field> </block> </statement> </block> </next> </block> </next> </block> </statement> </block> </next> </block> </xml>
@horst-böttcher sagte: das alte script mit bewegungsmelder
... Press on und off gehen kurz auf True und dann wieder auf falseDann ersetze den unteren Trigger durch folgende:

-
@horst-böttcher sagte: das alte script mit bewegungsmelder
... Press on und off gehen kurz auf True und dann wieder auf falseDann ersetze den unteren Trigger durch folgende:

@paul53 ok muss ich morgen ausprobieren ich muss gleich zur arbeit und komme erst spät nach hause
erdit hab es eingebaut jetzt werde ich heute abend sehn ob sich meie n frau beschärt
-
@horst-böttcher sagte: das alte script mit bewegungsmelder
... Press on und off gehen kurz auf True und dann wieder auf falseDann ersetze den unteren Trigger durch folgende:

@paul53 dank dir geht super
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
