Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Tester
    4. [Neuer Adapter] ioBroker.places

    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

    [Neuer Adapter] ioBroker.places

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

      vom Cloud Adapter, den App Key meine ich, der muss hinten an die Adresse.

      Also Cloud Adapter(Deine Instanz)

      Einstellungen

      APP-KEY

      Ich habe es auch erst nicht hinbekommen, aber hier steht dann was ich meine(der Link ist auch einige Beiträge weiter oben)

      https://github.com/ioBroker/ioBroker.cloud/issues/93

      dslraser created this issue in ioBroker/ioBroker.cloud

      closed Services und IFTTT - White list für Services #93

      1 Reply Last reply Reply Quote 0
      • M
        Morrio last edited by

        @dslraser:

        vom Cloud Adapter, den App Key meine ich, der muss hinten an die Adresse.

        Also Cloud Adapter(Deine Instanz)

        Einstellungen

        APP-KEY

        Ich habe es auch erst nicht hinbekommen, aber hier steht dann was ich meine(der Link ist auch einige Beiträge weiter oben)

        https://github.com/ioBroker/ioBroker.cloud/issues/93 `
        Hi,

        also ich habe es schon einmal soweit hinbekommen, dass ich im cloud Adapter unter Objekte/services eine Nachricht erhalte, in welcher auch die Positionsdaten hinterlegt sind.

        Der Adapter places macht jedoch nichts. Ich habe unter Integration den Cloud Adapter ausgewählt und den entsprechenden Service, welcher identisch zum Cloud Adapter ist.

        Desweiteren habe ich im places Adapter auch einen Ort angelegt mit einem 250m Radius.

        Unter Objekte tut sich jedoch nichts.

        Wo liegt mein Fehler?

        Grüße

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

          @Morrio:

          @dslraser:

          vom Cloud Adapter, den App Key meine ich, der muss hinten an die Adresse.

          Also Cloud Adapter(Deine Instanz)

          Einstellungen

          APP-KEY

          Ich habe es auch erst nicht hinbekommen, aber hier steht dann was ich meine(der Link ist auch einige Beiträge weiter oben)

          https://github.com/ioBroker/ioBroker.cloud/issues/93 `
          Hi,

          also ich habe es schon einmal soweit hinbekommen, dass ich im cloud Adapter unter Objekte/services eine Nachricht erhalte, in welcher auch die Positionsdaten hinterlegt sind.

          Der Adapter places macht jedoch nichts. Ich habe unter Integration den Cloud Adapter ausgewählt und den entsprechenden Service, welcher identisch zum Cloud Adapter ist.

          Desweiteren habe ich im places Adapter auch einen Ort angelegt mit einem 250m Radius.

          Unter Objekte tut sich jedoch nichts.

          Wo liegt mein Fehler?

          Grüße ` Integration nutze ich nicht. Ich nutze zusätzlich den Adapter google sharedlocations. Da kannst Du dann direkt Deine places Instanz angeben.

          https://github.com/t4qjXH8N/ioBroker.go … dlocations

          Integration ist für OwnTracks

          ~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 01df9d.jpg">https://uploads.tapatalk-cdn.com/20180905/db0cae08626f5142f052453ff601df9d.jpg</link_text>" />

          Das ist google-sharedlocations, da kann man die places Instanz angeben.

          ~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 0fd542.jpg">https://uploads.tapatalk-cdn.com/20180905/54fd5dff3c576ab41107bd598d0fd542.jpg</link_text>" />

          In places ist Dein "Home" oder Dein "zu Hause" über die Koordinaten aus dem Haupteinstellungen aus ioBroker definiert.

          ![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 8497ad.jpg">https://uploads.tapatalk-cdn.com/20180905/1821bd2e7a8a22d9d0ffdb07e98497ad.jpg</link_text>" />~~~~

          1 Reply Last reply Reply Quote 0
          • M
            mweygardt last edited by

            Moin zusammen,

            lt. Doku kann Places einen Response Message Block auf eine Anfrage zurück liefern.

            ` > // send a message to a specific instance and define a callback

            sendTo('locations.0', {

            user: "Name of person",

            latitude: 50.9576191,

            longitude: 6.8272409,

            timestamp: 1520932471

            }, function (res) { log(JSON.stringify(res)); });

            Structure for returned messages

            The following block shows how response messages look like. For each value the ioBroker object tree has an according state.

            {

            "user": "Name of person", // name of person (may have been replaced by user mapping)

            "latitude": 50.9576191,

            "longitude": 6.8272409,

            "timestamp": 1520932471000,

            "date": "2018-03-13 10:14:31", // date extracted from timestamp

            "atHome": false, // true if inside the configured radius around ioBroker

            "homeDistance": 104898, // distance in meters between position and ioBroker

            "name": "", // name of place found within the configuration

            "address": "", // readable address (if geocoding is active)

            "elevation": "", // elevation in meters (if geocoding is active) `

            Es wäre klasse, wenn der Rückgabewert 'atHome' als state-Datenpunkt mit true/false bei der jeweiligen Person direkt vom Adapter gesetzt würde. Ich möchte das gerne für eine SQL-Protokollierung mit anschließender VIS-Ausgabe nutzen um rückwirkend sehen zu können, wer wann zuHause war.

            Ist das machbar ???

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

              @mweygardt:

              Moin zusammen,

              lt. Doku kann Places einen Response Message Block auf eine Anfrage zurück liefern.

              ` > // send a message to a specific instance and define a callback

              sendTo('locations.0', {

              user: "Name of person",

              latitude: 50.9576191,

              longitude: 6.8272409,

              timestamp: 1520932471

              }, function (res) { log(JSON.stringify(res)); });

              Structure for returned messages

              The following block shows how response messages look like. For each value the ioBroker object tree has an according state.

              {

              "user": "Name of person", // name of person (may have been replaced by user mapping)

              "latitude": 50.9576191,

              "longitude": 6.8272409,

              "timestamp": 1520932471000,

              "date": "2018-03-13 10:14:31", // date extracted from timestamp

              "atHome": false, // true if inside the configured radius around ioBroker

              "homeDistance": 104898, // distance in meters between position and ioBroker

              "name": "", // name of place found within the configuration

              "address": "", // readable address (if geocoding is active)

              "elevation": "", // elevation in meters (if geocoding is active) `

              Es wäre klasse, wenn der Rückgabewert 'atHome' als state-Datenpunkt mit true/false bei der jeweiligen Person direkt vom Adapter gesetzt würde. Ich möchte das gerne für eine SQL-Protokollierung mit anschließender VIS-Ausgabe nutzen um rückwirkend sehen zu können, wer wann zuHause war.

              Ist das machbar ??? ` In Verbindung mit google shared-locations sollte Dein Vorhaben gehen. (vielleicht auch nur mit places mit Owntracks…,nutze ich aber nicht)

              Auf dem Screenshot ist meine Frau zu Hause, ich nicht. In dieser Kombi gehen beliebig viele Personen mit beliebig vielen Orten.![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 2e5a15.jpg">https://uploads.tapatalk-cdn.com/20180906/d9996f1ff46406727cb27fe1e82e5a15.jpg</link_text>" />

              1 Reply Last reply Reply Quote 0
              • M
                mweygardt last edited by

                Moin dslraser,

                danke für den Hinweis - aber das ist mir schon alles klar.

                Was ich mir wünsche ist genau dieses (hab ich mir jetzt selber gebaut - wäre aber cooler, wenn's der Adapter direkt macht):

                8517_bildschirmfoto_2018-09-06_um_10.58.39.png

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

                  Okay,

                  aber hast Du auch oben im Screenshot google-sharedlocations gesehen. (Das ist doch genau das was Du möchtest, oder ?)

                  1 Reply Last reply Reply Quote 0
                  • M
                    mweygardt last edited by

                    Jepp - hab ich gesehen !

                    Mit meiner selbst gebauten Lösung klappt es auch bestens ohne großen Aufwand.

                    Hab das jetzt auch mehr als Feature-Request an den Entwickler des Adapters gedacht.

                    1 Reply Last reply Reply Quote 0
                    • M
                      Morrio last edited by

                      @dslraser:

                      @Morrio:

                      @dslraser:

                      vom Cloud Adapter, den App Key meine ich, der muss hinten an die Adresse.

                      Also Cloud Adapter(Deine Instanz)

                      Einstellungen

                      APP-KEY

                      Ich habe es auch erst nicht hinbekommen, aber hier steht dann was ich meine(der Link ist auch einige Beiträge weiter oben)

                      https://github.com/ioBroker/ioBroker.cloud/issues/93 `
                      Hi,

                      also ich habe es schon einmal soweit hinbekommen, dass ich im cloud Adapter unter Objekte/services eine Nachricht erhalte, in welcher auch die Positionsdaten hinterlegt sind.

                      Der Adapter places macht jedoch nichts. Ich habe unter Integration den Cloud Adapter ausgewählt und den entsprechenden Service, welcher identisch zum Cloud Adapter ist.

                      Desweiteren habe ich im places Adapter auch einen Ort angelegt mit einem 250m Radius.

                      Unter Objekte tut sich jedoch nichts.

                      Wo liegt mein Fehler?

                      Grüße ` Integration nutze ich nicht. Ich nutze zusätzlich den Adapter google sharedlocations. Da kannst Du dann direkt Deine places Instanz angeben.

                      https://github.com/t4qjXH8N/ioBroker.go … dlocations

                      Integration ist für OwnTracks

                      ~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 01df9d.jpg">https://uploads.tapatalk-cdn.com/20180905/db0cae08626f5142f052453ff601df9d.jpg</link_text>" />

                      Das ist google-sharedlocations, da kann man die places Instanz angeben.

                      ~~![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 0fd542.jpg">https://uploads.tapatalk-cdn.com/20180905/54fd5dff3c576ab41107bd598d0fd542.jpg</link_text>" />

                      In places ist Dein "Home" oder Dein "zu Hause" über die Koordinaten aus dem Haupteinstellungen aus ioBroker definiert.

                      ![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 8497ad.jpg">https://uploads.tapatalk-cdn.com/20180905/1821bd2e7a8a22d9d0ffdb07e98497ad.jpg</link_text>" />~~~~ ` ~~~~~~Hi,

                      danke für die Antwort.

                      Habe den Adapter einmal probiert, allerdings gibt es bei mir hier nicht die places Instanz zum auswählen.

                      3734_2018-09-07_22_30_37-window.png ~~~~~~

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

                        wie hast Du installiert, über Git ?

                        Dann mach mal noch einen upload.

                        Experteneinstellung bei den Adaptern und dann den Pfeil nach oben anklicken.Danach die Instanz neu starten.

                        PS: auswählen kann man die Instanz nicht, die muss man in das Feld unten selbst reinschreiben.

                        ![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 6b1de9.jpg">https://uploads.tapatalk-cdn.com/20180907/b7d207d916c2ae78f7515e494d6b1de9.jpg</link_text>" />

                        1 Reply Last reply Reply Quote 0
                        • M
                          Morrio last edited by

                          @dslraser:

                          wie hast Du installiert, über Git ?

                          Dann mach mal noch einen upload.

                          Experteneinstellung bei den Adaptern und dann den Pfeil nach oben anklicken.Danach die Instanz neu starten.

                          PS: auswählen kann man die Instanz nicht, die muss man in das Feld unten selbst reinschreiben.

                          ![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 6b1de9.jpg">https://uploads.tapatalk-cdn.com/20180907/b7d207d916c2ae78f7515e494d6b1de9.jpg</link_text>" /> ` ~~Hi,

                          ja habe ich über github gemacht. Habe aber jetzt auch noch einmal einen upload gemacht und neu gestartet.

                          Leider keine Änderung 3734_2018-09-08_14_35_59-window.png ~~

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

                            welche Version steht bei Dir ?

                            1 Reply Last reply Reply Quote 0
                            • M
                              Morrio last edited by

                              @dslraser:

                              welche Version steht bei Dir ? `
                              1.1.3

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

                                @Morrio:

                                @dslraser:

                                welche Version steht bei Dir ? 1.1.3

                                hm…ich habe 1.1.1

                                ![](</s><URL url=)<link_text text="https://uploads.tapatalk-cdn.com/201809 ... 885ff8.jpg">https://uploads.tapatalk-cdn.com/20180908/09702530d80cb25d66b5171274885ff8.jpg</link_text>" />

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

                                  hier findust Du auch den Adapterentwickler.

                                  Oder schreibe ein Issues. Der Entwickler meldet sich recht schnell.

                                  viewtopic.php?f=20&t=13619&share_tid=13 … are_type=t

                                  https://github.com/t4qjXH8N/ioBroker.go ... ons/issues

                                  1 Reply Last reply Reply Quote 0
                                  • M
                                    Mitch last edited by

                                    Hallo,

                                    ich bekomme jede Minute eine Warnung des Adapters angezeigt:

                                    Ignoring incomplete message!

                                    Habt ihr das auch?

                                    Wie kann ich das Problem beseitigen?

                                    Ansonsten scheint der Adapter normal zu funktionieren.

                                    EDIT: Das Problem scheint in Abhängigkeit zu google-schared-location adapter zu bestehen:

                                    places.0	2018-11-03 23:09:53.697	warn	Ignoring incomplete message!
                                    google-sharedlocations.0	2018-11-03 23:09:53.621	info	Checking fences.
                                    google-sharedlocations.0	2018-11-03 23:09:51.458	info	Starting google shared locations adapter
                                    google-sharedlocations.0	2018-11-03 23:09:51.418	info	starting. Version 1.5.2 in /opt/iobroker/node_modules/iobroker.google-sharedlocations, node: v6.14.4
                                    host.iobroker	2018-11-03 23:09:49.530	info	instance system.adapter.google-sharedlocations.0 started with pid 1167
                                    host.iobroker	2018-11-03 23:09:49.500	info	object change system.adapter.google-sharedlocations.0
                                    fritzdect.0	2018-11-03 23:07:38.028	debug	system.adapter.admin.0: logging true
                                    fritzdect.0	2018-11-03 23:07:36.720	debug	system.adapter.admin.0: logging false
                                    host.iobroker	2018-11-03 23:07:36.265	info	instance system.adapter.google-sharedlocations.0 terminated with code 0 (OK)
                                    google-sharedlocations.0	2018-11-03 23:07:36.232	info	terminating
                                    host.iobroker	2018-11-03 23:07:35.719	info	stopInstance system.adapter.google-sharedlocations.0 killing pid 1114
                                    host.iobroker	2018-11-03 23:07:35.719	info	stopInstance system.adapter.google-sharedlocations.0
                                    host.iobroker	2018-11-03 23:07:35.717	info	"system.adapter.google-sharedlocations.0" disabled
                                    google-sharedlocations.0	2018-11-03 23:07:35.722	info	cleaned everything up...
                                    host.iobroker	2018-11-03 23:07:35.712	info	object change system.adapter.google-sharedlocations.0
                                    places.0	2018-11-03 23:06:47.494	warn	Ignoring incomplete message!
                                    google-sharedlocations.0	2018-11-03 23:06:47.473	info	Checking fences.
                                    google-sharedlocations.0	2018-11-03 23:06:45.483	info	Starting google shared locations adapter
                                    google-sharedlocations.0	2018-11-03 23:06:45.438	info	starting. Version 1.5.2 in /opt/iobroker/node_modules/iobroker.google-sharedlocations, node: v6.14.4
                                    host.iobroker	2018-11-03 23:06:43.605	info	instance system.adapter.google-sharedlocations.0 started with pid 1114
                                    host.iobroker	2018-11-03 23:06:41.624	info	instance system.adapter.google-sharedlocations.0 terminated with code 0 (OK)
                                    google-sharedlocations.0	2018-11-03 23:06:41.590	info	terminating
                                    fritzdect.0	2018-11-03 23:06:41.126	debug	system.adapter.admin.0: logging true
                                    host.iobroker	2018-11-03 23:06:41.079	info	stopInstance system.adapter.google-sharedlocations.0 killing pid 1082
                                    host.iobroker	2018-11-03 23:06:41.078	info	stopInstance system.adapter.google-sharedlocations.0
                                    google-sharedlocations.0	2018-11-03 23:06:41.081	info	cleaned everything up...
                                    host.iobroker	2018-11-03 23:06:41.072	info	object change system.adapter.google-sharedlocations.0
                                    places.0	2018-11-03 23:06:29.883	warn	Ignoring incomplete message!
                                    google-sharedlocations.0	2018-11-03 23:06:29.806	info	Checking fences.
                                    google-sharedlocations.0	2018-11-03 23:06:29.284	info	Polling locations.
                                    fritzdect.0	2018-11-03 23:06:28.082	debug	polling! fritzdect is alive
                                    fritzdect.0	2018-11-03 23:05:50.670	debug	system.adapter.admin.0: logging false
                                    places.0	2018-11-03 23:05:29.977	warn	Ignoring incomplete message!
                                    google-sharedlocations.0	2018-11-03 23:05:29.933	info	Checking fences.
                                    google-sharedlocations.0	2018-11-03 23:05:27.842	info	Starting google shared locations adapter
                                    google-sharedlocations.0	2018-11-03 23:05:27.804	info	starting. Version 1.5.2 in /opt/iobroker/node_modules/iobroker.google-sharedlocations, node: v6.14.4
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      BasGo last edited by

                                      Moin,

                                      der Adapter gibt diese Fehlermeldung, sofern einer der folgenden Werte in einer empfangenen Nachricht fehlt:

                                      • User

                                      • Latitude

                                      • Longitude

                                      • Timestamp

                                          if (!obj.message.user || !obj.message.latitude || !obj.message.longitude || !obj.message.timestamp) {
                                              adapter.log.warn('Ignoring incomplete message!');
                                              return;
                                          }
                                      
                                      

                                      Ich kann gerne die empfangene Nachricht mit ins Log aufnehmen bzw. dort ebenfalls ausgeben, würde das helfen? 🙂

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        Mitch last edited by

                                        Jetzt der Fehler von alleine Weg gegangen. Dafür macht google shared locations Probleme mit dem Login…

                                        1 Reply Last reply Reply Quote 0
                                        • lobomau
                                          lobomau last edited by

                                          Ich habe nun bei tasker die Einstellungen vorgenommen, dass die GPS-Koordinaten bei Services vom iot-Adapter abgelegt werden.

                                          Dann wäre es doch schön, wenn ich beim places-Adapter unter Integration nicht nur cloud-Instanz auswählen kann, sondern auch eine iot-Instanz!? Oder wie mache es hierbei am besten?

                                          Edit.: habe es nun über cloud eingestellt bekommen. Bin irgendwie verwirrt. Es funktioniert theoretisch mit iot- oder cloud-Adapter.

                                          1 Reply Last reply Reply Quote 0
                                          • A
                                            andyb last edited by

                                            Ich hab da ein Problem….bei mir legt es immer einen "Dummy" an.

                                            Ich hab schon die Objekte gelöscht, aber er legt es immer wieder an. Blöd auch, weil der immer zuhause ist.

                                            Konfiguriert sind 2 Handy mit owntracks welche über cloud-Adapter über http schicken.
                                            1586_2018-12-18_19_02_35-objects_-_iobroker.jpg
                                            1586_2018-12-18_19_06_03-instances_-_iobroker.jpg
                                            1586_2018-12-18_19_06_48-instances_-_iobroker.jpg
                                            1586_2018-12-18_19_06_58-instances_-_iobroker.jpg

                                            F 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            417
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            28
                                            99
                                            20890
                                            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