Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Tester
  4. [Aufruf] Neuer Adaper Google-Sharedlocations

NEWS

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    16
    1
    280

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

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

[Aufruf] Neuer Adaper Google-Sharedlocations

Scheduled Pinned Locked Moved Tester
google shared locations
512 Posts 52 Posters 121.5k Views 32 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Jan1

    @garfonso
    Google hat mal wieder was geändert und ich habe eben gerade die GIT Version des Adapter geladen. Im Log steht, dass ein Zeichen des Cookie nicht passt, wobei was soll man da bei copy&paste falsch machen, zumal ich das jetzt auch schon recht oft gemacht habe.

    TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Cookie"]
    
    GarfonsoG Offline
    GarfonsoG Offline
    Garfonso
    Developer
    wrote on last edited by
    #432

    @jan1

    Hm.. kann ich bei mir nicht reproduzieren... gibt es davor noch Warnungen?
    Ist das die Version 2.1.6 von hier https://github.com/Garfonso/ioBroker.google-sharedlocations?

    Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation

    Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung

    1 Reply Last reply
    0
    • GarfonsoG Garfonso

      @mrhary
      welche Version vom Adapter hast du denn installiert? Versuch nochmal von github.

      M Offline
      M Offline
      mrhary
      wrote on last edited by
      #433

      @garfonso 2.1.6 von github

      1 Reply Last reply
      0
      • J Jan1

        @garfonso
        Google hat mal wieder was geändert und ich habe eben gerade die GIT Version des Adapter geladen. Im Log steht, dass ein Zeichen des Cookie nicht passt, wobei was soll man da bei copy&paste falsch machen, zumal ich das jetzt auch schon recht oft gemacht habe.

        TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Cookie"]
        
        M Offline
        M Offline
        mrhary
        wrote on last edited by
        #434

        @jan1 TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Cookie"] ist auch in meinem LOG vorhanden

        GarfonsoG 1 Reply Last reply
        0
        • M Offline
          M Offline
          mrhary
          wrote on last edited by
          #435

          Ohne jegliches zutun meiner seits, ist heute früh der adapter wieder aktiv und funktioniert einwandfrei!

          1 Reply Last reply
          0
          • M mrhary

            @jan1 TypeError [ERR_INVALID_CHAR]: Invalid character in header content ["Cookie"] ist auch in meinem LOG vorhanden

            GarfonsoG Offline
            GarfonsoG Offline
            Garfonso
            Developer
            wrote on last edited by
            #436

            @mrhary
            und davor gab es vom adapter keine Warnungen?

            Ohne Informationen, welche Bestandteile des Cookies abgelehnt werden... und von wem... wird das schwierig zu beheben sein. Eigentlich gibt es in 2.1.6 einen Filter, der möglicherweise unerlaubte Bestandteile (das ist auch nicht ganz klar, was erlaubt ist und was nicht) rausfiltert und entsprechend warnt (ggf. aber nur beim Adapterstart einmal).
            Irgendwie sieht der Fehler auch so aus, als ob er lokal kommt, also von axios oder der node.js Version lokal abhängt...

            Wie sich das selber reparieren kann... hm... ok, der Adapter 2.1.6 speichert sich den Cookie, den der Server zurückschickt und aktualisiert damit den Cookie, den er sendet. Das könnte natürlich teile dann plötzlich gültig machen, wenn die Anfragen durchkommen kopfkratz (was dann aber gegen einen lokalen Fehler spricht?). Komisch... oder ist der Fehler doch an anderer Stelle...

            Stirbt der Adapter?
            Gibt es, wenn der Fehler im log kommt, trotzdem Updates? ggf. auch nur von einem Teil der Daten?

            Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation

            Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung

            J 1 Reply Last reply
            0
            • GarfonsoG Garfonso

              @mrhary
              und davor gab es vom adapter keine Warnungen?

              Ohne Informationen, welche Bestandteile des Cookies abgelehnt werden... und von wem... wird das schwierig zu beheben sein. Eigentlich gibt es in 2.1.6 einen Filter, der möglicherweise unerlaubte Bestandteile (das ist auch nicht ganz klar, was erlaubt ist und was nicht) rausfiltert und entsprechend warnt (ggf. aber nur beim Adapterstart einmal).
              Irgendwie sieht der Fehler auch so aus, als ob er lokal kommt, also von axios oder der node.js Version lokal abhängt...

              Wie sich das selber reparieren kann... hm... ok, der Adapter 2.1.6 speichert sich den Cookie, den der Server zurückschickt und aktualisiert damit den Cookie, den er sendet. Das könnte natürlich teile dann plötzlich gültig machen, wenn die Anfragen durchkommen kopfkratz (was dann aber gegen einen lokalen Fehler spricht?). Komisch... oder ist der Fehler doch an anderer Stelle...

              Stirbt der Adapter?
              Gibt es, wenn der Fehler im log kommt, trotzdem Updates? ggf. auch nur von einem Teil der Daten?

              J Offline
              J Offline
              Jan1
              wrote on last edited by
              #437

              @garfonso
              hier mal das Log im Debug Modus beim Adapter Start:

              2022-05-11 16:59:32.540 - info: admin.0 (281919) ==> Connected system.user.admin from ::ffff:192.168.100.16
              2022-05-11 16:59:39.185 - warn: admin.0 (281919) Read-only state "google-sharedlocations.0.info.augmented_cookie" has been written without ack-flag with value ""
              2022-05-11 16:59:39.277 - info: host.Beelink stopInstance system.adapter.google-sharedlocations.0 (force=false, process=true)
              2022-05-11 16:59:39.288 - info: google-sharedlocations.0 (366242) Got terminate signal TERMINATE_YOURSELF
              2022-05-11 16:59:39.296 - info: host.Beelink stopInstance system.adapter.google-sharedlocations.0 send kill signal
              2022-05-11 16:59:39.293 - info: google-sharedlocations.0 (366242) terminating
              2022-05-11 16:59:39.295 - info: google-sharedlocations.0 (366242) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
              2022-05-11 16:59:39.560 - info: admin.0 (281919) <== Disconnect system.user.admin from ::ffff:192.168.100.16
              2022-05-11 16:59:39.957 - info: host.Beelink instance system.adapter.google-sharedlocations.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
              2022-05-11 16:59:42.418 - info: host.Beelink instance system.adapter.google-sharedlocations.0 started with pid 367009
              2022-05-11 16:59:43.548 - debug: google-sharedlocations.0 (367009) Redis Objects: Use Redis connection: 127.0.0.1:9001
              2022-05-11 16:59:43.673 - debug: google-sharedlocations.0 (367009) Objects client ready ... initialize now
              2022-05-11 16:59:43.677 - debug: google-sharedlocations.0 (367009) Objects create System PubSub Client
              2022-05-11 16:59:43.678 - debug: google-sharedlocations.0 (367009) Objects create User PubSub Client
              2022-05-11 16:59:43.742 - debug: google-sharedlocations.0 (367009) Objects client initialize lua scripts
              2022-05-11 16:59:43.749 - debug: google-sharedlocations.0 (367009) Objects connected to redis: 127.0.0.1:9001
              2022-05-11 16:59:43.782 - debug: google-sharedlocations.0 (367009) Redis States: Use Redis connection: 127.0.0.1:9000
              2022-05-11 16:59:43.812 - debug: google-sharedlocations.0 (367009) States create System PubSub Client
              2022-05-11 16:59:43.814 - debug: google-sharedlocations.0 (367009) States create User PubSub Client
              2022-05-11 16:59:43.851 - debug: google-sharedlocations.0 (367009) States connected to redis: 127.0.0.1:9000
              2022-05-11 16:59:44.300 - info: google-sharedlocations.0 (367009) starting. Version 2.1.6 (non-npm: Garfonso/ioBroker.google-sharedlocations#85d8b0a5e1c3eb10986169863c6fd9b3dd271c5d) in /opt/iobroker/node_modules/iobroker.google-sharedlocations, node: v14.19.2, js-controller: 4.0.23
              2022-05-11 16:59:44.334 - info: google-sharedlocations.0 (367009) Starting google shared locations adapter
              2022-05-11 16:59:44.387 - warn: google-sharedlocations.0 (367009) Invalid character in cookie header: … at undefined. Did you copy the full cookie correctly?
              2022-05-11 16:59:44.389 - debug: google-sharedlocations.0 (367009) Polling location every 60s.
              2022-05-11 16:59:44.391 - debug: google-sharedlocations.0 (367009) Need to augment cookie.
              2022-05-11 16:59:44.437 - debug: google-sharedlocations.0 (367009) Polling locations.
              2022-05-11 16:59:44.846 - debug: google-sharedlocations.0 (367009) Response: 200
              2022-05-11 16:59:44.848 - debug: google-sharedlocations.0 (367009) New header received.
              2022-05-11 16:59:44.851 - info: google-sharedlocations.0 (367009) Error in location data parsing: Error: No location data in response. Cookie expired or no users share their location with you.
              2022-05-11 16:59:44.852 - error: google-sharedlocations.0 (367009) Could not parse location data. Probably authentication error. Please check cookie.
              2022-05-11 16:59:45.238 - debug: google-sharedlocations.0 (367009) New header received.
              2022-05-11 16:59:45.893 - debug: google-sharedlocations.0 (367009) New header received.
              
              GarfonsoG 1 Reply Last reply
              0
              • J Jan1

                @garfonso
                hier mal das Log im Debug Modus beim Adapter Start:

                2022-05-11 16:59:32.540 - info: admin.0 (281919) ==> Connected system.user.admin from ::ffff:192.168.100.16
                2022-05-11 16:59:39.185 - warn: admin.0 (281919) Read-only state "google-sharedlocations.0.info.augmented_cookie" has been written without ack-flag with value ""
                2022-05-11 16:59:39.277 - info: host.Beelink stopInstance system.adapter.google-sharedlocations.0 (force=false, process=true)
                2022-05-11 16:59:39.288 - info: google-sharedlocations.0 (366242) Got terminate signal TERMINATE_YOURSELF
                2022-05-11 16:59:39.296 - info: host.Beelink stopInstance system.adapter.google-sharedlocations.0 send kill signal
                2022-05-11 16:59:39.293 - info: google-sharedlocations.0 (366242) terminating
                2022-05-11 16:59:39.295 - info: google-sharedlocations.0 (366242) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                2022-05-11 16:59:39.560 - info: admin.0 (281919) <== Disconnect system.user.admin from ::ffff:192.168.100.16
                2022-05-11 16:59:39.957 - info: host.Beelink instance system.adapter.google-sharedlocations.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                2022-05-11 16:59:42.418 - info: host.Beelink instance system.adapter.google-sharedlocations.0 started with pid 367009
                2022-05-11 16:59:43.548 - debug: google-sharedlocations.0 (367009) Redis Objects: Use Redis connection: 127.0.0.1:9001
                2022-05-11 16:59:43.673 - debug: google-sharedlocations.0 (367009) Objects client ready ... initialize now
                2022-05-11 16:59:43.677 - debug: google-sharedlocations.0 (367009) Objects create System PubSub Client
                2022-05-11 16:59:43.678 - debug: google-sharedlocations.0 (367009) Objects create User PubSub Client
                2022-05-11 16:59:43.742 - debug: google-sharedlocations.0 (367009) Objects client initialize lua scripts
                2022-05-11 16:59:43.749 - debug: google-sharedlocations.0 (367009) Objects connected to redis: 127.0.0.1:9001
                2022-05-11 16:59:43.782 - debug: google-sharedlocations.0 (367009) Redis States: Use Redis connection: 127.0.0.1:9000
                2022-05-11 16:59:43.812 - debug: google-sharedlocations.0 (367009) States create System PubSub Client
                2022-05-11 16:59:43.814 - debug: google-sharedlocations.0 (367009) States create User PubSub Client
                2022-05-11 16:59:43.851 - debug: google-sharedlocations.0 (367009) States connected to redis: 127.0.0.1:9000
                2022-05-11 16:59:44.300 - info: google-sharedlocations.0 (367009) starting. Version 2.1.6 (non-npm: Garfonso/ioBroker.google-sharedlocations#85d8b0a5e1c3eb10986169863c6fd9b3dd271c5d) in /opt/iobroker/node_modules/iobroker.google-sharedlocations, node: v14.19.2, js-controller: 4.0.23
                2022-05-11 16:59:44.334 - info: google-sharedlocations.0 (367009) Starting google shared locations adapter
                2022-05-11 16:59:44.387 - warn: google-sharedlocations.0 (367009) Invalid character in cookie header: … at undefined. Did you copy the full cookie correctly?
                2022-05-11 16:59:44.389 - debug: google-sharedlocations.0 (367009) Polling location every 60s.
                2022-05-11 16:59:44.391 - debug: google-sharedlocations.0 (367009) Need to augment cookie.
                2022-05-11 16:59:44.437 - debug: google-sharedlocations.0 (367009) Polling locations.
                2022-05-11 16:59:44.846 - debug: google-sharedlocations.0 (367009) Response: 200
                2022-05-11 16:59:44.848 - debug: google-sharedlocations.0 (367009) New header received.
                2022-05-11 16:59:44.851 - info: google-sharedlocations.0 (367009) Error in location data parsing: Error: No location data in response. Cookie expired or no users share their location with you.
                2022-05-11 16:59:44.852 - error: google-sharedlocations.0 (367009) Could not parse location data. Probably authentication error. Please check cookie.
                2022-05-11 16:59:45.238 - debug: google-sharedlocations.0 (367009) New header received.
                2022-05-11 16:59:45.893 - debug: google-sharedlocations.0 (367009) New header received.
                
                GarfonsoG Offline
                GarfonsoG Offline
                Garfonso
                Developer
                wrote on last edited by
                #438

                @jan1
                hm... das "..." Zeichen ist aber schon verdächtig... ist der Cookie mit Rechtsklick -> Copy kopiert worden? Markieren und Strg+C geht nicht (weil zu lang und Teile werden raus genommen und durch ... ersetzt).

                Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation

                Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung

                J 1 Reply Last reply
                0
                • GarfonsoG Garfonso

                  @jan1
                  hm... das "..." Zeichen ist aber schon verdächtig... ist der Cookie mit Rechtsklick -> Copy kopiert worden? Markieren und Strg+C geht nicht (weil zu lang und Teile werden raus genommen und durch ... ersetzt).

                  J Offline
                  J Offline
                  Jan1
                  wrote on last edited by
                  #439

                  @garfonso
                  Es ist egal, wie ich kopiere, der Cookie ist immer identisch und "..." steht auch so im Cookie unter Netzwerkanalyse mit drin.

                  GarfonsoG 1 Reply Last reply
                  0
                  • J Jan1

                    @garfonso
                    Es ist egal, wie ich kopiere, der Cookie ist immer identisch und "..." steht auch so im Cookie unter Netzwerkanalyse mit drin.

                    GarfonsoG Offline
                    GarfonsoG Offline
                    Garfonso
                    Developer
                    wrote on last edited by
                    #440

                    @jan1 welcher browser?

                    Hab es gerade mit Firefox ausprobiert. Es ist richtig, in der Anzeige steht der Cookie mit ... (eben, weil zu lang):
                    google-Cookie-mitPunkten.png

                    Wenn ich den "Cookie"-Eintrag einmal mit einem Klick auswähle und dann Rechtsklick -> Copy kopiere, sind die ... aber weg.

                    Wenn ich Text markiere (z.B. mit der maus klicken & ziehen), dann geht das kopieren schief, tatsächlich auch über das Rechtsklick Menü.

                    (oben mit Rechtsklick -> Copy, unten mit markieren und strg+c):
                    google-Cookie-Ergebnise.png

                    Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation

                    Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung

                    J 1 Reply Last reply
                    0
                    • GarfonsoG Garfonso

                      @jan1 welcher browser?

                      Hab es gerade mit Firefox ausprobiert. Es ist richtig, in der Anzeige steht der Cookie mit ... (eben, weil zu lang):
                      google-Cookie-mitPunkten.png

                      Wenn ich den "Cookie"-Eintrag einmal mit einem Klick auswähle und dann Rechtsklick -> Copy kopiere, sind die ... aber weg.

                      Wenn ich Text markiere (z.B. mit der maus klicken & ziehen), dann geht das kopieren schief, tatsächlich auch über das Rechtsklick Menü.

                      (oben mit Rechtsklick -> Copy, unten mit markieren und strg+c):
                      google-Cookie-Ergebnise.png

                      J Offline
                      J Offline
                      Jan1
                      wrote on last edited by
                      #441

                      @garfonso
                      Im Firefox, weil im Edge ich das nicht gebacken bekomme.
                      Wie soll ich denn nun kopieren?

                      David G.D GarfonsoG 2 Replies Last reply
                      0
                      • J Jan1

                        @garfonso
                        Im Firefox, weil im Edge ich das nicht gebacken bekomme.
                        Wie soll ich denn nun kopieren?

                        David G.D Online
                        David G.D Online
                        David G.
                        wrote on last edited by David G.
                        #442

                        @jan1

                        Ich mache es immer am Smartphone.
                        Da habe ich die App "WebView Test" (Android).
                        (Bediene den iobroker fast komplett am Smartphone. Leider geht das seit dem Admin 5 nicht mehr so gut....).

                        Dort gehe ich auf "Coockie bearbeiten".
                        Anstatt es zu bearbeiten kopiere ich es mir da komplett raus. Hat bisher immer geklappt.

                        Zeigt eure Lovelace-Visualisierung klick
                        (Auch ideal um sich Anregungen zu holen)

                        Meine Tabellen für eure Visualisierung klick

                        1 Reply Last reply
                        0
                        • J Jan1

                          @garfonso
                          Im Firefox, weil im Edge ich das nicht gebacken bekomme.
                          Wie soll ich denn nun kopieren?

                          GarfonsoG Offline
                          GarfonsoG Offline
                          Garfonso
                          Developer
                          wrote on last edited by Garfonso
                          #443

                          @jan1
                          Also mein vorgehen ist:
                          Das Feld mit dem Cookie: einmal mit linksklick anklicken, dann ist es markiert. Dann Rechtklick -> Copy. Da kam bisher immer der ganze Text.

                          Als Alternative habe ich gerade etwas eingebaut, es gibt Addons, die Cookies extrahieren können, z.B. für Firefox (habe ich getestet) oder Chrome(ium?) (hab ich nicht getestet, müsste aber auch gehen). Da kommt eine Textdatei raus. Deren Inhalt kannst du komplett in das Textfeld in den Einstellungen kopieren. (ab Version 2.2.0, auf meinem Github)

                          Dazu gerne feedback.

                          Grundsätzlich scheint bei mir der Cookie aber auch nur noch selten bis gar nicht abzulaufen.

                          Ultimativer Lovelace Leitfaden: https://forum.iobroker.net/topic/35937/der-ultimative-iobroker-lovelace-leitfaden-dokumentation

                          Lovelace UI Beispiele: https://forum.iobroker.net/topic/35950/zeigt-her-eure-lovelace-visualisierung

                          David G.D J 2 Replies Last reply
                          0
                          • GarfonsoG Garfonso

                            @jan1
                            Also mein vorgehen ist:
                            Das Feld mit dem Cookie: einmal mit linksklick anklicken, dann ist es markiert. Dann Rechtklick -> Copy. Da kam bisher immer der ganze Text.

                            Als Alternative habe ich gerade etwas eingebaut, es gibt Addons, die Cookies extrahieren können, z.B. für Firefox (habe ich getestet) oder Chrome(ium?) (hab ich nicht getestet, müsste aber auch gehen). Da kommt eine Textdatei raus. Deren Inhalt kannst du komplett in das Textfeld in den Einstellungen kopieren. (ab Version 2.2.0, auf meinem Github)

                            Dazu gerne feedback.

                            Grundsätzlich scheint bei mir der Cookie aber auch nur noch selten bis gar nicht abzulaufen.

                            David G.D Online
                            David G.D Online
                            David G.
                            wrote on last edited by
                            #444

                            @garfonso

                            Dubhadt vor bestimmt 2-3-4 Monaten mal geschrien, dass du was angepasst hast beim Coockie. Seit dem läuft es bei mir durch.

                            Was ich manchmal habe ist, dass ich den Adapter neustarten muss weil er den Standort nicht aktualisiert. Denke so alle 2 Wochen.

                            Zeigt eure Lovelace-Visualisierung klick
                            (Auch ideal um sich Anregungen zu holen)

                            Meine Tabellen für eure Visualisierung klick

                            1 Reply Last reply
                            0
                            • GarfonsoG Garfonso

                              @jan1
                              Also mein vorgehen ist:
                              Das Feld mit dem Cookie: einmal mit linksklick anklicken, dann ist es markiert. Dann Rechtklick -> Copy. Da kam bisher immer der ganze Text.

                              Als Alternative habe ich gerade etwas eingebaut, es gibt Addons, die Cookies extrahieren können, z.B. für Firefox (habe ich getestet) oder Chrome(ium?) (hab ich nicht getestet, müsste aber auch gehen). Da kommt eine Textdatei raus. Deren Inhalt kannst du komplett in das Textfeld in den Einstellungen kopieren. (ab Version 2.2.0, auf meinem Github)

                              Dazu gerne feedback.

                              Grundsätzlich scheint bei mir der Cookie aber auch nur noch selten bis gar nicht abzulaufen.

                              J Offline
                              J Offline
                              Jan1
                              wrote on last edited by Jan1
                              #445

                              @garfonso
                              Ich habe das Addon für Firefox getestet und den kompletten Inhalt (sehr viel Zeug) im Adapter eingetragen. Geht nicht und das steht im Log:

                              2022-05-13 15:09:00.878 - info: admin.0 (3161577) ==> Connected system.user.admin from ::ffff:192.168.100.16
                              2022-05-13 15:09:09.928 - warn: admin.0 (3161577) Read-only state "google-sharedlocations.0.info.augmented_cookie" has been written without ack-flag with value ""
                              2022-05-13 15:09:10.043 - info: host.Beelink stopInstance system.adapter.google-sharedlocations.0 (force=false, process=true)
                              2022-05-13 15:09:10.063 - info: host.Beelink stopInstance system.adapter.google-sharedlocations.0 send kill signal
                              2022-05-13 15:09:10.063 - info: google-sharedlocations.0 (1338539) Got terminate signal TERMINATE_YOURSELF
                              2022-05-13 15:09:10.065 - info: google-sharedlocations.0 (1338539) terminating
                              2022-05-13 15:09:10.066 - info: google-sharedlocations.0 (1338539) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                              2022-05-13 15:09:10.429 - info: admin.0 (3161577) <== Disconnect system.user.admin from ::ffff:192.168.100.16
                              2022-05-13 15:09:10.720 - info: host.Beelink instance system.adapter.google-sharedlocations.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                              2022-05-13 15:09:13.116 - info: host.Beelink instance system.adapter.google-sharedlocations.0 started with pid 1350990
                              2022-05-13 15:09:14.646 - info: google-sharedlocations.0 (1350990) starting. Version 2.2.1 (non-npm: Garfonso/ioBroker.google-sharedlocations#91ce6d3d470cba4011b7861103c4bfffa32dffbe) in /opt/iobroker/node_modules/iobroker.google-sharedlocations, node: v14.19.2, js-controller: 4.0.23
                              2022-05-13 15:09:14.686 - info: google-sharedlocations.0 (1350990) Starting google shared locations adapter
                              2022-05-13 15:09:15.191 - info: google-sharedlocations.0 (1350990) Error in location data parsing: SyntaxError: Unexpected token < in JSON at position 0
                              2022-05-13 15:09:15.192 - error: google-sharedlocations.0 (1350990) Could not parse location data. Probably authentication error. Please check cookie.
                              

                              Adapter Version: 2.2.1

                              XBiTX 1 Reply Last reply
                              0
                              • J Jan1

                                @garfonso
                                Ich habe das Addon für Firefox getestet und den kompletten Inhalt (sehr viel Zeug) im Adapter eingetragen. Geht nicht und das steht im Log:

                                2022-05-13 15:09:00.878 - info: admin.0 (3161577) ==> Connected system.user.admin from ::ffff:192.168.100.16
                                2022-05-13 15:09:09.928 - warn: admin.0 (3161577) Read-only state "google-sharedlocations.0.info.augmented_cookie" has been written without ack-flag with value ""
                                2022-05-13 15:09:10.043 - info: host.Beelink stopInstance system.adapter.google-sharedlocations.0 (force=false, process=true)
                                2022-05-13 15:09:10.063 - info: host.Beelink stopInstance system.adapter.google-sharedlocations.0 send kill signal
                                2022-05-13 15:09:10.063 - info: google-sharedlocations.0 (1338539) Got terminate signal TERMINATE_YOURSELF
                                2022-05-13 15:09:10.065 - info: google-sharedlocations.0 (1338539) terminating
                                2022-05-13 15:09:10.066 - info: google-sharedlocations.0 (1338539) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                                2022-05-13 15:09:10.429 - info: admin.0 (3161577) <== Disconnect system.user.admin from ::ffff:192.168.100.16
                                2022-05-13 15:09:10.720 - info: host.Beelink instance system.adapter.google-sharedlocations.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                                2022-05-13 15:09:13.116 - info: host.Beelink instance system.adapter.google-sharedlocations.0 started with pid 1350990
                                2022-05-13 15:09:14.646 - info: google-sharedlocations.0 (1350990) starting. Version 2.2.1 (non-npm: Garfonso/ioBroker.google-sharedlocations#91ce6d3d470cba4011b7861103c4bfffa32dffbe) in /opt/iobroker/node_modules/iobroker.google-sharedlocations, node: v14.19.2, js-controller: 4.0.23
                                2022-05-13 15:09:14.686 - info: google-sharedlocations.0 (1350990) Starting google shared locations adapter
                                2022-05-13 15:09:15.191 - info: google-sharedlocations.0 (1350990) Error in location data parsing: SyntaxError: Unexpected token < in JSON at position 0
                                2022-05-13 15:09:15.192 - error: google-sharedlocations.0 (1350990) Could not parse location data. Probably authentication error. Please check cookie.
                                

                                Adapter Version: 2.2.1

                                XBiTX Offline
                                XBiTX Offline
                                XBiT
                                wrote on last edited by
                                #446

                                @jan1

                                also hatte auch mal Probleme damit, aber aber irgend einer Version :-) kann man alles rein Kopieren der Adapter sucht sich die Werte (So habe ich es jedenfalls verstanden).

                                Vielleicht hilft dir ein Beispiel was bei mir drin steht womit es geht.
                                So sollte der Token aussehen:

                                CONSENT=PENDING+684; NID=511=ioXATcM7sHOgEMLerwYIOvA6PYskEF-wxRbkWpHX3zp6IPZLwx6SSfYFmm4eevuRtk9qFgR4GyinLUs257jmIDilFPW5ICEEdrXy7i5BT3sVOKiChdze76DVDVUT08Co5hHyp0w74DZ6W-RA1WkgcPB7e-4pH4OZG8K0BSZO4WhwiDJAuNU0KnZPc6-4RoE_Au11RniQKYll6NPxChVR; SID=FAgGuPLHegKAhOTeselyrEBcWNOm7t-LMGdp1efeCyAJnBYxXYynZPAkqWjcHIrKlwoWag.; __Secure-1PSID=CAgGuHLHegLAhOTeselyrENcWNOm7t-LMGdp1efeCyAJnBYxoJFzO3XbvzBNsDxp89XiUA.; __Secure-3PSID=CAgGuHLHegLAhOTeselyrENcWNOm7t-LMGdp1efeCyAJnBYxhXrFIpM6-o9CIIAQiiK3hQ.; HSID=A3KPYO0F6WphlZrTX; SSID=Au09niZwvKAqWugqH; APISID=xfSJnRt9Y9AKrZ7R/Au0-exs9a0ZG7jv9k; SAPISID=eF_8dwG5GgBbznyz/AjblA5CLANKBRNv0H; __Secure-1PAPISID=eF_8dwJ5GgBuznyz/AjblA5CLANKLRGv0H; __Secure-3PAPISID=eF_8dwJ5GgBbznyz/AjblA5CLANKVRNv0H; SIDCC=AJi4UfGlIs_-no8vgqfCjYbcSRXPG_kq3-EY5lymulQ0lsdDQ8ZwjH4RzSHXWrwYgvrcy_8Ktg; __Secure-3PSIDCC=ALi4VfH-ri2ejdp8147ynD3-KAcNZTFmtUY6t2gfPZCIf3Sn1aAPtg_L30G19O6rcoE-qrlepg
                                

                                J 1 Reply Last reply
                                0
                                • XBiTX XBiT

                                  @jan1

                                  also hatte auch mal Probleme damit, aber aber irgend einer Version :-) kann man alles rein Kopieren der Adapter sucht sich die Werte (So habe ich es jedenfalls verstanden).

                                  Vielleicht hilft dir ein Beispiel was bei mir drin steht womit es geht.
                                  So sollte der Token aussehen:

                                  CONSENT=PENDING+684; NID=511=ioXATcM7sHOgEMLerwYIOvA6PYskEF-wxRbkWpHX3zp6IPZLwx6SSfYFmm4eevuRtk9qFgR4GyinLUs257jmIDilFPW5ICEEdrXy7i5BT3sVOKiChdze76DVDVUT08Co5hHyp0w74DZ6W-RA1WkgcPB7e-4pH4OZG8K0BSZO4WhwiDJAuNU0KnZPc6-4RoE_Au11RniQKYll6NPxChVR; SID=FAgGuPLHegKAhOTeselyrEBcWNOm7t-LMGdp1efeCyAJnBYxXYynZPAkqWjcHIrKlwoWag.; __Secure-1PSID=CAgGuHLHegLAhOTeselyrENcWNOm7t-LMGdp1efeCyAJnBYxoJFzO3XbvzBNsDxp89XiUA.; __Secure-3PSID=CAgGuHLHegLAhOTeselyrENcWNOm7t-LMGdp1efeCyAJnBYxhXrFIpM6-o9CIIAQiiK3hQ.; HSID=A3KPYO0F6WphlZrTX; SSID=Au09niZwvKAqWugqH; APISID=xfSJnRt9Y9AKrZ7R/Au0-exs9a0ZG7jv9k; SAPISID=eF_8dwG5GgBbznyz/AjblA5CLANKBRNv0H; __Secure-1PAPISID=eF_8dwJ5GgBuznyz/AjblA5CLANKLRGv0H; __Secure-3PAPISID=eF_8dwJ5GgBbznyz/AjblA5CLANKVRNv0H; SIDCC=AJi4UfGlIs_-no8vgqfCjYbcSRXPG_kq3-EY5lymulQ0lsdDQ8ZwjH4RzSHXWrwYgvrcy_8Ktg; __Secure-3PSIDCC=ALi4VfH-ri2ejdp8147ynD3-KAcNZTFmtUY6t2gfPZCIf3Sn1aAPtg_L30G19O6rcoE-qrlepg
                                  

                                  J Offline
                                  J Offline
                                  Jan1
                                  wrote on last edited by Jan1
                                  #447

                                  @xbit
                                  Es ist ja nicht so, dass ich das nicht schon 100 mal erfolgreich gemacht habe. Jetzt gehts einfach nicht mehr, egal was ich wie rein kopiere, er meckert.

                                  Edit:
                                  Es kann so einfach sein, wenn man einfach auf das ? vor dem Cookie klickt und dort "kopieren" wählt, dann nimmt er wirklich alles und schon läuft es.

                                  XBiTX 1 Reply Last reply
                                  0
                                  • J Jan1

                                    @xbit
                                    Es ist ja nicht so, dass ich das nicht schon 100 mal erfolgreich gemacht habe. Jetzt gehts einfach nicht mehr, egal was ich wie rein kopiere, er meckert.

                                    Edit:
                                    Es kann so einfach sein, wenn man einfach auf das ? vor dem Cookie klickt und dort "kopieren" wählt, dann nimmt er wirklich alles und schon läuft es.

                                    XBiTX Offline
                                    XBiTX Offline
                                    XBiT
                                    wrote on last edited by
                                    #448

                                    @jan1

                                    Okay Sorry, dachte nur wegen,

                                    2022-05-13 15:09:15.191 - info: google-sharedlocations.0 (1350990) Error in location data parsing: SyntaxError: Unexpected token < in JSON at position 0
                                    

                                    es könnte ein Zeichen im String dabei sein was zum SyntaxError führt.
                                    Bin kein Experte darin wollte nur ein Beispiel für den Token liefern weil es bis jetzt keiner gemacht hat :-)

                                    J 1 Reply Last reply
                                    0
                                    • XBiTX XBiT

                                      @jan1

                                      Okay Sorry, dachte nur wegen,

                                      2022-05-13 15:09:15.191 - info: google-sharedlocations.0 (1350990) Error in location data parsing: SyntaxError: Unexpected token < in JSON at position 0
                                      

                                      es könnte ein Zeichen im String dabei sein was zum SyntaxError führt.
                                      Bin kein Experte darin wollte nur ein Beispiel für den Token liefern weil es bis jetzt keiner gemacht hat :-)

                                      J Offline
                                      J Offline
                                      Jan1
                                      wrote on last edited by
                                      #449

                                      @xbit
                                      Es läuft ja wieder. Problem ist wohl, dass der Cookie eben nicht mehr komplett kopiert wird, je nach dem wie man ihn versucht zu kopieren, da er zu lang ist. Übers ? geht es :)

                                      M 1 Reply Last reply
                                      1
                                      • J Jan1

                                        @xbit
                                        Es läuft ja wieder. Problem ist wohl, dass der Cookie eben nicht mehr komplett kopiert wird, je nach dem wie man ihn versucht zu kopieren, da er zu lang ist. Übers ? geht es :)

                                        M Offline
                                        M Offline
                                        maxpd
                                        wrote on last edited by
                                        #450

                                        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.

                                        Gruß
                                        maxpd

                                        Raspi 4 8gb | iobroker + pivccu3 | 46 Adapter | 68 Scripte, 120 Devices

                                        1 Reply Last reply
                                        0
                                        • S Offline
                                          S Offline
                                          Snigga
                                          wrote on last edited by
                                          #451

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

                                          M 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          501

                                          Online

                                          32.7k

                                          Users

                                          82.5k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe