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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    (gelöst) google-sharedlocations Alternative?

    This topic has been deleted. Only users with topic management privileges can see it.
    • dslraser
      dslraser Forum Testing Most Active @Jan1 last edited by

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

      Kannst im Log ein verwertbaren Hinweis finden, außer dass der Cookie nicht will?

      Cookie expired.

      abgelaufen

      J 1 Reply Last reply Reply Quote 0
      • J
        Jan1 @dslraser last edited by

        @dslraser
        Neu installiert, Cookie gezogen und läuft. Da hat sich wohl irgendwas verabschiedet gehabt. Trotzdem Danke für Deine Mühe 🙂

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

          @Jan1
          Kann sein, dass die Fehlerbehandlung an der Stelle noch etwas unsauber ist und es "nur" ein Netzwerkfehler war (also irgendwas down / zu lange gebraucht). Bin aber gerade nicht sicher.

          Beim Cookie ziehen muss man aufpassen, dass man google.com nimmt! Mit google.de (ob maps oder nicht ist egal) geht nicht. Ist mir letzte Woche auch passiert, dass ich das falsch gemacht habe. 😉

          1 Reply Last reply Reply Quote 0
          • Basti97
            Basti97 Most Active @dslraser last edited by

            @dslraser Geht es nicht über den Iot Adapter? Da ich zurzeit noch keine Pro Version habe.

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

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

              @dslraser Geht es nicht über den Iot Adapter? Da ich zurzeit noch keine Pro Version habe.

              Wenn Du die Standortabfragen über Alexa meinst, ja dann geht das über iot.

              Das hat aber ja nichts mit diesem Adapter hier zu tun. Dieser Adapter hier liefert permanent die Standortdaten (also unbegrenzt). Was bzw. wie Du dann die gelieferten Daten weiter verarbeitest, oder nutzt, ist dann ja Deine Sache.

              Basti97 1 Reply Last reply Reply Quote 0
              • Basti97
                Basti97 Most Active @dslraser last edited by

                @dslraser Nein ch meine diesen Adapter. Ich dachte dieser arbeitet bei den Anfragen auch über den iot Adapter. Oder sind der Google Adapter unabhängig. Also könnte man ohne Begrenzung Standort Anfragen bekommen.😀

                J 1 Reply Last reply Reply Quote 0
                • J
                  Jan1 @Basti97 last edited by

                  @Basti97
                  Der Adapter hat mit IoT nix zu tun.

                  Basti97 1 Reply Last reply Reply Quote 1
                  • Basti97
                    Basti97 Most Active @Jan1 last edited by

                    @Jan1 ok da gibt es keine Beschränkung und wie oft kann ich einstellen das er den Standort schickt oder wir's er nur beim verlassen eines bestimmten Kreises geschickt.

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

                      @Basti97
                      Kommt drauf an was Du hier im Adapter einstellt, keine Ahnung wie weit man runter gehen kann.

                      Bildschirmfoto 2020-09-18 um 14.29.08.png

                      Basti97 1 Reply Last reply Reply Quote 0
                      • Basti97
                        Basti97 Most Active @dslraser last edited by

                        @dslraser Aso Danke naja 600 reicht mir schon aus. Kürzer muss es nicht sein 😀😀.

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

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

                          @dslraser Aso Danke naja 600 reicht mir schon aus. Kürzer muss es nicht sein 😀😀.

                          Ich habe den Adapter heute mal testweise auf 60 laufen lassen. Gab auch kein Problem bisher.

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

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

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

                                            Support us

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

                                            408
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

                                            adapter
                                            13
                                            124
                                            9964
                                            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