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.
    • M
      maxpd @Jan1 last edited by

      Mein Adapter ist vor ein paar Tagen ebenfalls von alleine auf rot gesprungen. Cookie abgelaufen?

      Der Cookie sieht nun auch gänzlich anders aus:

      cookie: AEC=xxx; CONSENT=PENDING+088; SID=xxx.; __Secure-1PSID=xxx.; __Secure-3PSID=xxx.; HSID=xxx; SSID=xxx; APISID=xxx; SAPISID=xxx; __Secure-1PAPISID=xxx; __Secure-3PAPISID=xxx; NID=511=xxx .......

      Copy & Paste von allem funktioniert trotzdem.

      1 Reply Last reply Reply Quote 0
      • S
        Snigga last edited by

        Irgendwie bekomme ich die Cookie nicht richtig gespeichert. Gibt es aktuell einen BUG?

        M 1 Reply Last reply Reply Quote 0
        • M
          maxpd @Snigga last edited by

          @snigga Auch bei mir ist er auf rot gesprungen und neue Cookies werden nur mit connection failed quittiert.

          David G. B 2 Replies Last reply Reply Quote 0
          • David G.
            David G. @maxpd last edited by

            @maxpd

            Bei mir läuft der Adapter noch.

            1 Reply Last reply Reply Quote 0
            • B
              bommel_030 @maxpd last edited by

              @maxpd
              Gestern erst den Cookie erneuert. Lief problemlos. Hast du auch alles richtig kopiert? Also rechte Maustaste -> Wert kopieren? (zumindest bei Chrome).

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

                @bommel_030 hat nu geklappt. hab immer tripleclick gemacht, bis alles markiert war.

                aber warum ist er überhaupt abgelaufen? Der war exakt 1 monat alt.

                B 1 Reply Last reply Reply Quote 0
                • B
                  bommel_030 @maxpd last edited by

                  @maxpd
                  Freut mich. Ich glaube das sitzt nen Werkstudent bei Google und würfelt wann welcher Cookie abläuft 😉
                  Spaß beiseite, konnte bis jetzt noch keine Muster erkennen wann die Cookies bei ablaufen.

                  1 Reply Last reply Reply Quote 0
                  • B
                    bommel_030 last edited by

                    Läuft der Adapter bei Euch noch einwandfrei? Meine Positionsdaten werden seit Sonntag nicht mehr aktualisiert.
                    Cookie ist aktuell und Verbindungstest ist auch erfolgreich. Irgendwas scheint er auch abzuholen. Hab die Option "Places-Adapter" aktiviert. Dort werden auch weiterhin die Standorte aktualisiert. Debug-Logs der Adapter sind leider nicht sehr ausgabekräftig.

                    
                    google-sharedlocations.0
                    2022-06-28 15:25:28.082	debug	Response: 200
                    
                    google-sharedlocations.0
                    2022-06-28 15:25:28.074	debug	New header received.
                    
                    google-sharedlocations.0
                    2022-06-28 15:25:27.566	debug	Polling locations.
                    
                    google-sharedlocations.0
                    2022-06-28 15:25:27.552	debug	Need to augment cookie.
                    
                    google-sharedlocations.0
                    2022-06-28 15:25:27.551	debug	Polling location every 300s.
                    
                    google-sharedlocations.0
                    2022-06-28 15:25:27.502	info	Starting google shared locations adapter
                    
                    google-sharedlocations.0
                    2022-06-28 15:25:27.492	info	starting. Version 2.2.1 (non-npm: Garfonso/ioBroker.google-sharedlocations#91ce6d3d470cba4011b7861103c4bfffa32dffbe) in /opt/iobroker/node_modules/iobroker.google-sharedlocations, node: v16.15.1, js-controller: 4.0.23
                    


                    
                    places.0
                    2022-06-28 15:25:28.107	warn	Ignoring incomplete message!
                    
                    places.0
                    2022-06-28 15:25:28.100	info	Processed message, returning result: {"user":"M","latitude":52.xxxxx,"longitude":13.xxxx,"timestamp":1656422728088,"address":"","date":"2022-06-28 15:25:28","atHome":false,"distance":13036,"name":"","elevation":0,"routeDistance":"","routeDuration":"","routeDurationWithTraffic":""}
                    
                    places.0
                    2022-06-28 15:25:28.099	debug	Updating persons at home
                    
                    places.0
                    2022-06-28 15:25:28.099	debug	Setting values for user M
                    
                    places.0
                    2022-06-28 15:25:28.090	debug	Skipping geocoding (either deactivated by configuration or invalid API key)
                    
                    places.0
                    2022-06-28 15:25:28.090	debug	Checking if position is at "K" (radius: 250m)
                    
                    places.0
                    2022-06-28 15:25:28.090	debug	Checking if position is at "C" (radius: 250m)
                    
                    places.0
                    2022-06-28 15:25:28.090	debug	Checking if position is at "F" (radius: 250m)
                    
                    places.0
                    2022-06-28 15:25:28.090	debug	Checking if user "M Birkholz" should be replaced with "Jessica"
                    
                    places.0
                    2022-06-28 15:25:28.090	debug	Checking if user "M Birkholz" should be replaced with "Martin"
                    
                    places.0
                    2022-06-28 15:25:28.090	debug	Processing message: {"user":"M2","latitude":52.xxxx,"longitude":13.xxxx,"timestamp":1656422728088,"address":"Berlin, Germany","date":"2022-06-28 15:25:28"}
                    
                    places.0
                    2022-06-28 15:25:28.087	info	Processed message, returning result: {"user":"M3","latitude":52.xxx,"longitude":13.2xxxx,"timestamp":1656422728082,"address":"","date":"2022-06-28 15:25:28","atHome":false,"distance":13035,"name":"","elevation":0,"routeDistance":"","routeDuration":"","routeDurationWithTraffic":""}
                    
                    places.0
                    2022-06-28 15:25:28.087	debug	Updating persons at home
                    
                    places.0
                    2022-06-28 15:25:28.086	debug	Setting values for user M1
                    
                    places.0
                    2022-06-28 15:25:28.085	debug	Skipping geocoding (either deactivated by configuration or invalid API key)
                    
                    places.0
                    2022-06-28 15:25:28.084	debug	Checking if position is at "K" (radius: 250m)
                    
                    places.0
                    2022-06-28 15:25:28.084	debug	Checking if position is at "C" (radius: 250m)
                    
                    places.0
                    2022-06-28 15:25:28.084	debug	Checking if position is at "F" (radius: 250m)
                    
                    places.0
                    2022-06-28 15:25:28.084	debug	Checking if user "M" should be replaced with "J"
                    
                    places.0
                    2022-06-28 15:25:28.084	debug	Checking if user "M" should be replaced with "M"
                    
                    places.0
                    2022-06-28 15:25:28.084	debug	Processing message: {"user":"M","latitude":52.xxxx,"longitude":13.xxxx,"timestamp":1656422728082,"address":"Berlin, Germany","date":"2022-06-28 15:25:28"}
                    

                    David G. M 2 Replies Last reply Reply Quote 0
                    • David G.
                      David G. @bommel_030 last edited by

                      @bommel_030

                      Hatte ich auch vor längerem mal.
                      Neuen Coockie rein und es ging wieder.

                      B 1 Reply Last reply Reply Quote 0
                      • M
                        maxpd @bommel_030 last edited by

                        @bommel_030 Samstag Nachmittag auf Sonntag Mittag ging bei mir auch nix mehr. Dann hat er sich wieder gefangen.

                        1 Reply Last reply Reply Quote 0
                        • B
                          bommel_030 @David G. last edited by

                          @david-g @maxpd
                          Gerade mal nen neuen Cookie eingefügt. Leider weiterhin kein Update der Positionen in sharedlocations. An places werden Sie problemlos weitergeleitet. Allerdings nur bei Adapterstart oder manuellem pollen.
                          Mit welcher Admin (6.1.6) und Node (16.15.1) seid ihr denn unterwegs?

                          M 1 Reply Last reply Reply Quote 0
                          • M
                            maxpd @bommel_030 last edited by

                            @bommel_030 Admin 5.3.8 und Node 14.19.0

                            1 Reply Last reply Reply Quote 1
                            • David G.
                              David G. last edited by

                              Jetzt macht er bei mir auch Stress.
                              Der Standort wurde nur sehr selten abgerufen.
                              Nach einem Neustart des Adapters ging es dann wieder kurz.

                              Dachte mir auch, dass ich den Coockie mal erneuere.
                              Jetzt bleibt der Adapter aber gelb.....

                              Den alten Coockie mag er auch nicht mehr haben (extra gesichert).

                              Garfonso 1 Reply Last reply Reply Quote 0
                              • Garfonso
                                Garfonso Developer @David G. last edited by Garfonso

                                @david-g
                                steht irgendwas im log?


                                Zum Sichern des Cookies vielleicht auch google-sharedlocations.0.info.augmented_cookie mit sichern.

                                Beim Erneuern "sollte" der state leer gemacht werden, vielleicht geht da aber was nicht und jetzt sind alt & neu vermischt? Guck mal, ob er den neuen cookie lieber mag, wenn du den state leer machst und den adapter neustartest.

                                David G. 1 Reply Last reply Reply Quote 0
                                • David G.
                                  David G. @Garfonso last edited by David G.

                                  @garfonso

                                  Hab ich getestet.
                                  Im Log meint er:

                                  google-sharedlocations.0
                                  2022-07-09 12:16:02.479	error	Could not parse location data. Probably authentication error. Please check cookie.
                                  

                                  Kann dir das Coockie bei Bedarf ja zukommen lassen.

                                  EDIT
                                  Hab es jetzt nochmal (wie du gesagt hast) gemacht. Mit einem ganz neuen Coockie. Jetzt ist er verbunden.
                                  Dir 3 Coockies (das alte, das neue von gestern und das ganz neue von heute), haben com Aufbau her gleich ausgesehen. In dem Datenpunkt sah es auch gut aus.

                                  Aber nach wie vor der beste Adapter für die Standortbestimmung, auch wenn er etwas "nerdig" zum einrichten ist 😉

                                  M 1 Reply Last reply Reply Quote 1
                                  • M
                                    maxpd @David G. last edited by

                                    Mein Cookie ist wieder abgelaufen. Halbwertszeit keine 4 Wochen.

                                    M 1 Reply Last reply Reply Quote 0
                                    • M
                                      Michi_Pi @maxpd last edited by

                                      @maxpd Interessant dass der bei einigen so schnell abläuft, ich musste den Cookie erst einmal wechseln seit Feb. 2021.

                                      David G. 1 Reply Last reply Reply Quote 0
                                      • David G.
                                        David G. @Michi_Pi last edited by

                                        @michi_pi

                                        Irgendwo ist aber auch was kaputt oder zumindest komisch.

                                        Mein Coocie hält auch schon ewig.
                                        Jedoch muss ich ziemlich regelmäßig mindestens 1x pro Woche den Adapter neustarten, da kein Standort aktualisiert wird.
                                        Nach dem Neustart geht es dann wider.

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          maxpd last edited by

                                          Seit ein paar Wochen ist mein Adapter Gelb. Gebe ich einen neuen Cookie ein ist die Connection für 1 Minute Successful und dann wird er wieder gelb wegen falschem Cookie.
                                          Hat sonst noch wer das Problem?

                                          David G. 1 Reply Last reply Reply Quote 0
                                          • David G.
                                            David G. @maxpd last edited by David G.

                                            @maxpd
                                            Bei mir läufts

                                            Hab den Adapter alle paar Tage mal kurz gelb, dann kommt er aber wieder.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            589
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            google shared locations
                                            51
                                            496
                                            87533
                                            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