NEWS
blockly gästebad Licht
-
Hallo, ich nutze im Gästebad einen FP2-Sensor von Aqara und möchte damit das Licht steuern. Manchmal funktioniert es, aber regelmäßig bleibt das Licht aus. Ich habe das Blockly-Skript angehängt. Komisch finde ich, dass ich im Wohnzimmer auch einen benutze und dort das Blockly-Skript funktioniert.
Gästebad

<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="X$?XM/dl158/6v`RgI=(" x="-287" y="-187"> <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="xN:f/2{lS4G88Y*oV4=m"> <field name="oid">homekit-controller.0.IP-B7:26:18:90:5B:C1.1.sensor-occupancy-2688.occupancy-detected</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="13%uB-1V]oh:g?~yRXqD"> <value name="IF0"> <block type="logic_compare" id="u#]o+!$X$OGzc#{LY76i"> <field name="OP">EQ</field> <value name="A"> <block type="on_source" id="8ZNVxH9Lx9585At8a;71"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="PyQ~Z}u+X8{%o}co[mp0"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="TNw43Pn#52iP#ukY=kse"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Spiegelschrank licht Gästebad.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="JSi4_|os-C;Si1#XSqpl"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> <next> <block type="on_ext" id="COr|ZXy]WTX`A%W@%cd)"> <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="lb|AwtH7|y{~SrD69EoQ"> <field name="oid">homekit-controller.0.IP-B7:26:18:90:5B:C1.1.sensor-occupancy-2688.occupancy-detected</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="3bhS^m0g6x`a:bWF1.[]"> <value name="IF0"> <block type="logic_compare" id="yw,ncdxc327)nSPv]w7/"> <field name="OP">EQ</field> <value name="A"> <block type="on_source" id=":YeqI;@dy+dkvOxm^rIP"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="h2rL#_L$fwCRZ7dVXU=$"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="}IEIPZ}u9+:E=MBGh{=W"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Spiegelschrank licht Gästebad.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="w]:hHogct!Qr;*Y~./C7"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </xml> -
Hallo, ich nutze im Gästebad einen FP2-Sensor von Aqara und möchte damit das Licht steuern. Manchmal funktioniert es, aber regelmäßig bleibt das Licht aus. Ich habe das Blockly-Skript angehängt. Komisch finde ich, dass ich im Wohnzimmer auch einen benutze und dort das Blockly-Skript funktioniert.
Gästebad

<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="X$?XM/dl158/6v`RgI=(" x="-287" y="-187"> <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="xN:f/2{lS4G88Y*oV4=m"> <field name="oid">homekit-controller.0.IP-B7:26:18:90:5B:C1.1.sensor-occupancy-2688.occupancy-detected</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="13%uB-1V]oh:g?~yRXqD"> <value name="IF0"> <block type="logic_compare" id="u#]o+!$X$OGzc#{LY76i"> <field name="OP">EQ</field> <value name="A"> <block type="on_source" id="8ZNVxH9Lx9585At8a;71"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="PyQ~Z}u+X8{%o}co[mp0"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="TNw43Pn#52iP#ukY=kse"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Spiegelschrank licht Gästebad.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="JSi4_|os-C;Si1#XSqpl"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> <next> <block type="on_ext" id="COr|ZXy]WTX`A%W@%cd)"> <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="lb|AwtH7|y{~SrD69EoQ"> <field name="oid">homekit-controller.0.IP-B7:26:18:90:5B:C1.1.sensor-occupancy-2688.occupancy-detected</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="3bhS^m0g6x`a:bWF1.[]"> <value name="IF0"> <block type="logic_compare" id="yw,ncdxc327)nSPv]w7/"> <field name="OP">EQ</field> <value name="A"> <block type="on_source" id=":YeqI;@dy+dkvOxm^rIP"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="h2rL#_L$fwCRZ7dVXU=$"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="}IEIPZ}u9+:E=MBGh{=W"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Spiegelschrank licht Gästebad.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="w]:hHogct!Qr;*Y~./C7"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </xml>@Horst-Böttcher sagte: Manchmal funktioniert es, aber regelmäßig bleibt das Licht aus.
Dann dürfte es am Sensor oder dessen Montageort liegen.
-
Hallo, ich nutze im Gästebad einen FP2-Sensor von Aqara und möchte damit das Licht steuern. Manchmal funktioniert es, aber regelmäßig bleibt das Licht aus. Ich habe das Blockly-Skript angehängt. Komisch finde ich, dass ich im Wohnzimmer auch einen benutze und dort das Blockly-Skript funktioniert.
Gästebad

<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="X$?XM/dl158/6v`RgI=(" x="-287" y="-187"> <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="xN:f/2{lS4G88Y*oV4=m"> <field name="oid">homekit-controller.0.IP-B7:26:18:90:5B:C1.1.sensor-occupancy-2688.occupancy-detected</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="13%uB-1V]oh:g?~yRXqD"> <value name="IF0"> <block type="logic_compare" id="u#]o+!$X$OGzc#{LY76i"> <field name="OP">EQ</field> <value name="A"> <block type="on_source" id="8ZNVxH9Lx9585At8a;71"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="PyQ~Z}u+X8{%o}co[mp0"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="TNw43Pn#52iP#ukY=kse"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Spiegelschrank licht Gästebad.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="JSi4_|os-C;Si1#XSqpl"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> <next> <block type="on_ext" id="COr|ZXy]WTX`A%W@%cd)"> <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="lb|AwtH7|y{~SrD69EoQ"> <field name="oid">homekit-controller.0.IP-B7:26:18:90:5B:C1.1.sensor-occupancy-2688.occupancy-detected</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="3bhS^m0g6x`a:bWF1.[]"> <value name="IF0"> <block type="logic_compare" id="yw,ncdxc327)nSPv]w7/"> <field name="OP">EQ</field> <value name="A"> <block type="on_source" id=":YeqI;@dy+dkvOxm^rIP"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="h2rL#_L$fwCRZ7dVXU=$"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="}IEIPZ}u9+:E=MBGh{=W"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Spiegelschrank licht Gästebad.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="w]:hHogct!Qr;*Y~./C7"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </xml>@Horst-Böttcher sagte: dort das Blockly-Skript funktioniert
Es sollte auch funktionieren, verbraucht aber zu viele Ressourcen. Besser:

-
Hallo, ich nutze im Gästebad einen FP2-Sensor von Aqara und möchte damit das Licht steuern. Manchmal funktioniert es, aber regelmäßig bleibt das Licht aus. Ich habe das Blockly-Skript angehängt. Komisch finde ich, dass ich im Wohnzimmer auch einen benutze und dort das Blockly-Skript funktioniert.
Gästebad

<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="X$?XM/dl158/6v`RgI=(" x="-287" y="-187"> <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="xN:f/2{lS4G88Y*oV4=m"> <field name="oid">homekit-controller.0.IP-B7:26:18:90:5B:C1.1.sensor-occupancy-2688.occupancy-detected</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="13%uB-1V]oh:g?~yRXqD"> <value name="IF0"> <block type="logic_compare" id="u#]o+!$X$OGzc#{LY76i"> <field name="OP">EQ</field> <value name="A"> <block type="on_source" id="8ZNVxH9Lx9585At8a;71"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="PyQ~Z}u+X8{%o}co[mp0"> <field name="NUM">1</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="TNw43Pn#52iP#ukY=kse"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Spiegelschrank licht Gästebad.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="JSi4_|os-C;Si1#XSqpl"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </statement> <next> <block type="on_ext" id="COr|ZXy]WTX`A%W@%cd)"> <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="lb|AwtH7|y{~SrD69EoQ"> <field name="oid">homekit-controller.0.IP-B7:26:18:90:5B:C1.1.sensor-occupancy-2688.occupancy-detected</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id="3bhS^m0g6x`a:bWF1.[]"> <value name="IF0"> <block type="logic_compare" id="yw,ncdxc327)nSPv]w7/"> <field name="OP">EQ</field> <value name="A"> <block type="on_source" id=":YeqI;@dy+dkvOxm^rIP"> <field name="ATTR">state.val</field> </block> </value> <value name="B"> <block type="math_number" id="h2rL#_L$fwCRZ7dVXU=$"> <field name="NUM">0</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="}IEIPZ}u9+:E=MBGh{=W"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alias.0.Spiegelschrank licht Gästebad.state</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="w]:hHogct!Qr;*Y~./C7"> <field name="BOOL">FALSE</field> </block> </value> </block> </statement> </block> </statement> </block> </next> </block> </xml>@Horst-Böttcher sagte in blockly gästebad Licht:
Hallo, ich nutze im Gästebad einen FP2-Sensor von Aqara und möchte damit das Licht steuern. Manchmal funktioniert es, aber regelmäßig bleibt das Licht aus.
Ich würde mir erstmal eine zweite Lampe ins Bad stellen und mit ins Script einbinden, um rauszufinden, ob der Sensor überhaupt reagiert. Oder gleich mit Laptop aufs Klo setzen und dort im ioB in den Objekten schaun, wo es hängt. :-D
-
@Horst-Böttcher sagte in blockly gästebad Licht:
Hallo, ich nutze im Gästebad einen FP2-Sensor von Aqara und möchte damit das Licht steuern. Manchmal funktioniert es, aber regelmäßig bleibt das Licht aus.
Ich würde mir erstmal eine zweite Lampe ins Bad stellen und mit ins Script einbinden, um rauszufinden, ob der Sensor überhaupt reagiert. Oder gleich mit Laptop aufs Klo setzen und dort im ioB in den Objekten schaun, wo es hängt. :-D
Der FP2 hat soviele Einstellmöglichkeiten, dass es ohne viel mehr Infos nicht seriös ist , hier weiter im Nebel zu stochern.
Aktuelle Firmware?
Wie sehen die Zonen aus?
Länger getestet , ob Geister im Zimmer auftauchen?Das Ganze hat nichts mit Iobroker zu tun.
Der FP2 und deren Einstellungen sind der Hauptakteur und das kannst nur Du alleine lösen.Ich hatte auch dieses Gerät und sofort wieder zurückgeschickt, weil völlig unbrauchbar wegen „Geistern“.
-
@paul53 hab mal geändert und muss dann noch andere ändern die sehen bei mir alle so aus
@1top ja ich hab schon mit mehre besuche mit handy und app auf Wc gemacht :-)
Aktuelle Firmware?Ja ist sie
Wie sehen die Zonen aus?ich habe keine eingesellt nur einkleiner raum von 5 qm
Länger getestet , ob Geister im Zimmer auftauchen?nein das ist nur im wohnzimmer und da geht es :-)
So mal sehen ob es mit den blockly von @paul53 rund läuft werde berichten wenn ich nach der arbeit nach hause komme und meine frau mich nicht erschlagen hat weil es wieder mal dunkel geblieben ist :-)
-
@paul53 hab mal geändert und muss dann noch andere ändern die sehen bei mir alle so aus
@1top ja ich hab schon mit mehre besuche mit handy und app auf Wc gemacht :-)
Aktuelle Firmware?Ja ist sie
Wie sehen die Zonen aus?ich habe keine eingesellt nur einkleiner raum von 5 qm
Länger getestet , ob Geister im Zimmer auftauchen?nein das ist nur im wohnzimmer und da geht es :-)
So mal sehen ob es mit den blockly von @paul53 rund läuft werde berichten wenn ich nach der arbeit nach hause komme und meine frau mich nicht erschlagen hat weil es wieder mal dunkel geblieben ist :-)
@Horst-Böttcher sagte: ob es mit den blockly von @paul53 rund läuft
Funktional ist das Blockly nicht anders als deines, verbraucht nur weniger Ressourcen.
@paul53 sagte in blockly gästebad Licht:
Dann dürfte es am Sensor oder dessen Montageort liegen.
-
ja es ist noch nicht festangebracht wegen den prolemen han es aber auch schon 20 mal umgestellt um den fehler zu finden