Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. JavaScript
    5. JS Denon Lautstärke bei bestimmten Eingang

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    JS Denon Lautstärke bei bestimmten Eingang

    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      emil70 @Olli_M last edited by

      @olli_m sagte in JS Denon Lautstärke bei bestimmten Eingang:

      @emil70
      bzw. magst dein ganzes blockly mal zeigen?

      Klar

      <xml xmlns="https://developers.google.com/blockly/xml">
        <block type="comment" id="%N*@JtUl[]=~FPkn/G^?" x="-5637" y="-1388">
          <field name="COMMENT">Denon-Receiver Eingangsquellen und Lautstärke schalten</field>
          <next>
            <block type="on_ext" id="Cf|gLI@7/kXJi.qc(A#[">
              <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
              <field name="CONDITION">true</field>
              <field name="ACK_CONDITION"></field>
              <value name="OID0">
                <shadow type="field_oid" id="dC+)C;VAkR82m)yr]~St">
                  <field name="oid">0_userdata.0.Denon.Sat</field>
                </shadow>
              </value>
              <statement name="STATEMENT">
                <block type="controls_if" id="T^Px.q_J/`b8OKON(Rlc">
                  <value name="IF0">
                    <block type="logic_compare" id="lT=[=pXY,Ugk2,URoNGP">
                      <field name="OP">EQ</field>
                      <value name="A">
                        <block type="get_value" id="v4*tYSP[~;LWZ_OZ|rPQ">
                          <field name="ATTR">val</field>
                          <field name="OID">0_userdata.0.Denon.FireTvStick</field>
                        </block>
                      </value>
                      <value name="B">
                        <block type="logic_boolean" id="C[[L9cX/1v9z/SR*x|1:">
                          <field name="BOOL">TRUE</field>
                        </block>
                      </value>
                    </block>
                  </value>
                  <statement name="DO0">
                    <block type="comment" id="?upP#3onMGIQDM-6t4i=">
                      <field name="COMMENT">aktualisieren immer bei eigenen Datenpunkten</field>
                      <next>
                        <block type="update" id="sU*O@vc5SLiL;Js5KrLn">
                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                          <field name="OID">0_userdata.0.Denon.FireTvStick</field>
                          <field name="WITH_DELAY">FALSE</field>
                          <value name="VALUE">
                            <block type="logic_boolean" id="^S-Z)lmg`)fK|CC|KfV|">
                              <field name="BOOL">FALSE</field>
                            </block>
                          </value>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="comment" id="yx*C-2},46^+mUB6!Nh3">
                      <field name="COMMENT">Sony-TV und Denon</field>
                      <next>
                        <block type="controls_if" id="M?SRQ]KIepP$G_:zJtdb">
                          <value name="IF0">
                            <block type="logic_compare" id="Z(n+NObAhpX31~ZmeuWY">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="FAXa}}|w.~=oLVL9C`vf">
                                  <field name="ATTR">val</field>
                                  <field name="OID">alias.0.Wohnzimmer.Sony-TV.SET</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="49*zrHY=:a7bI53};*WM">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="Z6$]q=QyEe*m%oOf74yj">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">alias.0.Wohnzimmer.Sony-TV.SET</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="7kx/V_1yCx_96TWfFvq/">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="control" id="$@79xAGK|%VJ(nt{MC|}">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">denon.0.zoneMain.powerZone</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="logic_boolean" id="833wNNE$Sv#+YBIe}o5A">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="c-(bX2*;5~mzJC75X_Qt">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">hm-rega.0.43542</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="#[:IdY43q,cM3bj1;sfN">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <next>
                            <block type="timeouts_wait" id="50g{,qK:aCq$bnY;(x|#">
                              <field name="DELAY">2</field>
                              <field name="UNIT">sec</field>
                              <next>
                                <block type="controls_if" id="W=%ady/VvuT@B41,BJ`x">
                                  <value name="IF0">
                                    <block type="logic_compare" id="nv?wkJ|kss@E]Z:$a/sX">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="#)yH~#*_Z(w|/1+uqLW.">
                                          <field name="ATTR">val</field>
                                          <field name="OID">enigma2.0.enigma2.STANDBY</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="YR4}^2G,*07hfz6mUR_k">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="control" id="#4E4jDNM7H8t?Ah@BZ`n">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">alias.0.Wohnzimmer.Fernseher.PRESS_SHORT_2</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="HlJu={k/}B{hGXn/wRIa">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="update" id="IhBXg:lnKh{.A^89]y`5">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">0_userdata.0.Denon.VuReceiverStatus</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="!0s+;Wv(NPhCiGEU%;SI">
                                              <field name="TEXT">Aktiv</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="s7M0u/]azh,}0m41pZ0E">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">hm-rega.0.43708</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="TLXL%q0)@r.!?O^5Jq/[">
                                                  <field name="BOOL">TRUE</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <next>
                                    <block type="timeouts_wait" id="6KmZ@Eg^y}e0Xjc3U7M(">
                                      <field name="DELAY">5</field>
                                      <field name="UNIT">sec</field>
                                      <next>
                                        <block type="comment" id="2^@;R7TVq?R_wSJ2/yTG">
                                          <field name="COMMENT">Denon-Kanalwahl</field>
                                          <next>
                                            <block type="control" id=".hhPmj/z73gaa}qXU1.r">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">denon.0.zoneMain.selectInput</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="text" id="Qqd3jyfGE-b.0oJ5rCrV">
                                                  <field name="TEXT">6</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="update" id="z?kFE;g%2m)jq,95Ms|v">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.Denon.Eingangsquelle</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="JExAAi|gF.Ul,QWBkDvk">
                                                      <field name="TEXT">Receiver</field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="comment" id=",C*_#SR8Yu3a@~m{2fa!">
                                                      <field name="COMMENT">Denon  Lautstärke</field>
                                                      <next>
                                                        <block type="control" id="L:7)}YeBbXO`G%g;4{Rs">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">denon.0.zoneMain.volume</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="math_number" id=":YV/[)hEll]M]A]n|,VE">
                                                              <field name="NUM">70.5</field>
                                                            </block>
                                                          </value>
                                                          <next>
                                                            <block type="control" id="xj]3B|Y2sIkSN]m``bW`">
                                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation>
                                                              <field name="OID">denon.0.zoneMain.volumeDown</field>
                                                              <field name="WITH_DELAY">TRUE</field>
                                                              <field name="DELAY_MS">10</field>
                                                              <field name="UNIT">sec</field>
                                                              <field name="CLEAR_RUNNING">FALSE</field>
                                                              <value name="VALUE">
                                                                <block type="logic_boolean" id="5tHjpM:|K81wrv]UTEmP">
                                                                  <field name="BOOL">TRUE</field>
                                                                </block>
                                                              </value>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="on_ext" id="=,I=lmT6YLz*`Jw!Nxmb">
                  <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                  <field name="CONDITION">false</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id="?F9jj{sXbBjv`k1t2r30">
                      <field name="oid">0_userdata.0.Denon.Sat</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="timeouts_wait" id="o/v6,Mqs=Xf`S2:k-+Ui">
                      <field name="DELAY">1</field>
                      <field name="UNIT">sec</field>
                      <next>
                        <block type="controls_if" id="eR-|G?tB.IWLVV?9TF8v">
                          <value name="IF0">
                            <block type="logic_compare" id="uv(bo|Z6jBVYG|^CY,.q">
                              <field name="OP">EQ</field>
                              <value name="A">
                                <block type="get_value" id="I5WSr!#lhVEho;#a(:Tt">
                                  <field name="ATTR">val</field>
                                  <field name="OID">enigma2.0.enigma2.STANDBY</field>
                                </block>
                              </value>
                              <value name="B">
                                <block type="logic_boolean" id="StcOdxzm]P/EZN#bGYfk">
                                  <field name="BOOL">FALSE</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <statement name="DO0">
                            <block type="control" id="sF%RdVlZLK}0y7j}7o+`">
                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                              <field name="OID">alias.0.Wohnzimmer.Fernseher.PRESS_SHORT</field>
                              <field name="WITH_DELAY">FALSE</field>
                              <value name="VALUE">
                                <block type="logic_boolean" id="F6cwN,e^)W-GF])T/R4_">
                                  <field name="BOOL">TRUE</field>
                                </block>
                              </value>
                              <next>
                                <block type="update" id="rMCP8C;8qFTX|*r@fInw">
                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                  <field name="OID">0_userdata.0.Denon.VuReceiverStatus</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="text" id="Q/w?OYH:qK]H|]3?.dAy">
                                      <field name="TEXT">Standby</field>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control" id="6zSilyX%K_i6j.xKDR0!">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">hm-rega.0.43708</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="!)krZ*aEB+/}=A4^-u(q">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </statement>
                          <next>
                            <block type="timeouts_wait" id="K`pU}ht%,qJC[.`Xk:-O">
                              <field name="DELAY">2</field>
                              <field name="UNIT">sec</field>
                              <next>
                                <block type="controls_if" id="R4NbT3JtmfK`P~=;:IPq">
                                  <mutation else="1"></mutation>
                                  <value name="IF0">
                                    <block type="logic_compare" id="ZXZ?F@#2YrKE2d9%-631">
                                      <field name="OP">EQ</field>
                                      <value name="A">
                                        <block type="get_value" id="NIL}KJwnV^AbZ.keJTwG">
                                          <field name="ATTR">val</field>
                                          <field name="OID">0_userdata.0.Denon.FireTvStick</field>
                                        </block>
                                      </value>
                                      <value name="B">
                                        <block type="logic_boolean" id="M,eXbL?2G1Lu,bJJq,0[">
                                          <field name="BOOL">TRUE</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <statement name="DO0">
                                    <block type="comment" id="51_ApM,S6lnmRa0.J`E6">
                                      <field name="COMMENT">Sony-TV</field>
                                      <next>
                                        <block type="control" id="YPJE$UggOxU7[Mv]Mu6a">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">alias.0.Wohnzimmer.Sony-TV.SET</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="@=W[AVHu{?6?zcXh8c)1">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                  <statement name="ELSE">
                                    <block type="control" id="`o0aa{`u|M+!vVMdKcsM">
                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                      <field name="OID">alias.0.Wohnzimmer.Sony-TV.SET</field>
                                      <field name="WITH_DELAY">FALSE</field>
                                      <value name="VALUE">
                                        <block type="logic_boolean" id="Z|$_m_05mx3.(s~[#sst">
                                          <field name="BOOL">FALSE</field>
                                        </block>
                                      </value>
                                      <next>
                                        <block type="control" id="psgKlR;udvGsU^nvTd%v">
                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                          <field name="OID">denon.0.zoneMain.powerZone</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="logic_boolean" id="-;L*`q#fP!)@Sg(5F/?s">
                                              <field name="BOOL">FALSE</field>
                                            </block>
                                          </value>
                                          <next>
                                            <block type="control" id="*!P@wKo/5~HoG1]fXZOh">
                                              <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                              <field name="OID">hm-rega.0.43542</field>
                                              <field name="WITH_DELAY">FALSE</field>
                                              <value name="VALUE">
                                                <block type="logic_boolean" id="=jKuCQ^[5#~*~?Anrj^z">
                                                  <field name="BOOL">FALSE</field>
                                                </block>
                                              </value>
                                              <next>
                                                <block type="update" id="9S{+Y^!zwd/KAokPG|PK">
                                                  <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                  <field name="OID">0_userdata.0.Denon.Eingangsquelle</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="MjF~x3_rrHV%}_)rq+?y">
                                                      <field name="TEXT"></field>
                                                    </block>
                                                  </value>
                                                  <next>
                                                    <block type="update" id="kabKFOk7p9I`,3+zHOqc">
                                                      <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                      <field name="OID">0_userdata.0.Denon.VuReceiverStatus</field>
                                                      <field name="WITH_DELAY">FALSE</field>
                                                      <value name="VALUE">
                                                        <block type="text" id="se*,9J8fF*HsnHgex.`s">
                                                          <field name="TEXT">Standby</field>
                                                        </block>
                                                      </value>
                                                      <next>
                                                        <block type="control" id="*Tsn]M3@bN7WQPJRkm.B">
                                                          <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation>
                                                          <field name="OID">hm-rega.0.43708</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="logic_boolean" id="e7Iso[QE#)kj_7FKa%_=">
                                                              <field name="BOOL">FALSE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </statement>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      
      Olli_M 1 Reply Last reply Reply Quote 1
      • Olli_M
        Olli_M @emil70 last edited by

        @emil70
        also damit läuft es besser...

        hast du noch ne Idee wie ich eine Zeitliche abfrage reinbekomme? also dass er es erst abends macht?

        Oder Anhand der Astrozeit?

        E 1 Reply Last reply Reply Quote 0
        • E
          emil70 @Olli_M last edited by emil70

          @olli_m sagte in JS Denon Lautstärke bei bestimmten Eingang:
          ich weiss jetzt nicht was du da noch vorhast. Zeig doch mal jetzt dein genutzes Blockly

          Olli_M 1 Reply Last reply Reply Quote 0
          • Olli_M
            Olli_M @emil70 last edited by

            @emil70

            dein Blockly, nur Steuer ich damit ein DekoLicht, wenn eben ein bestimmter Eingang am Denon liegt nur wenn es tagsüber hell ist brauch ich das ja nicht 🙂 Er soll halt nur das Dekolicht steuern wenn es dunkel wird.

            E 1 Reply Last reply Reply Quote 0
            • E
              emil70 @Olli_M last edited by

              @olli_m

              Aha, Hast du kein Helligkeitsensor, dann könnte man das über den Wert steuern

              Ansonst vllt über einen Triger "Astro" Das habe ich aber noch nie genutzt

              Olli_M 1 Reply Last reply Reply Quote 0
              • Olli_M
                Olli_M @emil70 last edited by

                @emil70
                bei mir zickt er schon wieder rum...LOL

                Aber scheinbar wird an dem Denon Adapter nicht mehr weiterentwickelt oder verbessert.. 😞

                E 1 Reply Last reply Reply Quote 0
                • E
                  emil70 @Olli_M last edited by

                  @olli_m

                  Laut Changelog war die
                  letze Anpassung der 4.11.2022

                  DJMarc75 1 Reply Last reply Reply Quote 0
                  • DJMarc75
                    DJMarc75 @emil70 last edited by

                    @emil70 sagte in JS Denon Lautstärke bei bestimmten Eingang:

                    letze Anpassung der 4.11.2022

                    der 11.04.2022

                    E Olli_M 2 Replies Last reply Reply Quote 0
                    • E
                      emil70 @DJMarc75 last edited by

                      @djmarc75
                      ok, falsch gelesen . ist aber auch noch nicht so lange her

                      Olli_M 1 Reply Last reply Reply Quote 0
                      • Olli_M
                        Olli_M @DJMarc75 last edited by

                        @djmarc75
                        ja leider lange her 😞

                        E 1 Reply Last reply Reply Quote 0
                        • Olli_M
                          Olli_M @emil70 last edited by

                          @emil70
                          aber das mit dem Eingang macht mich echt fertig.. hab halt sonst keine Möglichkeit das fest zustellen um dann bestimmte Szenen zu laden.

                          hab schon überlegt ob ich mal downgrade vielleicht hat sich irgendwie mal ein Fehler eingeschlichen

                          E 1 Reply Last reply Reply Quote 0
                          • E
                            emil70 @Olli_M last edited by

                            @olli_m

                            Dann mach doch ein issues

                            Olli_M 1 Reply Last reply Reply Quote 0
                            • E
                              emil70 @Olli_M last edited by

                              @olli_m sagte in JS Denon Lautstärke bei bestimmten Eingang:

                              @emil70
                              aber das mit dem Eingang macht mich echt fertig.. hab halt sonst keine Möglichkeit das fest zustellen um dann bestimmte Szenen zu laden.

                              hab schon überlegt ob ich mal downgrade vielleicht hat sich irgendwie mal ein Fehler eingeschlichen

                              ich nutze die Version v1.13.4

                              1 Reply Last reply Reply Quote 0
                              • Olli_M
                                Olli_M @emil70 last edited by

                                @emil70
                                hab ich schon die Issues stapeln sich ja dort 🙂

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                443
                                Online

                                31.7k
                                Users

                                79.8k
                                Topics

                                1.3m
                                Posts

                                8
                                61
                                2873
                                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