Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Tractive Adapter für Haustiere?

    NEWS

    • [erledigt] 15. 05. Wartungsarbeiten am ioBroker Forum

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Tractive Adapter für Haustiere?

    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      Wildbill @Negalein last edited by Wildbill

      @negalein sagte in Tractive Adapter für Haustiere?:

      @wildbill sagte in Tractive Adapter für Haustiere?:

      folgende Datenpunkte

      und ob er/sie Zuhause ist ist auch noch interessant.
      a3cf8aa7-4a25-4d04-a904-f122bce7d234-image.png
      6c8ab277-328f-4aeb-ba3d-49069c787aac-image.png

      Das mache ich mittels Places-Adapter, da ich auch noch andere Tiere (Frau per iPhone, Mutter, meins) auswerte. 😁
      Dann habe ich alle Mitbewohner unter einem Dach.
      Aber ja, schadet auch nix, wenn der Datenpunkt eh per API mitkommt.

      Gruss, Jürgen

      Negalein 1 Reply Last reply Reply Quote 0
      • Flexer
        Flexer @Flexer last edited by

        @Issi ich kann jetzt mal das livetracking anmachen.

        Als erstes und als wichtigstes wäre folgendes toll.

        Akkustand
        Gps Position
        In Geofence ja nein
        Stromparmodus an aus
        Geofence bei Gastfamilien anwesend ja nein

        Für mehr gleich im discord

        A 1 Reply Last reply Reply Quote 3
        • Negalein
          Negalein Global Moderator @Wildbill last edited by

          @wildbill sagte in Tractive Adapter für Haustiere?:

          Das mache ich mittels Places-Adapter,

          den muss ich mir mal genauer anschaun.
          Ich markier dich dann. Brauch da bestimmt Hilfe. 😉

          1 Reply Last reply Reply Quote 1
          • A
            AndyGR42 @Flexer last edited by

            @flexer @Negalein Das würde so passen. Wichtig sind Akkustand und Positionen. Also reines Auslesen der API. Befehle wie Live Tracking aktivieren machen auch keinen Sinn. Das kostet viel Akkukapazität und sollte nur dann genutzt werden, wenn man halbwegs in der Nähe des Tieres ist. Also eher nicht zu Hause.

            1 Reply Last reply Reply Quote 0
            • W
              Wildbill last edited by

              @Issi Habt Ihr am Wochenende schon erfolgreich Daten per API geholt und in iobroker gebracht?

              Gruss, Jürgen

              Issi 1 Reply Last reply Reply Quote 0
              • Issi
                Issi Developer @Wildbill last edited by

                @wildbill
                Nein da es noch keinen Adapter gibt ich habe lediglich gezeigt was die api an daten liefert und ein wenig was probiert.
                Ich habe die Woche Spätschicht des wegen kann ich da nicht viel dran arbeiten aber ich habe schon angefangen.

                1 Reply Last reply Reply Quote 3
                • Issi
                  Issi Developer last edited by Issi

                  So an alle, die schon mal vorab testen wohlen (gibt noch keine Dokumentation, ihr müsst nur die E-Mail-Adresse und Password angeben)
                  Installation momentan nur über GitHub verfügbar
                  https://github.com/xXBJXx/ioBroker.tractive-gps
                  momentan werden die daten von der API nur abgefragt und in die states geschrieben.
                  So Sachen wie:

                  • In Geofence ja nein
                  • Stromparmodus an aus
                  • Geofence bei Gastfamilien anwesend ja nein
                    usw.

                  Das ist etwas schwierig zu machen, da ich die Sachen nicht direkt testen kann, da seit ihr jetzt gefragt, bitte testet die Sachen und gebt mir Bescheid wofür welche stats bei euch zuständig sind. Ihr könnt auch eine Liste machen, wie:
                  device_pos_report.speed = Geschwindigkeit
                  device_pos_report.sensor_used = welcher Sensor verwendet wird.

                  Wegen der Geofence, da müsst ihr mal schauen, wen ihr mehrere eingerichtet habt, ob sich die ID unter power_saving_zone_id ändert, wen ihr in den andere reinkommt.
                  Falls ja, bitte Bescheid sagen.

                  Beim Stromparmodus an/aus beobachtet bitte den tracker.state_reason da stand bei meinen test POWER_SAVING drin schaut bei euch was da sonst noch so steht und berichtet es mir.

                  Negalein W 2 Replies Last reply Reply Quote 3
                  • Negalein
                    Negalein Global Moderator @Issi last edited by Negalein

                    @issi sagte in Tractive Adapter für Haustiere?:

                    da seit ihr jetzt gefragt, bitte testet die Sachen und gebt mir Bescheid

                    Installation klappte und wurde auch grün.

                    Aber ich bekomm ein paar Errors.

                    tractive-gps.0 2023-01-30 01:39:06.367	info	State value to set for "tractive-gps.0.VSVLINVJ.tracker.battery_save_mode" has to be type "string" but received type "boolean"
                    tractive-gps.0 2023-01-30 01:39:06.298	warn	State "tractive-gps.0.VSVLINVJ.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                    tractive-gps.0 2023-01-30 01:39:06.246	info	State value to set for "tractive-gps.0.IJQOMTDN.tracker.battery_save_mode" has to be type "string" but received type "boolean"
                    tractive-gps.0 2023-01-30 01:39:06.195	warn	State "tractive-gps.0.IJQOMTDN.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                    tractive-gps.0 2023-01-30 01:39:05.660	warn	[Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                    tractive-gps.0 2023-01-30 01:39:05.570	warn	[Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                    tractive-gps.0 2023-01-30 01:39:05.325	error	[Adapter v.0.0.1 Axios V: 1.2.6 getTrackerLocation] error: AxiosError: Request failed with status code 400
                    tractive-gps.0 2023-01-30 01:39:05.083	error	[Adapter v.0.0.1 Axios V: 1.2.6 getTrackerDeviceHwReport] error: AxiosError: Request failed with status code 400
                    tractive-gps.0 2023-01-30 01:38:04.226	info	State value to set for "tractive-gps.0.VSVLINVJ.tracker.battery_save_mode" has to be type "string" but received type "boolean"
                    tractive-gps.0 2023-01-30 01:38:04.173	warn	State "tractive-gps.0.VSVLINVJ.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                    tractive-gps.0 2023-01-30 01:38:04.102	info	State value to set for "tractive-gps.0.IJQOMTDN.tracker.battery_save_mode" has to be type "string" but received type "boolean"
                    tractive-gps.0 2023-01-30 01:38:04.048	warn	State "tractive-gps.0.IJQOMTDN.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                    tractive-gps.0 2023-01-30 01:38:03.532	warn	[Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                    tractive-gps.0 2023-01-30 01:38:03.268	warn	[Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                    tractive-gps.0 2023-01-30 01:38:02.673	error	[Adapter v.0.0.1 Axios V: 1.2.6 getTrackerLocation] error: AxiosError: Request failed with status code 400
                    tractive-gps.0 2023-01-30 01:38:02.455	error	[Adapter v.0.0.1 Axios V: 1.2.6 getTrackerDeviceHwReport] error: AxiosError: Request failed with status code 400
                    tractive-gps.0 2023-01-30 01:38:01.815	info	starting. Version 0.0.1 (non-npm: xXBJXx/ioBroker.tractive-gps#98b690e77ac8536823d2de6584fb16b472c4e8de) in /opt/iobroker/node_modules/iobroker.tractive-gps, node: v16.18.1, js-controller: 4.0.24
                    tractive-gps.0 2023-01-30 01:37:57.395	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                    tractive-gps.0 2023-01-30 01:37:57.394	info	terminating
                    tractive-gps.0 2023-01-30 01:37:57.394	info	Got terminate signal TERMINATE_YOURSELF
                    tractive-gps.0 2023-01-30 01:37:57.014	info	starting. Version 0.0.1 (non-npm: xXBJXx/ioBroker.tractive-gps#98b690e77ac8536823d2de6584fb16b472c4e8de) in /opt/iobroker/node_modules/iobroker.tractive-gps, node: v16.18.1, js-controller: 4.0.24
                    tractive-gps.0 2023-01-30 01:37:52.422	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                    tractive-gps.0 2023-01-30 01:37:52.421	info	terminating
                    tractive-gps.0 2023-01-30 01:37:52.420	info	Got terminate signal TERMINATE_YOURSELF
                    tractive-gps.0 2023-01-30 01:36:59.689	error	[Adapter v.0.0.1 onReady] email and password are required
                    tractive-gps.0 2023-01-30 01:36:59.674	info	starting. Version 0.0.1 (non-npm: xXBJXx/ioBroker.tractive-gps#98b690e77ac8536823d2de6584fb16b472c4e8de) in /opt/iobroker/node_modules/iobroker.tractive-gps, node: v16.18.1, js-controller: 4.0.24
                    

                    5da1b8f8-0bfb-459e-b659-0b7f80d2685d-image.png

                    Akku passt
                    Altitude, Longitude, Latitude passt
                    device_pos_report.sensor_used = KNOWN_WIFI (passt so und denke bedeutet, dass er in der Energiesparzone ist, weil das WiFi erkannt wird)

                    Das andere kann ich dir morgen sagen.

                    Issi 1 Reply Last reply Reply Quote 0
                    • Issi
                      Issi Developer @Negalein last edited by

                      @negalein sagte in Tractive Adapter für Haustiere?:

                      hw_edition

                      Anscheint hat dein tracker noch ein zusätzlichen state hw_editiondenn ich bei meinen Tests nicht hatte, den werde ich morgen einbauen kannst du mir den inhalt von der tractive-gps.0.json als Privatnachricht schicken.
                      Wegen den Request failed with status code 400 das hatte ich bei den tests auch nicht gehabt. Da müsste man schauen, eventuell müsstest du mir dein Login geben, damit ich das reproduzieren kann.

                      Negalein 1 Reply Last reply Reply Quote 1
                      • Negalein
                        Negalein Global Moderator @Issi last edited by

                        @issi sagte in Tractive Adapter für Haustiere?:

                        als Privatnachricht schicken.

                        dein Login geben

                        Du hast Post 🙂

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

                          @Issi Vielen Dank für deine Mühen. Ich lade den Adapter gerade und melde mich.
                          Viele Grüsse

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

                            24e49ef6-90f9-44b6-b674-1ec81f1b6205-image.png

                            Ich kann den Adapter irgendwie nicht installieren.

                            Issi 1 Reply Last reply Reply Quote 0
                            • Issi
                              Issi Developer @Flexer last edited by

                              @flexer, was für eine node Version hast du? der Adapter benötigt eine Node >= 16 Version

                              Flexer W 2 Replies Last reply Reply Quote 0
                              • W
                                Wildbill @Issi last edited by

                                @issi

                                Sieht erst einmal sehr gut aus, Danke dafür. Ich erhalte auch ein paar Warnungen im Log:

                                tractive-gps.0
                                2023-01-30 08:41:28.184	warn	State "tractive-gps.0.VGXXXKDJ.device_pos_report.course" has no existing object, this might lead to an error in future versions
                                
                                tractive-gps.0
                                2023-01-30 08:41:28.168	info	State value to set for "tractive-gps.0.VGXXXKDJ.device_pos_report.pos_status" has to be type "string" but received type "object"
                                
                                tractive-gps.0
                                2023-01-30 08:41:27.780	warn	State "tractive-gps.0.PBXXXSIX.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                                
                                tractive-gps.0
                                2023-01-30 08:41:27.644	warn	[Adapter v.0.0.1 createStates] no state attribute found for course in device_pos_report
                                
                                tractive-gps.0
                                2023-01-30 08:41:26.868	warn	[Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                                
                                tractive-gps.0
                                2023-01-30 08:40:25.853	info	State value to set for "tractive-gps.0.VGXXXKDJ.device_pos_report.pos_status" has to be type "string" but received type "object"
                                
                                tractive-gps.0
                                2023-01-30 08:40:25.576	warn	State "tractive-gps.0.PBXXXSIX.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                                
                                tractive-gps.0
                                2023-01-30 08:40:24.774	warn	[Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                                
                                tractive-gps.0
                                2023-01-30 08:39:23.477	info	State value to set for "tractive-gps.0.VGXXXKDJ.device_pos_report.pos_status" has to be type "string" but received type "object"
                                
                                tractive-gps.0
                                2023-01-30 08:39:23.241	warn	State "tractive-gps.0.PBXXXSIX.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                                
                                tractive-gps.0
                                2023-01-30 08:39:21.889	warn	[Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                                
                                tractive-gps.0
                                2023-01-30 08:38:20.358	info	State value to set for "tractive-gps.0.VGXXXKDJ.device_pos_report.pos_status" has to be type "string" but received type "object"
                                
                                tractive-gps.0
                                2023-01-30 08:38:19.848	warn	State "tractive-gps.0.PBXXXSIX.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                                
                                tractive-gps.0
                                2023-01-30 08:38:18.379	warn	[Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                                
                                tractive-gps.0
                                2023-01-30 08:37:16.862	info	State value to set for "tractive-gps.0.VGXXXKDJ.device_pos_report.pos_status" has to be type "string" but received type "object"
                                
                                tractive-gps.0
                                2023-01-30 08:37:16.380	warn	State "tractive-gps.0.PBXXXSIX.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                                
                                tractive-gps.0
                                2023-01-30 08:37:15.349	warn	[Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                                
                                tractive-gps.0
                                2023-01-30 08:36:13.152	info	State value to set for "tractive-gps.0.VGXXXKDJ.device_pos_report.pos_status" has to be type "string" but received type "object"
                                
                                tractive-gps.0
                                2023-01-30 08:36:12.859	warn	State "tractive-gps.0.PBXXXSIX.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                                
                                tractive-gps.0
                                2023-01-30 08:36:11.883	warn	[Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                                
                                tractive-gps.0
                                2023-01-30 08:36:10.588	info	starting. Version 0.0.1 (non-npm: xXBJXx/ioBroker.tractive-gps#98b690e77ac8536823d2de6584fb16b472c4e8de) in /opt/iobroker/node_modules/iobroker.tractive-gps, node: v16.19.0, js-controller: 4.0.24
                                host.iobroker-vlan100
                                2023-01-30 08:36:09.234	info	instance system.adapter.tractive-gps.0 started with pid 15496
                                

                                Scheint aber erst einmal zu laufen und Daten zu liefern. 👍

                                Gruss, Jürgen

                                1 Reply Last reply Reply Quote 0
                                • Flexer
                                  Flexer @Issi last edited by

                                  @issi Aaaaaa. Ok. Na dann versuche ich mal mein Glück. Ansonsten muss ich mal in den Discord

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    Wildbill @Issi last edited by

                                    @issi Die Meldungen kommen im Minutentakt :

                                    
                                    2023-01-30 08:54:57.587
                                    warn
                                    State "tractive-gps.0.VGXXXKDJ.device_pos_report.course" has no existing object, this might lead to an error in future versions
                                    
                                    tractive-gps.0
                                    2023-01-30 08:54:57.577
                                    info
                                    State value to set for "tractive-gps.0.VGXXXKDJ.device_pos_report.pos_status" has to be type "string" but received type "object"
                                    
                                    tractive-gps.0
                                    2023-01-30 08:54:57.344
                                    warn
                                    State "tractive-gps.0.PBXXXSIX.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                                    
                                    tractive-gps.0
                                    2023-01-30 08:54:57.181
                                    warn
                                    [Adapter v.0.0.1 createStates] no state attribute found for course in device_pos_report
                                    
                                    tractive-gps.0
                                    2023-01-30 08:54:56.648
                                    warn
                                    [Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                                    
                                    tractive-gps.0
                                    2023-01-30 08:53:55.642
                                    warn
                                    State "tractive-gps.0.VGXXXKDJ.device_pos_report.course" has no existing object, this might lead to an error in future versions
                                    
                                    tractive-gps.0
                                    2023-01-30 08:53:55.581
                                    info
                                    State value to set for "tractive-gps.0.VGXXXKDJ.device_pos_report.pos_status" has to be type "string" but received type "object"
                                    
                                    tractive-gps.0
                                    2023-01-30 08:53:55.359
                                    warn
                                    State "tractive-gps.0.PBXXXSIX.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                                    
                                    tractive-gps.0
                                    2023-01-30 08:53:55.260
                                    warn
                                    [Adapter v.0.0.1 createStates] no state attribute found for course in device_pos_report
                                    
                                    tractive-gps.0
                                    2023-01-30 08:53:54.743
                                    warn
                                    [Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                                    
                                    tractive-gps.0
                                    2023-01-30 08:52:53.650
                                    warn
                                    State "tractive-gps.0.VGXXXKDJ.device_pos_report.course" has no existing object, this might lead to an error in future versions
                                    
                                    tractive-gps.0
                                    2023-01-30 08:52:53.586
                                    info
                                    State value to set for "tractive-gps.0.VGXXXKDJ.device_pos_report.pos_status" has to be type "string" but received type "object"
                                    
                                    tractive-gps.0
                                    2023-01-30 08:52:53.283
                                    warn
                                    State "tractive-gps.0.PBXXXSIX.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                                    
                                    tractive-gps.0
                                    2023-01-30 08:52:53.150
                                    warn
                                    [Adapter v.0.0.1 createStates] no state attribute found for course in device_pos_report
                                    
                                    tractive-gps.0
                                    2023-01-30 08:52:52.553
                                    warn
                                    [Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                                    
                                    tractive-gps.0
                                    2023-01-30 08:51:51.360
                                    warn
                                    State "tractive-gps.0.VGXXXKDJ.device_pos_report.course" has no existing object, this might lead to an error in future versions
                                    
                                    tractive-gps.0
                                    2023-01-30 08:51:51.344
                                    info
                                    State value to set for "tractive-gps.0.VGXXXKDJ.device_pos_report.pos_status" has to be type "string" but received type "object"
                                    
                                    tractive-gps.0
                                    2023-01-30 08:51:51.061
                                    warn
                                    State "tractive-gps.0.PBXXXSIX.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                                    
                                    tractive-gps.0
                                    2023-01-30 08:51:50.952
                                    warn
                                    [Adapter v.0.0.1 createStates] no state attribute found for course in device_pos_report
                                    
                                    tractive-gps.0
                                    2023-01-30 08:51:50.244
                                    warn
                                    [Adapter v.0.0.1 createStates] no state attribute found for hw_edition in tracker
                                    
                                    tractive-gps.0
                                    2023-01-30 08:50:49.085
                                    warn
                                    State "tractive-gps.0.VGXXXKDJ.device_pos_report.course" has no existing object, this might lead to an error in future versions
                                    
                                    tractive-gps.0
                                    2023-01-30 08:50:49.078
                                    info
                                    State value to set for "tractive-gps.0.VGXXXKDJ.device_pos_report.pos_status" has to be type "string" but received type "object"
                                    
                                    tractive-gps.0
                                    2023-01-30 08:50:48.875
                                    warn
                                    State "tractive-gps.0.PBXXXSIX.tracker.hw_edition" has no existing object, this might lead to an error in future versions
                                    
                                    

                                    Die angemahnten Datenpunkte existieren auch nicht. Ich setze den Loglevel mal auf error, sonst ist ja ruck zuck das Log voll. 😊
                                    Was aber ankommt passt und deckt sich mit den Daten aus Homeassistant.

                                    Gruss, Jürgen

                                    Issi 1 Reply Last reply Reply Quote 0
                                    • Issi
                                      Issi Developer @Wildbill last edited by

                                      @wildbill
                                      ja, der state hw_edition war bei meinem Test Tracker nicht verfügbar, da es verschied Tracker gibt und da auch verschiedene daten zurückkommen, den werde ich heute noch einbauen.
                                      Und zu den anderen davon können noch mehr kommen, die muss ich alle nach einender fixen, das ist einfach nur eine Info, dass der state den falschen type hat, da von der API sehr viel mit null zurückkommt und ich nicht weiß was da für ein type eigentlich sein sollte, habe ich einfach ein Standard wert gesetzt, wenn solche Meldungen auftauchen, bitte melden.

                                      W 1 Reply Last reply Reply Quote 0
                                      • W
                                        Wildbill @Issi last edited by

                                        @issi Hier melden oder im Github-Issue mit dazu schreiben?

                                        Gruss, Jürgen

                                        Issi 2 Replies Last reply Reply Quote 0
                                        • Issi
                                          Issi Developer @Wildbill last edited by

                                          @wildbill
                                          GitHub bitte da sehe ich es immer hier im Forum kann, das schnell untergehen

                                          1 Reply Last reply Reply Quote 1
                                          • Issi
                                            Issi Developer @Wildbill last edited by

                                            @wildbill
                                            kannst du mir bitte den Inhalt von der json per pm schicken? Ich will alle type der state sehen, die bei dir sind.

                                            W 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

                                            673
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            15
                                            161
                                            12521
                                            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