Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • 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

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

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

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.8k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.2k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    16
    1
    3.3k

[Aufruf] Neuer Adaper Google-Sharedlocations

Geplant Angeheftet Gesperrt Verschoben Tester
google shared locations
511 Beiträge 52 Kommentatoren 113.3k Aufrufe 31 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • GarfonsoG Garfonso

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

    M Offline
    M Offline
    mrhary
    schrieb am zuletzt editiert von
    #433

    @garfonso 2.1.6 von github

    1 Antwort Letzte Antwort
    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
      schrieb am zuletzt editiert von
      #434

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

      GarfonsoG 1 Antwort Letzte Antwort
      0
      • M Offline
        M Offline
        mrhary
        schrieb am zuletzt editiert von
        #435

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

        1 Antwort Letzte Antwort
        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
          schrieb am zuletzt editiert von
          #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 Antwort Letzte Antwort
          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
            schrieb am zuletzt editiert von
            #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 Antwort Letzte Antwort
            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
              schrieb am zuletzt editiert von
              #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 Antwort Letzte Antwort
              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
                schrieb am zuletzt editiert von
                #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 Antwort Letzte Antwort
                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
                  schrieb am zuletzt editiert von
                  #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 Antwort Letzte Antwort
                  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
                    schrieb am zuletzt editiert von
                    #441

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

                    David G.D GarfonsoG 2 Antworten Letzte Antwort
                    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.
                      schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                      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
                        schrieb am zuletzt editiert von 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 Antworten Letzte Antwort
                        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.
                          schrieb am zuletzt editiert von
                          #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 Antwort Letzte Antwort
                          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
                            schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                            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
                              schrieb am zuletzt editiert von
                              #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 Antwort Letzte Antwort
                              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
                                schrieb am zuletzt editiert von 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 Antwort Letzte Antwort
                                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
                                  schrieb am zuletzt editiert von
                                  #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 Antwort Letzte Antwort
                                  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
                                    schrieb am zuletzt editiert von
                                    #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 Antwort Letzte Antwort
                                    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
                                      schrieb am zuletzt editiert von
                                      #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 Antwort Letzte Antwort
                                      0
                                      • S Offline
                                        S Offline
                                        Snigga
                                        schrieb am zuletzt editiert von
                                        #451

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

                                        M 1 Antwort Letzte Antwort
                                        0
                                        • S Snigga

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

                                          M Offline
                                          M Offline
                                          maxpd
                                          schrieb am zuletzt editiert von
                                          #452

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

                                          Gruß
                                          maxpd

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

                                          David G.D B 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          848

                                          Online

                                          32.4k

                                          Benutzer

                                          81.5k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe