Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (gelöst) google-sharedlocations Alternative?

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    (gelöst) google-sharedlocations Alternative?

    This topic has been deleted. Only users with topic management privileges can see it.
    • Garfonso
      Garfonso Developer @David G. last edited by

      @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.

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

        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?

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

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

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

            @dslraser super. das war der fehler. danke dir

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

              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

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

                @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 1 Reply Last reply Reply Quote 0
                • S
                  SaiBot1981 @Garfonso last edited by

                  @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 Reply Last reply Reply Quote 0
                  • nik82
                    nik82 Most Active last edited by 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 ""
                    
                    Garfonso 1 Reply Last reply Reply Quote 0
                    • Garfonso
                      Garfonso Developer @nik82 last edited by

                      @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.

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

                        @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 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Support us

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

                        632
                        Online

                        31.7k
                        Users

                        79.7k
                        Topics

                        1.3m
                        Posts

                        adapter
                        13
                        124
                        9549
                        Loading More Posts
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes
                        Reply
                        • Reply as topic
                        Log in to reply
                        Community
                        Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                        The ioBroker Community 2014-2023
                        logo