Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Blockly
  5. DP Wert wieder löschen

NEWS

  • Jahresrückblick 2025 – unser neuer Blogbeitrag ist online! ✨
    BluefoxB
    Bluefox
    17
    1
    2.9k

  • Neuer Blogbeitrag: Monatsrückblick - Dezember 2025 🎄
    BluefoxB
    Bluefox
    13
    1
    1.1k

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    25
    1
    2.4k

DP Wert wieder löschen

Geplant Angeheftet Gesperrt Verschoben Blockly
blockly
9 Beiträge 4 Kommentatoren 566 Aufrufe 4 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • NegaleinN Offline
    NegaleinN Offline
    Negalein
    Global Moderator
    schrieb am zuletzt editiert von
    #1

    Hallo!

    In diesem Blockly wird der Alexa-Speak-Volume DP mit einem Wert befüllt.
    Leider bleibt der Wert dann solange stehen, bis ein anderes Script wieder einen neuen Wert schreibt.

    Ich verwende nur dieses eine Blockly, das die Speak-Volume einstellt.

    Kann ich im Blockly den Wert aus dem Speak-DP wieder löschen lassen, wenn es durchgelaufen ist?

    javascript - ioBroker (1).png
    objects - ioBroker (7).png

    <xml xmlns="http://www.w3.org/1999/xhtml">
      <variables>
        <variable type="" id="m7!f@;c]Npk-3^:-e)tt">Ansagelautstaerke</variable>
        <variable type="" id="tx`]izPXI!BeK19V`CX$">angesprochener_echo</variable>
        <variable type="" id="}tfHo!d;DNiy8lns,/nq">speak_volume</variable>
        <variable type="" id="*mu5H7zua6o!Dt2x`1n$">Ansage</variable>
      </variables>
      <block type="procedures_defcustomnoreturn" id="eZsGA^2r{c%G,YpuLp]K" disabled="true" x="13" y="13">
        <mutation statements="false"></mutation>
        <field name="NAME">dp_erstellen</field>
        <field name="SCRIPT">Ly9EYXRlbnB1bmt0IEJ1dHRvbiBmw7xyIEFuc2FnZSBlcnN0ZWxsZW4KY3JlYXRlU3RhdGUoIkVpZ2VuZV9EYXRlbnB1bmt0ZS4wMUFsZXhhMkFuc2FnZW4uQW5zYWdlbi4xMkx1ZnRmZXVjaHRpZ2tlaXRfYXVzc2VuIiwgewogICAgbmFtZTogJzEyTHVmdGZldWNodGlna2VpdCBBdXNzZW4nLCAKICAgICJyb2xlIjogImJ1dHRvbiIsCiAgICAidHlwZSI6ICJtaXhlZCIsCiAgICAicmVhZCI6IHRydWUsCiAgICAid3JpdGUiOiB0cnVlLAogICAgInNtYXJ0TmFtZSI6IHsKICAgICJkZSI6ICIxMkx1ZnRmZXVjaHRpZ2tlaXQgQXVzc2VuIiwKICAgICJzbWFydFR5cGUiOiAiU1dJVENIIgp9Cn0pOw==</field>
        <comment pinned="false" h="80" w="160">Datenpunkte erstellen</comment>
      </block>
      <block type="procedures_callcustomnoreturn" id="A)Jpv66,y7VG|8K92{;d" disabled="true" x="13" y="63">
        <mutation name="dp_erstellen"></mutation>
        <next>
          <block type="on" id="pPAe?D9#C-MzNdYWPK]r">
            <field name="OID">alexa2.0.History.serialNumber</field>
            <field name="CONDITION">any</field>
            <field name="ACK_CONDITION"></field>
            <statement name="STATEMENT">
              <block type="comment" id="nt?35vVGNSD?_y_($k89">
                <field name="COMMENT">gewünschte Ansagelautstärke reinschreiben</field>
                <next>
                  <block type="variables_set" id="U?g9VUC6Zns3.pwdA/Za">
                    <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                    <value name="VALUE">
                      <block type="math_number" id="ymNK_Bz-8ZEg{DNBt]LZ">
                        <field name="NUM">1</field>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="raHp)T;G6o1nDaQZ5Qrg">
                        <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                        <value name="VALUE">
                          <block type="text_join" id="q`1!?SO4KN9hG:/?YC1L">
                            <mutation items="3"></mutation>
                            <value name="ADD0">
                              <block type="text" id="lG5cq|_e-SYygMARlNe%">
                                <field name="TEXT">alexa2.0.Echo-Devices.</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="get_value" id="M7plEDg{8pq2=J9a2fzQ">
                                <field name="ATTR">val</field>
                                <field name="OID">alexa2.0.History.serialNumber</field>
                              </block>
                            </value>
                            <value name="ADD2">
                              <block type="text" id="v.6VG(Lxwxo.[IIHs$U=">
                                <field name="TEXT">.Commands.speak</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="N?jvkadzp3l@_Na$GSh3">
                            <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                            <value name="VALUE">
                              <block type="text_join" id="2;bG:Tv$~s+Itqhld@ML">
                                <mutation items="3"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="U0%on0@O$stDed%wbZLS">
                                    <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="get_value" id="F;9-S~mvqb0GUKsf@iKm">
                                    <field name="ATTR">val</field>
                                    <field name="OID">alexa2.0.History.serialNumber</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id=".(-6vYavAe:;F~Wr[qy!">
                                    <field name="TEXT">.Commands.speak-volume</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="control_ex" id="na!KX8sgIYL2ksHDN`jh" inline="true">
                                <field name="TYPE">false</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="OID">
                                  <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                    <field name="oid">Object ID</field>
                                  </shadow>
                                  <block type="variables_get" id="s@N_NR{{@D|oU}ru)aMj">
                                    <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                                  </block>
                                </value>
                                <value name="VALUE">
                                  <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                    <field name="BOOL">TRUE</field>
                                  </shadow>
                                  <block type="variables_get" id="a)qv{KMt]0rt*Qb#p1^c">
                                    <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                                  </block>
                                </value>
                                <value name="DELAY_MS">
                                  <shadow type="math_number" id="/FwEmMj3J/ZV%60O$/9S">
                                    <field name="NUM">0</field>
                                  </shadow>
                                </value>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </next>
              </block>
            </statement>
            <next>
              <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc">
                <mutation items="1"></mutation>
                <field name="CONDITION">any</field>
                <field name="ACK_CONDITION"></field>
                <value name="OID0">
                  <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                    <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa2Ansagen.Wohnzimmertemperatur</field>
                  </shadow>
                </value>
                <statement name="STATEMENT">
                  <block type="variables_set" id="$J.=!-BfeGs#(CBLM(1[">
                    <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                    <value name="VALUE">
                      <block type="text_join" id=";bPPOaCx,_qCBH8M{*aK">
                        <mutation items="3"></mutation>
                        <value name="ADD0">
                          <block type="text" id="e]oKxZ#%6l[[W.dB!#iP">
                            <field name="TEXT">alexa2.0.Echo-Devices.</field>
                          </block>
                        </value>
                        <value name="ADD1">
                          <block type="get_value" id="V~6.N)X7gAwv]to%BOD2">
                            <field name="ATTR">val</field>
                            <field name="OID">alexa2.0.History.serialNumber</field>
                          </block>
                        </value>
                        <value name="ADD2">
                          <block type="text" id="y@.l4E~,u(c_NQM;R!K7">
                            <field name="TEXT">.Commands.speak</field>
                          </block>
                        </value>
                      </block>
                    </value>
                    <next>
                      <block type="variables_set" id="%@~XbR*]v;?^@yN8*J1a">
                        <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                        <value name="VALUE">
                          <block type="text_join" id="XS_zN+oIGrtSdXPN,FUS">
                            <mutation items="3"></mutation>
                            <value name="ADD0">
                              <block type="text" id="QKz+d//+I)DQ,_A{6Jaj">
                                <field name="TEXT">alexa2.0.Echo-Devices.</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="get_value" id="*3jCi9nMB~z89D,EdRyd">
                                <field name="ATTR">val</field>
                                <field name="OID">alexa2.0.History.serialNumber</field>
                              </block>
                            </value>
                            <value name="ADD2">
                              <block type="text" id="`MBSYJ8lpEHo/W%Q2:jF">
                                <field name="TEXT">.Commands.speak-volume</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                            <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                            <value name="VALUE">
                              <block type="text_join" id="0#)Q6.hA8*b=6aL2Omf5">
                                <mutation items="3"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="k59DZfRE#w~3y~/b[OH_">
                                    <field name="TEXT">Die Temperatur im Wohnzimmer ist aktuell </field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="get_value" id="WhS9vGl{iR}*!Z.~8_Hj">
                                    <field name="ATTR">val</field>
                                    <field name="OID">mihome.0.devices.weather_v1_158d0002e91bc1.temperature</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id="6{|}5^GsE]F!31Nfa6my">
                                    <field name="TEXT"> Grad</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="control_ex" id="N`bH~vTk2J(;!)ChQ54-" inline="true">
                                <field name="TYPE">false</field>
                                <field name="CLEAR_RUNNING">FALSE</field>
                                <value name="OID">
                                  <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                    <field name="oid">Object ID</field>
                                  </shadow>
                                  <block type="variables_get" id="?_Re.YF9,M4+PeasOubP">
                                    <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                                  </block>
                                </value>
                                <value name="VALUE">
                                  <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                    <field name="BOOL">TRUE</field>
                                  </shadow>
                                  <block type="variables_get" id="w!rFe*57mL/mjY:3VxBr">
                                    <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                                  </block>
                                </value>
                                <value name="DELAY_MS">
                                  <shadow type="math_number" id="(}$s}10/Wk|!PJ7mJkBl">
                                    <field name="NUM">0</field>
                                  </shadow>
                                </value>
                                <next>
                                  <block type="control_ex" id="am/`YM%nX)[tXw]-@Wz~" inline="true">
                                    <field name="TYPE">false</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="OID">
                                      <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                        <field name="oid">Object ID</field>
                                      </shadow>
                                      <block type="variables_get" id="%3_D}O[OXu0D,F8iH!:7">
                                        <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                                      </block>
                                    </value>
                                    <value name="VALUE">
                                      <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                        <field name="BOOL">TRUE</field>
                                      </shadow>
                                      <block type="variables_get" id=":Y6^C_1.#WC21Lla9Md{">
                                        <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                                      </block>
                                    </value>
                                    <value name="DELAY_MS">
                                      <shadow type="math_number" id="smJl9lo{R$H[Zjf7R!;h">
                                        <field name="NUM">0</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="sendto_custom" id="h;DrZ,l|@:cHB$sk]w$t">
                                        <mutation items="message,timeout,msgType" with_statement="false"></mutation>
                                        <field name="INSTANCE">enigma2.0</field>
                                        <field name="COMMAND">send</field>
                                        <field name="WITH_STATEMENT">FALSE</field>
                                        <field name="LOG"></field>
                                        <value name="ARG0">
                                          <shadow type="text" id="9pQ#l:Rq[=oy}dHPcsB:">
                                            <field name="TEXT"></field>
                                          </shadow>
                                          <block type="variables_get" id="u#/Nmgi4TzEz*30VO506">
                                            <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                                          </block>
                                        </value>
                                        <value name="ARG1">
                                          <shadow type="text" id="{[vWUE7mZ{(%R`n3}2z7">
                                            <field name="TEXT"></field>
                                          </shadow>
                                          <block type="math_number" id="[.AyHsHAgHEOMn1}xbLM">
                                            <field name="NUM">10</field>
                                          </block>
                                        </value>
                                        <value name="ARG2">
                                          <shadow type="text" id="V($k:TC1oRY@vaNEv^HR">
                                            <field name="TEXT"></field>
                                          </shadow>
                                          <block type="math_number" id="nt=J?Q2:`U4r/L5;..l?">
                                            <field name="NUM">1</field>
                                          </block>
                                        </value>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
              </block>
            </next>
          </block>
        </next>
      </block>
    </xml>
    

    ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
    ° Node.js Fixer ---> iob nodejs-update
    ° Fixer ---> iob fix

    C dslraserD crunchipC 3 Antworten Letzte Antwort
    0
    • NegaleinN Negalein

      Hallo!

      In diesem Blockly wird der Alexa-Speak-Volume DP mit einem Wert befüllt.
      Leider bleibt der Wert dann solange stehen, bis ein anderes Script wieder einen neuen Wert schreibt.

      Ich verwende nur dieses eine Blockly, das die Speak-Volume einstellt.

      Kann ich im Blockly den Wert aus dem Speak-DP wieder löschen lassen, wenn es durchgelaufen ist?

      javascript - ioBroker (1).png
      objects - ioBroker (7).png

      <xml xmlns="http://www.w3.org/1999/xhtml">
        <variables>
          <variable type="" id="m7!f@;c]Npk-3^:-e)tt">Ansagelautstaerke</variable>
          <variable type="" id="tx`]izPXI!BeK19V`CX$">angesprochener_echo</variable>
          <variable type="" id="}tfHo!d;DNiy8lns,/nq">speak_volume</variable>
          <variable type="" id="*mu5H7zua6o!Dt2x`1n$">Ansage</variable>
        </variables>
        <block type="procedures_defcustomnoreturn" id="eZsGA^2r{c%G,YpuLp]K" disabled="true" x="13" y="13">
          <mutation statements="false"></mutation>
          <field name="NAME">dp_erstellen</field>
          <field name="SCRIPT">Ly9EYXRlbnB1bmt0IEJ1dHRvbiBmw7xyIEFuc2FnZSBlcnN0ZWxsZW4KY3JlYXRlU3RhdGUoIkVpZ2VuZV9EYXRlbnB1bmt0ZS4wMUFsZXhhMkFuc2FnZW4uQW5zYWdlbi4xMkx1ZnRmZXVjaHRpZ2tlaXRfYXVzc2VuIiwgewogICAgbmFtZTogJzEyTHVmdGZldWNodGlna2VpdCBBdXNzZW4nLCAKICAgICJyb2xlIjogImJ1dHRvbiIsCiAgICAidHlwZSI6ICJtaXhlZCIsCiAgICAicmVhZCI6IHRydWUsCiAgICAid3JpdGUiOiB0cnVlLAogICAgInNtYXJ0TmFtZSI6IHsKICAgICJkZSI6ICIxMkx1ZnRmZXVjaHRpZ2tlaXQgQXVzc2VuIiwKICAgICJzbWFydFR5cGUiOiAiU1dJVENIIgp9Cn0pOw==</field>
          <comment pinned="false" h="80" w="160">Datenpunkte erstellen</comment>
        </block>
        <block type="procedures_callcustomnoreturn" id="A)Jpv66,y7VG|8K92{;d" disabled="true" x="13" y="63">
          <mutation name="dp_erstellen"></mutation>
          <next>
            <block type="on" id="pPAe?D9#C-MzNdYWPK]r">
              <field name="OID">alexa2.0.History.serialNumber</field>
              <field name="CONDITION">any</field>
              <field name="ACK_CONDITION"></field>
              <statement name="STATEMENT">
                <block type="comment" id="nt?35vVGNSD?_y_($k89">
                  <field name="COMMENT">gewünschte Ansagelautstärke reinschreiben</field>
                  <next>
                    <block type="variables_set" id="U?g9VUC6Zns3.pwdA/Za">
                      <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                      <value name="VALUE">
                        <block type="math_number" id="ymNK_Bz-8ZEg{DNBt]LZ">
                          <field name="NUM">1</field>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="raHp)T;G6o1nDaQZ5Qrg">
                          <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                          <value name="VALUE">
                            <block type="text_join" id="q`1!?SO4KN9hG:/?YC1L">
                              <mutation items="3"></mutation>
                              <value name="ADD0">
                                <block type="text" id="lG5cq|_e-SYygMARlNe%">
                                  <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                </block>
                              </value>
                              <value name="ADD1">
                                <block type="get_value" id="M7plEDg{8pq2=J9a2fzQ">
                                  <field name="ATTR">val</field>
                                  <field name="OID">alexa2.0.History.serialNumber</field>
                                </block>
                              </value>
                              <value name="ADD2">
                                <block type="text" id="v.6VG(Lxwxo.[IIHs$U=">
                                  <field name="TEXT">.Commands.speak</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="N?jvkadzp3l@_Na$GSh3">
                              <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                              <value name="VALUE">
                                <block type="text_join" id="2;bG:Tv$~s+Itqhld@ML">
                                  <mutation items="3"></mutation>
                                  <value name="ADD0">
                                    <block type="text" id="U0%on0@O$stDed%wbZLS">
                                      <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                    </block>
                                  </value>
                                  <value name="ADD1">
                                    <block type="get_value" id="F;9-S~mvqb0GUKsf@iKm">
                                      <field name="ATTR">val</field>
                                      <field name="OID">alexa2.0.History.serialNumber</field>
                                    </block>
                                  </value>
                                  <value name="ADD2">
                                    <block type="text" id=".(-6vYavAe:;F~Wr[qy!">
                                      <field name="TEXT">.Commands.speak-volume</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="control_ex" id="na!KX8sgIYL2ksHDN`jh" inline="true">
                                  <field name="TYPE">false</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="OID">
                                    <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                      <field name="oid">Object ID</field>
                                    </shadow>
                                    <block type="variables_get" id="s@N_NR{{@D|oU}ru)aMj">
                                      <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                                    </block>
                                  </value>
                                  <value name="VALUE">
                                    <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                      <field name="BOOL">TRUE</field>
                                    </shadow>
                                    <block type="variables_get" id="a)qv{KMt]0rt*Qb#p1^c">
                                      <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                                    </block>
                                  </value>
                                  <value name="DELAY_MS">
                                    <shadow type="math_number" id="/FwEmMj3J/ZV%60O$/9S">
                                      <field name="NUM">0</field>
                                    </shadow>
                                  </value>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </next>
                </block>
              </statement>
              <next>
                <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc">
                  <mutation items="1"></mutation>
                  <field name="CONDITION">any</field>
                  <field name="ACK_CONDITION"></field>
                  <value name="OID0">
                    <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                      <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa2Ansagen.Wohnzimmertemperatur</field>
                    </shadow>
                  </value>
                  <statement name="STATEMENT">
                    <block type="variables_set" id="$J.=!-BfeGs#(CBLM(1[">
                      <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                      <value name="VALUE">
                        <block type="text_join" id=";bPPOaCx,_qCBH8M{*aK">
                          <mutation items="3"></mutation>
                          <value name="ADD0">
                            <block type="text" id="e]oKxZ#%6l[[W.dB!#iP">
                              <field name="TEXT">alexa2.0.Echo-Devices.</field>
                            </block>
                          </value>
                          <value name="ADD1">
                            <block type="get_value" id="V~6.N)X7gAwv]to%BOD2">
                              <field name="ATTR">val</field>
                              <field name="OID">alexa2.0.History.serialNumber</field>
                            </block>
                          </value>
                          <value name="ADD2">
                            <block type="text" id="y@.l4E~,u(c_NQM;R!K7">
                              <field name="TEXT">.Commands.speak</field>
                            </block>
                          </value>
                        </block>
                      </value>
                      <next>
                        <block type="variables_set" id="%@~XbR*]v;?^@yN8*J1a">
                          <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                          <value name="VALUE">
                            <block type="text_join" id="XS_zN+oIGrtSdXPN,FUS">
                              <mutation items="3"></mutation>
                              <value name="ADD0">
                                <block type="text" id="QKz+d//+I)DQ,_A{6Jaj">
                                  <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                </block>
                              </value>
                              <value name="ADD1">
                                <block type="get_value" id="*3jCi9nMB~z89D,EdRyd">
                                  <field name="ATTR">val</field>
                                  <field name="OID">alexa2.0.History.serialNumber</field>
                                </block>
                              </value>
                              <value name="ADD2">
                                <block type="text" id="`MBSYJ8lpEHo/W%Q2:jF">
                                  <field name="TEXT">.Commands.speak-volume</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                              <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                              <value name="VALUE">
                                <block type="text_join" id="0#)Q6.hA8*b=6aL2Omf5">
                                  <mutation items="3"></mutation>
                                  <value name="ADD0">
                                    <block type="text" id="k59DZfRE#w~3y~/b[OH_">
                                      <field name="TEXT">Die Temperatur im Wohnzimmer ist aktuell </field>
                                    </block>
                                  </value>
                                  <value name="ADD1">
                                    <block type="get_value" id="WhS9vGl{iR}*!Z.~8_Hj">
                                      <field name="ATTR">val</field>
                                      <field name="OID">mihome.0.devices.weather_v1_158d0002e91bc1.temperature</field>
                                    </block>
                                  </value>
                                  <value name="ADD2">
                                    <block type="text" id="6{|}5^GsE]F!31Nfa6my">
                                      <field name="TEXT"> Grad</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="control_ex" id="N`bH~vTk2J(;!)ChQ54-" inline="true">
                                  <field name="TYPE">false</field>
                                  <field name="CLEAR_RUNNING">FALSE</field>
                                  <value name="OID">
                                    <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                      <field name="oid">Object ID</field>
                                    </shadow>
                                    <block type="variables_get" id="?_Re.YF9,M4+PeasOubP">
                                      <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                                    </block>
                                  </value>
                                  <value name="VALUE">
                                    <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                      <field name="BOOL">TRUE</field>
                                    </shadow>
                                    <block type="variables_get" id="w!rFe*57mL/mjY:3VxBr">
                                      <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                                    </block>
                                  </value>
                                  <value name="DELAY_MS">
                                    <shadow type="math_number" id="(}$s}10/Wk|!PJ7mJkBl">
                                      <field name="NUM">0</field>
                                    </shadow>
                                  </value>
                                  <next>
                                    <block type="control_ex" id="am/`YM%nX)[tXw]-@Wz~" inline="true">
                                      <field name="TYPE">false</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="OID">
                                        <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                          <field name="oid">Object ID</field>
                                        </shadow>
                                        <block type="variables_get" id="%3_D}O[OXu0D,F8iH!:7">
                                          <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                                        </block>
                                      </value>
                                      <value name="VALUE">
                                        <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                          <field name="BOOL">TRUE</field>
                                        </shadow>
                                        <block type="variables_get" id=":Y6^C_1.#WC21Lla9Md{">
                                          <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                                        </block>
                                      </value>
                                      <value name="DELAY_MS">
                                        <shadow type="math_number" id="smJl9lo{R$H[Zjf7R!;h">
                                          <field name="NUM">0</field>
                                        </shadow>
                                      </value>
                                      <next>
                                        <block type="sendto_custom" id="h;DrZ,l|@:cHB$sk]w$t">
                                          <mutation items="message,timeout,msgType" with_statement="false"></mutation>
                                          <field name="INSTANCE">enigma2.0</field>
                                          <field name="COMMAND">send</field>
                                          <field name="WITH_STATEMENT">FALSE</field>
                                          <field name="LOG"></field>
                                          <value name="ARG0">
                                            <shadow type="text" id="9pQ#l:Rq[=oy}dHPcsB:">
                                              <field name="TEXT"></field>
                                            </shadow>
                                            <block type="variables_get" id="u#/Nmgi4TzEz*30VO506">
                                              <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                                            </block>
                                          </value>
                                          <value name="ARG1">
                                            <shadow type="text" id="{[vWUE7mZ{(%R`n3}2z7">
                                              <field name="TEXT"></field>
                                            </shadow>
                                            <block type="math_number" id="[.AyHsHAgHEOMn1}xbLM">
                                              <field name="NUM">10</field>
                                            </block>
                                          </value>
                                          <value name="ARG2">
                                            <shadow type="text" id="V($k:TC1oRY@vaNEv^HR">
                                              <field name="TEXT"></field>
                                            </shadow>
                                            <block type="math_number" id="nt=J?Q2:`U4r/L5;..l?">
                                              <field name="NUM">1</field>
                                            </block>
                                          </value>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                </block>
              </next>
            </block>
          </next>
        </block>
      </xml>
      

      C Offline
      C Offline
      CruziX
      schrieb am zuletzt editiert von
      #2

      @Negalein du kannst einfach einen leeren String reinschreiben

      1 Antwort Letzte Antwort
      0
      • NegaleinN Negalein

        Hallo!

        In diesem Blockly wird der Alexa-Speak-Volume DP mit einem Wert befüllt.
        Leider bleibt der Wert dann solange stehen, bis ein anderes Script wieder einen neuen Wert schreibt.

        Ich verwende nur dieses eine Blockly, das die Speak-Volume einstellt.

        Kann ich im Blockly den Wert aus dem Speak-DP wieder löschen lassen, wenn es durchgelaufen ist?

        javascript - ioBroker (1).png
        objects - ioBroker (7).png

        <xml xmlns="http://www.w3.org/1999/xhtml">
          <variables>
            <variable type="" id="m7!f@;c]Npk-3^:-e)tt">Ansagelautstaerke</variable>
            <variable type="" id="tx`]izPXI!BeK19V`CX$">angesprochener_echo</variable>
            <variable type="" id="}tfHo!d;DNiy8lns,/nq">speak_volume</variable>
            <variable type="" id="*mu5H7zua6o!Dt2x`1n$">Ansage</variable>
          </variables>
          <block type="procedures_defcustomnoreturn" id="eZsGA^2r{c%G,YpuLp]K" disabled="true" x="13" y="13">
            <mutation statements="false"></mutation>
            <field name="NAME">dp_erstellen</field>
            <field name="SCRIPT">Ly9EYXRlbnB1bmt0IEJ1dHRvbiBmw7xyIEFuc2FnZSBlcnN0ZWxsZW4KY3JlYXRlU3RhdGUoIkVpZ2VuZV9EYXRlbnB1bmt0ZS4wMUFsZXhhMkFuc2FnZW4uQW5zYWdlbi4xMkx1ZnRmZXVjaHRpZ2tlaXRfYXVzc2VuIiwgewogICAgbmFtZTogJzEyTHVmdGZldWNodGlna2VpdCBBdXNzZW4nLCAKICAgICJyb2xlIjogImJ1dHRvbiIsCiAgICAidHlwZSI6ICJtaXhlZCIsCiAgICAicmVhZCI6IHRydWUsCiAgICAid3JpdGUiOiB0cnVlLAogICAgInNtYXJ0TmFtZSI6IHsKICAgICJkZSI6ICIxMkx1ZnRmZXVjaHRpZ2tlaXQgQXVzc2VuIiwKICAgICJzbWFydFR5cGUiOiAiU1dJVENIIgp9Cn0pOw==</field>
            <comment pinned="false" h="80" w="160">Datenpunkte erstellen</comment>
          </block>
          <block type="procedures_callcustomnoreturn" id="A)Jpv66,y7VG|8K92{;d" disabled="true" x="13" y="63">
            <mutation name="dp_erstellen"></mutation>
            <next>
              <block type="on" id="pPAe?D9#C-MzNdYWPK]r">
                <field name="OID">alexa2.0.History.serialNumber</field>
                <field name="CONDITION">any</field>
                <field name="ACK_CONDITION"></field>
                <statement name="STATEMENT">
                  <block type="comment" id="nt?35vVGNSD?_y_($k89">
                    <field name="COMMENT">gewünschte Ansagelautstärke reinschreiben</field>
                    <next>
                      <block type="variables_set" id="U?g9VUC6Zns3.pwdA/Za">
                        <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                        <value name="VALUE">
                          <block type="math_number" id="ymNK_Bz-8ZEg{DNBt]LZ">
                            <field name="NUM">1</field>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="raHp)T;G6o1nDaQZ5Qrg">
                            <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                            <value name="VALUE">
                              <block type="text_join" id="q`1!?SO4KN9hG:/?YC1L">
                                <mutation items="3"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="lG5cq|_e-SYygMARlNe%">
                                    <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="get_value" id="M7plEDg{8pq2=J9a2fzQ">
                                    <field name="ATTR">val</field>
                                    <field name="OID">alexa2.0.History.serialNumber</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id="v.6VG(Lxwxo.[IIHs$U=">
                                    <field name="TEXT">.Commands.speak</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="N?jvkadzp3l@_Na$GSh3">
                                <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                                <value name="VALUE">
                                  <block type="text_join" id="2;bG:Tv$~s+Itqhld@ML">
                                    <mutation items="3"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="U0%on0@O$stDed%wbZLS">
                                        <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="get_value" id="F;9-S~mvqb0GUKsf@iKm">
                                        <field name="ATTR">val</field>
                                        <field name="OID">alexa2.0.History.serialNumber</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text" id=".(-6vYavAe:;F~Wr[qy!">
                                        <field name="TEXT">.Commands.speak-volume</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="control_ex" id="na!KX8sgIYL2ksHDN`jh" inline="true">
                                    <field name="TYPE">false</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="OID">
                                      <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                        <field name="oid">Object ID</field>
                                      </shadow>
                                      <block type="variables_get" id="s@N_NR{{@D|oU}ru)aMj">
                                        <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                                      </block>
                                    </value>
                                    <value name="VALUE">
                                      <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                        <field name="BOOL">TRUE</field>
                                      </shadow>
                                      <block type="variables_get" id="a)qv{KMt]0rt*Qb#p1^c">
                                        <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                                      </block>
                                    </value>
                                    <value name="DELAY_MS">
                                      <shadow type="math_number" id="/FwEmMj3J/ZV%60O$/9S">
                                        <field name="NUM">0</field>
                                      </shadow>
                                    </value>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </next>
                  </block>
                </statement>
                <next>
                  <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc">
                    <mutation items="1"></mutation>
                    <field name="CONDITION">any</field>
                    <field name="ACK_CONDITION"></field>
                    <value name="OID0">
                      <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                        <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa2Ansagen.Wohnzimmertemperatur</field>
                      </shadow>
                    </value>
                    <statement name="STATEMENT">
                      <block type="variables_set" id="$J.=!-BfeGs#(CBLM(1[">
                        <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                        <value name="VALUE">
                          <block type="text_join" id=";bPPOaCx,_qCBH8M{*aK">
                            <mutation items="3"></mutation>
                            <value name="ADD0">
                              <block type="text" id="e]oKxZ#%6l[[W.dB!#iP">
                                <field name="TEXT">alexa2.0.Echo-Devices.</field>
                              </block>
                            </value>
                            <value name="ADD1">
                              <block type="get_value" id="V~6.N)X7gAwv]to%BOD2">
                                <field name="ATTR">val</field>
                                <field name="OID">alexa2.0.History.serialNumber</field>
                              </block>
                            </value>
                            <value name="ADD2">
                              <block type="text" id="y@.l4E~,u(c_NQM;R!K7">
                                <field name="TEXT">.Commands.speak</field>
                              </block>
                            </value>
                          </block>
                        </value>
                        <next>
                          <block type="variables_set" id="%@~XbR*]v;?^@yN8*J1a">
                            <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                            <value name="VALUE">
                              <block type="text_join" id="XS_zN+oIGrtSdXPN,FUS">
                                <mutation items="3"></mutation>
                                <value name="ADD0">
                                  <block type="text" id="QKz+d//+I)DQ,_A{6Jaj">
                                    <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                  </block>
                                </value>
                                <value name="ADD1">
                                  <block type="get_value" id="*3jCi9nMB~z89D,EdRyd">
                                    <field name="ATTR">val</field>
                                    <field name="OID">alexa2.0.History.serialNumber</field>
                                  </block>
                                </value>
                                <value name="ADD2">
                                  <block type="text" id="`MBSYJ8lpEHo/W%Q2:jF">
                                    <field name="TEXT">.Commands.speak-volume</field>
                                  </block>
                                </value>
                              </block>
                            </value>
                            <next>
                              <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                                <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                                <value name="VALUE">
                                  <block type="text_join" id="0#)Q6.hA8*b=6aL2Omf5">
                                    <mutation items="3"></mutation>
                                    <value name="ADD0">
                                      <block type="text" id="k59DZfRE#w~3y~/b[OH_">
                                        <field name="TEXT">Die Temperatur im Wohnzimmer ist aktuell </field>
                                      </block>
                                    </value>
                                    <value name="ADD1">
                                      <block type="get_value" id="WhS9vGl{iR}*!Z.~8_Hj">
                                        <field name="ATTR">val</field>
                                        <field name="OID">mihome.0.devices.weather_v1_158d0002e91bc1.temperature</field>
                                      </block>
                                    </value>
                                    <value name="ADD2">
                                      <block type="text" id="6{|}5^GsE]F!31Nfa6my">
                                        <field name="TEXT"> Grad</field>
                                      </block>
                                    </value>
                                  </block>
                                </value>
                                <next>
                                  <block type="control_ex" id="N`bH~vTk2J(;!)ChQ54-" inline="true">
                                    <field name="TYPE">false</field>
                                    <field name="CLEAR_RUNNING">FALSE</field>
                                    <value name="OID">
                                      <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                        <field name="oid">Object ID</field>
                                      </shadow>
                                      <block type="variables_get" id="?_Re.YF9,M4+PeasOubP">
                                        <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                                      </block>
                                    </value>
                                    <value name="VALUE">
                                      <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                        <field name="BOOL">TRUE</field>
                                      </shadow>
                                      <block type="variables_get" id="w!rFe*57mL/mjY:3VxBr">
                                        <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                                      </block>
                                    </value>
                                    <value name="DELAY_MS">
                                      <shadow type="math_number" id="(}$s}10/Wk|!PJ7mJkBl">
                                        <field name="NUM">0</field>
                                      </shadow>
                                    </value>
                                    <next>
                                      <block type="control_ex" id="am/`YM%nX)[tXw]-@Wz~" inline="true">
                                        <field name="TYPE">false</field>
                                        <field name="CLEAR_RUNNING">FALSE</field>
                                        <value name="OID">
                                          <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                            <field name="oid">Object ID</field>
                                          </shadow>
                                          <block type="variables_get" id="%3_D}O[OXu0D,F8iH!:7">
                                            <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                                          </block>
                                        </value>
                                        <value name="VALUE">
                                          <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                            <field name="BOOL">TRUE</field>
                                          </shadow>
                                          <block type="variables_get" id=":Y6^C_1.#WC21Lla9Md{">
                                            <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                                          </block>
                                        </value>
                                        <value name="DELAY_MS">
                                          <shadow type="math_number" id="smJl9lo{R$H[Zjf7R!;h">
                                            <field name="NUM">0</field>
                                          </shadow>
                                        </value>
                                        <next>
                                          <block type="sendto_custom" id="h;DrZ,l|@:cHB$sk]w$t">
                                            <mutation items="message,timeout,msgType" with_statement="false"></mutation>
                                            <field name="INSTANCE">enigma2.0</field>
                                            <field name="COMMAND">send</field>
                                            <field name="WITH_STATEMENT">FALSE</field>
                                            <field name="LOG"></field>
                                            <value name="ARG0">
                                              <shadow type="text" id="9pQ#l:Rq[=oy}dHPcsB:">
                                                <field name="TEXT"></field>
                                              </shadow>
                                              <block type="variables_get" id="u#/Nmgi4TzEz*30VO506">
                                                <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                                              </block>
                                            </value>
                                            <value name="ARG1">
                                              <shadow type="text" id="{[vWUE7mZ{(%R`n3}2z7">
                                                <field name="TEXT"></field>
                                              </shadow>
                                              <block type="math_number" id="[.AyHsHAgHEOMn1}xbLM">
                                                <field name="NUM">10</field>
                                              </block>
                                            </value>
                                            <value name="ARG2">
                                              <shadow type="text" id="V($k:TC1oRY@vaNEv^HR">
                                                <field name="TEXT"></field>
                                              </shadow>
                                              <block type="math_number" id="nt=J?Q2:`U4r/L5;..l?">
                                                <field name="NUM">1</field>
                                              </block>
                                            </value>
                                          </block>
                                        </next>
                                      </block>
                                    </next>
                                  </block>
                                </next>
                              </block>
                            </next>
                          </block>
                        </next>
                      </block>
                    </statement>
                  </block>
                </next>
              </block>
            </next>
          </block>
        </xml>
        

        dslraserD Offline
        dslraserD Offline
        dslraser
        Forum Testing Most Active
        schrieb am zuletzt editiert von dslraser
        #3

        @Negalein
        mal ne andere Frage, was kommt bei Lautstärke 1 raus, eigentlich doch nix, oder ? ( 1 ist gleich 1 von 100)

        NegaleinN 1 Antwort Letzte Antwort
        0
        • NegaleinN Negalein

          Hallo!

          In diesem Blockly wird der Alexa-Speak-Volume DP mit einem Wert befüllt.
          Leider bleibt der Wert dann solange stehen, bis ein anderes Script wieder einen neuen Wert schreibt.

          Ich verwende nur dieses eine Blockly, das die Speak-Volume einstellt.

          Kann ich im Blockly den Wert aus dem Speak-DP wieder löschen lassen, wenn es durchgelaufen ist?

          javascript - ioBroker (1).png
          objects - ioBroker (7).png

          <xml xmlns="http://www.w3.org/1999/xhtml">
            <variables>
              <variable type="" id="m7!f@;c]Npk-3^:-e)tt">Ansagelautstaerke</variable>
              <variable type="" id="tx`]izPXI!BeK19V`CX$">angesprochener_echo</variable>
              <variable type="" id="}tfHo!d;DNiy8lns,/nq">speak_volume</variable>
              <variable type="" id="*mu5H7zua6o!Dt2x`1n$">Ansage</variable>
            </variables>
            <block type="procedures_defcustomnoreturn" id="eZsGA^2r{c%G,YpuLp]K" disabled="true" x="13" y="13">
              <mutation statements="false"></mutation>
              <field name="NAME">dp_erstellen</field>
              <field name="SCRIPT">Ly9EYXRlbnB1bmt0IEJ1dHRvbiBmw7xyIEFuc2FnZSBlcnN0ZWxsZW4KY3JlYXRlU3RhdGUoIkVpZ2VuZV9EYXRlbnB1bmt0ZS4wMUFsZXhhMkFuc2FnZW4uQW5zYWdlbi4xMkx1ZnRmZXVjaHRpZ2tlaXRfYXVzc2VuIiwgewogICAgbmFtZTogJzEyTHVmdGZldWNodGlna2VpdCBBdXNzZW4nLCAKICAgICJyb2xlIjogImJ1dHRvbiIsCiAgICAidHlwZSI6ICJtaXhlZCIsCiAgICAicmVhZCI6IHRydWUsCiAgICAid3JpdGUiOiB0cnVlLAogICAgInNtYXJ0TmFtZSI6IHsKICAgICJkZSI6ICIxMkx1ZnRmZXVjaHRpZ2tlaXQgQXVzc2VuIiwKICAgICJzbWFydFR5cGUiOiAiU1dJVENIIgp9Cn0pOw==</field>
              <comment pinned="false" h="80" w="160">Datenpunkte erstellen</comment>
            </block>
            <block type="procedures_callcustomnoreturn" id="A)Jpv66,y7VG|8K92{;d" disabled="true" x="13" y="63">
              <mutation name="dp_erstellen"></mutation>
              <next>
                <block type="on" id="pPAe?D9#C-MzNdYWPK]r">
                  <field name="OID">alexa2.0.History.serialNumber</field>
                  <field name="CONDITION">any</field>
                  <field name="ACK_CONDITION"></field>
                  <statement name="STATEMENT">
                    <block type="comment" id="nt?35vVGNSD?_y_($k89">
                      <field name="COMMENT">gewünschte Ansagelautstärke reinschreiben</field>
                      <next>
                        <block type="variables_set" id="U?g9VUC6Zns3.pwdA/Za">
                          <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                          <value name="VALUE">
                            <block type="math_number" id="ymNK_Bz-8ZEg{DNBt]LZ">
                              <field name="NUM">1</field>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="raHp)T;G6o1nDaQZ5Qrg">
                              <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                              <value name="VALUE">
                                <block type="text_join" id="q`1!?SO4KN9hG:/?YC1L">
                                  <mutation items="3"></mutation>
                                  <value name="ADD0">
                                    <block type="text" id="lG5cq|_e-SYygMARlNe%">
                                      <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                    </block>
                                  </value>
                                  <value name="ADD1">
                                    <block type="get_value" id="M7plEDg{8pq2=J9a2fzQ">
                                      <field name="ATTR">val</field>
                                      <field name="OID">alexa2.0.History.serialNumber</field>
                                    </block>
                                  </value>
                                  <value name="ADD2">
                                    <block type="text" id="v.6VG(Lxwxo.[IIHs$U=">
                                      <field name="TEXT">.Commands.speak</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="N?jvkadzp3l@_Na$GSh3">
                                  <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                                  <value name="VALUE">
                                    <block type="text_join" id="2;bG:Tv$~s+Itqhld@ML">
                                      <mutation items="3"></mutation>
                                      <value name="ADD0">
                                        <block type="text" id="U0%on0@O$stDed%wbZLS">
                                          <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="get_value" id="F;9-S~mvqb0GUKsf@iKm">
                                          <field name="ATTR">val</field>
                                          <field name="OID">alexa2.0.History.serialNumber</field>
                                        </block>
                                      </value>
                                      <value name="ADD2">
                                        <block type="text" id=".(-6vYavAe:;F~Wr[qy!">
                                          <field name="TEXT">.Commands.speak-volume</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control_ex" id="na!KX8sgIYL2ksHDN`jh" inline="true">
                                      <field name="TYPE">false</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="OID">
                                        <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                          <field name="oid">Object ID</field>
                                        </shadow>
                                        <block type="variables_get" id="s@N_NR{{@D|oU}ru)aMj">
                                          <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                                        </block>
                                      </value>
                                      <value name="VALUE">
                                        <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                          <field name="BOOL">TRUE</field>
                                        </shadow>
                                        <block type="variables_get" id="a)qv{KMt]0rt*Qb#p1^c">
                                          <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                                        </block>
                                      </value>
                                      <value name="DELAY_MS">
                                        <shadow type="math_number" id="/FwEmMj3J/ZV%60O$/9S">
                                          <field name="NUM">0</field>
                                        </shadow>
                                      </value>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </next>
                    </block>
                  </statement>
                  <next>
                    <block type="on_ext" id="Ac;^b|`@QSn~WL%:8Hxc">
                      <mutation items="1"></mutation>
                      <field name="CONDITION">any</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                        <shadow type="field_oid" id="hD}F{s%j}T;e:l|Y_t5O">
                          <field name="oid">javascript.0.Eigene_Datenpunkte.Alexa2Ansagen.Wohnzimmertemperatur</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="variables_set" id="$J.=!-BfeGs#(CBLM(1[">
                          <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                          <value name="VALUE">
                            <block type="text_join" id=";bPPOaCx,_qCBH8M{*aK">
                              <mutation items="3"></mutation>
                              <value name="ADD0">
                                <block type="text" id="e]oKxZ#%6l[[W.dB!#iP">
                                  <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                </block>
                              </value>
                              <value name="ADD1">
                                <block type="get_value" id="V~6.N)X7gAwv]to%BOD2">
                                  <field name="ATTR">val</field>
                                  <field name="OID">alexa2.0.History.serialNumber</field>
                                </block>
                              </value>
                              <value name="ADD2">
                                <block type="text" id="y@.l4E~,u(c_NQM;R!K7">
                                  <field name="TEXT">.Commands.speak</field>
                                </block>
                              </value>
                            </block>
                          </value>
                          <next>
                            <block type="variables_set" id="%@~XbR*]v;?^@yN8*J1a">
                              <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                              <value name="VALUE">
                                <block type="text_join" id="XS_zN+oIGrtSdXPN,FUS">
                                  <mutation items="3"></mutation>
                                  <value name="ADD0">
                                    <block type="text" id="QKz+d//+I)DQ,_A{6Jaj">
                                      <field name="TEXT">alexa2.0.Echo-Devices.</field>
                                    </block>
                                  </value>
                                  <value name="ADD1">
                                    <block type="get_value" id="*3jCi9nMB~z89D,EdRyd">
                                      <field name="ATTR">val</field>
                                      <field name="OID">alexa2.0.History.serialNumber</field>
                                    </block>
                                  </value>
                                  <value name="ADD2">
                                    <block type="text" id="`MBSYJ8lpEHo/W%Q2:jF">
                                      <field name="TEXT">.Commands.speak-volume</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <next>
                                <block type="variables_set" id="5VFfHYTB!S7A^A*?SicA">
                                  <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                                  <value name="VALUE">
                                    <block type="text_join" id="0#)Q6.hA8*b=6aL2Omf5">
                                      <mutation items="3"></mutation>
                                      <value name="ADD0">
                                        <block type="text" id="k59DZfRE#w~3y~/b[OH_">
                                          <field name="TEXT">Die Temperatur im Wohnzimmer ist aktuell </field>
                                        </block>
                                      </value>
                                      <value name="ADD1">
                                        <block type="get_value" id="WhS9vGl{iR}*!Z.~8_Hj">
                                          <field name="ATTR">val</field>
                                          <field name="OID">mihome.0.devices.weather_v1_158d0002e91bc1.temperature</field>
                                        </block>
                                      </value>
                                      <value name="ADD2">
                                        <block type="text" id="6{|}5^GsE]F!31Nfa6my">
                                          <field name="TEXT"> Grad</field>
                                        </block>
                                      </value>
                                    </block>
                                  </value>
                                  <next>
                                    <block type="control_ex" id="N`bH~vTk2J(;!)ChQ54-" inline="true">
                                      <field name="TYPE">false</field>
                                      <field name="CLEAR_RUNNING">FALSE</field>
                                      <value name="OID">
                                        <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                          <field name="oid">Object ID</field>
                                        </shadow>
                                        <block type="variables_get" id="?_Re.YF9,M4+PeasOubP">
                                          <field name="VAR" id="}tfHo!d;DNiy8lns,/nq" variabletype="">speak_volume</field>
                                        </block>
                                      </value>
                                      <value name="VALUE">
                                        <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                          <field name="BOOL">TRUE</field>
                                        </shadow>
                                        <block type="variables_get" id="w!rFe*57mL/mjY:3VxBr">
                                          <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt" variabletype="">Ansagelautstaerke</field>
                                        </block>
                                      </value>
                                      <value name="DELAY_MS">
                                        <shadow type="math_number" id="(}$s}10/Wk|!PJ7mJkBl">
                                          <field name="NUM">0</field>
                                        </shadow>
                                      </value>
                                      <next>
                                        <block type="control_ex" id="am/`YM%nX)[tXw]-@Wz~" inline="true">
                                          <field name="TYPE">false</field>
                                          <field name="CLEAR_RUNNING">FALSE</field>
                                          <value name="OID">
                                            <shadow type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                              <field name="oid">Object ID</field>
                                            </shadow>
                                            <block type="variables_get" id="%3_D}O[OXu0D,F8iH!:7">
                                              <field name="VAR" id="tx`]izPXI!BeK19V`CX$" variabletype="">angesprochener_echo</field>
                                            </block>
                                          </value>
                                          <value name="VALUE">
                                            <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                              <field name="BOOL">TRUE</field>
                                            </shadow>
                                            <block type="variables_get" id=":Y6^C_1.#WC21Lla9Md{">
                                              <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                                            </block>
                                          </value>
                                          <value name="DELAY_MS">
                                            <shadow type="math_number" id="smJl9lo{R$H[Zjf7R!;h">
                                              <field name="NUM">0</field>
                                            </shadow>
                                          </value>
                                          <next>
                                            <block type="sendto_custom" id="h;DrZ,l|@:cHB$sk]w$t">
                                              <mutation items="message,timeout,msgType" with_statement="false"></mutation>
                                              <field name="INSTANCE">enigma2.0</field>
                                              <field name="COMMAND">send</field>
                                              <field name="WITH_STATEMENT">FALSE</field>
                                              <field name="LOG"></field>
                                              <value name="ARG0">
                                                <shadow type="text" id="9pQ#l:Rq[=oy}dHPcsB:">
                                                  <field name="TEXT"></field>
                                                </shadow>
                                                <block type="variables_get" id="u#/Nmgi4TzEz*30VO506">
                                                  <field name="VAR" id="*mu5H7zua6o!Dt2x`1n$" variabletype="">Ansage</field>
                                                </block>
                                              </value>
                                              <value name="ARG1">
                                                <shadow type="text" id="{[vWUE7mZ{(%R`n3}2z7">
                                                  <field name="TEXT"></field>
                                                </shadow>
                                                <block type="math_number" id="[.AyHsHAgHEOMn1}xbLM">
                                                  <field name="NUM">10</field>
                                                </block>
                                              </value>
                                              <value name="ARG2">
                                                <shadow type="text" id="V($k:TC1oRY@vaNEv^HR">
                                                  <field name="TEXT"></field>
                                                </shadow>
                                                <block type="math_number" id="nt=J?Q2:`U4r/L5;..l?">
                                                  <field name="NUM">1</field>
                                                </block>
                                              </value>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                  </next>
                </block>
              </next>
            </block>
          </xml>
          

          crunchipC Offline
          crunchipC Offline
          crunchip
          Forum Testing Most Active
          schrieb am zuletzt editiert von
          #4

          @Negalein zum einen kannst du doch zu Beginn die aktuelle Lautstärke in eine Variable setzen und am Ende wieder auf den Ursprung.
          aber viel mehr bin ich gerade mit deinem Blockly überfordert, versteh ich nicht, was du da genau vor hast.

          umgestiegen von Proxmox auf Unraid

          1 Antwort Letzte Antwort
          0
          • dslraserD dslraser

            @Negalein
            mal ne andere Frage, was kommt bei Lautstärke 1 raus, eigentlich doch nix, oder ? ( 1 ist gleich 1 von 100)

            NegaleinN Offline
            NegaleinN Offline
            Negalein
            Global Moderator
            schrieb am zuletzt editiert von
            #5

            @CruziX @dslraser @crunchip

            Ahhh, ich Depp!
            Hab zu kompliziert gedacht.
            Wollte nur die Temperaturam TV anzeigen unde hab warum auch immer auch die Echos mitgenommen.

            Funktioniert jetzt.

            ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
            ° Node.js Fixer ---> iob nodejs-update
            ° Fixer ---> iob fix

            dslraserD 1 Antwort Letzte Antwort
            0
            • NegaleinN Negalein

              @CruziX @dslraser @crunchip

              Ahhh, ich Depp!
              Hab zu kompliziert gedacht.
              Wollte nur die Temperaturam TV anzeigen unde hab warum auch immer auch die Echos mitgenommen.

              Funktioniert jetzt.

              dslraserD Offline
              dslraserD Offline
              dslraser
              Forum Testing Most Active
              schrieb am zuletzt editiert von
              #6

              @Negalein
              Aber die Anzeige am TV kommt dann auch bei jeder Temperatur Aktualisierung, selbst wenn die sich nicht ändert.
              Das könnte auf Dauer nerven am TV, da jede Aktualisierung und auch Änderung von 0,1 bereits wieder anzeigt.

              NegaleinN 1 Antwort Letzte Antwort
              0
              • dslraserD dslraser

                @Negalein
                Aber die Anzeige am TV kommt dann auch bei jeder Temperatur Aktualisierung, selbst wenn die sich nicht ändert.
                Das könnte auf Dauer nerven am TV, da jede Aktualisierung und auch Änderung von 0,1 bereits wieder anzeigt.

                NegaleinN Offline
                NegaleinN Offline
                Negalein
                Global Moderator
                schrieb am zuletzt editiert von
                #7

                @dslraser sagte in DP Wert wieder löschen:

                Aber die Anzeige am TV kommt dann auch bei jeder Temperatur Aktualisierung, selbst wenn die sich nicht ändert.

                Wohnzimmertemperatur ist ein IOT-Objekt.

                Müsste das dann doch passen?

                instances - ioBroker.png javascript - ioBroker (2).png

                ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
                ° Node.js Fixer ---> iob nodejs-update
                ° Fixer ---> iob fix

                dslraserD 1 Antwort Letzte Antwort
                0
                • NegaleinN Negalein

                  @dslraser sagte in DP Wert wieder löschen:

                  Aber die Anzeige am TV kommt dann auch bei jeder Temperatur Aktualisierung, selbst wenn die sich nicht ändert.

                  Wohnzimmertemperatur ist ein IOT-Objekt.

                  Müsste das dann doch passen?

                  instances - ioBroker.png javascript - ioBroker (2).png

                  dslraserD Offline
                  dslraserD Offline
                  dslraser
                  Forum Testing Most Active
                  schrieb am zuletzt editiert von dslraser
                  #8

                  @Negalein
                  achso, ist das ein selbst erstellter Button für eine Routine oder so ? Wenn ja, dann passt es.
                  Also kommt dann bei der Alexa Temperaturabfrage der Wert auf dem TV.

                  Edit: wie macht ihr eigentlich das Wort in dieser roten "Code Schrift" ?
                  (Wohnzimmertemperatur)

                  NegaleinN 1 Antwort Letzte Antwort
                  0
                  • dslraserD dslraser

                    @Negalein
                    achso, ist das ein selbst erstellter Button für eine Routine oder so ? Wenn ja, dann passt es.
                    Also kommt dann bei der Alexa Temperaturabfrage der Wert auf dem TV.

                    Edit: wie macht ihr eigentlich das Wort in dieser roten "Code Schrift" ?
                    (Wohnzimmertemperatur)

                    NegaleinN Offline
                    NegaleinN Offline
                    Negalein
                    Global Moderator
                    schrieb am zuletzt editiert von Negalein
                    #9

                    @dslraser sagte in DP Wert wieder löschen:

                    achso, ist das ein selbst erstellter Button für eine Routine oder so ? Wenn ja, dann passt es.
                    Also kommt dann bei der Alexa Temperaturabfrage der Wert auf dem TV.

                    Genau

                    Edit: wie macht ihr eigentlich das Wort in dieser roten "Code Schrift" ?

                    mit diesem Zeichen ` vor und nach dem Wort, Satz, ...

                    `Wohnzimmertemperatur`
                    

                    ° Node.js & System Update ---> sudo apt update, iob stop, sudo apt full-upgrade
                    ° Node.js Fixer ---> iob nodejs-update
                    ° Fixer ---> iob fix

                    1 Antwort Letzte Antwort
                    1
                    Antworten
                    • In einem neuen Thema antworten
                    Anmelden zum Antworten
                    • Älteste zuerst
                    • Neuste zuerst
                    • Meiste Stimmen


                    Support us

                    ioBroker
                    Community Adapters
                    Donate

                    651

                    Online

                    32.6k

                    Benutzer

                    82.3k

                    Themen

                    1.3m

                    Beiträge
                    Community
                    Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                    ioBroker Community 2014-2025
                    logo
                    • Anmelden

                    • Du hast noch kein Konto? Registrieren

                    • Anmelden oder registrieren, um zu suchen
                    • Erster Beitrag
                      Letzter Beitrag
                    0
                    • Home
                    • Aktuell
                    • Tags
                    • Ungelesen 0
                    • Kategorien
                    • Unreplied
                    • Beliebt
                    • GitHub
                    • Docu
                    • Hilfe