Ich war schon länger auf der suche nach einer Möglichkeit eine Vorhanden Unterputz Taster auf Zigbee umzurüsten.

Als ich dann über den TRÅDFRI Kabelloser Dimmer*(IKEA) war es dann doch nicht so der Aufriss die Taster umzurüsten.

Wenn man die die Wippe abzieht ist der Kabelloser Dimmer so flach das er hinter den Unterputz Taster in der Unterputzdose passt.

Jetzt musste nur noch etwas Kabel* an den Mirco Tastern des Kabelloser Dimmer gelötet werden, so das man die Tastimpulse von Unterputztaster an den Kabelloser Dimmer weiterreichen kann.

Dadurch das an den Kabelloser Dimmer 2 Mirco Taster vorhanden sind, kann sogar mit einen Kabelloser Dimmer einen Doppeltaster oder zwei Taster umgerüstet werden.

Nun hat man durch die neuen Datenpunkte im z.B. ioBroker die Möglich sich paar schöne Scripte zu bauen um eine Lampe Ein, Aus schalten oder auch zu Dimmen.

So sehen z.B. die Datenpunkte im ioBroker aus.

Der User nox309 der auch mit ioBroker unterwegs ist, hat uns mal sein Blockly überlassen, da doch immer wieder rückfragen der Umsetzung aufkamen.

Danke an dieser Stelle 😉

<xml xmlns="https://developers.google.com/blockly/xml">
  <variables>
    <variable id="q@o6o(Sn_0Mn3ma,l$M.">Diming</variable>
  </variables>
  <block type="comment" id="]1FxIi5-1q~I?y=iW,OH" x="287" y="112">
    <field name="COMMENT">Schalten</field>
    <next>
      <block type="on_ext" id="DxJCu|*5#?[bCfU[O8e^">
        <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
        <field name="CONDITION">any</field>
        <field name="ACK_CONDITION"></field>
        <value name="OID0">
          <shadow type="field_oid" id="[cQ*iA1~awg50HZXhUEq">
            <field name="oid">zigbee.0.04cd15fffe38a444.state</field>
          </shadow>
        </value>
        <statement name="STATEMENT">
          <block type="controls_if" id="ZNQ,4}2WWCmiC8fXy2%v">
            <value name="IF0">
              <block type="logic_compare" id="/rbj/-e(^@nv[k7gpUm|">
                <field name="OP">EQ</field>
                <value name="A">
                  <block type="on_source" id="o$Hw2eC5I61Sia-|Q$:0">
                    <field name="ATTR">state.val</field>
                  </block>
                </value>
                <value name="B">
                  <block type="logic_boolean" id="WaI]0LaO[GPNy^F(.v[A">
                    <field name="BOOL">TRUE</field>
                  </block>
                </value>
              </block>
            </value>
            <statement name="DO0">
              <block type="toggle" id="3yQJhQl1YR~Eq;D!w}[m">
                <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                <field name="OID">zigbee.0.588e81fffecf9701.state</field>
                <field name="WITH_DELAY">FALSE</field>
              </block>
            </statement>
          </block>
        </statement>
      </block>
    </next>
  </block>
  <block type="comment" id="s;(RB{LEl_lUI,YY$!_j" x="320" y="351">
    <field name="COMMENT">Dimmen</field>
    <next>
      <block type="variables_set" id="?j?/@p`}5KPwwA^7a}9j">
        <field name="VAR" id="q@o6o(Sn_0Mn3ma,l$M.">Diming</field>
        <value name="VALUE">
          <block type="text" id="/iKPgfm;`DMriieo7_Gf">
            <field name="TEXT">up</field>
          </block>
        </value>
        <next>
          <block type="on_ext" id="[/b036AZW)*#ujx}q*gN">
            <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="h#YjAKZ_gTV![TE@]Di1">
                <field name="oid">zigbee.0.04cd15fffe38a444.up_button</field>
              </shadow>
            </value>
            <statement name="STATEMENT">
              <block type="controls_if" id="VTq+4pY;^t;|}V:,qtPo">
                <mutation elseif="1" else="1"></mutation>
                <value name="IF0">
                  <block type="logic_operation" id="KH0mZ$pnFtmW:pjQ6L#m">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="AkSqx6?KB~XYGMh7t@Tn">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="on_source" id="BTAs!DO_Q`2NpsgqOf4d">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="~a_~Flh+8pCgvgd_K0K`">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="$Zu5Hl--PdF`BaI8!k@+">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="%V$%Ko)`aBYXv4+wb@YB">
                            <field name="VAR" id="q@o6o(Sn_0Mn3ma,l$M.">Diming</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="`#Ja/b5x@g3lV_g^K?WA">
                            <field name="TEXT">down</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO0">
                  <block type="variables_set" id="Q_K^.}BPWzPDGi5SU[Gg">
                    <field name="VAR" id="q@o6o(Sn_0Mn3ma,l$M.">Diming</field>
                    <value name="VALUE">
                      <block type="text" id=",O9l~P3aP{cY+F0Z`-;U">
                        <field name="TEXT">up</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="1CsTd{(V55P-i!?z}Qaa">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">zigbee.0.588e81fffecf9701.brightness_move</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_number" id="eH/|Y.wKyGBtAjNUZd*7">
                            <field name="NUM">35</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <value name="IF1">
                  <block type="logic_operation" id="2KEV@=l~94Zj:ON]=]4J">
                    <field name="OP">AND</field>
                    <value name="A">
                      <block type="logic_compare" id="@qA4kBw@T:+,:q:@vg:R">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="on_source" id="b6L|l6;D..E@cL-ZQsP`">
                            <field name="ATTR">state.val</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="logic_boolean" id="l{F|_d8e4sPX^%B`b+(U">
                            <field name="BOOL">TRUE</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <value name="B">
                      <block type="logic_compare" id="ECZ{/C-TW1NZXN:GjxiH">
                        <field name="OP">EQ</field>
                        <value name="A">
                          <block type="variables_get" id="FgN:N8Y9{v$q$NFEo4`F">
                            <field name="VAR" id="q@o6o(Sn_0Mn3ma,l$M.">Diming</field>
                          </block>
                        </value>
                        <value name="B">
                          <block type="text" id="i3W]~W6RIxt904Iij+w1">
                            <field name="TEXT">up</field>
                          </block>
                        </value>
                      </block>
                    </value>
                  </block>
                </value>
                <statement name="DO1">
                  <block type="variables_set" id="*l[C@t$M8B2X)Euv!P$R">
                    <field name="VAR" id="q@o6o(Sn_0Mn3ma,l$M.">Diming</field>
                    <value name="VALUE">
                      <block type="text" id="^^sir0{P46-Ya+7]U}mM">
                        <field name="TEXT">down</field>
                      </block>
                    </value>
                    <next>
                      <block type="control" id="PovOxbfrLNPh1DTx3}dk">
                        <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                        <field name="OID">zigbee.0.588e81fffecf9701.brightness_move</field>
                        <field name="WITH_DELAY">FALSE</field>
                        <value name="VALUE">
                          <block type="math_number" id=",+3uoHTE1H,P*q`G]j9`">
                            <field name="NUM">-35</field>
                          </block>
                        </value>
                      </block>
                    </next>
                  </block>
                </statement>
                <statement name="ELSE">
                  <block type="control" id="NmY,=-Z[{]8h44z!**@n">
                    <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                    <field name="OID">zigbee.0.588e81fffecf9701.brightness_move</field>
                    <field name="WITH_DELAY">FALSE</field>
                    <value name="VALUE">
                      <block type="math_number" id="6XndVgG`Qvmu5Y(mK1O:">
                        <field name="NUM">0</field>
                      </block>
                    </value>
                  </block>
                </statement>
              </block>
            </statement>
          </block>
        </next>
      </block>
    </next>
  </block>
</xml>

Viel Spaß beim selbst probieren 🙂

Achtung lebensgefährlich!
Mit Strom spielt man nicht. Diese Aussage gilt insbesondere für die 230V, denn 230V ist bereits absolut lebensgefährlich. Für dich und auch für andere!
Darum arbeite nur mit 230V wenn Du weißt was du tust. Die Verantwortung über die Elektroinstallation liegt allein bei dir. Wenn Du dir nicht sicher bist, ziehe ein Elektriker hinzu!

Mit * markierte Links sind Amazon ParnerNet Affiliate Links


4 Kommentare

Flami · 6. Januar 2022 um 02:20

Wow, vielen dank für diesen Beitrag. Ich bekomme es leider nicht hin per ioborker und Blockly mit diesen Bauteile zu Dimmen. AN/AUS funktioniert aber nicht das Dimmen. Könntest du hierfür ein Script zur Verfügung stellen?

Schreibe einen Kommentar

Avatar-Platzhalter

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert

Diese Website verwendet Akismet, um Spam zu reduzieren. Erfahre mehr darüber, wie deine Kommentardaten verarbeitet werden.