Meross MSG 100
Eine günstige Lösung, um ein vorhandenes elektrisches Garagentor smart nachzurüsten.
David
Hier in meinen Beispiel nehme ich einmal den LG Trockner, diesen kann ich per Adapter in den ioBroker einbinden aber er hat keinen Wert ob wahr oder falsch, also habe ich mir per Blockly ein Script gebaut und lasse über das Script den Datenpunkt schalten.
Jetzt habt Ihr ein Haushaltsgerät was Ihr in ioBroker integrieren könnt aber kein Datenpunkt für wahr/falsch hat, einen entsprechenden Datenpunkt angelegt.
<xml xmlns="https://developers.google.com/blockly/xml">
<block type="on_ext" id="X9r%EHiS/#8GX6-?To?}" x="366" y="-18">
<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="lw^)Atw:s72{qvD$U`O*">
<field name="oid">lg-thinq.0.70d547b5-5572-1b10-865b-402f8665e755.snapshot.washerDryer.state</field>
</shadow>
</value>
<statement name="STATEMENT">
<block type="controls_if" id="Jm.zdMEFdW|G_`|krZk}">
<mutation else="1"></mutation>
<value name="IF0">
<block type="logic_compare" id="ODEn(!LR!c8T`;Jb:_,]">
<field name="OP">EQ</field>
<value name="A">
<block type="on_source" id="zTtpX,IMOe{@$(S/}mu^">
<field name="ATTR">state.val</field>
</block>
</value>
<value name="B">
<block type="text" id="xl6+VI^|+_hCL]?;3OfX">
<field name="TEXT">RUNNING</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="update" id="-.J|_|W112CS`%bnxwC0">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.HWR.Trockner_Aktiv</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="#x~voyA!hqeKJ;yqs*-u">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="update" id="B{-q%ejAUIH@$/**b{:+">
<mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
<field name="OID">0_userdata.0.HWR.Trockner_Aktiv</field>
<field name="WITH_DELAY">FALSE</field>
<value name="VALUE">
<block type="logic_boolean" id="rB]5B|O`/%8V!?)V3h==">
<field name="BOOL">FALSE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
</block>
</xml>
Alles anzeigen
Kommentare