Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. Homematic IP Wired DRS8 schalten

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Homematic IP Wired DRS8 schalten

    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      jwerlsdf last edited by

      Ich habe einen Homematic IP Wired DRS8 und das DRI32 Modul. Beim DRI32 Modul habe ich ein DUMMY angelegt. Die Tasteraktualisierung wird im iobroker erkannt.
      Ich scheitere aber daran, die Objekte für den DRS8 zu schalten
      Wenn ich das Licht auf Kanal 1 anschalte, verändert sich die Struktur im iobroker für "Section" auf 2 und der "State" auf true. Bei aus von 2 auf 0 und von true auf false.
      Jetzt habe ich folgendes Blockly gebaut:

      <xml xmlns="https://developers.google.com/blockly/xml">
       <block type="on_ext" id="nZkeZ]WN@}}}jKExOf1=" x="13" y="38">
         <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="+QC?Eb;`UmKXtZOz):AL">
             <field name="oid">hm-rpc.1.00171BE9A4E37C.1.PRESS_SHORT</field>
           </shadow>
         </value>
         <statement name="STATEMENT">
           <block type="controls_if" id="Pu#O~i~#l?yaa^#PoyPW">
             <value name="IF0">
               <block type="logic_compare" id="j1Xd5dM%hY}p]-MR$hs)">
                 <field name="OP">EQ</field>
                 <value name="A">
                   <block type="get_value" id="=n7}4Pp}zE9?,b~di#L!">
                     <field name="ATTR">val</field>
                     <field name="OID">hm-rpc.1.00171BE9A4E37C.1.PRESS_SHORT</field>
                   </block>
                 </value>
                 <value name="B">
                   <block type="logic_boolean" id="/}J3M1%k!)87=,%Nrg?Z">
                     <field name="BOOL">TRUE</field>
                   </block>
                 </value>
               </block>
             </value>
             <statement name="DO0">
               <block type="toggle" id="#bt*XPbITe$]QQd~*t$%">
                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                 <field name="OID">hm-rpc.1.00161D89938677.1.STATE</field>
                 <field name="WITH_DELAY">FALSE</field>
               </block>
             </statement>
           </block>
         </statement>
       </block>
      </xml>
      

      Aber das Licht lässt sich nicht an- bzw. ausschalten.
      Der DRI32 Kanal wird im blockly erkannt (habe ich per debug-Block ausprobiert)

      Könnte mir bitte jemand helfen?

      R 1 Reply Last reply Reply Quote 0
      • R
        Ritschy2000 @jwerlsdf last edited by Ritschy2000

        @jwerlsdf Kanal 2 wird geschaltet, Kanal 1 ist nur eine "Anzeige", jeder der 8 "Ausgänge" des DRS8 hat 4 Kanäle = insgesamt 32. jeweils der 1. als "Zustandsanzeige", kanal 2-4 zum schalten....
        hoffe du verstehst, wie ich es meine... 🙂
        beim 2. Ausgang ist es dann Kanal 5 = "Zustandsanzeige" Kanal 6-8 zum schalten usw.

        J 1 Reply Last reply Reply Quote 1
        • J
          jwerlsdf @Ritschy2000 last edited by

          @ritschy2000
          Vielen Dank das wars!!! 😁

          Homoran 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @jwerlsdf last edited by

            @jwerlsdf du solltest dich mal mit den virtuellen Kanälen bei HomeMatic beschäftigen.
            da lässt sich -bei entsprechender Konfiguration- einiges mit machen.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            1.0k
            Online

            31.6k
            Users

            79.6k
            Topics

            1.3m
            Posts

            3
            4
            199
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo