Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Aufruf] Neuer Adaper Google-Sharedlocations

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    [Aufruf] Neuer Adaper Google-Sharedlocations

    This topic has been deleted. Only users with topic management privileges can see it.
    • dslraser
      dslraser Forum Testing Most Active @maeuseking last edited by

      @maeuseking sagte in [Aufruf] Neuer Adaper Google-Sharedlocations:

      @dslraser Ist es auf diese Weise auch möglich, dass die Antwort an dem Gerät ankommt, wo die Frage gestellt wurde? Ich würde sonst über Alexa summary arbeiten?! dann spare ich mir iot?

      ist auch möglich, aber dann mit einigen Blöcken mehr im Blocky. Könnte ich bei Bedarf posten. (ich bin aber aktuell nur am Handy und gerade unterwegs)

      maeuseking 1 Reply Last reply Reply Quote 0
      • maeuseking
        maeuseking @dslraser last edited by

        @dslraser Sehr gerne, habe ein One-Way Skript bereits am laufen, auch wenn der mihome Adapter gerade nicht so richtig läuft...
        Blockly Alexa Befehl.JPG

        dslraser 2 Replies Last reply Reply Quote 0
        • dslraser
          dslraser Forum Testing Most Active @maeuseking last edited by

          @maeuseking
          aber über diesen Weg kommt doch bestimmt "ich verstehe nicht, ich kenne das Gerät nicht", oder irgendwelche anderen blöden Antworten, aber ausgeführt wird der Befehl trotzdem...
          richtig ?

          maeuseking 1 Reply Last reply Reply Quote 0
          • maeuseking
            maeuseking @dslraser last edited by

            @dslraser Naja, dafür eine ich eine Routine in Alexa eingestellt. Auch wieder umständlich, stimmt schon...

            J 1 Reply Last reply Reply Quote 0
            • J
              Jan1 @maeuseking last edited by

              @maeuseking
              Das brauchst bei den anderen Lösungen aber auch wenn Du einen freien Befehl direkt mit Alexa umsetzten willst.

              1 Reply Last reply Reply Quote 1
              • dslraser
                dslraser Forum Testing Most Active @maeuseking last edited by dslraser

                @maeuseking sagte in [Aufruf] Neuer Adaper Google-Sharedlocations:

                Sehr gerne,

                das ist ein Ausschnit von einem kompletten Blockly. Dort wird die Seriennummer des angesprochenen ECHO ermittelt. Beim zweiten Trigger müßte der selbst erstellte Datenpunkt hin. (eigentlich benutze ich das ganze in einer Funktion)

                Bildschirmfoto 2020-10-14 um 19.58.26.png

                <xml xmlns="https://developers.google.com/blockly/xml">
                 <variables>
                   <variable id="/A.(~3nsT3dy+}3P;i2c">id</variable>
                   <variable id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</variable>
                   <variable id="tx`]izPXI!BeK19V`CX$">angesprochener_echo_instanz_0</variable>
                   <variable id="}tfHo!d;DNiy8lns,/nq">speak_volume_instanz_0</variable>
                   <variable id="a24#?S6.^K;B!*)UE|Z5">01Aussentemperatur_Ansage_Button</variable>
                   <variable id="4{_UpHHn8rUA7AFvI`Q6">angesprochener_echo_instanz_0_neu</variable>
                   <variable id="+KthG19@m1t{iQ}-D#pd">speak_volume_instanz_0_neu</variable>
                   <variable id="m7!f@;c]Npk-3^:-e)tt">ansagelautstaerke</variable>
                 </variables>
                 <block type="procedures_defcustomreturn" id="!ZL=A!zr4?.+d|y)d,4T" x="13" y="13">
                   <mutation statements="false">
                     <arg name="id" varid="/A.(~3nsT3dy+}3P;i2c"></arg>
                   </mutation>
                   <field name="NAME">existiert_DP</field>
                   <field name="SCRIPT">cmV0dXJuIGV4aXN0c1N0YXRlKGlkKTs=</field>
                   <comment pinned="false" h="80" w="160">Beschreibe diese Funktion …</comment>
                 </block>
                 <block type="variables_set" id="%HI]}nfx1xlY.JfngwoZ" x="13" y="63">
                   <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                   <value name="VALUE">
                     <block type="text" id="=ZZLy+Yk}4C:v*?%=S:!">
                       <field name="TEXT">alexa2.0.History.serialNumber</field>
                     </block>
                   </value>
                   <next>
                     <block type="on_ext" id="(@zeFei/z58KOO_d}?tH">
                       <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                       <field name="CONDITION">any</field>
                       <field name="ACK_CONDITION"></field>
                       <value name="OID0">
                         <shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="omUF]am!0)BQhD}NhWDT">
                           <field name="oid">default</field>
                         </shadow>
                         <block type="variables_get" id="(Hl|NeF+Ouq=7(r.$tU!">
                           <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                         </block>
                       </value>
                       <statement name="STATEMENT">
                         <block type="variables_set" id="!pivGCq|T|:RW;koBUz8">
                           <field name="VAR" id="tx`]izPXI!BeK19V`CX$">angesprochener_echo_instanz_0</field>
                           <value name="VALUE">
                             <block type="logic_operation" id="6S=k8]_=6$r@Y4FuC$9L" inline="false">
                               <field name="OP">AND</field>
                               <value name="A">
                                 <block type="logic_compare" id="TM$6CV[9zYw-D+@,F]~%">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="text_getSubstring" id="0:4XO|4CV^[5I,Geerg3">
                                       <mutation at1="false" at2="true"></mutation>
                                       <field name="WHERE1">FIRST</field>
                                       <field name="WHERE2">FROM_START</field>
                                       <value name="STRING">
                                         <block type="variables_get" id="t:1E,;Dc!a?*x{H1d~)3">
                                           <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                                         </block>
                                       </value>
                                       <value name="AT2">
                                         <block type="math_number" id="xDM4px,9Gdz,BZh1):iD">
                                           <field name="NUM">8</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="text" id="(%sbB:|0}[7xMxtUY#`J">
                                       <field name="TEXT">alexa2.0</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="procedures_callcustomreturn" id="C|Q^3Xs=KOWHh}2G;Ah5">
                                   <mutation name="existiert_DP">
                                     <arg name="id"></arg>
                                   </mutation>
                                   <value name="ARG0">
                                     <block type="text_join" id="z|Q5}`rSx2dBA:*/2Em*">
                                       <mutation items="4"></mutation>
                                       <value name="ADD0">
                                         <block type="text_getSubstring" id="+^gIL;hHJZ/1vdw/Bixj">
                                           <mutation at1="false" at2="true"></mutation>
                                           <field name="WHERE1">FIRST</field>
                                           <field name="WHERE2">FROM_START</field>
                                           <value name="STRING">
                                             <block type="variables_get" id="yR35U2#_RTIC:k]dL4zR">
                                               <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                                             </block>
                                           </value>
                                           <value name="AT2">
                                             <block type="math_number" id="e~D{5~ceL+ql1jm=p0Y;">
                                               <field name="NUM">8</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="text" id=")*Ae;D^*SS0wkpRT![2K">
                                           <field name="TEXT">.Echo-Devices.</field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="get_value_var" id="rz4+RvN+FOEAS@@y@%c#">
                                           <field name="ATTR">val</field>
                                           <value name="OID">
                                             <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~{nymE-iIi6VOl2dE+K}">
                                               <field name="TEXT"></field>
                                             </shadow>
                                             <block type="variables_get" id="#,CiM%/@O@eVUJs/J{!^">
                                               <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="ADD3">
                                         <block type="text" id="Ii4rCscilUDF0-b}MhdO">
                                           <field name="TEXT">.Commands.speak</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <next>
                             <block type="variables_set" id="=4e,%z88rO0oCn?.l0.1">
                               <field name="VAR" id="}tfHo!d;DNiy8lns,/nq">speak_volume_instanz_0</field>
                               <value name="VALUE">
                                 <block type="logic_operation" id="HX5XlZ/LpS#!-lb_Mb#f" inline="false">
                                   <field name="OP">AND</field>
                                   <value name="A">
                                     <block type="logic_compare" id="4aN1B7!GE4=GqU{rzKb*">
                                       <field name="OP">EQ</field>
                                       <value name="A">
                                         <block type="text_getSubstring" id="9.vBOArQyog$aK~l@6xZ">
                                           <mutation at1="false" at2="true"></mutation>
                                           <field name="WHERE1">FIRST</field>
                                           <field name="WHERE2">FROM_START</field>
                                           <value name="STRING">
                                             <block type="variables_get" id="b=H1*h:bLjm`;#91b~In">
                                               <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                                             </block>
                                           </value>
                                           <value name="AT2">
                                             <block type="math_number" id="P}Ae,bms`BOs-O9@t8f_">
                                               <field name="NUM">8</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="B">
                                         <block type="text" id="rWt6/Cv}rkT}p,S;H0J)">
                                           <field name="TEXT">alexa2.0</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="procedures_callcustomreturn" id="F;,Lzw[d4#hO7L^jKYu)">
                                       <mutation name="existiert_DP">
                                         <arg name="id"></arg>
                                       </mutation>
                                       <value name="ARG0">
                                         <block type="text_join" id="qfi,%@)_I!ZM|$5_+]4#">
                                           <mutation items="4"></mutation>
                                           <value name="ADD0">
                                             <block type="text_getSubstring" id="ERfWZ`MxNw`}D;jXx}EG">
                                               <mutation at1="false" at2="true"></mutation>
                                               <field name="WHERE1">FIRST</field>
                                               <field name="WHERE2">FROM_START</field>
                                               <value name="STRING">
                                                 <block type="variables_get" id="HfQB2XtFn:G67^*qnEzd">
                                                   <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                                                 </block>
                                               </value>
                                               <value name="AT2">
                                                 <block type="math_number" id="3;t5/r{dc/KagMGdFSPE">
                                                   <field name="NUM">8</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="ADD1">
                                             <block type="text" id="iN;^$(9l?75VnL[ctF@g">
                                               <field name="TEXT">.Echo-Devices.</field>
                                             </block>
                                           </value>
                                           <value name="ADD2">
                                             <block type="get_value_var" id="-PFeV+`7!G1`k4iMJ.Y(">
                                               <field name="ATTR">val</field>
                                               <value name="OID">
                                                 <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~{nymE-iIi6VOl2dE+K}">
                                                   <field name="TEXT"></field>
                                                 </shadow>
                                                 <block type="variables_get" id="n0^hAx[D)W8NC^;MSB-K">
                                                   <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="ADD3">
                                             <block type="text" id="xJ+aN9;d}5[G%mN4*?e-">
                                               <field name="TEXT">.Commands.speak-volume</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <next>
                                 <block type="variables_set" id=".GJ2Jc^Vv+eN1Q~FDa?;">
                                   <field name="VAR" id="4{_UpHHn8rUA7AFvI`Q6">angesprochener_echo_instanz_0_neu</field>
                                   <value name="VALUE">
                                     <block type="text_join" id="PGIfGJ=xn|ejSGTx2#(Y">
                                       <mutation items="4"></mutation>
                                       <value name="ADD0">
                                         <block type="text_getSubstring" id="_b{}wQJTzm6V![uu!uT#">
                                           <mutation at1="false" at2="true"></mutation>
                                           <field name="WHERE1">FIRST</field>
                                           <field name="WHERE2">FROM_START</field>
                                           <value name="STRING">
                                             <block type="variables_get" id="N}gTU]~ing7VqFixv5hZ">
                                               <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                                             </block>
                                           </value>
                                           <value name="AT2">
                                             <block type="math_number" id="Z_FFA1d[wo-L!`zg:CzQ">
                                               <field name="NUM">8</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="text" id="VkEJIBVVj%?!6,$8_ph=">
                                           <field name="TEXT">.Echo-Devices.</field>
                                         </block>
                                       </value>
                                       <value name="ADD2">
                                         <block type="get_value_var" id="ed(kdj}N=dGv(#G)y`q8">
                                           <field name="ATTR">val</field>
                                           <value name="OID">
                                             <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~{nymE-iIi6VOl2dE+K}">
                                               <field name="TEXT"></field>
                                             </shadow>
                                             <block type="variables_get" id="w[wV;.6`?l4[z`#TH%tT">
                                               <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                       <value name="ADD3">
                                         <block type="text" id="$?WS]D/zkN+1aV_e,3R~">
                                           <field name="TEXT">.Commands.speak</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                   <next>
                                     <block type="variables_set" id="4%y3%qvCU55`eBlsK;N~">
                                       <field name="VAR" id="+KthG19@m1t{iQ}-D#pd">speak_volume_instanz_0_neu</field>
                                       <value name="VALUE">
                                         <block type="text_join" id="HP!iEF;m3MvjD4QZ1|h5">
                                           <mutation items="4"></mutation>
                                           <value name="ADD0">
                                             <block type="text_getSubstring" id="66#O(t_#[ZQ5QW;asX/}">
                                               <mutation at1="false" at2="true"></mutation>
                                               <field name="WHERE1">FIRST</field>
                                               <field name="WHERE2">FROM_START</field>
                                               <value name="STRING">
                                                 <block type="variables_get" id="heE3Z`^^Cv/OZT(`2lVX">
                                                   <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                                                 </block>
                                               </value>
                                               <value name="AT2">
                                                 <block type="math_number" id="jq+0;KAH1g-%tqTFuRm2">
                                                   <field name="NUM">8</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="ADD1">
                                             <block type="text" id="htf{j)8KmLJq[!dZcxkU">
                                               <field name="TEXT">.Echo-Devices.</field>
                                             </block>
                                           </value>
                                           <value name="ADD2">
                                             <block type="get_value_var" id="{z7S6V$D(6(hm2Rv23rA">
                                               <field name="ATTR">val</field>
                                               <value name="OID">
                                                 <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="~{nymE-iIi6VOl2dE+K}">
                                                   <field name="TEXT"></field>
                                                 </shadow>
                                                 <block type="variables_get" id="g:570petX(vvm+]iCtFa">
                                                   <field name="VAR" id="Kb.BX2851p,D6E4.-p5i">alexa_instanz_0</field>
                                                 </block>
                                               </value>
                                             </block>
                                           </value>
                                           <value name="ADD3">
                                             <block type="text" id="`qhe;#4KmRP[syp]2ix6">
                                               <field name="TEXT">.Commands.speak-volume</field>
                                             </block>
                                           </value>
                                         </block>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </statement>
                       <next>
                         <block type="on_ext" id="oA85{l5?yOMGes|9[c$^">
                           <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                           <field name="CONDITION">any</field>
                           <field name="ACK_CONDITION"></field>
                           <value name="OID0">
                             <shadow type="field_oid" id="s79Gx09YwXYN0(Z(;V6%">
                               <field name="oid">default</field>
                             </shadow>
                             <block type="variables_get" id="}{{rxI|u4%HCHtvKn!5B">
                               <field name="VAR" id="a24#?S6.^K;B!*)UE|Z5">01Aussentemperatur_Ansage_Button</field>
                             </block>
                           </value>
                           <statement name="STATEMENT">
                             <block type="controls_if" id="$;p|k$)ux5RdJSs0[1.n">
                               <value name="IF0">
                                 <block type="logic_compare" id="_^m.).g{+wPDN(^-wH9/">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="variables_get" id="c*N9np|JuxqLK9-^jK,@">
                                       <field name="VAR" id="tx`]izPXI!BeK19V`CX$">angesprochener_echo_instanz_0</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="logic_boolean" id="iD_3lH-JTiT`qe`]zU[0">
                                       <field name="BOOL">TRUE</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="control_ex" id="h0ELfE:8+1N;d^Jo93}C" inline="true">
                                   <field name="TYPE">false</field>
                                   <field name="CLEAR_RUNNING">FALSE</field>
                                   <value name="OID">
                                     <shadow xmlns="http://www.w3.org/1999/xhtml" type="field_oid" id="0FxTr6pPa{y1i02IfiP$">
                                       <field name="oid">Object ID</field>
                                     </shadow>
                                     <block type="variables_get" id="g(Cm92C0xA)Q~{m%xE4q">
                                       <field name="VAR" id="+KthG19@m1t{iQ}-D#pd">speak_volume_instanz_0_neu</field>
                                     </block>
                                   </value>
                                   <value name="VALUE">
                                     <shadow xmlns="http://www.w3.org/1999/xhtml" type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                       <field name="BOOL">TRUE</field>
                                     </shadow>
                                     <block type="variables_get" id="+My*kbAJ/+?9Dn]Ra|AF">
                                       <field name="VAR" id="m7!f@;c]Npk-3^:-e)tt">ansagelautstaerke</field>
                                     </block>
                                   </value>
                                   <value name="DELAY_MS">
                                     <shadow type="math_number" id="W@!5+TLs9*l+5srXCANC">
                                       <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 xmlns="http://www.w3.org/1999/xhtml" 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="4{_UpHHn8rUA7AFvI`Q6">angesprochener_echo_instanz_0_neu</field>
                                         </block>
                                       </value>
                                       <value name="VALUE">
                                         <shadow type="logic_boolean" id=")+wP$OEq(l]ZyQ:nx8e]">
                                           <field name="BOOL">TRUE</field>
                                         </shadow>
                                         <block type="text" id="iSm;u6hzdVo;rH/^$VOf">
                                           <field name="TEXT">bla bla bla</field>
                                         </block>
                                       </value>
                                       <value name="DELAY_MS">
                                         <shadow type="math_number" id="smJl9lo{R$H[Zjf7R!;h">
                                           <field name="NUM">0</field>
                                         </shadow>
                                       </value>
                                     </block>
                                   </next>
                                 </block>
                               </statement>
                             </block>
                           </statement>
                         </block>
                       </next>
                     </block>
                   </next>
                 </block>
                </xml>
                

                Beispiel 2 vergleicht die Namen der angesprochenen ECHOS (kann um alle Deine ECHOS erweitert werden)

                Bildschirmfoto 2020-10-14 um 20.02.01.png

                Bildschirmfoto 2020-10-14 um 20.05.12.png

                <xml xmlns="https://developers.google.com/blockly/xml">
                 <variables>
                   <variable id="tx`]izPXI!BeK19V`CX$">angesprochener_echo</variable>
                 </variables>
                 <block type="on_ext" id="?gr$o@h!NTp`z7ncFkw9" x="37" y="137">
                   <mutation xmlns="http://www.w3.org/1999/xhtml" items="1"></mutation>
                   <field name="CONDITION">any</field>
                   <field name="ACK_CONDITION"></field>
                   <value name="OID0">
                     <shadow type="field_oid" id=",JW*_Fne3n279T7:v^/D">
                       <field name="oid">alexa2.0.History.name</field>
                     </shadow>
                   </value>
                   <statement name="STATEMENT">
                     <block type="variables_set" id="Yps_^d-kW+oe5cQMJ@@q">
                       <field name="VAR" id="tx`]izPXI!BeK19V`CX$">angesprochener_echo</field>
                       <value name="VALUE">
                         <block type="get_value" id="~@yqzw9b:kyhv;sWile*">
                           <field name="ATTR">val</field>
                           <field name="OID">alexa2.0.History.name</field>
                         </block>
                       </value>
                       <next>
                         <block type="controls_if" id="d4WjL6cM@/JPYwagf!__">
                           <value name="IF0">
                             <block type="logic_compare" id="^MJa|;Xw(;U)84bw-_xS">
                               <field name="OP">EQ</field>
                               <value name="A">
                                 <block type="on_source" id="O2~DthS$@G,Yak2#{vB0">
                                   <field name="ATTR">state.val</field>
                                 </block>
                               </value>
                               <value name="B">
                                 <block type="text" id="jJZd80j}$tg+xO1E~Av!">
                                   <field name="TEXT">Wohnzimmer</field>
                                 </block>
                               </value>
                             </block>
                           </value>
                           <statement name="DO0">
                             <block type="comment" id="/7^%{w:lA/uM}y5:^D-/">
                               <field name="COMMENT">mach irgend was</field>
                             </block>
                           </statement>
                           <next>
                             <block type="controls_if" id="JVtH*vHOR,{J]cJx?BBF">
                               <value name="IF0">
                                 <block type="logic_compare" id="%~L4JAJWEI/PoO.j#_-%">
                                   <field name="OP">EQ</field>
                                   <value name="A">
                                     <block type="on_source" id=")Gnh5EcCWHtGkv4^,c_w">
                                       <field name="ATTR">state.val</field>
                                     </block>
                                   </value>
                                   <value name="B">
                                     <block type="text" id="xouJ4|IMXp-=8FFt]^V7">
                                       <field name="TEXT">Badezimmer</field>
                                     </block>
                                   </value>
                                 </block>
                               </value>
                               <statement name="DO0">
                                 <block type="comment" id="H-vfA;-:F/Xwtcej8fxH">
                                   <field name="COMMENT">mach was anderes</field>
                                 </block>
                               </statement>
                               <next>
                                 <block type="debug" id="aZK+dR0ArHW/.T7s0TJG">
                                   <field name="Severity">log</field>
                                   <value name="TEXT">
                                     <shadow xmlns="http://www.w3.org/1999/xhtml" type="text" id="8Sjo6Q$aWu%%ozq^o^CL">
                                       <field name="TEXT">test</field>
                                     </shadow>
                                     <block type="text_join" id="RGiVPIa(4NV*u.uhLA;F">
                                       <mutation items="2"></mutation>
                                       <value name="ADD0">
                                         <block type="text" id="S@z*(X!Yxn_Ym4^bVBDi">
                                           <field name="TEXT">ECHO: </field>
                                         </block>
                                       </value>
                                       <value name="ADD1">
                                         <block type="variables_get" id="AgP?eSw.F.CmS3tI0w3s">
                                           <field name="VAR" id="tx`]izPXI!BeK19V`CX$">angesprochener_echo</field>
                                         </block>
                                       </value>
                                     </block>
                                   </value>
                                 </block>
                               </next>
                             </block>
                           </next>
                         </block>
                       </next>
                     </block>
                   </statement>
                 </block>
                </xml>
                

                C 1 Reply Last reply Reply Quote 0
                • C
                  ChrisXY @dslraser last edited by

                  Wie kann man sich selbst den Freigeben oder muss man echt einen eigenen google Account dafür machen?

                  J Garfonso 2 Replies Last reply Reply Quote 0
                  • J
                    Jan1 @ChrisXY last edited by

                    @ChrisXY
                    ein speziellen Account für den Adapter würde ich alleine schon wegen des Login über IOBroker empfehlen.
                    Kannst aber auch mal schauen, ob Du in Google Maps unter Deinem eigenen Account angezeigt wirst, dann sollte es auch mit dem gehen. Alle Personen, die in Google Maps gelistet sind, können auch im Adapter ausgewählt werden.

                    1 Reply Last reply Reply Quote 0
                    • Garfonso
                      Garfonso Developer @ChrisXY last edited by

                      @ChrisXY du brauchst einen eigenen / neuen Account für ioBroker und musst dann mit dem deinen Standort und die aller anderen, die getrackt werden sollen, teilen. Sonst kannst du deinen eigenen Standort nicht tracken.

                      1 Reply Last reply Reply Quote 0
                      • L
                        leo4455 last edited by leo4455

                        Hallo zusammen,
                        nun habe ich auch mal den Adapter ausprobiert und alles sorgfältig gelesen (hoffentlich nichts überlesen).
                        Leider renne ich un das selbe problem wie so mancher hier und hoffe das jemand einem dummy wie mir hier einen kleinen Ratschlag geben kann.
                        Was habe ich getan:

                        • Ein neuen google Account für den iobroker angegeben, und meinen eigenen google Account gesagt, dass er den Standort mit dem neuen iobroker account teilen soll.

                        • Ein neues Browser Fenster in google maps aufgemacht, mich mit dem iobroker Account angemeldet. Hier sehe ich nun auch gut, wo ich mich befinden (mit dem realen Account)

                        • Jetzt den Adapter von github (verion 2.0.1) installiert und den vollständigen cookie eingetragen (jedoch das "Cookie:" vorne weggelassen.

                        Leider wird das Icon nicht grün
                        7f7d9a41-fb3c-4796-8d79-8c1f6b085253-grafik.png

                        Und in dem logs finde ich die Information, dass der cookie expired ist 😞
                        e5513143-41f2-4265-b539-7d18ad6b1005-grafik.png

                        Gibt es etwas, was ich vergessen habe? Sind noch weitere Adapter in Abhängigkeiten zu erstellen? Der Browser mit dem cookie ist natürlich noch aktiv und offen.
                        Vielen Dank schon einmal im voraus an alle die evtl. einen kleinen Tipp haben.

                        J 1 Reply Last reply Reply Quote 0
                        • J
                          Jan1 @leo4455 last edited by Jan1

                          @leo4455
                          von welcher Zeile hast den Cookie raus kopiert?
                          Mach mal ein Screenshot davon (ohne Cookie)

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            leo4455 @Jan1 last edited by

                            Hi Jan1,

                            Ich habe jetzt in 3 Browsern probiert .. FireFox, Chrome und einmal Chromium (Unix) da ich dachte man müssen den Browser evtl. auf dem selben Rechner laufen haben wie den iobroker.

                            Hier ein Auszug was ich aus dem FireFox verwendet habe (siehe unten). Der Cookie ist teilweise ausgeblendet, habe aber alles kopiert von "NID=204***" bis "***HF3De"

                            293d8dd8-78c1-43c6-be07-5a6fdc3cbd01-grafik.png

                            J 1 Reply Last reply Reply Quote 0
                            • J
                              Jan1 @leo4455 last edited by Jan1

                              @leo4455
                              google.de ist falsch, steht aber in der Anleitung 😉

                              select any successful (Status = 200) GET (method) Request from google.com (Host column) (if the window is empty, hit F5 in the browser)
                              
                              L Garfonso 2 Replies Last reply Reply Quote 0
                              • L
                                leo4455 @Jan1 last edited by

                                @Jan1
                                Ah ... stimmt, mein Fehler.
                                Jetzt sieht es schon etwas besster aus ... jedoch meldet er nun einen Invalid character in header content "Cookie".

                                Dann also nochmal das ganze Unformatiert ausgeben und schon hats geklappt !!!
                                Vielen Dank, du bist der beste !!!

                                1 Reply Last reply Reply Quote 0
                                • Garfonso
                                  Garfonso Developer @Jan1 last edited by

                                  @Jan1 ja, den Fehler hab ich auch selber schon gemacht. 😉 Vielleicht mache ich das nochmal was deutlicher in der Anleitung.

                                  J 1 Reply Last reply Reply Quote 0
                                  • J
                                    Jan1 @Garfonso last edited by Jan1

                                    @Garfonso
                                    Die Anleitung ist schon gut und einfach, man muss eben nur alles lesen und nicht nur das was man selber für wichtig hält 😉

                                    M 1 Reply Last reply Reply Quote 2
                                    • M
                                      maxpd @Jan1 last edited by

                                      Bei mir loggt er sich mindestens 1x im Monat aus.

                                      Arbeitet ihr noch an einer Version, die sich den Cookie selbst zieht?

                                      nik82 1 Reply Last reply Reply Quote 1
                                      • nik82
                                        nik82 Most Active @maxpd last edited by

                                        Bei mir ist auch seit heute wieder das Cookie abgelaufen, jetzt wollte ich es wie immer erneuern, nur diesmal keine Chance, geht nicht und im Log kommt diese Fehlermeldung:

                                        google-sharedlocations.0	2021-01-13 09:13:25.476	error	(53708) An error occurred during polling the locations: undefined
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	<p>The server encountered an error and could not complete your request.<p>If the problem persists, please <A HREF="http://www.google.com/support/">report</A> your problem and mention this error mess
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	<p><b>500.</b> <ins>That’s an error.</ins>
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	<a href=//www.google.com/><span id=logo aria-label=Google></span></a>
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	</style>
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	*{margin:0;padding:0}html,code{font:15px/22px arial,sans-serif}html{background:#fff;color:#222;padding:15px}body{margin:7% auto 0;max-width:390px;min-height:180px;padding:30px 0 15px}* > body{back
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	<style>
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	<title>Error 500 (Server Error)!!1</title>
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	<meta name=viewport content="initial-scale=1, minimum-scale=1, width=device-width">
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	<meta charset=utf-8>
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	<html lang=en>
                                        google-sharedlocations.0	2021-01-13 09:13:25.475	error	(53708) Failed getting locations: 500 - Internal Server Error - <!DOCTYPE html>
                                        
                                        J 1 Reply Last reply Reply Quote 0
                                        • J
                                          Jan1 @nik82 last edited by

                                          @nik82
                                          meiner ist auch schon seit Wochen tot und ich hatte bis dato eigentlich nie Probleme mir den Cookie zu ziehen. Da scheint Google mal wieder gedreht zu haben.
                                          Mal sehen ob diesmal auch wieder was gerichtet wird.

                                          nik82 1 Reply Last reply Reply Quote 0
                                          • nik82
                                            nik82 Most Active @Jan1 last edited by

                                            @jan1
                                            Ah schade, ok dann brauch ich nicht mehr rumprobieren.
                                            Hoffe das geht bald wieder, das ist so ein genialer Adapter 🙂

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            761
                                            Online

                                            31.6k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            google shared locations
                                            49
                                            493
                                            80470
                                            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