Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Blockly
    5. [gelöst] Status von Alias kann nicht abgefragt werden

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Status von Alias kann nicht abgefragt werden

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 @Kuddel last edited by

      @Kuddel sagte:

      Hat jemand eine Idee, was das Problem sein könnte?

      Nach dem Erstellen mal die Javascript-Instanz neu gestartet ?

      K 1 Reply Last reply Reply Quote 0
      • K
        Kuddel @paul53 last edited by

        @paul53 oh man. das wars. es kann manchmal echt mega einfach sein.

        Vielen Dank

        1 Reply Last reply Reply Quote 0
        • H
          hofmannha @Kuddel last edited by

          @Kuddel
          Hallo Kuddel,
          in welchem Script werden dann diese Variablen beschrieben?
          echo.PNG
          Vielen Dank und einen schönen Sonntag.

          K 1 Reply Last reply Reply Quote 0
          • K
            Kuddel @hofmannha last edited by

            @hofmannha in verschiednene Skriten.

            Der Status eines jedene Echo Gerätes wird von einem Skript gesteuert.

            *_sprachsausgabe wird von diversen Skripten befüllt

            H 1 Reply Last reply Reply Quote 0
            • H
              hofmannha @Kuddel last edited by

              @Kuddel
              Danke, aber wie heißen denn die Scripte?

              K 1 Reply Last reply Reply Quote 0
              • K
                Kuddel @hofmannha last edited by

                @hofmannha

                echo_stati z.B.

                H 1 Reply Last reply Reply Quote 0
                • H
                  hofmannha @Kuddel last edited by

                  @Kuddel
                  könntest Du mir diese Scripte zur Verfügung stellen?

                  K 1 Reply Last reply Reply Quote 0
                  • K
                    Kuddel @hofmannha last edited by

                    @hofmannha

                    <block xmlns="http://www.w3.org/1999/xhtml" type="on_ext" id="ZTJ#4Ya@!gKB*[R;.n9K" collapsed="true" x="-687" y="-511">
                      <mutation items="10"></mutation>
                      <field name="CONDITION">ne</field>
                      <field name="ACK_CONDITION"></field>
                      <value name="OID0">
                        <shadow type="field_oid" id="8rbV~8Dmy04hS8wxbc9E">
                          <field name="oid">alexa2.0.Echo-Devices.G090LF11819608MX.Player.currentState</field>
                        </shadow>
                      </value>
                      <value name="OID1">
                        <shadow type="field_oid" id="OF#L~s+~2#7~@qfAsYB3">
                          <field name="oid">alexa2.0.Echo-Devices.G090LF1184250DT2.Player.currentState</field>
                        </shadow>
                      </value>
                      <value name="OID2">
                        <shadow type="field_oid" id="+RxGgYoe^IuMs%oKq0tt">
                          <field name="oid">alexa2.0.Echo-Devices.G2A0P30883260826.Player.currentState</field>
                        </shadow>
                      </value>
                      <value name="OID3">
                        <shadow type="field_oid" id="^egt:EJF2}@|v*Fb:hf#">
                          <field name="oid">alexa2.0.Echo-Devices.b0ccd53c13cc4ec0a03f192efd76abb1.Player.currentState</field>
                        </shadow>
                      </value>
                      <value name="OID4">
                        <shadow type="field_oid" id=":KsDi]OJNRF^U9mQg~-{">
                          <field name="oid">alexa2.0.Echo-Devices.5e4f60f0dd7a414f9972e59f4fa85bf4.Player.currentState</field>
                        </shadow>
                      </value>
                      <value name="OID5">
                        <shadow type="field_oid" id="3uVs2OO9%M6pDJ7[?lYk">
                          <field name="oid">alexa2.0.Echo-Devices.G090LF11819608MX.Player.providerName</field>
                        </shadow>
                      </value>
                      <value name="OID6">
                        <shadow type="field_oid" id="wvmIx[t{4d*s)!u;=9iy">
                          <field name="oid">alexa2.0.Echo-Devices.G090LF1184250DT2.Player.providerName</field>
                        </shadow>
                      </value>
                      <value name="OID7">
                        <shadow type="field_oid" id="MvCt1ATyx;zA!qLBPG3m">
                          <field name="oid">alexa2.0.Echo-Devices.G2A0P30883260826.Player.providerName</field>
                        </shadow>
                      </value>
                      <value name="OID8">
                        <shadow type="field_oid" id="+V{AgUL?MbLT1_XJ#yg*">
                          <field name="oid">alexa2.0.Echo-Devices.G090LF1184250DT2.Player.providerName</field>
                        </shadow>
                      </value>
                      <value name="OID9">
                        <shadow type="field_oid" id="M#G/?-LA5!;iY!ZCma=]">
                          <field name="oid">alexa2.0.Echo-Devices.5e4f60f0dd7a414f9972e59f4fa85bf4.Player.providerName</field>
                        </shadow>
                      </value>
                      <statement name="STATEMENT">
                        <block type="comment" id="4FYP`p#Do8g=ABY;@%2)">
                          <field name="COMMENT">Wohnzimmer</field>
                          <next>
                            <block type="controls_if" id="ha((-fbS7gbfR:y61GUs">
                              <mutation else="1"></mutation>
                              <value name="IF0">
                                <block type="logic_compare" id="BEw(%b~a7AK@l,Klw{__">
                                  <field name="OP">EQ</field>
                                  <value name="A">
                                    <block type="get_value" id="~[+E!^yYZoCt=:-hB[Xg">
                                      <field name="ATTR">val</field>
                                      <field name="OID">alexa2.0.Echo-Devices.G090LF11819608MX.Player.currentState</field>
                                    </block>
                                  </value>
                                  <value name="B">
                                    <block type="logic_boolean" id="f4SnD/ystx74h/*R|rTh">
                                      <field name="BOOL">TRUE</field>
                                    </block>
                                  </value>
                                </block>
                              </value>
                              <statement name="DO0">
                                <block type="control" id="bTZ%XPLm].wNpA;ntJJl">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">javascript.0.echo.wohnzimmer_status</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="get_value" id="94%ts|GSV*3notwkh]4|">
                                      <field name="ATTR">val</field>
                                      <field name="OID">alexa2.0.Echo-Devices.G090LF11819608MX.Player.providerName</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <statement name="ELSE">
                                <block type="control" id="Gw+l[YjS2-K?@Xq2sP7:">
                                  <mutation delay_input="false"></mutation>
                                  <field name="OID">javascript.0.echo.wohnzimmer_status</field>
                                  <field name="WITH_DELAY">FALSE</field>
                                  <value name="VALUE">
                                    <block type="text" id="X;(9KwG!6ZS{8(,QoKxp">
                                      <field name="TEXT">Stopped</field>
                                    </block>
                                  </value>
                                </block>
                              </statement>
                              <next>
                                <block type="comment" id="De2U]!`e=RVv!@iIy1AE">
                                  <field name="COMMENT">Küche</field>
                                  <next>
                                    <block type="controls_if" id="J.(Z./0%(yW[W0c!#aLD">
                                      <mutation else="1"></mutation>
                                      <value name="IF0">
                                        <block type="logic_compare" id="AO]n*Ns;nKWyUnPUHlTt">
                                          <field name="OP">EQ</field>
                                          <value name="A">
                                            <block type="get_value" id=".vAl8S-]hb/]xc?fm?/W">
                                              <field name="ATTR">val</field>
                                              <field name="OID">alexa2.0.Echo-Devices.G090LF1184250DT2.Player.currentState</field>
                                            </block>
                                          </value>
                                          <value name="B">
                                            <block type="logic_boolean" id="7a/#TTrAwYJvEz?bc{N!">
                                              <field name="BOOL">TRUE</field>
                                            </block>
                                          </value>
                                        </block>
                                      </value>
                                      <statement name="DO0">
                                        <block type="control" id="m1l0nsWk75ZT_`UGHxKG">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">javascript.0.echo.kueche_status</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="get_value" id="D%CV7^NA7VC:4|X./M*R">
                                              <field name="ATTR">val</field>
                                              <field name="OID">alexa2.0.Echo-Devices.G090LF1184250DT2.Player.providerName</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <statement name="ELSE">
                                        <block type="control" id="dQW2~,9.wt_!kZhYyIXe">
                                          <mutation delay_input="false"></mutation>
                                          <field name="OID">javascript.0.echo.kueche_status</field>
                                          <field name="WITH_DELAY">FALSE</field>
                                          <value name="VALUE">
                                            <block type="text" id="Pg7%R9Lf:Au)SYo-l*-N">
                                              <field name="TEXT">Stopped</field>
                                            </block>
                                          </value>
                                        </block>
                                      </statement>
                                      <next>
                                        <block type="comment" id=";_6M6CXp[Ez1@~Mor)/u">
                                          <field name="COMMENT">Badezimmer</field>
                                          <next>
                                            <block type="controls_if" id="#7.Vq+4*xn+QEI=L_sN(">
                                              <mutation else="1"></mutation>
                                              <value name="IF0">
                                                <block type="logic_compare" id="F@O*5^DH8:NeM|T:2@O!">
                                                  <field name="OP">EQ</field>
                                                  <value name="A">
                                                    <block type="get_value" id="B2{HHbV)l`5XIM2l}/Zj">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">alexa2.0.Echo-Devices.G2A0P30883260826.Player.currentState</field>
                                                    </block>
                                                  </value>
                                                  <value name="B">
                                                    <block type="logic_boolean" id="pm=nAdF^`:U_!f/K#rGU">
                                                      <field name="BOOL">TRUE</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </value>
                                              <statement name="DO0">
                                                <block type="control" id="vmS)9?#]~)7o!8mOW*+Q">
                                                  <mutation delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.echo.badezimmer_status</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="get_value" id="jZ^:u?Z)2k#7f^1itM4m">
                                                      <field name="ATTR">val</field>
                                                      <field name="OID">alexa2.0.Echo-Devices.G2A0P30883260826.Player.providerName</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                              <statement name="ELSE">
                                                <block type="control" id="vM,fDXd|DgoddElII,z!">
                                                  <mutation delay_input="false"></mutation>
                                                  <field name="OID">javascript.0.echo.badezimmer_status</field>
                                                  <field name="WITH_DELAY">FALSE</field>
                                                  <value name="VALUE">
                                                    <block type="text" id="~;@iyS~Rb[K]/#gQwebA">
                                                      <field name="TEXT">Stopped</field>
                                                    </block>
                                                  </value>
                                                </block>
                                              </statement>
                                              <next>
                                                <block type="comment" id="Rj]bvfphCDPIGyX=)hRL">
                                                  <field name="COMMENT">Erdgeschoss</field>
                                                  <next>
                                                    <block type="controls_if" id="vkF%+Y!)m,D6#Kf?JSzN">
                                                      <mutation else="1"></mutation>
                                                      <value name="IF0">
                                                        <block type="logic_compare" id="fd1|gq({-:{gLTcLgoPn">
                                                          <field name="OP">EQ</field>
                                                          <value name="A">
                                                            <block type="get_value" id="cN(^N[_d@{et%oU^AT.~">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">alexa2.0.Echo-Devices.b0ccd53c13cc4ec0a03f192efd76abb1.Player.currentState</field>
                                                            </block>
                                                          </value>
                                                          <value name="B">
                                                            <block type="logic_boolean" id="W?I!1fvifm)WYmLgGl][">
                                                              <field name="BOOL">TRUE</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </value>
                                                      <statement name="DO0">
                                                        <block type="control" id="cjI8o9(bue=M=]adkp=v">
                                                          <mutation delay_input="false"></mutation>
                                                          <field name="OID">javascript.0.echo.erdgeschoss_status</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="get_value" id="[LM#=Le{ImP{;^iq5`v*">
                                                              <field name="ATTR">val</field>
                                                              <field name="OID">alexa2.0.Echo-Devices.b0ccd53c13cc4ec0a03f192efd76abb1.Player.providerName</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </statement>
                                                      <statement name="ELSE">
                                                        <block type="control" id="!gw{F{W5/Dz,si1c-[b*">
                                                          <mutation delay_input="false"></mutation>
                                                          <field name="OID">javascript.0.echo.erdgeschoss_status</field>
                                                          <field name="WITH_DELAY">FALSE</field>
                                                          <value name="VALUE">
                                                            <block type="text" id="d`*`:_LIK8C)y03iDBFO">
                                                              <field name="TEXT">Stopped</field>
                                                            </block>
                                                          </value>
                                                        </block>
                                                      </statement>
                                                      <next>
                                                        <block type="comment" id="}C=}fnySgU2)}FpJJ0oE">
                                                          <field name="COMMENT">Haus</field>
                                                          <next>
                                                            <block type="controls_if" id="g-hLJ9*(SO/4DuR48r5?">
                                                              <mutation else="1"></mutation>
                                                              <value name="IF0">
                                                                <block type="logic_compare" id="EPe#-.p6.^E?}/v~Cm]z">
                                                                  <field name="OP">EQ</field>
                                                                  <value name="A">
                                                                    <block type="get_value" id="W/o]R6m}`|J:4U)2SM:)">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">alexa2.0.Echo-Devices.5e4f60f0dd7a414f9972e59f4fa85bf4.Player.currentState</field>
                                                                    </block>
                                                                  </value>
                                                                  <value name="B">
                                                                    <block type="logic_boolean" id="KX#KI.-n.DT|u(Wf(rf4">
                                                                      <field name="BOOL">TRUE</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </value>
                                                              <statement name="DO0">
                                                                <block type="control" id="(4bnk4=h|nik,)okp894">
                                                                  <mutation delay_input="false"></mutation>
                                                                  <field name="OID">javascript.0.echo.haus_status</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="get_value" id="`3iLsM^bqCJCFvY@gKR)">
                                                                      <field name="ATTR">val</field>
                                                                      <field name="OID">alexa2.0.Echo-Devices.5e4f60f0dd7a414f9972e59f4fa85bf4.Player.providerName</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                              <statement name="ELSE">
                                                                <block type="control" id="|*^UqMwLIo~)P)D,QwPS">
                                                                  <mutation delay_input="false"></mutation>
                                                                  <field name="OID">javascript.0.echo.haus_status</field>
                                                                  <field name="WITH_DELAY">FALSE</field>
                                                                  <value name="VALUE">
                                                                    <block type="text" id="hT1,[QfGjA8-1ls}WgR=">
                                                                      <field name="TEXT">Stopped</field>
                                                                    </block>
                                                                  </value>
                                                                </block>
                                                              </statement>
                                                            </block>
                                                          </next>
                                                        </block>
                                                      </next>
                                                    </block>
                                                  </next>
                                                </block>
                                              </next>
                                            </block>
                                          </next>
                                        </block>
                                      </next>
                                    </block>
                                  </next>
                                </block>
                              </next>
                            </block>
                          </next>
                        </block>
                      </statement>
                    </block>
                    

                    H 1 Reply Last reply Reply Quote 0
                    • H
                      hofmannha @Kuddel last edited by

                      @Kuddel
                      Danke, aber ich glaube, das ist das falsche Script.
                      Ich hänge hier fest.
                      echo2.PNG
                      Alexa soll mir sagen, Waschmaschine bzw. Trockner ist fertig.

                      K 1 Reply Last reply Reply Quote 0
                      • K
                        Kuddel @hofmannha last edited by

                        @hofmannha ich habe dir vorhin das skript für den Echo Status gepostet.

                        Was dein Sxreenshot angeht:

                        Du brauchst noch ein Skript, was den DP für das jeweilige Gerät auf 2 ändert.

                        Hier von meiner Waschmaschine:

                        8ef63ec4-701f-4b73-b36f-a7c7a8336b75-grafik.png

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

                        Support us

                        ioBroker
                        Community Adapters
                        Donate

                        428
                        Online

                        32.0k
                        Users

                        80.4k
                        Topics

                        1.3m
                        Posts

                        blockly
                        3
                        11
                        356
                        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