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. ioBroker Allgemein
  4. (gelöst) google-sharedlocations Alternative?

NEWS

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

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

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

(gelöst) google-sharedlocations Alternative?

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
adapter
124 Beiträge 13 Kommentatoren 15.2k Aufrufe 16 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

    @Stephan-Schleich
    Also Google Maps läuft auf deinem (Android) Smartphone im Hintergrund und schickt an Google deine Position (wenn man das entsprechend einschaltet). Da hat man dann auch eine "Zeitachse" in der App usw. und man kann seine Position teilen, auch auf unbegrenzte Zeit. Das macht man dann mit einem "iobroker" User.
    Der Adapter loggt sich als dieser User bei Google Maps ein und zieht die Daten der geteilten Standorte runter.

    Insofern laufen "im Hintergrund" auf deinem Handy eine App und halt die Google Server. ;-)

    Die states kann man mit History Speichern -> ist der Verlauf schonmal da. In Lovelace kann man einen Standortverlauf anzeigen, hab ich aber noch nicht hinbekommen... was es da sonst in ioBroker gibt, weiß ich aktuell gar nicht (beschäftige mich erst seit dem Wochenende ernsthaft mit Standort in ioBroker ;-) ). Aber die visualisierungsfragen sind eher unabhängig vom Adapter und vielleicht auch schon geklärt (?).

    David G.D Online
    David G.D Online
    David G.
    schrieb am zuletzt editiert von
    #114

    @garfonso said in (gelöst) google-sharedlocations Alternative?:

    Die states kann man mit History Speichern -> ist der Verlauf schonmal da. In Lovelace kann man einen Standortverlauf anzeigen, hab ich aber noch nicht hinbekommen... was es da sonst in ioBroker gibt, weiß ich aktuell gar nicht (beschäftige mich erst seit dem Wochenende ernsthaft mit Standort in ioBroker ). Aber die visualisierungsfragen sind eher unabhängig vom Adapter und vielleicht auch schon geklärt (?).

    Gibt's hier eigentlich was neues?
    Frage in dem Thread, da es ja schonmal aufgegriffen worden.

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

    Meine Tabellen für eure Visualisierung klick

    GarfonsoG 1 Antwort Letzte Antwort
    0
    • David G.D David G.

      @garfonso said in (gelöst) google-sharedlocations Alternative?:

      Die states kann man mit History Speichern -> ist der Verlauf schonmal da. In Lovelace kann man einen Standortverlauf anzeigen, hab ich aber noch nicht hinbekommen... was es da sonst in ioBroker gibt, weiß ich aktuell gar nicht (beschäftige mich erst seit dem Wochenende ernsthaft mit Standort in ioBroker ). Aber die visualisierungsfragen sind eher unabhängig vom Adapter und vielleicht auch schon geklärt (?).

      Gibt's hier eigentlich was neues?
      Frage in dem Thread, da es ja schonmal aufgegriffen worden.

      GarfonsoG Offline
      GarfonsoG Offline
      Garfonso
      Developer
      schrieb am zuletzt editiert von
      #115

      @david-g
      Standortverlauf? In lovelace geht der Version im latest. ;-) (Map-Karte machen, entities als geo_location und bei der Map-Karte einstellen, dann einstellen, wie viele Stunden History und dann malt der eine Spur).
      Mit anderen Visualisierungen kenne ich mich nicht genug aus.

      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 Antwort Letzte Antwort
      0
      • S Offline
        S Offline
        SaiBot1981
        schrieb am zuletzt editiert von
        #116

        kann mir jemand erklären wieso ich egal wie oft ich es versuche mit keinen cookie eine verbindung bekomme?

        ich bekomme immer nur diese meldung im log:

        google-sharedlocations.0	2021-05-07 22:22:35.208	error	(10016) Could not parse location data. Probably authentication error. Please check cookie.
        google-sharedlocations.0	2021-05-07 22:22:31.645	error	(10016) Error during setting states: TypeError: states is not iterable
        google-sharedlocations.0	2021-05-07 22:22:25.229	error	(10016) Could not parse location data. Probably authentication error. Please check cookie.
        google-sharedlocations.0	2021-05-07 22:22:13.896	error	(10016) Could not parse location data. Probably authentication error. Please check cookie.
        google-sharedlocations.0	2021-05-07 22:21:32.983	error	(10016) Could not parse location data. Probably authentication error. Please check cookie.
        

        ich habe einen benutzer im iobroker angelegt der den namen wie der googleuser hat nur eben ohne @gmail.com.
        an meinem smartphone habe ich die standortfreigabe für diesen user aktiviert und kann mich selbst auch über diesen account sehen.

        google.jpg

        wo mache ich den fehler?

        dslraserD 1 Antwort Letzte Antwort
        0
        • S SaiBot1981

          kann mir jemand erklären wieso ich egal wie oft ich es versuche mit keinen cookie eine verbindung bekomme?

          ich bekomme immer nur diese meldung im log:

          google-sharedlocations.0	2021-05-07 22:22:35.208	error	(10016) Could not parse location data. Probably authentication error. Please check cookie.
          google-sharedlocations.0	2021-05-07 22:22:31.645	error	(10016) Error during setting states: TypeError: states is not iterable
          google-sharedlocations.0	2021-05-07 22:22:25.229	error	(10016) Could not parse location data. Probably authentication error. Please check cookie.
          google-sharedlocations.0	2021-05-07 22:22:13.896	error	(10016) Could not parse location data. Probably authentication error. Please check cookie.
          google-sharedlocations.0	2021-05-07 22:21:32.983	error	(10016) Could not parse location data. Probably authentication error. Please check cookie.
          

          ich habe einen benutzer im iobroker angelegt der den namen wie der googleuser hat nur eben ohne @gmail.com.
          an meinem smartphone habe ich die standortfreigabe für diesen user aktiviert und kann mich selbst auch über diesen account sehen.

          google.jpg

          wo mache ich den fehler?

          dslraserD Offline
          dslraserD Offline
          dslraser
          Forum Testing Most Active
          schrieb am zuletzt editiert von dslraser
          #117

          @saibot1981
          bei mir fängt der cookie immer erst bei NID= an (als etwas weiter hinten als von Dir makiert)

          S 1 Antwort Letzte Antwort
          0
          • dslraserD dslraser

            @saibot1981
            bei mir fängt der cookie immer erst bei NID= an (als etwas weiter hinten als von Dir makiert)

            S Offline
            S Offline
            SaiBot1981
            schrieb am zuletzt editiert von
            #118

            @dslraser super. das war der fehler. danke dir

            1 Antwort Letzte Antwort
            0
            • S Offline
              S Offline
              SaiBot1981
              schrieb am zuletzt editiert von
              #119

              Wie weit kann man mit dem poll runter gehen?

              mein gedanke ist das ich über diesen adapter mit der entfernung bzw der adresse von mir meine außenbeleuchtung steuere.
              klappt soweit auch ganz gut. aber ich möchte nicht das durch 10 sekunden abfragen google mich sperrt

              GarfonsoG 1 Antwort Letzte Antwort
              0
              • S SaiBot1981

                Wie weit kann man mit dem poll runter gehen?

                mein gedanke ist das ich über diesen adapter mit der entfernung bzw der adresse von mir meine außenbeleuchtung steuere.
                klappt soweit auch ganz gut. aber ich möchte nicht das durch 10 sekunden abfragen google mich sperrt

                GarfonsoG Offline
                GarfonsoG Offline
                Garfonso
                Developer
                schrieb am zuletzt editiert von
                #120

                @saibot1981
                Der Adapter setzt alles unter 60 Sekunden (meine ich -> sagt er ggf. im Log) auf 60 Sekunden rauf, weil man sonst nach ein paar Abfragen nur noch eine Fehlermeldung bekommt. 60 Sekunden ist aber auch über längere Zeiträume save, wie es aussieht.

                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

                S 1 Antwort Letzte Antwort
                0
                • GarfonsoG Garfonso

                  @saibot1981
                  Der Adapter setzt alles unter 60 Sekunden (meine ich -> sagt er ggf. im Log) auf 60 Sekunden rauf, weil man sonst nach ein paar Abfragen nur noch eine Fehlermeldung bekommt. 60 Sekunden ist aber auch über längere Zeiträume save, wie es aussieht.

                  S Offline
                  S Offline
                  SaiBot1981
                  schrieb am zuletzt editiert von
                  #121

                  @garfonso sagte in (gelöst) google-sharedlocations Alternative?:

                  @saibot1981
                  Der Adapter setzt alles unter 60 Sekunden (meine ich -> sagt er ggf. im Log) auf 60 Sekunden rauf, weil man sonst nach ein paar Abfragen nur noch eine Fehlermeldung bekommt. 60 Sekunden ist aber auch über längere Zeiträume save, wie es aussieht.

                  Danke, habs erweitert mit wlan erkennung. läuft super

                  1 Antwort Letzte Antwort
                  0
                  • nik82N Offline
                    nik82N Offline
                    nik82
                    Most Active
                    schrieb am zuletzt editiert von nik82
                    #122

                    @Garfonso
                    Hi, supportest du den Adapter noch?

                    Falls ja, könntest du mir helfen?
                    Der Adapter lief jetzt monatelang problemlos, jetzt seit 5 Tagen habe ich das Problem, dass mir der Cookie immer schneller ausläuft.
                    Erst alle 24h und jetzt alle 10-20 min.

                    Hier mal ein paar Logs:

                    2023-08-14 09:50:02.359  - info: host.IOBROKER(SmartHome) "system.adapter.google-sharedlocations.0" enabled 
                    2023-08-14 09:50:02.550  - info: host.IOBROKER(SmartHome) instance system.adapter.google-sharedlocations.0 started with pid 38520 
                    2023-08-14 09:50:03.688  - debug: google-sharedlocations.0 (38520) Redis Objects: Use Redis connection: 127.0.0.1:9001 
                    2023-08-14 09:50:03.775  - debug: google-sharedlocations.0 (38520) Objects client ready ... initialize now 
                    2023-08-14 09:50:03.776  - debug: google-sharedlocations.0 (38520) Objects create System PubSub Client 
                    2023-08-14 09:50:03.777  - debug: google-sharedlocations.0 (38520) Objects create User PubSub Client 
                    2023-08-14 09:50:03.850  - debug: google-sharedlocations.0 (38520) Objects client initialize lua scripts 
                    2023-08-14 09:50:03.855  - debug: google-sharedlocations.0 (38520) Objects connected to redis: 127.0.0.1:9001 
                    2023-08-14 09:50:03.885  - debug: google-sharedlocations.0 (38520) Redis States: Use Redis connection: 127.0.0.1:9000 
                    2023-08-14 09:50:03.903  - debug: google-sharedlocations.0 (38520) States create System PubSub Client 
                    2023-08-14 09:50:03.904  - debug: google-sharedlocations.0 (38520) States create User PubSub Client 
                    2023-08-14 09:50:03.938  - debug: google-sharedlocations.0 (38520) States connected to redis: 127.0.0.1:9000 
                    2023-08-14 09:50:04.547  - info:  google-sharedlocations.0 (38520) starting. Version 2.1.3 (non-npm:  t4qjXH8N/ioBroker.google-sharedlocations) in  C:/iobroker/SmartHome/node_modules/iobroker.google-sharedlocations,  node: v16.19.0, js-controller: 4.0.24 
                    2023-08-14 09:50:04.564  - info: google-sharedlocations.0 (38520) Starting google shared locations adapter 
                    2023-08-14 09:50:04.599  - debug: google-sharedlocations.0 (38520) Polling location every 600s. 
                    2023-08-14 09:50:04.600  - debug: google-sharedlocations.0 (38520) Need to augment cookie. 
                    2023-08-14 09:50:04.627  - debug: google-sharedlocations.0 (38520) Polling locations. 
                    2023-08-14 09:50:04.823  - debug: google-sharedlocations.0 (38520) Response: 200 
                    2023-08-14 09:50:04.823  - error: google-sharedlocations.0 (38520) Could not parse location data. Probably authentication error. Please check cookie. 
                    2023-08-14 09:50:05.380  - debug: google-sharedlocations.0 (38520) New header received. 
                    2023-08-14 09:50:05.948  - debug: google-sharedlocations.0 (38520) New header received. 
                    2023-08-14 09:50:16.260  - debug: google-sharedlocations.0 (38520) Response: 200 
                    2023-08-14 09:50:16.261  - error: google-sharedlocations.0 (38520) Could not parse location data. Probably authentication error. Please check cookie. 
                    2023-08-14 09:50:40.596  - debug: google-sharedlocations.0 (38520) Response: 200 
                    2023-08-14 09:50:40.596  - error: google-sharedlocations.0 (38520) Could not parse location data. Probably authentication error. Please check cookie. 
                    2023-08-14 09:50:42.633  - warn:  admin.0 (8340) Read-only state  "google-sharedlocations.0.info.augmented_cookie" has been written  without ack-flag with value ""
                    

                    Und ist es eigentlich normal, dass das Objekt "google-sharedlocations.0.info.augmented_cookie" schreibgeschützt ist?
                    Hab auch schonmal den Baum gelöscht und neu installiert, bleibt immer schreibgeschützt.

                    warn: admin.0 (8340) Read-only state "google-sharedlocations.0.info.augmented_cookie" has been written without ack-flag with value ""
                    
                    GarfonsoG 1 Antwort Letzte Antwort
                    0
                    • nik82N nik82

                      @Garfonso
                      Hi, supportest du den Adapter noch?

                      Falls ja, könntest du mir helfen?
                      Der Adapter lief jetzt monatelang problemlos, jetzt seit 5 Tagen habe ich das Problem, dass mir der Cookie immer schneller ausläuft.
                      Erst alle 24h und jetzt alle 10-20 min.

                      Hier mal ein paar Logs:

                      2023-08-14 09:50:02.359  - info: host.IOBROKER(SmartHome) "system.adapter.google-sharedlocations.0" enabled 
                      2023-08-14 09:50:02.550  - info: host.IOBROKER(SmartHome) instance system.adapter.google-sharedlocations.0 started with pid 38520 
                      2023-08-14 09:50:03.688  - debug: google-sharedlocations.0 (38520) Redis Objects: Use Redis connection: 127.0.0.1:9001 
                      2023-08-14 09:50:03.775  - debug: google-sharedlocations.0 (38520) Objects client ready ... initialize now 
                      2023-08-14 09:50:03.776  - debug: google-sharedlocations.0 (38520) Objects create System PubSub Client 
                      2023-08-14 09:50:03.777  - debug: google-sharedlocations.0 (38520) Objects create User PubSub Client 
                      2023-08-14 09:50:03.850  - debug: google-sharedlocations.0 (38520) Objects client initialize lua scripts 
                      2023-08-14 09:50:03.855  - debug: google-sharedlocations.0 (38520) Objects connected to redis: 127.0.0.1:9001 
                      2023-08-14 09:50:03.885  - debug: google-sharedlocations.0 (38520) Redis States: Use Redis connection: 127.0.0.1:9000 
                      2023-08-14 09:50:03.903  - debug: google-sharedlocations.0 (38520) States create System PubSub Client 
                      2023-08-14 09:50:03.904  - debug: google-sharedlocations.0 (38520) States create User PubSub Client 
                      2023-08-14 09:50:03.938  - debug: google-sharedlocations.0 (38520) States connected to redis: 127.0.0.1:9000 
                      2023-08-14 09:50:04.547  - info:  google-sharedlocations.0 (38520) starting. Version 2.1.3 (non-npm:  t4qjXH8N/ioBroker.google-sharedlocations) in  C:/iobroker/SmartHome/node_modules/iobroker.google-sharedlocations,  node: v16.19.0, js-controller: 4.0.24 
                      2023-08-14 09:50:04.564  - info: google-sharedlocations.0 (38520) Starting google shared locations adapter 
                      2023-08-14 09:50:04.599  - debug: google-sharedlocations.0 (38520) Polling location every 600s. 
                      2023-08-14 09:50:04.600  - debug: google-sharedlocations.0 (38520) Need to augment cookie. 
                      2023-08-14 09:50:04.627  - debug: google-sharedlocations.0 (38520) Polling locations. 
                      2023-08-14 09:50:04.823  - debug: google-sharedlocations.0 (38520) Response: 200 
                      2023-08-14 09:50:04.823  - error: google-sharedlocations.0 (38520) Could not parse location data. Probably authentication error. Please check cookie. 
                      2023-08-14 09:50:05.380  - debug: google-sharedlocations.0 (38520) New header received. 
                      2023-08-14 09:50:05.948  - debug: google-sharedlocations.0 (38520) New header received. 
                      2023-08-14 09:50:16.260  - debug: google-sharedlocations.0 (38520) Response: 200 
                      2023-08-14 09:50:16.261  - error: google-sharedlocations.0 (38520) Could not parse location data. Probably authentication error. Please check cookie. 
                      2023-08-14 09:50:40.596  - debug: google-sharedlocations.0 (38520) Response: 200 
                      2023-08-14 09:50:40.596  - error: google-sharedlocations.0 (38520) Could not parse location data. Probably authentication error. Please check cookie. 
                      2023-08-14 09:50:42.633  - warn:  admin.0 (8340) Read-only state  "google-sharedlocations.0.info.augmented_cookie" has been written  without ack-flag with value ""
                      

                      Und ist es eigentlich normal, dass das Objekt "google-sharedlocations.0.info.augmented_cookie" schreibgeschützt ist?
                      Hab auch schonmal den Baum gelöscht und neu installiert, bleibt immer schreibgeschützt.

                      warn: admin.0 (8340) Read-only state "google-sharedlocations.0.info.augmented_cookie" has been written without ack-flag with value ""
                      
                      GarfonsoG Offline
                      GarfonsoG Offline
                      Garfonso
                      Developer
                      schrieb am zuletzt editiert von
                      #123

                      @nik82 said in (gelöst) google-sharedlocations Alternative?:

                      Und ist es eigentlich normal, dass das Objekt "google-sharedlocations.0.info.augmented_cookie" schreibgeschützt ist?

                      Warum sollte es nicht schreibgeschützt sein? Wann kommt denn die Warnung? Ich hab das gerade mal ausprobiert und das Admin UI löscht den augmented cookie, wenn ein neuer Cookie gesetzt wird, mit "ack=true", also ohne Warnung.

                      Ansonsten, siehe tipps im anderen Thread. Und mehr als dass es bei mir aktuell immer noch läuft, weiß ich auch nicht schulterzuck Ich hab auch gerade den Adapter in der Entwicklungsumgebung nochmal eingerichtet (da war der Cookie abgelaufen, aber der läuft halt auch nur selten ;-) ). Mal sehen, wie lange der cookie hier hält.

                      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

                      nik82N 1 Antwort Letzte Antwort
                      1
                      • GarfonsoG Garfonso

                        @nik82 said in (gelöst) google-sharedlocations Alternative?:

                        Und ist es eigentlich normal, dass das Objekt "google-sharedlocations.0.info.augmented_cookie" schreibgeschützt ist?

                        Warum sollte es nicht schreibgeschützt sein? Wann kommt denn die Warnung? Ich hab das gerade mal ausprobiert und das Admin UI löscht den augmented cookie, wenn ein neuer Cookie gesetzt wird, mit "ack=true", also ohne Warnung.

                        Ansonsten, siehe tipps im anderen Thread. Und mehr als dass es bei mir aktuell immer noch läuft, weiß ich auch nicht schulterzuck Ich hab auch gerade den Adapter in der Entwicklungsumgebung nochmal eingerichtet (da war der Cookie abgelaufen, aber der läuft halt auch nur selten ;-) ). Mal sehen, wie lange der cookie hier hält.

                        nik82N Offline
                        nik82N Offline
                        nik82
                        Most Active
                        schrieb am zuletzt editiert von
                        #124

                        @garfonso
                        Ok, danke, hab nur gedacht, weil irgendwo gelesen habe, dass man den Datenpunkt vor dem neu setzen des Cookies mal leeren soll.
                        Jetzt wusste ich nicht ob das normal ist, dass dieser schreibgeschützt ist.
                        Na dann hoffen wir mal das es bei mir auch wieder funktioniert.
                        Trotzdem vielen Dank für deine Rückmeldung :-)

                        1 Antwort Letzte Antwort
                        0
                        Antworten
                        • In einem neuen Thema antworten
                        Anmelden zum Antworten
                        • Älteste zuerst
                        • Neuste zuerst
                        • Meiste Stimmen


                        Support us

                        ioBroker
                        Community Adapters
                        Donate
                        FAQ Cloud / IOT
                        HowTo: Node.js-Update
                        HowTo: Backup/Restore
                        Downloads
                        BLOG

                        777

                        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