Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Einsteigerfragen
  4. Lautstärke über Hardwarebutton

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.3k

Lautstärke über Hardwarebutton

Scheduled Pinned Locked Moved Einsteigerfragen
3 Posts 2 Posters 116 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    gluecksmann
    wrote on last edited by
    #1

    Hallo, habe von Ikea die IKEA tradfri Fernbedienung. Dort ist theoretisch vorgesehen zu dimmen, bzw. die Lautstärke zu ändern. Aber wie mache ich das? Es müsste ja dann immer ein neuer Wert zugeordnet werden... damit die Lautstärke quasi gedimmt wird. Hoffe die Frage wird verstanden...

    1 Reply Last reply
    0
    • B Do not disturb
      B Do not disturb
      bommel_030
      wrote on last edited by bommel_030
      #2

      @gluecksmann
      Die "alte" mit 5 Tasten? Deconz Adapter? Sonos Adapter?
      Dann so:

      <xml xmlns="https://developers.google.com/blockly/xml">
       <block type="on_ext" id="J!xGgeXAe0)?)uQK-k[c" x="52" y="48">
         <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{LBpZ9sHc;3+R.b:Bc">
             <field name="oid">deconz.0.Sensors.3.buttonpressed</field>
           </shadow>
         </value>
         <statement name="STATEMENT">
           <block type="controls_if" id=";p@)B-TrlGcRJ?hsirh:">
             <value name="IF0">
               <block type="logic_compare" id="Gz_$3_l=PfJ}C!UUY|er">
                 <field name="OP">EQ</field>
                 <value name="A">
                   <block type="get_value" id="%~yM+@Yz3Qdn~agi0~+2">
                     <field name="ATTR">val</field>
                     <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                   </block>
                 </value>
                 <value name="B">
                   <block type="math_number" id="aS2y=BAfM7LS`#149B$y">
                     <field name="NUM">1002</field>
                   </block>
                 </value>
               </block>
             </value>
             <statement name="DO0">
               <block type="controls_if" id="2U|THo9-TpHRty1A:x1X">
                 <mutation else="1"></mutation>
                 <value name="IF0">
                   <block type="logic_operation" id="~$+^M|vB~x:2!neCt8Tr">
                     <field name="OP">OR</field>
                     <value name="A">
                       <block type="logic_compare" id=".PQ69|PNi3f:X/R{wk9D">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="H?9PASL}1y^]RN{qELD[">
                             <field name="ATTR">val</field>
                             <field name="OID">sonos.0.root.192_168_10_100.state</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="cuiwe%IFgof}Dmo9D599">
                             <field name="TEXT">pause</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <value name="B">
                       <block type="logic_compare" id="Suvv%J_6ueOh7])ho2??">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="M]P]RjT4.^r-eCRmX.~-">
                             <field name="ATTR">val</field>
                             <field name="OID">sonos.0.root.192_168_10_100.state</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="text" id="#].:~~_zCAU=lVCcybGV">
                             <field name="TEXT">stop</field>
                           </block>
                         </value>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="control" id="^Rg0mX~#?QK6AwFwg,(+">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                     <field name="OID">sonos.0.root.192_168_10_100.play</field>
                     <field name="WITH_DELAY">FALSE</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id="FGOv|,?%fLn^Bjx;|GVa">
                         <field name="BOOL">TRUE</field>
                       </block>
                     </value>
                   </block>
                 </statement>
                 <statement name="ELSE">
                   <block type="control" id=":(g=3_`Vq_2~937@IUZ?">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                     <field name="OID">sonos.0.root.192_168_10_100.stop</field>
                     <field name="WITH_DELAY">FALSE</field>
                     <value name="VALUE">
                       <block type="logic_boolean" id="(x+5pu`yln:iiW#IW?rg">
                         <field name="BOOL">TRUE</field>
                       </block>
                     </value>
                   </block>
                 </statement>
               </block>
             </statement>
             <next>
               <block type="controls_if" id="r?jERPy6zx8fcj@}MsJs">
                 <value name="IF0">
                   <block type="logic_compare" id=",/M`RamE$:Hznc}MtGC7">
                     <field name="OP">EQ</field>
                     <value name="A">
                       <block type="get_value" id="-2|w1Icc#1]BrN,0Qdl-">
                         <field name="ATTR">val</field>
                         <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                       </block>
                     </value>
                     <value name="B">
                       <block type="math_number" id="Q0/?0zj==9zwD0^#nE;N">
                         <field name="NUM">2002</field>
                       </block>
                     </value>
                   </block>
                 </value>
                 <statement name="DO0">
                   <block type="control" id="nn}bu:m*Kz=O]5cu/awT">
                     <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                     <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                     <field name="WITH_DELAY">FALSE</field>
                     <value name="VALUE">
                       <block type="math_arithmetic" id="Co2c-%N3q~]o~-}]dX]g">
                         <field name="OP">ADD</field>
                         <value name="A">
                           <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="n5:lnKFw(sImnZc%b0k1">
                             <field name="NUM">1</field>
                           </shadow>
                           <block type="get_value" id="FmQhzI:[y]@R7$YZ(S(q">
                             <field name="ATTR">val</field>
                             <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                           </block>
                         </value>
                         <value name="B">
                           <shadow type="math_number" id="V75EqX5Ex@24vx61,36G">
                             <field name="NUM">1</field>
                           </shadow>
                         </value>
                       </block>
                     </value>
                   </block>
                 </statement>
                 <next>
                   <block type="controls_if" id="ik*)3wrkiVS3H%AfS%w_">
                     <value name="IF0">
                       <block type="logic_compare" id="=:fg)_dtZv]AB3jcErlQ">
                         <field name="OP">EQ</field>
                         <value name="A">
                           <block type="get_value" id="-)Y~G]C9:a=@eUIci![)">
                             <field name="ATTR">val</field>
                             <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                           </block>
                         </value>
                         <value name="B">
                           <block type="math_number" id="3egKxMbywEIjE0BY:[x+">
                             <field name="NUM">2001</field>
                           </block>
                         </value>
                       </block>
                     </value>
                     <statement name="DO0">
                       <block type="control" id="7C%)`%,zNDkQ.R.cV#Q-">
                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                         <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                         <field name="WITH_DELAY">FALSE</field>
                         <value name="VALUE">
                           <block type="math_arithmetic" id="4v~RfABNDHU%,l1YEj5@">
                             <field name="OP">ADD</field>
                             <value name="A">
                               <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="n5:lnKFw(sImnZc%b0k1">
                                 <field name="NUM">1</field>
                               </shadow>
                               <block type="get_value" id="fD|o*AB;+DnSyia5~nNa">
                                 <field name="ATTR">val</field>
                                 <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                               </block>
                             </value>
                             <value name="B">
                               <shadow type="math_number" id="C2Cf#HKuuniZ:!IY?@w$">
                                 <field name="NUM">10</field>
                               </shadow>
                             </value>
                           </block>
                         </value>
                       </block>
                     </statement>
                     <next>
                       <block type="controls_if" id="WdaisUVu}Pa)MBNZ1y8^">
                         <value name="IF0">
                           <block type="logic_compare" id="24|xp(zp-?,cF_6X_OF@">
                             <field name="OP">EQ</field>
                             <value name="A">
                               <block type="get_value" id="T#dM],q40/pu[R}5.e{C">
                                 <field name="ATTR">val</field>
                                 <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                               </block>
                             </value>
                             <value name="B">
                               <block type="math_number" id="}_`v4PI+l8bX4GKo{eWC">
                                 <field name="NUM">3002</field>
                               </block>
                             </value>
                           </block>
                         </value>
                         <statement name="DO0">
                           <block type="control" id="GL6i]JzGyathxA{m@m^l">
                             <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                             <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                             <field name="WITH_DELAY">FALSE</field>
                             <value name="VALUE">
                               <block type="math_arithmetic" id="o}ZMW?MYN=lzdsKOUzi6">
                                 <field name="OP">MINUS</field>
                                 <value name="A">
                                   <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="n5:lnKFw(sImnZc%b0k1">
                                     <field name="NUM">1</field>
                                   </shadow>
                                   <block type="get_value" id="FL,dXj`o/{O}tZFbmK2~">
                                     <field name="ATTR">val</field>
                                     <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <shadow type="math_number" id="9(_,2?@G$#aEoON~1@y-">
                                     <field name="NUM">1</field>
                                   </shadow>
                                 </value>
                               </block>
                             </value>
                           </block>
                         </statement>
                         <next>
                           <block type="controls_if" id="pz;gCCwkx1BuHOg.hnp?">
                             <value name="IF0">
                               <block type="logic_compare" id="eQ#,j`l^BCRwf{%bn[,s">
                                 <field name="OP">EQ</field>
                                 <value name="A">
                                   <block type="get_value" id="?4GXP7F(2Be3V5K:J~_L">
                                     <field name="ATTR">val</field>
                                     <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                                   </block>
                                 </value>
                                 <value name="B">
                                   <block type="math_number" id="zRoIFRRO[Q_EOIvz6_HO">
                                     <field name="NUM">3001</field>
                                   </block>
                                 </value>
                               </block>
                             </value>
                             <statement name="DO0">
                               <block type="control" id="8+@:/7u_;}6fC,}@ZF31">
                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                 <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                                 <field name="WITH_DELAY">FALSE</field>
                                 <value name="VALUE">
                                   <block type="math_arithmetic" id="nuC}9D{OR97!2@Mde+q,">
                                     <field name="OP">MINUS</field>
                                     <value name="A">
                                       <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="n5:lnKFw(sImnZc%b0k1">
                                         <field name="NUM">1</field>
                                       </shadow>
                                       <block type="get_value" id="K!n3n4fcz@mzpv2:fSg4">
                                         <field name="ATTR">val</field>
                                         <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                                       </block>
                                     </value>
                                     <value name="B">
                                       <shadow type="math_number" id="AiBjukP)A|v-i;fDL-?=">
                                         <field name="NUM">10</field>
                                       </shadow>
                                     </value>
                                   </block>
                                 </value>
                               </block>
                             </statement>
                             <next>
                               <block type="comment" id="4@i68lUsCw4FAM++8:}o">
                                 <field name="COMMENT">original 5002</field>
                                 <next>
                                   <block type="controls_if" id="Zc)t|L]Z#xCyre{:oOKc">
                                     <value name="IF0">
                                       <block type="logic_compare" id="6^zMSlAnTTA/0npd?3k|">
                                         <field name="OP">EQ</field>
                                         <value name="A">
                                           <block type="get_value" id="UBlZdMZ5za1(YbqW5wcu">
                                             <field name="ATTR">val</field>
                                             <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                                           </block>
                                         </value>
                                         <value name="B">
                                           <block type="math_number" id="[$Gn5uIxu/@oCY:~pKc1">
                                             <field name="NUM">5002</field>
                                           </block>
                                         </value>
                                       </block>
                                     </value>
                                     <statement name="DO0">
                                       <block type="control" id="+COyWW/_twKf|pmxUzFi">
                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                         <field name="OID">sonos.0.root.192_168_10_100.next</field>
                                         <field name="WITH_DELAY">FALSE</field>
                                         <value name="VALUE">
                                           <block type="logic_boolean" id="_[.A*kX5mbgNFOQ*|Ipc">
                                             <field name="BOOL">TRUE</field>
                                           </block>
                                         </value>
                                       </block>
                                     </statement>
                                     <next>
                                       <block type="comment" id="*QByHX*=qW}dSJ^.HqW}">
                                         <field name="COMMENT">original 4002</field>
                                         <next>
                                           <block type="controls_if" id="zPo~39;UDf4g-BxEPE3Y">
                                             <value name="IF0">
                                               <block type="logic_compare" id="R%Q7YkRq/rS+Nj-ko?k.">
                                                 <field name="OP">EQ</field>
                                                 <value name="A">
                                                   <block type="get_value" id="vvO,(acqJkB8QZ7r,ZB5">
                                                     <field name="ATTR">val</field>
                                                     <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                                                   </block>
                                                 </value>
                                                 <value name="B">
                                                   <block type="math_number" id="XV0jsA/hC}U;OanT(k/Q">
                                                     <field name="NUM">4002</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </value>
                                             <statement name="DO0">
                                               <block type="control" id="Zu{APCZmi5?/|+8,s7IF">
                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                 <field name="OID">sonos.0.root.192_168_10_100.prev</field>
                                                 <field name="WITH_DELAY">FALSE</field>
                                                 <value name="VALUE">
                                                   <block type="logic_boolean" id="k*-AO8M*HLcT-@ERz8Y~">
                                                     <field name="BOOL">TRUE</field>
                                                   </block>
                                                 </value>
                                               </block>
                                             </statement>
                                             <next>
                                               <block type="comment" id="i}%QpK?oel2/^8s/F99z">
                                                 <field name="COMMENT">original 5001</field>
                                                 <next>
                                                   <block type="controls_if" id="-lPtOVt1Wu%vn~Lz6rzK">
                                                     <value name="IF0">
                                                       <block type="logic_compare" id=")tgjf)V$AxuO;ElULIEz">
                                                         <field name="OP">EQ</field>
                                                         <value name="A">
                                                           <block type="get_value" id="SOne.wpcRtYSJ8QTD_fB">
                                                             <field name="ATTR">val</field>
                                                             <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                                                           </block>
                                                         </value>
                                                         <value name="B">
                                                           <block type="math_number" id="aRp}b?X{%w#jEy~~-9fn">
                                                             <field name="NUM">5001</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </value>
                                                     <statement name="DO0">
                                                       <block type="control" id="K+I@`.kr[Lg5Su:PFxZ4">
                                                         <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                         <field name="OID">javascript.0.Sonos.192_168_10_100.customFavoritesPlayNext</field>
                                                         <field name="WITH_DELAY">FALSE</field>
                                                         <value name="VALUE">
                                                           <block type="logic_boolean" id="hfw5w5dl|6u/u=bh739B">
                                                             <field name="BOOL">TRUE</field>
                                                           </block>
                                                         </value>
                                                       </block>
                                                     </statement>
                                                     <next>
                                                       <block type="comment" id="n@#lQe%mjc9^@a9as)r.">
                                                         <field name="COMMENT">original 4001</field>
                                                         <next>
                                                           <block type="controls_if" id="`=5lMr0lAlK+Q;eN$lc-">
                                                             <value name="IF0">
                                                               <block type="logic_compare" id="RvL?ZFt5f2ga]{B8N11F">
                                                                 <field name="OP">EQ</field>
                                                                 <value name="A">
                                                                   <block type="get_value" id=").bLI7Xsivf?Qu*7W7Z)">
                                                                     <field name="ATTR">val</field>
                                                                     <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                                                                   </block>
                                                                 </value>
                                                                 <value name="B">
                                                                   <block type="math_number" id="f;36U)DIi+0He7Jn@Mf@">
                                                                     <field name="NUM">4001</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </value>
                                                             <statement name="DO0">
                                                               <block type="control" id="^?e=6UV_Y*JY)^{Frby^">
                                                                 <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                 <field name="OID">javascript.0.Sonos.192_168_10_100.customFavoritesPlayPrevious</field>
                                                                 <field name="WITH_DELAY">FALSE</field>
                                                                 <value name="VALUE">
                                                                   <block type="logic_boolean" id="l#Y?#gUf~%GOLgoQ3f1A">
                                                                     <field name="BOOL">TRUE</field>
                                                                   </block>
                                                                 </value>
                                                               </block>
                                                             </statement>
                                                           </block>
                                                         </next>
                                                       </block>
                                                     </next>
                                                   </block>
                                                 </next>
                                               </block>
                                             </next>
                                           </block>
                                         </next>
                                       </block>
                                     </next>
                                   </block>
                                 </next>
                               </block>
                             </next>
                           </block>
                         </next>
                       </block>
                     </next>
                   </block>
                 </next>
               </block>
             </next>
           </block>
         </statement>
       </block>
      </xml>
      
      

      Musste natürlich auf deine Datenpunkte anpassen. Wenn andere Rahmenbedingung etwas mehr Infos....

      G 1 Reply Last reply
      0
      • B bommel_030

        @gluecksmann
        Die "alte" mit 5 Tasten? Deconz Adapter? Sonos Adapter?
        Dann so:

        <xml xmlns="https://developers.google.com/blockly/xml">
         <block type="on_ext" id="J!xGgeXAe0)?)uQK-k[c" x="52" y="48">
           <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{LBpZ9sHc;3+R.b:Bc">
               <field name="oid">deconz.0.Sensors.3.buttonpressed</field>
             </shadow>
           </value>
           <statement name="STATEMENT">
             <block type="controls_if" id=";p@)B-TrlGcRJ?hsirh:">
               <value name="IF0">
                 <block type="logic_compare" id="Gz_$3_l=PfJ}C!UUY|er">
                   <field name="OP">EQ</field>
                   <value name="A">
                     <block type="get_value" id="%~yM+@Yz3Qdn~agi0~+2">
                       <field name="ATTR">val</field>
                       <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                     </block>
                   </value>
                   <value name="B">
                     <block type="math_number" id="aS2y=BAfM7LS`#149B$y">
                       <field name="NUM">1002</field>
                     </block>
                   </value>
                 </block>
               </value>
               <statement name="DO0">
                 <block type="controls_if" id="2U|THo9-TpHRty1A:x1X">
                   <mutation else="1"></mutation>
                   <value name="IF0">
                     <block type="logic_operation" id="~$+^M|vB~x:2!neCt8Tr">
                       <field name="OP">OR</field>
                       <value name="A">
                         <block type="logic_compare" id=".PQ69|PNi3f:X/R{wk9D">
                           <field name="OP">EQ</field>
                           <value name="A">
                             <block type="get_value" id="H?9PASL}1y^]RN{qELD[">
                               <field name="ATTR">val</field>
                               <field name="OID">sonos.0.root.192_168_10_100.state</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="text" id="cuiwe%IFgof}Dmo9D599">
                               <field name="TEXT">pause</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <value name="B">
                         <block type="logic_compare" id="Suvv%J_6ueOh7])ho2??">
                           <field name="OP">EQ</field>
                           <value name="A">
                             <block type="get_value" id="M]P]RjT4.^r-eCRmX.~-">
                               <field name="ATTR">val</field>
                               <field name="OID">sonos.0.root.192_168_10_100.state</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="text" id="#].:~~_zCAU=lVCcybGV">
                               <field name="TEXT">stop</field>
                             </block>
                           </value>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="control" id="^Rg0mX~#?QK6AwFwg,(+">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">sonos.0.root.192_168_10_100.play</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="FGOv|,?%fLn^Bjx;|GVa">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <statement name="ELSE">
                     <block type="control" id=":(g=3_`Vq_2~937@IUZ?">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">sonos.0.root.192_168_10_100.stop</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="logic_boolean" id="(x+5pu`yln:iiW#IW?rg">
                           <field name="BOOL">TRUE</field>
                         </block>
                       </value>
                     </block>
                   </statement>
                 </block>
               </statement>
               <next>
                 <block type="controls_if" id="r?jERPy6zx8fcj@}MsJs">
                   <value name="IF0">
                     <block type="logic_compare" id=",/M`RamE$:Hznc}MtGC7">
                       <field name="OP">EQ</field>
                       <value name="A">
                         <block type="get_value" id="-2|w1Icc#1]BrN,0Qdl-">
                           <field name="ATTR">val</field>
                           <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                         </block>
                       </value>
                       <value name="B">
                         <block type="math_number" id="Q0/?0zj==9zwD0^#nE;N">
                           <field name="NUM">2002</field>
                         </block>
                       </value>
                     </block>
                   </value>
                   <statement name="DO0">
                     <block type="control" id="nn}bu:m*Kz=O]5cu/awT">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                       <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                       <field name="WITH_DELAY">FALSE</field>
                       <value name="VALUE">
                         <block type="math_arithmetic" id="Co2c-%N3q~]o~-}]dX]g">
                           <field name="OP">ADD</field>
                           <value name="A">
                             <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="n5:lnKFw(sImnZc%b0k1">
                               <field name="NUM">1</field>
                             </shadow>
                             <block type="get_value" id="FmQhzI:[y]@R7$YZ(S(q">
                               <field name="ATTR">val</field>
                               <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                             </block>
                           </value>
                           <value name="B">
                             <shadow type="math_number" id="V75EqX5Ex@24vx61,36G">
                               <field name="NUM">1</field>
                             </shadow>
                           </value>
                         </block>
                       </value>
                     </block>
                   </statement>
                   <next>
                     <block type="controls_if" id="ik*)3wrkiVS3H%AfS%w_">
                       <value name="IF0">
                         <block type="logic_compare" id="=:fg)_dtZv]AB3jcErlQ">
                           <field name="OP">EQ</field>
                           <value name="A">
                             <block type="get_value" id="-)Y~G]C9:a=@eUIci![)">
                               <field name="ATTR">val</field>
                               <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                             </block>
                           </value>
                           <value name="B">
                             <block type="math_number" id="3egKxMbywEIjE0BY:[x+">
                               <field name="NUM">2001</field>
                             </block>
                           </value>
                         </block>
                       </value>
                       <statement name="DO0">
                         <block type="control" id="7C%)`%,zNDkQ.R.cV#Q-">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                           <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                           <field name="WITH_DELAY">FALSE</field>
                           <value name="VALUE">
                             <block type="math_arithmetic" id="4v~RfABNDHU%,l1YEj5@">
                               <field name="OP">ADD</field>
                               <value name="A">
                                 <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="n5:lnKFw(sImnZc%b0k1">
                                   <field name="NUM">1</field>
                                 </shadow>
                                 <block type="get_value" id="fD|o*AB;+DnSyia5~nNa">
                                   <field name="ATTR">val</field>
                                   <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <shadow type="math_number" id="C2Cf#HKuuniZ:!IY?@w$">
                                   <field name="NUM">10</field>
                                 </shadow>
                               </value>
                             </block>
                           </value>
                         </block>
                       </statement>
                       <next>
                         <block type="controls_if" id="WdaisUVu}Pa)MBNZ1y8^">
                           <value name="IF0">
                             <block type="logic_compare" id="24|xp(zp-?,cF_6X_OF@">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="get_value" id="T#dM],q40/pu[R}5.e{C">
                                   <field name="ATTR">val</field>
                                   <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="math_number" id="}_`v4PI+l8bX4GKo{eWC">
                                   <field name="NUM">3002</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="control" id="GL6i]JzGyathxA{m@m^l">
                               <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                               <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                               <field name="WITH_DELAY">FALSE</field>
                               <value name="VALUE">
                                 <block type="math_arithmetic" id="o}ZMW?MYN=lzdsKOUzi6">
                                   <field name="OP">MINUS</field>
                                   <value name="A">
                                     <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="n5:lnKFw(sImnZc%b0k1">
                                       <field name="NUM">1</field>
                                     </shadow>
                                     <block type="get_value" id="FL,dXj`o/{O}tZFbmK2~">
                                       <field name="ATTR">val</field>
                                       <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <shadow type="math_number" id="9(_,2?@G$#aEoON~1@y-">
                                       <field name="NUM">1</field>
                                     </shadow>
                                   </value>
                                 </block>
                               </value>
                             </block>
                           </statement>
                           <next>
                             <block type="controls_if" id="pz;gCCwkx1BuHOg.hnp?">
                               <value name="IF0">
                                 <block type="logic_compare" id="eQ#,j`l^BCRwf{%bn[,s">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="get_value" id="?4GXP7F(2Be3V5K:J~_L">
                                       <field name="ATTR">val</field>
                                       <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="math_number" id="zRoIFRRO[Q_EOIvz6_HO">
                                       <field name="NUM">3001</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="control" id="8+@:/7u_;}6fC,}@ZF31">
                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                   <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                                   <field name="WITH_DELAY">FALSE</field>
                                   <value name="VALUE">
                                     <block type="math_arithmetic" id="nuC}9D{OR97!2@Mde+q,">
                                       <field name="OP">MINUS</field>
                                       <value name="A">
                                         <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="n5:lnKFw(sImnZc%b0k1">
                                           <field name="NUM">1</field>
                                         </shadow>
                                         <block type="get_value" id="K!n3n4fcz@mzpv2:fSg4">
                                           <field name="ATTR">val</field>
                                           <field name="OID">sonos.0.root.192_168_10_100.volume</field>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <shadow type="math_number" id="AiBjukP)A|v-i;fDL-?=">
                                           <field name="NUM">10</field>
                                         </shadow>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </statement>
                               <next>
                                 <block type="comment" id="4@i68lUsCw4FAM++8:}o">
                                   <field name="COMMENT">original 5002</field>
                                   <next>
                                     <block type="controls_if" id="Zc)t|L]Z#xCyre{:oOKc">
                                       <value name="IF0">
                                         <block type="logic_compare" id="6^zMSlAnTTA/0npd?3k|">
                                           <field name="OP">EQ</field>
                                           <value name="A">
                                             <block type="get_value" id="UBlZdMZ5za1(YbqW5wcu">
                                               <field name="ATTR">val</field>
                                               <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                                             </block>
                                           </value>
                                           <value name="B">
                                             <block type="math_number" id="[$Gn5uIxu/@oCY:~pKc1">
                                               <field name="NUM">5002</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <statement name="DO0">
                                         <block type="control" id="+COyWW/_twKf|pmxUzFi">
                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                           <field name="OID">sonos.0.root.192_168_10_100.next</field>
                                           <field name="WITH_DELAY">FALSE</field>
                                           <value name="VALUE">
                                             <block type="logic_boolean" id="_[.A*kX5mbgNFOQ*|Ipc">
                                               <field name="BOOL">TRUE</field>
                                             </block>
                                           </value>
                                         </block>
                                       </statement>
                                       <next>
                                         <block type="comment" id="*QByHX*=qW}dSJ^.HqW}">
                                           <field name="COMMENT">original 4002</field>
                                           <next>
                                             <block type="controls_if" id="zPo~39;UDf4g-BxEPE3Y">
                                               <value name="IF0">
                                                 <block type="logic_compare" id="R%Q7YkRq/rS+Nj-ko?k.">
                                                   <field name="OP">EQ</field>
                                                   <value name="A">
                                                     <block type="get_value" id="vvO,(acqJkB8QZ7r,ZB5">
                                                       <field name="ATTR">val</field>
                                                       <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                                                     </block>
                                                   </value>
                                                   <value name="B">
                                                     <block type="math_number" id="XV0jsA/hC}U;OanT(k/Q">
                                                       <field name="NUM">4002</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </value>
                                               <statement name="DO0">
                                                 <block type="control" id="Zu{APCZmi5?/|+8,s7IF">
                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                   <field name="OID">sonos.0.root.192_168_10_100.prev</field>
                                                   <field name="WITH_DELAY">FALSE</field>
                                                   <value name="VALUE">
                                                     <block type="logic_boolean" id="k*-AO8M*HLcT-@ERz8Y~">
                                                       <field name="BOOL">TRUE</field>
                                                     </block>
                                                   </value>
                                                 </block>
                                               </statement>
                                               <next>
                                                 <block type="comment" id="i}%QpK?oel2/^8s/F99z">
                                                   <field name="COMMENT">original 5001</field>
                                                   <next>
                                                     <block type="controls_if" id="-lPtOVt1Wu%vn~Lz6rzK">
                                                       <value name="IF0">
                                                         <block type="logic_compare" id=")tgjf)V$AxuO;ElULIEz">
                                                           <field name="OP">EQ</field>
                                                           <value name="A">
                                                             <block type="get_value" id="SOne.wpcRtYSJ8QTD_fB">
                                                               <field name="ATTR">val</field>
                                                               <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                                                             </block>
                                                           </value>
                                                           <value name="B">
                                                             <block type="math_number" id="aRp}b?X{%w#jEy~~-9fn">
                                                               <field name="NUM">5001</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </value>
                                                       <statement name="DO0">
                                                         <block type="control" id="K+I@`.kr[Lg5Su:PFxZ4">
                                                           <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                           <field name="OID">javascript.0.Sonos.192_168_10_100.customFavoritesPlayNext</field>
                                                           <field name="WITH_DELAY">FALSE</field>
                                                           <value name="VALUE">
                                                             <block type="logic_boolean" id="hfw5w5dl|6u/u=bh739B">
                                                               <field name="BOOL">TRUE</field>
                                                             </block>
                                                           </value>
                                                         </block>
                                                       </statement>
                                                       <next>
                                                         <block type="comment" id="n@#lQe%mjc9^@a9as)r.">
                                                           <field name="COMMENT">original 4001</field>
                                                           <next>
                                                             <block type="controls_if" id="`=5lMr0lAlK+Q;eN$lc-">
                                                               <value name="IF0">
                                                                 <block type="logic_compare" id="RvL?ZFt5f2ga]{B8N11F">
                                                                   <field name="OP">EQ</field>
                                                                   <value name="A">
                                                                     <block type="get_value" id=").bLI7Xsivf?Qu*7W7Z)">
                                                                       <field name="ATTR">val</field>
                                                                       <field name="OID">deconz.0.Sensors.3.buttonpressed</field>
                                                                     </block>
                                                                   </value>
                                                                   <value name="B">
                                                                     <block type="math_number" id="f;36U)DIi+0He7Jn@Mf@">
                                                                       <field name="NUM">4001</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </value>
                                                               <statement name="DO0">
                                                                 <block type="control" id="^?e=6UV_Y*JY)^{Frby^">
                                                                   <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                                   <field name="OID">javascript.0.Sonos.192_168_10_100.customFavoritesPlayPrevious</field>
                                                                   <field name="WITH_DELAY">FALSE</field>
                                                                   <value name="VALUE">
                                                                     <block type="logic_boolean" id="l#Y?#gUf~%GOLgoQ3f1A">
                                                                       <field name="BOOL">TRUE</field>
                                                                     </block>
                                                                   </value>
                                                                 </block>
                                                               </statement>
                                                             </block>
                                                           </next>
                                                         </block>
                                                       </next>
                                                     </block>
                                                   </next>
                                                 </block>
                                               </next>
                                             </block>
                                           </next>
                                         </block>
                                       </next>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
               </next>
             </block>
           </statement>
         </block>
        </xml>
        
        

        Musste natürlich auf deine Datenpunkte anpassen. Wenn andere Rahmenbedingung etwas mehr Infos....

        G Offline
        G Offline
        gluecksmann
        wrote on last edited by
        #3

        @bommel_030

        Sonos Adapter, ja

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        Support us

        ioBroker
        Community Adapters
        Donate

        417

        Online

        32.4k

        Users

        81.5k

        Topics

        1.3m

        Posts
        Community
        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
        ioBroker Community 2014-2025
        logo
        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Home
        • Recent
        • Tags
        • Unread 0
        • Categories
        • Unreplied
        • Popular
        • GitHub
        • Docu
        • Hilfe