NEWS
Wie muss das Blockly bei Alexa Sprachausgabe aussehen?
-
Hi vielen vielen Dank fastfoot! In meinem ersten blockly habe ich nur erstellt das wenn ich zweimal tippe das tunin angehen soll,.... ich wusste schon das man d3m blockly dann nch sagen muss auf was es gehen muss... nämlich SWR 3. ich wusste aber nicht wie das grafisch aussehen muss.. jetzt schon... denke jetzt ist vieles klarer... ich probiers aus und melde mich wieder...
Gruss -
wollte mich nochmal kurz melden.....so hats nun geklappt:
<xml xmlns="https://developers.google.com/blockly/xml"> <block type="on_ext" id="#dU%bHFVm/~[XFv;e5M5" x="-587" y="-12"> <mutation xmlns="http://www.w3.org/1999/xhtml" items="6"></mutation> <field name="CONDITION">ne</field> <field name="ACK_CONDITION"></field> <value name="OID0"> <shadow type="field_oid" id="luObs(yNi=oW98s~lUkF"> <field name="oid">mihome.0.devices.cube_158d00028f75a4.rotate_left</field> </shadow> </value> <value name="OID1"> <shadow type="field_oid" id="|X5zwhq%~Zkbz~1R0r1^"> <field name="oid">mihome.0.devices.cube_158d00028f75a4.flip90</field> </shadow> </value> <value name="OID2"> <shadow type="field_oid" id="Ig5d`gN3)^t%EXeY.S-Z"> <field name="oid">mihome.0.devices.cube_158d00028f75a4.shake_air</field> </shadow> </value> <value name="OID3"> <shadow type="field_oid" id="lkE{jhvkV[j=uBCI~?Qz"> <field name="oid">mihome.0.devices.cube_158d00028f75a4.tap_twice</field> </shadow> </value> <value name="OID4"> <shadow type="field_oid" id="y,}1VNY[~Ad(-P%)TKmw"> <field name="oid">mihome.0.devices.cube_158d00028f75a4.flip180</field> </shadow> </value> <value name="OID5"> <shadow type="field_oid" id="y|q;U23g*b:[2b-vsk%7"> <field name="oid">mihome.0.devices.cube_158d00028f75a4.rotate_right</field> </shadow> </value> <statement name="STATEMENT"> <block type="controls_if" id=",9_Nr-P-{%Fd+Tc0-=Nu"> <value name="IF0"> <block type="logic_compare" id=";_i]cfZdrmL/qXWB6PuO"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="05hB:}da}@CQX_^vBlC@"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.cube_158d00028f75a4.rotate_left</field> </block> </value> <value name="B"> <block type="logic_boolean" id="ZT5]2tgD5CM]Of-|;}#F"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="}6;6~]L4/!BY.JwxYt#d"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">alexa2.0.Echo-Devices.G2A0U20401330AGD.Player.volume</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="?Jr}iv/yilVo.s[Yu?mx"> <field name="OP">MINUS</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="M|^U,9}PJ?Ze7Tp:0l-["> <field name="NUM">1</field> </shadow> <block type="get_value" id="YwLlb+nx4qTOJFvljerY"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G2A0U20401330AGD.Player.volume</field> </block> </value> <value name="B"> <shadow type="math_number" id="HvU;CRog.Utv3?toGeqk"> <field name="NUM">5</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="}CAVnkOHSlC0^OuF^Jgu"> <value name="IF0"> <block type="logic_compare" id="{H:^dKPD7}11B/qgk6JU"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="`O~YYmKWdN!Mw72DDncL"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.cube_158d00028f75a4.rotate_right</field> </block> </value> <value name="B"> <block type="logic_boolean" id="FoREtBH+=iZ6hv|p8Fd@"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="w(o*h=O4naq)R:K(V7BZ"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="true"></mutation> <field name="OID">alexa2.0.Echo-Devices.G2A0U20401330AGD.Player.volume</field> <field name="WITH_DELAY">TRUE</field> <field name="DELAY_MS">100</field> <field name="UNIT">ms</field> <field name="CLEAR_RUNNING">FALSE</field> <value name="VALUE"> <block type="math_arithmetic" id="!_r@b%{RRXbB78L@gy=Q"> <field name="OP">ADD</field> <value name="A"> <shadow xmlns="http://www.w3.org/1999/xhtml" type="math_number" id="M|^U,9}PJ?Ze7Tp:0l-["> <field name="NUM">1</field> </shadow> <block type="get_value" id="C({F@Kx^Xfa}LQ}:J.f?"> <field name="ATTR">val</field> <field name="OID">alexa2.0.Echo-Devices.G2A0U20401330AGD.Player.volume</field> </block> </value> <value name="B"> <shadow type="math_number" id="%l[aeB:EcnIHkKMA1VTC"> <field name="NUM">5</field> </shadow> </value> </block> </value> </block> </statement> <next> <block type="controls_if" id="T%b0W^#l-ZWU%w^7]WQ/"> <value name="IF0"> <block type="logic_compare" id="=(DbOS78=0MBQe=F%*.D"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="DpgzqNoWjD?gGY|.nPM_"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.cube_158d00028f75a4.flip90</field> </block> </value> <value name="B"> <block type="logic_boolean" id="DkzF1(|Ey=3{V,DFkJfD"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="XSX3p0d(aQb.=Q`_;!Pl"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G2A0U20401330AGD.Music-Provider.TuneIn</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="-4]H.r+U_}1USc-uhv}_"> <field name="TEXT">-Vorarlberg-90er-Hits</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="3g/0(WCRy;oCL?_d8(.C"> <value name="IF0"> <block type="logic_compare" id="P-11~fV`Nv0~,i6Z]kfW"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="*FX)kI39Db7wYP5[:xl+"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.cube_158d00028f75a4.flip180</field> </block> </value> <value name="B"> <block type="logic_boolean" id="9ZzpRTsuv4C9x)%pr,Es"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="!NUVA~(c4QgG]+~(E|^i"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G2A0U20401330AGD.Music-Provider.TuneIn</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="text" id="vqzCyqOR/s6Y7s21%;[F"> <field name="TEXT">Antenne-Bayern-80er-Kulthits</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="W|nOmNk7Ri}Fs|:3bNvo"> <value name="IF0"> <block type="logic_compare" id=".`5XJGz4u6:p[#j+uoBh"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="Tc#Gzin|@s,p7.86ILp/"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.cube_158d00028f75a4.shake_air</field> </block> </value> <value name="B"> <block type="logic_boolean" id="sH3Sm+bH^3l}+?.kIlZ*"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="E]3~1B]ZQQdBY9/459z["> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G2A0U20401330AGD.Player.controlPause</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="5t-IeJ[V[GI[`{3GfPg|"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> <next> <block type="controls_if" id="?jy5dedv*E!QXGSi|NNj"> <value name="IF0"> <block type="logic_compare" id="Nq,pYQn=QZIL]h`|k!{R"> <field name="OP">EQ</field> <value name="A"> <block type="get_value" id="VfAn.8Ks0/7;o3resSQV"> <field name="ATTR">val</field> <field name="OID">mihome.0.devices.cube_158d00028f75a4.tap_twice</field> </block> </value> <value name="B"> <block type="logic_boolean" id="|36:z7/2Lb=#qES!gYLY"> <field name="BOOL">TRUE</field> </block> </value> </block> </value> <statement name="DO0"> <block type="control" id="oJNg%*z]?4?HpsN(**@L"> <mutation xmlns="http://www.w3.org/1999/xhtml" delay_input="false"></mutation> <field name="OID">alexa2.0.Echo-Devices.G2A0U20401330AGD.Player.controlPlay</field> <field name="WITH_DELAY">FALSE</field> <value name="VALUE"> <block type="logic_boolean" id="A2(PP+y4,{@#nKdC)b:x"> <field name="BOOL">TRUE</field> </block> </value> </block> </statement> </block> </next> </block> </next> </block> </next> </block> </next> </block> </next> </block> </statement> </block> </xml> -
Hallo Zusammen, muss mich nochmal melden...und zwar kann ich jetzt zb auch den Aquara Cube gleichzeitig für andere Sxcripte verwenden? Denke schon...darf halt nicht die Aktion jetzt von hier sein oder?
Über ne Info herzlichen Dank.
P.S. Und letzte Frage...kann ich den Script auch so ändern das ich noch mehr Radiosender aufnehmen kann mit Aktionen des Cube??
Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.
Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.
Mit deinem Input könnte dieser Beitrag noch besser werden 💗
Registrieren Anmelden