Teslamate sur Raspberry Pi - Tutoriel

Appli iPhone, Android, Teslamate, TeslaFi, connectivité Premium
Avatar de l’utilisateur
Ramses
Passionné
Passionné
Messages : 261
Inscription : 04 août 2023
Localisation : Nancy
Voiture : Model Y SR

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Ramses »

Tigerbill17 a écrit : 12 févr. 2024 12:35
Vérifie l'adresse IP de ton raspberry. Elle a pu changer ?
Elle n'a pas changé
Model Y SR - Blanche - Int. Blanc Premium - Jantes 19"
Octobre 2023
En ligne
Avatar de l’utilisateur
Tigerbill17
Référent
Référent
Messages : 1850
Inscription : 12 sept. 2023
Localisation : à côté de Royan
Voiture : TMY prop Berlin

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Tigerbill17 »

Je sèche. :interroge:

PS: il est bien connecté au réseau, ton rasp ?
Avatar de l’utilisateur
Ramses
Passionné
Passionné
Messages : 261
Inscription : 04 août 2023
Localisation : Nancy
Voiture : Model Y SR

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Ramses »

Je suis sur Mac pour sur Raspberry
Model Y SR - Blanche - Int. Blanc Premium - Jantes 19"
Octobre 2023
En ligne
Avatar de l’utilisateur
Tigerbill17
Référent
Référent
Messages : 1850
Inscription : 12 sept. 2023
Localisation : à côté de Royan
Voiture : TMY prop Berlin

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Tigerbill17 »

pas compris :interroge:
Avatar de l’utilisateur
Ramses
Passionné
Passionné
Messages : 261
Inscription : 04 août 2023
Localisation : Nancy
Voiture : Model Y SR

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Ramses »

Je n'ai pas de raspberry.

Je suis sous Macos
Model Y SR - Blanche - Int. Blanc Premium - Jantes 19"
Octobre 2023
En ligne
Avatar de l’utilisateur
Tigerbill17
Référent
Référent
Messages : 1850
Inscription : 12 sept. 2023
Localisation : à côté de Royan
Voiture : TMY prop Berlin

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Tigerbill17 »

Tu es dans le sujet Raspberry pi, ici, @Ramses

Je ne peux pas t'aider.
Avatar de l’utilisateur
yvespsv
Addict
Addict
Messages : 5575
Inscription : 17 nov. 2021
Localisation : Près d'Avignon mais dans le Gard
Voiture : Model Y RWD Blanc

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par yvespsv »

@Ramses

As tu donné à Teslamate le login et pass (ou les token) de ton compte Tesla ?
Si tu ne l'as pas fait Teslamate ne peut pas trouver les données de ta voiture.

Pour te connecter sur grafana de Teslamate, il te faut un login et pass. Ces login et pass pour Teslamate sont différents de ceux de ton compte Tesla. Tu choisis pour Teslamate ce que tu veux.

Edit : as tu suivi ces éléments sur ton Mac pour l'installation
https://geekjournal.ch/how-to-install-t ... our-tesla/

Créer un post particulier pour tes questions car là nous sommes HS. On est dans Raspberry
Model Y Propulsion 19" (Septembre 2024) - Blanche - Moteur J -Batterie Y7CR
Avatar de l’utilisateur
Ramses
Passionné
Passionné
Messages : 261
Inscription : 04 août 2023
Localisation : Nancy
Voiture : Model Y SR

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Ramses »

Merci à vous

Je vais revoir cela
Model Y SR - Blanche - Int. Blanc Premium - Jantes 19"
Octobre 2023
g
guigui82
Actif
Actif
Messages : 16
Inscription : 08 févr. 2024
Localisation : Montauban
Voiture : Model 3SR+ 2023

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par guigui82 »

guigui82 a écrit : 11 févr. 2024 22:24
Ok merci. J'ai extrait les logs maintenant, je ne sais pas quoi en faire :interroge: . Je vois des lignes en erreur mais je ne sais pas les interpréter.
Quelqu'un saurait il ?
Que puis je mettre en ligne pour l'analyse ?
Bonjour

Je remets en avant ma demande au cas où quelqu'un aurait la solution :interroge:
En ligne
Avatar de l’utilisateur
Tigerbill17
Référent
Référent
Messages : 1850
Inscription : 12 sept. 2023
Localisation : à côté de Royan
Voiture : TMY prop Berlin

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Tigerbill17 »

@guigui82

Il faut poster les lignes d'erreurs de tes logs, sinon comment veux tu qu'on te dise quelque chose ?
Avatar de l’utilisateur
Ramses
Passionné
Passionné
Messages : 261
Inscription : 04 août 2023
Localisation : Nancy
Voiture : Model Y SR

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Ramses »

Une petite question.

Combien reviens un raspberry pour ce suivi par telsamate ?

Et où en trouver ?

Merci
Model Y SR - Blanche - Int. Blanc Premium - Jantes 19"
Octobre 2023
En ligne
Avatar de l’utilisateur
Tigerbill17
Référent
Référent
Messages : 1850
Inscription : 12 sept. 2023
Localisation : à côté de Royan
Voiture : TMY prop Berlin

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Tigerbill17 »

Perso, j'ai acheté un starter kit Raspberry Pi4- 4Go chez Kubii ( super service ) 99,90 €

Mais j'ai pris 4Go parce que je fais tourner Kodi en même temps que Telslamate.
Teslamate seul doit pouvoir tourner sur des configurations moins puissantes, donc moins chères

Voilà la page Web avec tous les starter kits proposés
https://www.kubii.com/en/index.php?cont ... tarter+kit

Relis ce sujet depuis le début, tu trouveras les config qui fonctionnent bien a minima pour Teslamate :clin:
En ligne
Avatar de l’utilisateur
Thomas
Community Manager
Community Manager
Messages : 29568
Inscription : 18 déc. 2018
Localisation : IdF
Voiture : Model Y Perf
Contact :

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Thomas »

Tu as tous les liens dans le premier message de ce sujet : Teslamate sur Raspberry Pi - Tutoriel
Avatar de l’utilisateur
Ramses
Passionné
Passionné
Messages : 261
Inscription : 04 août 2023
Localisation : Nancy
Voiture : Model Y SR

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Ramses »

Merci @Thomas
Model Y SR - Blanche - Int. Blanc Premium - Jantes 19"
Octobre 2023
g
guigui82
Actif
Actif
Messages : 16
Inscription : 08 févr. 2024
Localisation : Montauban
Voiture : Model 3SR+ 2023

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par guigui82 »

Tigerbill17 a écrit : 13 févr. 2024 15:24
@guigui82

Il faut poster les lignes d'erreurs de tes logs, sinon comment veux tu qu'on te dise quelque chose ?
Pour teslamate : log :

Code : Tout sélectionner

The changeset defined the following constraints:

    * "positions_drive_id_fkey" (foreign_key_constraint)
    * "positions_car_id_fkey" (foreign_key_constraint)

    (ecto 3.10.3) lib/ecto/repo/schema.ex:804: anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
    (elixir 1.16.0) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2
    (ecto 3.10.3) lib/ecto/repo/schema.ex:788: Ecto.Repo.Schema.constraints_to_errors/3
    (ecto 3.10.3) lib/ecto/repo/schema.ex:769: Ecto.Repo.Schema.apply/4
    (ecto 3.10.3) lib/ecto/repo/schema.ex:377: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
    (teslamate 1.28.3) lib/teslamate/vehicles/vehicle.ex:729: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle_event/4
    (ecto_sql 3.10.2) lib/ecto/adapters/sql.ex:1352: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
    (db_connection 2.6.0) lib/db_connection.ex:1710: DBConnection.run_transaction/4
2024-02-11 18:16:11.727 car_id=1 [info] Start / :online
2024-02-11 18:16:11.747 [error] GenStateMachine :"1" terminating
** (Ecto.ConstraintError) constraint error when attempting to insert struct:

    * "positions_pkey" (unique_constraint)

If you would like to stop this constraint violation from raising an
exception and instead add it as an error to your changeset, please
call `unique_constraint/3` on your changeset with the constraint
`:name` as an option.

The changeset defined the following constraints:

    * "positions_drive_id_fkey" (foreign_key_constraint)
    * "positions_car_id_fkey" (foreign_key_constraint)

    (ecto 3.10.3) lib/ecto/repo/schema.ex:804: anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
    (elixir 1.16.0) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2
    (ecto 3.10.3) lib/ecto/repo/schema.ex:788: Ecto.Repo.Schema.constraints_to_errors/3
    (ecto 3.10.3) lib/ecto/repo/schema.ex:769: Ecto.Repo.Schema.apply/4
    (ecto 3.10.3) lib/ecto/repo/schema.ex:377: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
    (teslamate 1.28.3) lib/teslamate/vehicles/vehicle.ex:729: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle_event/4
    (ecto_sql 3.10.2) lib/ecto/adapters/sql.ex:1352: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
    (db_connection 2.6.0) lib/db_connection.ex:1710: DBConnection.run_transaction/4
2024-02-11 18:16:11.811 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/929675738771135 -> 429 (54.530 ms)
2024-02-11 18:16:11.812 [warning] TeslaApi.Error / "Retry later\n"
2024-02-11 18:16:11.812 car_id=1 [error] Error / :unknown
2024-02-11 18:16:41.858 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/929675738771135 -> 429 (41.957 ms)
2024-02-11 18:16:41.859 [warning] TeslaApi.Error / "Retry later\n"
2024-02-11 18:16:41.860 car_id=1 [error] Error / :unknown
2024-02-11 18:17:12.008 car_id=1 [info] Start / :asleep
2024-02-11 20:59:19.392 car_id=1 [info] Start / :online
2024-02-11 20:59:19.413 [error] GenStateMachine :"1" terminating
** (Ecto.ConstraintError) constraint error when attempting to insert struct:

    * "positions_pkey" (unique_constraint)

If you would like to stop this constraint violation from raising an
exception and instead add it as an error to your changeset, please
call `unique_constraint/3` on your changeset with the constraint
`:name` as an option.

The changeset defined the following constraints:

    * "positions_drive_id_fkey" (foreign_key_constraint)
    * "positions_car_id_fkey" (foreign_key_constraint)

    (ecto 3.10.3) lib/ecto/repo/schema.ex:804: anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
    (elixir 1.16.0) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2
    (ecto 3.10.3) lib/ecto/repo/schema.ex:788: Ecto.Repo.Schema.constraints_to_errors/3
    (ecto 3.10.3) lib/ecto/repo/schema.ex:769: Ecto.Repo.Schema.apply/4
    (ecto 3.10.3) lib/ecto/repo/schema.ex:377: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
    (teslamate 1.28.3) lib/teslamate/vehicles/vehicle.ex:729: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle_event/4
    (ecto_sql 3.10.2) lib/ecto/adapters/sql.ex:1352: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
    (db_connection 2.6.0) lib/db_connection.ex:1710: DBConnection.run_transaction/4
2024-02-11 20:59:19.681 car_id=1 [info] Start / :online
2024-02-11 20:59:19.702 [error] GenStateMachine :"1" terminating
** (Ecto.ConstraintError) constraint error when attempting to insert struct:

    * "positions_pkey" (unique_constraint)

If you would like to stop this constraint violation from raising an
exception and instead add it as an error to your changeset, please
call `unique_constraint/3` on your changeset with the constraint
`:name` as an option.

The changeset defined the following constraints:

    * "positions_drive_id_fkey" (foreign_key_constraint)
    * "positions_car_id_fkey" (foreign_key_constraint)

    (ecto 3.10.3) lib/ecto/repo/schema.ex:804: anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
    (elixir 1.16.0) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2
    (ecto 3.10.3) lib/ecto/repo/schema.ex:788: Ecto.Repo.Schema.constraints_to_errors/3
    (ecto 3.10.3) lib/ecto/repo/schema.ex:769: Ecto.Repo.Schema.apply/4
    (ecto 3.10.3) lib/ecto/repo/schema.ex:377: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
    (teslamate 1.28.3) lib/teslamate/vehicles/vehicle.ex:729: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle_event/4
    (ecto_sql 3.10.2) lib/ecto/adapters/sql.ex:1352: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
    (db_connection 2.6.0) lib/db_connection.ex:1710: DBConnection.run_transaction/4
2024-02-11 20:59:19.920 car_id=1 [info] Start / :online
2024-02-11 20:59:19.942 [error] GenStateMachine :"1" terminating
** (Ecto.ConstraintError) constraint error when attempting to insert struct:

    * "positions_pkey" (unique_constraint)

If you would like to stop this constraint violation from raising an
exception and instead add it as an error to your changeset, please
call `unique_constraint/3` on your changeset with the constraint
`:name` as an option.

The changeset defined the following constraints:

    * "positions_drive_id_fkey" (foreign_key_constraint)
    * "positions_car_id_fkey" (foreign_key_constraint)

    (ecto 3.10.3) lib/ecto/repo/schema.ex:804: anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
    (elixir 1.16.0) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2
    (ecto 3.10.3) lib/ecto/repo/schema.ex:788: Ecto.Repo.Schema.constraints_to_errors/3
    (ecto 3.10.3) lib/ecto/repo/schema.ex:769: Ecto.Repo.Schema.apply/4
    (ecto 3.10.3) lib/ecto/repo/schema.ex:377: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
    (teslamate 1.28.3) lib/teslamate/vehicles/vehicle.ex:729: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle_event/4
    (ecto_sql 3.10.2) lib/ecto/adapters/sql.ex:1352: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
    (db_connection 2.6.0) lib/db_connection.ex:1710: DBConnection.run_transaction/4
2024-02-11 20:59:20.167 car_id=1 [info] Start / :online
2024-02-11 20:59:20.187 [error] GenStateMachine :"1" terminating
** (Ecto.ConstraintError) constraint error when attempting to insert struct:

    * "positions_pkey" (unique_constraint)

If you would like to stop this constraint violation from raising an
exception and instead add it as an error to your changeset, please
call `unique_constraint/3` on your changeset with the constraint
`:name` as an option.

The changeset defined the following constraints:

    * "positions_drive_id_fkey" (foreign_key_constraint)
    * "positions_car_id_fkey" (foreign_key_constraint)

    (ecto 3.10.3) lib/ecto/repo/schema.ex:804: anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
    (elixir 1.16.0) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2
    (ecto 3.10.3) lib/ecto/repo/schema.ex:788: Ecto.Repo.Schema.constraints_to_errors/3
    (ecto 3.10.3) lib/ecto/repo/schema.ex:769: Ecto.Repo.Schema.apply/4
    (ecto 3.10.3) lib/ecto/repo/schema.ex:377: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
    (teslamate 1.28.3) lib/teslamate/vehicles/vehicle.ex:729: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle_event/4
    (ecto_sql 3.10.2) lib/ecto/adapters/sql.ex:1352: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
    (db_connection 2.6.0) lib/db_connection.ex:1710: DBConnection.run_transaction/4
2024-02-11 20:59:20.409 car_id=1 [info] Start / :online
2024-02-11 20:59:20.427 [error] GenStateMachine :"1" terminating
** (Ecto.ConstraintError) constraint error when attempting to insert struct:

    * "positions_pkey" (unique_constraint)

If you would like to stop this constraint violation from raising an
exception and instead add it as an error to your changeset, please
call `unique_constraint/3` on your changeset with the constraint
`:name` as an option.

The changeset defined the following constraints:

    * "positions_drive_id_fkey" (foreign_key_constraint)
    * "positions_car_id_fkey" (foreign_key_constraint)

    (ecto 3.10.3) lib/ecto/repo/schema.ex:804: anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
    (elixir 1.16.0) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2
    (ecto 3.10.3) lib/ecto/repo/schema.ex:788: Ecto.Repo.Schema.constraints_to_errors/3
    (ecto 3.10.3) lib/ecto/repo/schema.ex:769: Ecto.Repo.Schema.apply/4
    (ecto 3.10.3) lib/ecto/repo/schema.ex:377: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
    (teslamate 1.28.3) lib/teslamate/vehicles/vehicle.ex:729: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle_event/4
    (ecto_sql 3.10.2) lib/ecto/adapters/sql.ex:1352: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
    (db_connection 2.6.0) lib/db_connection.ex:1710: DBConnection.run_transaction/4
2024-02-11 20:59:20.793 car_id=1 [info] Start / :online
2024-02-11 20:59:20.813 [error] GenStateMachine :"1" terminating
** (Ecto.ConstraintError) constraint error when attempting to insert struct:

    * "positions_pkey" (unique_constraint)

If you would like to stop this constraint violation from raising an
exception and instead add it as an error to your changeset, please
call `unique_constraint/3` on your changeset with the constraint
`:name` as an option.

The changeset defined the following constraints:

    * "positions_drive_id_fkey" (foreign_key_constraint)
    * "positions_car_id_fkey" (foreign_key_constraint)

    (ecto 3.10.3) lib/ecto/repo/schema.ex:804: anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
    (elixir 1.16.0) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2
    (ecto 3.10.3) lib/ecto/repo/schema.ex:788: Ecto.Repo.Schema.constraints_to_errors/3
    (ecto 3.10.3) lib/ecto/repo/schema.ex:769: Ecto.Repo.Schema.apply/4
    (ecto 3.10.3) lib/ecto/repo/schema.ex:377: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
    (teslamate 1.28.3) lib/teslamate/vehicles/vehicle.ex:729: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle_event/4
    (ecto_sql 3.10.2) lib/ecto/adapters/sql.ex:1352: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
    (db_connection 2.6.0) lib/db_connection.ex:1710: DBConnection.run_transaction/4
2024-02-11 20:59:21.117 [info] Starting logger for 'The GuiguiChup's'
2024-02-11 20:59:21.380 car_id=1 [info] Start / :online
2024-02-11 20:59:21.400 [error] GenStateMachine :"1" terminating
** (Ecto.ConstraintError) constraint error when attempting to insert struct:

    * "positions_pkey" (unique_constraint)

If you would like to stop this constraint violation from raising an
exception and instead add it as an error to your changeset, please
call `unique_constraint/3` on your changeset with the constraint
`:name` as an option.

The changeset defined the following constraints:

    * "positions_drive_id_fkey" (foreign_key_constraint)
    * "positions_car_id_fkey" (foreign_key_constraint)

    (ecto 3.10.3) lib/ecto/repo/schema.ex:804: anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
    (elixir 1.16.0) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2
    (ecto 3.10.3) lib/ecto/repo/schema.ex:788: Ecto.Repo.Schema.constraints_to_errors/3
    (ecto 3.10.3) lib/ecto/repo/schema.ex:769: Ecto.Repo.Schema.apply/4
    (ecto 3.10.3) lib/ecto/repo/schema.ex:377: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
    (teslamate 1.28.3) lib/teslamate/vehicles/vehicle.ex:729: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle_event/4
    (ecto_sql 3.10.2) lib/ecto/adapters/sql.ex:1352: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
    (db_connection 2.6.0) lib/db_connection.ex:1710: DBConnection.run_transaction/4
2024-02-11 20:59:21.634 car_id=1 [info] Start / :online
2024-02-11 20:59:21.654 [error] GenStateMachine :"1" terminating
** (Ecto.ConstraintError) constraint error when attempting to insert struct:

    * "positions_pkey" (unique_constraint)

If you would like to stop this constraint violation from raising an
exception and instead add it as an error to your changeset, please
call `unique_constraint/3` on your changeset with the constraint
`:name` as an option.

The changeset defined the following constraints:

    * "positions_drive_id_fkey" (foreign_key_constraint)
    * "positions_car_id_fkey" (foreign_key_constraint)

    (ecto 3.10.3) lib/ecto/repo/schema.ex:804: anonymous fn/4 in Ecto.Repo.Schema.constraints_to_errors/3
    (elixir 1.16.0) lib/enum.ex:1700: Enum."-map/2-lists^map/1-1-"/2
    (ecto 3.10.3) lib/ecto/repo/schema.ex:788: Ecto.Repo.Schema.constraints_to_errors/3
    (ecto 3.10.3) lib/ecto/repo/schema.ex:769: Ecto.Repo.Schema.apply/4
    (ecto 3.10.3) lib/ecto/repo/schema.ex:377: anonymous fn/15 in Ecto.Repo.Schema.do_insert/4
    (teslamate 1.28.3) lib/teslamate/vehicles/vehicle.ex:729: anonymous fn/4 in TeslaMate.Vehicles.Vehicle.handle_event/4
    (ecto_sql 3.10.2) lib/ecto/adapters/sql.ex:1352: anonymous fn/3 in Ecto.Adapters.SQL.checkout_or_transaction/4
    (db_connection 2.6.0) lib/db_connection.ex:1710: DBConnection.run_transaction/4
2024-02-11 20:59:21.711 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/929675738771135 -> 429 (44.841 ms)
2024-02-11 20:59:21.711 [warning] TeslaApi.Error / "Retry later\n"
2024-02-11 20:59:21.712 car_id=1 [error] Error / :unknown
2024-02-11 20:59:51.774 [info] GET https://owner-api.teslamotors.com/api/1/vehicles/929675738771135 -> 429 (54.542 ms)
2024-02-11 20:59:51.774 [warning] TeslaApi.Error / "Retry later\n"
2024-02-11 20:59:51.775 car_id=1 [error] Error / :unknown
2024-02-11 21:00:03.551 [info] GET /
2024-02-11 21:00:03.574 [info] Sent 200 in 21ms
2024-02-11 21:00:09.869 [info] GET /
2024-02-11 21:00:09.893 [info] Sent 200 in 22ms


Merci d'avance.
g
guigui82
Actif
Actif
Messages : 16
Inscription : 08 févr. 2024
Localisation : Montauban
Voiture : Model 3SR+ 2023

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par guigui82 »

Le log de grafana :

Code : Tout sélectionner

logger=grafana.update.checker t=2024-02-09T00:03:29.39407017Z level=info msg="Update check succeeded" duration=165.036707ms
logger=plugins.update.checker t=2024-02-09T00:03:29.435008488Z level=info msg="Update check succeeded" duration=182.958321ms
logger=cleanup t=2024-02-09T00:13:24.461377914Z level=info msg="Completed cleanup jobs" duration=34.091382ms
logger=grafana.update.checker t=2024-02-09T00:13:29.395944511Z level=info msg="Update check succeeded" duration=166.933327ms
logger=plugins.update.checker t=2024-02-09T00:13:29.440065334Z level=info msg="Update check succeeded" duration=188.000538ms
logger=cleanup t=2024-02-09T00:23:24.478371148Z level=info msg="Completed cleanup jobs" duration=51.247344ms
logger=grafana.update.checker t=2024-02-09T00:23:29.397164859Z level=info msg="Update check succeeded" duration=168.017548ms
logger=plugins.update.checker t=2024-02-09T00:23:29.434252261Z level=info msg="Update check succeeded" duration=182.012908ms
logger=infra.usagestats t=2024-02-09T00:24:55.604000721Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T00:33:24.439335019Z level=info msg="Completed cleanup jobs" duration=12.926546ms
logger=grafana.update.checker t=2024-02-09T00:33:39.230715226Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001788367s
logger=cleanup t=2024-02-09T00:43:24.675407709Z level=info msg="Completed cleanup jobs" duration=248.303384ms
logger=grafana.update.checker t=2024-02-09T00:43:29.39986869Z level=info msg="Update check succeeded" duration=170.75922ms
logger=plugins.update.checker t=2024-02-09T00:43:29.433612035Z level=info msg="Update check succeeded" duration=181.398722ms
logger=cleanup t=2024-02-09T00:53:24.476489525Z level=info msg="Completed cleanup jobs" duration=49.185884ms
logger=grafana.update.checker t=2024-02-09T00:53:29.404423394Z level=info msg="Update check succeeded" duration=176.044957ms
logger=plugins.update.checker t=2024-02-09T00:53:29.435850273Z level=info msg="Update check succeeded" duration=183.368528ms
logger=infra.usagestats t=2024-02-09T00:54:55.606594265Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T01:03:24.459753953Z level=info msg="Completed cleanup jobs" duration=32.374037ms
logger=grafana.update.checker t=2024-02-09T01:03:29.400496737Z level=info msg="Update check succeeded" duration=171.552206ms
logger=plugins.update.checker t=2024-02-09T01:03:29.467481319Z level=info msg="Update check succeeded" duration=215.607326ms
logger=cleanup t=2024-02-09T01:13:24.470126417Z level=info msg="Completed cleanup jobs" duration=43.473081ms
logger=grafana.update.checker t=2024-02-09T01:13:39.230784945Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001624274s
logger=cleanup t=2024-02-09T01:23:24.471720489Z level=info msg="Completed cleanup jobs" duration=44.965662ms
logger=grafana.update.checker t=2024-02-09T01:23:29.395375655Z level=info msg="Update check succeeded" duration=166.048882ms
logger=plugins.update.checker t=2024-02-09T01:23:29.431725611Z level=info msg="Update check succeeded" duration=179.693117ms
logger=infra.usagestats t=2024-02-09T01:24:55.604145977Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T01:33:24.438976579Z level=info msg="Completed cleanup jobs" duration=12.529444ms
logger=grafana.update.checker t=2024-02-09T01:33:39.231525993Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.002207409s
logger=cleanup t=2024-02-09T01:43:24.441975944Z level=info msg="Completed cleanup jobs" duration=14.646729ms
logger=grafana.update.checker t=2024-02-09T01:43:39.230879388Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001714601s
logger=cleanup t=2024-02-09T01:53:24.438927706Z level=info msg="Completed cleanup jobs" duration=12.5096ms
logger=grafana.update.checker t=2024-02-09T01:53:39.230323504Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001236401s
logger=infra.usagestats t=2024-02-09T01:54:55.603982932Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T02:03:24.461575302Z level=info msg="Completed cleanup jobs" duration=34.232611ms
logger=grafana.update.checker t=2024-02-09T02:03:39.230293242Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001626464s
logger=cleanup t=2024-02-09T02:13:24.458993813Z level=info msg="Completed cleanup jobs" duration=32.093234ms
logger=grafana.update.checker t=2024-02-09T02:13:39.230208295Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001280941s
logger=cleanup t=2024-02-09T02:23:24.439087273Z level=info msg="Completed cleanup jobs" duration=11.998402ms
logger=grafana.update.checker t=2024-02-09T02:23:29.4038428Z level=info msg="Update check succeeded" duration=174.586983ms
logger=plugins.update.checker t=2024-02-09T02:23:29.439153529Z level=info msg="Update check succeeded" duration=186.787156ms
logger=infra.usagestats t=2024-02-09T02:24:55.604221908Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T02:33:24.461926742Z level=info msg="Completed cleanup jobs" duration=34.769013ms
logger=grafana.update.checker t=2024-02-09T02:33:39.230731543Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001767487s
logger=cleanup t=2024-02-09T02:43:24.44094039Z level=info msg="Completed cleanup jobs" duration=14.472875ms
logger=grafana.update.checker t=2024-02-09T02:43:29.396988003Z level=info msg="Update check succeeded" duration=167.859461ms
logger=plugins.update.checker t=2024-02-09T02:43:29.433164357Z level=info msg="Update check succeeded" duration=180.977444ms
logger=cleanup t=2024-02-09T02:53:24.440010583Z level=info msg="Completed cleanup jobs" duration=13.712296ms
logger=grafana.update.checker t=2024-02-09T02:53:39.23054756Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001447288s
logger=infra.usagestats t=2024-02-09T02:54:55.607780744Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T03:03:24.461691072Z level=info msg="Completed cleanup jobs" duration=35.179367ms
logger=grafana.update.checker t=2024-02-09T03:03:29.404407828Z level=info msg="Update check succeeded" duration=175.43262ms
logger=plugins.update.checker t=2024-02-09T03:03:29.431021181Z level=info msg="Update check succeeded" duration=179.018963ms
logger=cleanup t=2024-02-09T03:13:24.440904973Z level=info msg="Completed cleanup jobs" duration=14.379695ms
logger=grafana.update.checker t=2024-02-09T03:13:29.397313612Z level=info msg="Update check succeeded" duration=168.138232ms
logger=plugins.update.checker t=2024-02-09T03:13:29.438921505Z level=info msg="Update check succeeded" duration=186.637915ms
logger=cleanup t=2024-02-09T03:23:24.459247937Z level=info msg="Completed cleanup jobs" duration=32.929086ms
logger=grafana.update.checker t=2024-02-09T03:23:39.230393272Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001925525s
logger=infra.usagestats t=2024-02-09T03:24:55.607961445Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T03:33:24.46282936Z level=info msg="Completed cleanup jobs" duration=36.375655ms
logger=grafana.update.checker t=2024-02-09T03:33:29.395482954Z level=info msg="Update check succeeded" duration=166.236143ms
logger=plugins.update.checker t=2024-02-09T03:33:29.427713624Z level=info msg="Update check succeeded" duration=175.388559ms
logger=cleanup t=2024-02-09T03:43:24.475567009Z level=info msg="Completed cleanup jobs" duration=48.437081ms
logger=grafana.update.checker t=2024-02-09T03:43:29.397375888Z level=info msg="Update check succeeded" duration=169.004392ms
logger=plugins.update.checker t=2024-02-09T03:43:29.451580346Z level=info msg="Update check succeeded" duration=199.213772ms
logger=cleanup t=2024-02-09T03:53:24.474784702Z level=info msg="Completed cleanup jobs" duration=48.429687ms
logger=grafana.update.checker t=2024-02-09T03:53:39.23100458Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001958104s
logger=infra.usagestats t=2024-02-09T03:54:55.609352196Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T04:03:24.438946811Z level=info msg="Completed cleanup jobs" duration=12.415279ms
logger=grafana.update.checker t=2024-02-09T04:03:39.231070496Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001773435s
logger=cleanup t=2024-02-09T04:13:24.461744715Z level=info msg="Completed cleanup jobs" duration=34.837711ms
logger=grafana.update.checker t=2024-02-09T04:13:39.23002279Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.00169862s
logger=cleanup t=2024-02-09T04:23:24.460418237Z level=info msg="Completed cleanup jobs" duration=33.537764ms
logger=grafana.update.checker t=2024-02-09T04:23:29.402647236Z level=info msg="Update check succeeded" duration=173.344273ms
logger=plugins.update.checker t=2024-02-09T04:23:29.436383125Z level=info msg="Update check succeeded" duration=184.045803ms
logger=infra.usagestats t=2024-02-09T04:24:55.603890167Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T04:33:24.509029203Z level=info msg="Completed cleanup jobs" duration=82.47897ms
logger=grafana.update.checker t=2024-02-09T04:33:29.410648995Z level=info msg="Update check succeeded" duration=182.258669ms
logger=plugins.update.checker t=2024-02-09T04:33:29.429466542Z level=info msg="Update check succeeded" duration=177.147226ms
logger=cleanup t=2024-02-09T04:43:24.462806484Z level=info msg="Completed cleanup jobs" duration=35.48432ms
logger=grafana.update.checker t=2024-02-09T04:43:39.230061298Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001666988s
logger=cleanup t=2024-02-09T04:53:24.460274915Z level=info msg="Completed cleanup jobs" duration=33.633492ms
logger=grafana.update.checker t=2024-02-09T04:53:39.230290002Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001294937s
logger=infra.usagestats t=2024-02-09T04:54:55.602965342Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T05:03:24.440980862Z level=info msg="Completed cleanup jobs" duration=14.615008ms
logger=grafana.update.checker t=2024-02-09T05:03:39.230283641Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001464773s
logger=cleanup t=2024-02-09T05:13:24.478046575Z level=info msg="Completed cleanup jobs" duration=50.864935ms
logger=grafana.update.checker t=2024-02-09T05:13:39.230838213Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001562283s
logger=cleanup t=2024-02-09T05:23:24.476084408Z level=info msg="Completed cleanup jobs" duration=49.634973ms
logger=grafana.update.checker t=2024-02-09T05:23:39.231434195Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.002114379s
logger=infra.usagestats t=2024-02-09T05:24:55.60856229Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T05:33:24.46127233Z level=info msg="Completed cleanup jobs" duration=33.908031ms
logger=grafana.update.checker t=2024-02-09T05:33:29.393933348Z level=info msg="Update check succeeded" duration=165.093244ms
logger=plugins.update.checker t=2024-02-09T05:33:29.429575489Z level=info msg="Update check succeeded" duration=177.72998ms
logger=cleanup t=2024-02-09T05:43:24.477235628Z level=info msg="Completed cleanup jobs" duration=50.266727ms
logger=grafana.update.checker t=2024-02-09T05:43:29.397453596Z level=info msg="Update check succeeded" duration=169.165475ms
logger=plugins.update.checker t=2024-02-09T05:43:29.447888969Z level=info msg="Update check succeeded" duration=195.520683ms
logger=cleanup t=2024-02-09T05:53:24.459567548Z level=info msg="Completed cleanup jobs" duration=33.178327ms
logger=grafana.update.checker t=2024-02-09T05:53:39.230218129Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001173972s
logger=infra.usagestats t=2024-02-09T05:54:55.604227245Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T06:03:24.461547442Z level=info msg="Completed cleanup jobs" duration=34.490935ms
logger=grafana.update.checker t=2024-02-09T06:03:39.230618464Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001278798s
logger=cleanup t=2024-02-09T06:13:24.439211248Z level=info msg="Completed cleanup jobs" duration=12.266577ms
logger=grafana.update.checker t=2024-02-09T06:13:39.230749636Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001436763s
logger=cleanup t=2024-02-09T06:23:24.459750038Z level=info msg="Completed cleanup jobs" duration=33.115708ms
logger=grafana.update.checker t=2024-02-09T06:23:29.394753744Z level=info msg="Update check succeeded" duration=165.761979ms
logger=plugins.update.checker t=2024-02-09T06:23:29.432592812Z level=info msg="Update check succeeded" duration=180.562785ms
logger=infra.usagestats t=2024-02-09T06:24:55.60368416Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T06:33:24.463018733Z level=info msg="Completed cleanup jobs" duration=36.027919ms
logger=grafana.update.checker t=2024-02-09T06:33:29.394858127Z level=info msg="Update check succeeded" duration=165.696117ms
logger=plugins.update.checker t=2024-02-09T06:33:29.447825193Z level=info msg="Update check succeeded" duration=195.684688ms
logger=cleanup t=2024-02-09T06:43:24.438718069Z level=info msg="Completed cleanup jobs" duration=12.007974ms
logger=grafana.update.checker t=2024-02-09T06:43:29.39833172Z level=info msg="Update check succeeded" duration=169.305169ms
logger=plugins.update.checker t=2024-02-09T06:43:29.438129273Z level=info msg="Update check succeeded" duration=186.077238ms
logger=cleanup t=2024-02-09T06:53:24.515624898Z level=info msg="Completed cleanup jobs" duration=89.188566ms
logger=grafana.update.checker t=2024-02-09T06:53:29.398179308Z level=info msg="Update check succeeded" duration=169.890132ms
logger=plugins.update.checker t=2024-02-09T06:53:29.436174371Z level=info msg="Update check succeeded" duration=183.851172ms
logger=infra.usagestats t=2024-02-09T06:54:55.604278365Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T07:03:24.439557003Z level=info msg="Completed cleanup jobs" duration=12.853701ms
logger=grafana.update.checker t=2024-02-09T07:03:29.397840242Z level=info msg="Update check succeeded" duration=168.642226ms
logger=plugins.update.checker t=2024-02-09T07:03:29.435023851Z level=info msg="Update check succeeded" duration=182.797901ms
logger=cleanup t=2024-02-09T07:13:24.473574282Z level=info msg="Completed cleanup jobs" duration=46.67498ms
logger=grafana.update.checker t=2024-02-09T07:13:29.403382365Z level=info msg="Update check succeeded" duration=174.640694ms
logger=plugins.update.checker t=2024-02-09T07:13:29.445056374Z level=info msg="Update check succeeded" duration=193.43854ms
logger=cleanup t=2024-02-09T07:23:24.462623287Z level=info msg="Completed cleanup jobs" duration=35.887989ms
logger=grafana.update.checker t=2024-02-09T07:23:29.3979335Z level=info msg="Update check succeeded" duration=169.043476ms
logger=plugins.update.checker t=2024-02-09T07:23:29.431454676Z level=info msg="Update check succeeded" duration=179.573541ms
logger=infra.usagestats t=2024-02-09T07:24:55.603356496Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T07:33:24.463163447Z level=info msg="Completed cleanup jobs" duration=36.070176ms
logger=grafana.update.checker t=2024-02-09T07:33:29.414248032Z level=info msg="Update check succeeded" duration=185.896486ms
logger=plugins.update.checker t=2024-02-09T07:33:29.448714933Z level=info msg="Update check succeeded" duration=196.353477ms
logger=cleanup t=2024-02-09T07:43:24.463892384Z level=info msg="Completed cleanup jobs" duration=36.983818ms
logger=grafana.update.checker t=2024-02-09T07:43:29.399016874Z level=info msg="Update check succeeded" duration=169.943212ms
logger=plugins.update.checker t=2024-02-09T07:43:29.44376681Z level=info msg="Update check succeeded" duration=191.64412ms
logger=cleanup t=2024-02-09T07:53:24.438472461Z level=info msg="Completed cleanup jobs" duration=12.103496ms
logger=grafana.update.checker t=2024-02-09T07:53:39.23368191Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.004358528s
logger=infra.usagestats t=2024-02-09T07:54:55.603955116Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T08:03:24.442929209Z level=info msg="Completed cleanup jobs" duration=16.482062ms
logger=grafana.update.checker t=2024-02-09T08:03:29.394766441Z level=info msg="Update check succeeded" duration=165.556755ms
logger=plugins.update.checker t=2024-02-09T08:03:29.45906405Z level=info msg="Update check succeeded" duration=206.823261ms
logger=cleanup t=2024-02-09T08:13:24.442150535Z level=info msg="Completed cleanup jobs" duration=15.029273ms
logger=grafana.update.checker t=2024-02-09T08:13:29.403655967Z level=info msg="Update check succeeded" duration=175.24747ms
logger=plugins.update.checker t=2024-02-09T08:13:29.435591335Z level=info msg="Update check succeeded" duration=183.511377ms
logger=cleanup t=2024-02-09T08:23:24.438770449Z level=info msg="Completed cleanup jobs" duration=12.413473ms
logger=grafana.update.checker t=2024-02-09T08:23:39.230693471Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001489257s
logger=infra.usagestats t=2024-02-09T08:24:55.606498192Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T08:33:24.46020498Z level=info msg="Completed cleanup jobs" duration=33.497857ms
logger=grafana.update.checker t=2024-02-09T08:33:29.397644432Z level=info msg="Update check succeeded" duration=169.25975ms
logger=plugins.update.checker t=2024-02-09T08:33:29.44558074Z level=info msg="Update check succeeded" duration=193.072358ms
logger=cleanup t=2024-02-09T08:43:24.439138946Z level=info msg="Completed cleanup jobs" duration=12.371673ms
logger=grafana.update.checker t=2024-02-09T08:43:29.401246692Z level=info msg="Update check succeeded" duration=172.343992ms
logger=plugins.update.checker t=2024-02-09T08:43:29.432663762Z level=info msg="Update check succeeded" duration=180.765783ms
logger=cleanup t=2024-02-09T08:53:24.438504129Z level=info msg="Completed cleanup jobs" duration=12.126736ms
logger=plugins.update.checker t=2024-02-09T08:53:29.450604228Z level=info msg="Update check succeeded" duration=198.134788ms
logger=grafana.update.checker t=2024-02-09T08:53:29.450646519Z level=info msg="Update check succeeded" duration=221.382585ms
logger=infra.usagestats t=2024-02-09T08:54:55.604081371Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T09:03:24.462057584Z level=info msg="Completed cleanup jobs" duration=35.428708ms
logger=grafana.update.checker t=2024-02-09T09:03:29.399918645Z level=info msg="Update check succeeded" duration=170.908245ms
logger=plugins.update.checker t=2024-02-09T09:03:29.44115864Z level=info msg="Update check succeeded" duration=189.124289ms
logger=cleanup t=2024-02-09T09:13:24.477597602Z level=info msg="Completed cleanup jobs" duration=50.334529ms
logger=grafana.update.checker t=2024-02-09T09:13:29.415526354Z level=info msg="Update check succeeded" duration=186.230372ms
logger=plugins.update.checker t=2024-02-09T09:13:29.43911886Z level=info msg="Update check succeeded" duration=186.764536ms
logger=cleanup t=2024-02-09T09:23:24.459210129Z level=info msg="Completed cleanup jobs" duration=32.090101ms
logger=grafana.update.checker t=2024-02-09T09:23:39.230389927Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001565928s
logger=infra.usagestats t=2024-02-09T09:24:55.607918752Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T09:33:24.476819974Z level=info msg="Completed cleanup jobs" duration=49.500315ms
logger=grafana.update.checker t=2024-02-09T09:33:29.403933503Z level=info msg="Update check succeeded" duration=174.576072ms
logger=plugins.update.checker t=2024-02-09T09:33:29.465198052Z level=info msg="Update check succeeded" duration=212.819026ms
logger=cleanup t=2024-02-09T09:43:24.441972469Z level=info msg="Completed cleanup jobs" duration=14.808854ms
logger=grafana.update.checker t=2024-02-09T09:43:29.393723318Z level=info msg="Update check succeeded" duration=165.198431ms
logger=plugins.update.checker t=2024-02-09T09:43:29.4333662Z level=info msg="Update check succeeded" duration=181.459936ms
logger=cleanup t=2024-02-09T09:53:24.438217307Z level=info msg="Completed cleanup jobs" duration=11.880431ms
logger=grafana.update.checker t=2024-02-09T09:53:29.404620917Z level=info msg="Update check succeeded" duration=176.279487ms
logger=plugins.update.checker t=2024-02-09T09:53:29.454403778Z level=info msg="Update check succeeded" duration=202.01529ms
logger=infra.usagestats t=2024-02-09T09:54:55.603949778Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T10:03:24.460766815Z level=info msg="Completed cleanup jobs" duration=33.435469ms
logger=grafana.update.checker t=2024-02-09T10:03:29.396651039Z level=info msg="Update check succeeded" duration=168.156404ms
logger=plugins.update.checker t=2024-02-09T10:03:29.451655816Z level=info msg="Update check succeeded" duration=199.194953ms
logger=cleanup t=2024-02-09T10:13:24.463099768Z level=info msg="Completed cleanup jobs" duration=36.149576ms
logger=grafana.update.checker t=2024-02-09T10:13:29.393599256Z level=info msg="Update check succeeded" duration=165.012981ms
logger=plugins.update.checker t=2024-02-09T10:13:29.433324029Z level=info msg="Update check succeeded" duration=181.682982ms
logger=cleanup t=2024-02-09T10:23:24.475768345Z level=info msg="Completed cleanup jobs" duration=49.175655ms
logger=grafana.update.checker t=2024-02-09T10:23:29.404303669Z level=info msg="Update check succeeded" duration=175.953113ms
logger=plugins.update.checker t=2024-02-09T10:23:29.452911826Z level=info msg="Update check succeeded" duration=200.563024ms
logger=infra.usagestats t=2024-02-09T10:24:55.60435053Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T10:33:24.460804816Z level=info msg="Completed cleanup jobs" duration=33.767074ms
logger=grafana.update.checker t=2024-02-09T10:33:29.421581742Z level=info msg="Update check succeeded" duration=192.350295ms
logger=plugins.update.checker t=2024-02-09T10:33:29.443443908Z level=info msg="Update check succeeded" duration=191.096341ms
logger=cleanup t=2024-02-09T10:43:24.44281807Z level=info msg="Completed cleanup jobs" duration=15.477085ms
logger=grafana.update.checker t=2024-02-09T10:43:29.400333514Z level=info msg="Update check succeeded" duration=172.043815ms
logger=plugins.update.checker t=2024-02-09T10:43:29.766987218Z level=info msg="Update check succeeded" duration=514.621921ms
logger=cleanup t=2024-02-09T10:53:24.438532359Z level=info msg="Completed cleanup jobs" duration=12.188192ms
logger=grafana.update.checker t=2024-02-09T10:53:39.230803093Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001722747s
logger=infra.usagestats t=2024-02-09T10:54:55.60317061Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T11:03:24.492574139Z level=info msg="Completed cleanup jobs" duration=66.276458ms
logger=grafana.update.checker t=2024-02-09T11:03:39.230890872Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001653707s
logger=cleanup t=2024-02-09T11:13:24.48080222Z level=info msg="Completed cleanup jobs" duration=53.469778ms
logger=grafana.update.checker t=2024-02-09T11:13:39.230043346Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001318444s
logger=cleanup t=2024-02-09T11:23:24.460746205Z level=info msg="Completed cleanup jobs" duration=34.342443ms
logger=grafana.update.checker t=2024-02-09T11:23:39.230054154Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.00161095s
logger=infra.usagestats t=2024-02-09T11:24:55.604939721Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T11:33:24.482405223Z level=info msg="Completed cleanup jobs" duration=55.721762ms
logger=grafana.update.checker t=2024-02-09T11:33:39.231007628Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001949079s
logger=cleanup t=2024-02-09T11:43:24.439278488Z level=info msg="Completed cleanup jobs" duration=12.451628ms
logger=grafana.update.checker t=2024-02-09T11:43:39.230475556Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001916584s
logger=cleanup t=2024-02-09T11:53:24.439802887Z level=info msg="Completed cleanup jobs" duration=13.459073ms
logger=grafana.update.checker t=2024-02-09T11:53:39.230665033Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001880016s
logger=infra.usagestats t=2024-02-09T11:54:55.604111434Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T12:03:24.462144759Z level=info msg="Completed cleanup jobs" duration=35.638326ms
logger=grafana.update.checker t=2024-02-09T12:03:39.230172744Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.00177334s
logger=cleanup t=2024-02-09T12:13:24.474016823Z level=info msg="Completed cleanup jobs" duration=47.44881ms
logger=grafana.update.checker t=2024-02-09T12:13:39.230100575Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001276536s
logger=cleanup t=2024-02-09T12:23:24.461538523Z level=info msg="Completed cleanup jobs" duration=34.511246ms
logger=grafana.update.checker t=2024-02-09T12:23:39.230477843Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001371212s
logger=infra.usagestats t=2024-02-09T12:24:55.606226234Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T12:33:24.461216979Z level=info msg="Completed cleanup jobs" duration=34.834942ms
logger=grafana.update.checker t=2024-02-09T12:33:39.229881034Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001142771s
logger=cleanup t=2024-02-09T12:43:24.478300885Z level=info msg="Completed cleanup jobs" duration=51.384162ms
logger=grafana.update.checker t=2024-02-09T12:43:29.396664976Z level=info msg="Update check succeeded" duration=167.429996ms
logger=plugins.update.checker t=2024-02-09T12:43:29.453388027Z level=info msg="Update check succeeded" duration=201.113066ms
logger=cleanup t=2024-02-09T12:53:24.439230868Z level=info msg="Completed cleanup jobs" duration=12.793397ms
logger=grafana.update.checker t=2024-02-09T12:53:39.231529118Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.002228287s
logger=infra.usagestats t=2024-02-09T12:54:55.609127156Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T13:03:24.462777304Z level=info msg="Completed cleanup jobs" duration=35.87072ms
logger=grafana.update.checker t=2024-02-09T13:03:29.402309246Z level=info msg="Update check succeeded" duration=173.102582ms
logger=plugins.update.checker t=2024-02-09T13:03:29.433529512Z level=info msg="Update check succeeded" duration=181.181202ms
logger=cleanup t=2024-02-09T13:13:24.46003268Z level=info msg="Completed cleanup jobs" duration=33.493455ms
logger=grafana.update.checker t=2024-02-09T13:13:29.394913434Z level=info msg="Update check succeeded" duration=165.654095ms
logger=plugins.update.checker t=2024-02-09T13:13:29.46556748Z level=info msg="Update check succeeded" duration=213.238181ms
logger=cleanup t=2024-02-09T13:23:24.460612812Z level=info msg="Completed cleanup jobs" duration=33.499531ms
logger=grafana.update.checker t=2024-02-09T13:23:29.410338308Z level=info msg="Update check succeeded" duration=181.517322ms
logger=plugins.update.checker t=2024-02-09T13:23:29.445706014Z level=info msg="Update check succeeded" duration=193.823709ms
logger=infra.usagestats t=2024-02-09T13:24:55.608785779Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T13:33:24.461415619Z level=info msg="Completed cleanup jobs" duration=34.363206ms
logger=grafana.update.checker t=2024-02-09T13:33:29.401066971Z level=info msg="Update check succeeded" duration=172.626913ms
logger=plugins.update.checker t=2024-02-09T13:33:29.437562777Z level=info msg="Update check succeeded" duration=185.047198ms
logger=cleanup t=2024-02-09T13:43:24.441051128Z level=info msg="Completed cleanup jobs" duration=13.937102ms
logger=grafana.update.checker t=2024-02-09T13:43:29.395899224Z level=info msg="Update check succeeded" duration=166.749445ms
logger=plugins.update.checker t=2024-02-09T13:43:29.445012857Z level=info msg="Update check succeeded" duration=192.409279ms
logger=cleanup t=2024-02-09T13:53:24.43924853Z level=info msg="Completed cleanup jobs" duration=12.645887ms
logger=grafana.update.checker t=2024-02-09T13:53:29.400977428Z level=info msg="Update check succeeded" duration=172.279994ms
logger=plugins.update.checker t=2024-02-09T13:53:29.443388562Z level=info msg="Update check succeeded" duration=190.661588ms
logger=infra.usagestats t=2024-02-09T13:54:55.603666023Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T14:03:24.460671792Z level=info msg="Completed cleanup jobs" duration=34.04869ms
logger=grafana.update.checker t=2024-02-09T14:03:29.407565153Z level=info msg="Update check succeeded" duration=178.946127ms
logger=plugins.update.checker t=2024-02-09T14:03:29.446560336Z level=info msg="Update check succeeded" duration=194.672585ms
logger=cleanup t=2024-02-09T14:13:24.460962703Z level=info msg="Completed cleanup jobs" duration=33.840832ms
logger=grafana.update.checker t=2024-02-09T14:13:29.396833773Z level=info msg="Update check succeeded" duration=168.193383ms
logger=plugins.update.checker t=2024-02-09T14:13:29.447173929Z level=info msg="Update check succeeded" duration=194.362261ms
logger=cleanup t=2024-02-09T14:23:24.459432777Z level=info msg="Completed cleanup jobs" duration=32.87852ms
logger=grafana.update.checker t=2024-02-09T14:23:39.230476254Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001453409s
logger=infra.usagestats t=2024-02-09T14:24:55.617816789Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T14:33:24.46076482Z level=info msg="Completed cleanup jobs" duration=33.392312ms
logger=grafana.update.checker t=2024-02-09T14:33:29.397390762Z level=info msg="Update check succeeded" duration=168.558531ms
logger=plugins.update.checker t=2024-02-09T14:33:29.437195746Z level=info msg="Update check succeeded" duration=185.545258ms
logger=cleanup t=2024-02-09T14:43:24.459105712Z level=info msg="Completed cleanup jobs" duration=32.263546ms
logger=grafana.update.checker t=2024-02-09T14:43:39.230065933Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001717491s
logger=cleanup t=2024-02-09T14:53:24.498193806Z level=info msg="Completed cleanup jobs" duration=71.888638ms
logger=grafana.update.checker t=2024-02-09T14:53:39.230580139Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001763095s
logger=infra.usagestats t=2024-02-09T14:54:55.603962394Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T15:03:24.439212731Z level=info msg="Completed cleanup jobs" duration=12.89911ms
logger=grafana.update.checker t=2024-02-09T15:03:39.230581624Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001553423s
logger=cleanup t=2024-02-09T15:13:24.442136797Z level=info msg="Completed cleanup jobs" duration=14.798738ms
logger=grafana.update.checker t=2024-02-09T15:13:29.398209693Z level=info msg="Update check succeeded" duration=169.334368ms
logger=plugins.update.checker t=2024-02-09T15:13:29.455235539Z level=info msg="Update check succeeded" duration=203.566147ms
logger=cleanup t=2024-02-09T15:23:24.43899726Z level=info msg="Completed cleanup jobs" duration=12.375779ms
logger=grafana.update.checker t=2024-02-09T15:23:29.397804767Z level=info msg="Update check succeeded" duration=169.30062ms
logger=plugins.update.checker t=2024-02-09T15:23:29.446364505Z level=info msg="Update check succeeded" duration=193.880982ms
logger=infra.usagestats t=2024-02-09T15:24:55.60702998Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T15:33:24.439308899Z level=info msg="Completed cleanup jobs" duration=12.848148ms
logger=grafana.update.checker t=2024-02-09T15:33:39.230778968Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001592599s
logger=cleanup t=2024-02-09T15:43:24.501817591Z level=info msg="Completed cleanup jobs" duration=75.080422ms
logger=grafana.update.checker t=2024-02-09T15:43:29.412697931Z level=info msg="Update check succeeded" duration=184.311573ms
logger=plugins.update.checker t=2024-02-09T15:43:29.4476121Z level=info msg="Update check succeeded" duration=195.771678ms
logger=cleanup t=2024-02-09T15:53:24.439135775Z level=info msg="Completed cleanup jobs" duration=12.705447ms
logger=grafana.update.checker t=2024-02-09T15:53:29.397833542Z level=info msg="Update check succeeded" duration=169.035389ms
logger=plugins.update.checker t=2024-02-09T15:53:29.440019043Z level=info msg="Update check succeeded" duration=188.161503ms
logger=infra.usagestats t=2024-02-09T15:54:55.604011325Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T16:03:24.468493892Z level=info msg="Completed cleanup jobs" duration=41.487198ms
logger=grafana.update.checker t=2024-02-09T16:03:29.400058745Z level=info msg="Update check succeeded" duration=170.839147ms
logger=plugins.update.checker t=2024-02-09T16:03:29.436424965Z level=info msg="Update check succeeded" duration=184.122242ms
logger=cleanup t=2024-02-09T16:13:24.44185094Z level=info msg="Completed cleanup jobs" duration=14.662733ms
logger=grafana.update.checker t=2024-02-09T16:13:39.231143564Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001853134s
logger=cleanup t=2024-02-09T16:23:24.439238946Z level=info msg="Completed cleanup jobs" duration=12.344428ms
logger=grafana.update.checker t=2024-02-09T16:23:29.396077159Z level=info msg="Update check succeeded" duration=167.778842ms
logger=plugins.update.checker t=2024-02-09T16:23:29.437475323Z level=info msg="Update check succeeded" duration=185.300541ms
logger=infra.usagestats t=2024-02-09T16:24:55.605868156Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T16:33:24.477226331Z level=info msg="Completed cleanup jobs" duration=50.050544ms
logger=grafana.update.checker t=2024-02-09T16:33:39.230807736Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001763942s
logger=cleanup t=2024-02-09T16:43:24.459296971Z level=info msg="Completed cleanup jobs" duration=32.23426ms
logger=grafana.update.checker t=2024-02-09T16:43:39.23013397Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001239257s
logger=cleanup t=2024-02-09T16:53:24.459216328Z level=info msg="Completed cleanup jobs" duration=32.613687ms
logger=grafana.update.checker t=2024-02-09T16:53:39.231187909Z level=error msg="Update check failed" error="failed to get latest.json repo from github.com: Get \"https://raw.githubusercontent.com/grafana/grafana/main/latest.json\": dial tcp: lookup raw.githubusercontent.com: i/o timeout" duration=10.001936621s
logger=infra.usagestats t=2024-02-09T16:54:55.604375891Z level=info msg="Usage stats are ready to report"
logger=cleanup t=2024-02-09T17:03:24.439269067Z level=info msg="Completed cleanup jobs" duration=12.663862ms
logger=grafana.update.checker t=2024-02-09T17:03:29.398095554Z level=info msg="Update check succeeded" duration=168.900707ms
logger=plugins.update.checker t=2024-02-09T17:03:29.432282308Z level=info msg="Update check succeeded" duration=180.021709ms
error from daemon in stream: Error grabbing logs: invalid character '\x00' looking for beginning of value
g
guigui82
Actif
Actif
Messages : 16
Inscription : 08 févr. 2024
Localisation : Montauban
Voiture : Model 3SR+ 2023

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par guigui82 »

et un extrait de la database

Code : Tout sélectionner

2024-02-06 20:50:13.229 UTC [549] ERROR:  duplicate key value violates unique constraint "positions_pkey"
2024-02-06 20:50:13.229 UTC [549] DETAIL:  Key (id)=(1409356) already exists.
2024-02-06 20:50:13.229 UTC [549] STATEMENT:  INSERT INTO "positions" ("date","power","latitude","longitude","odometer","tpms_pressure_fl","tpms_pressure_fr","tpms_pressure_rl","tpms_pressure_rr","battery_heater","battery_heater_on","battery_level","ideal_battery_range_km","outside_temp","rated_battery_range_km","usable_battery_level","car_id","driver_temp_setting","est_battery_range_km","fan_status","inside_temp","is_climate_on","is_front_defroster_on","is_rear_defroster_on","passenger_temp_setting") VALUES ($1,$2,$3,$4,$5,$6,$7,$8,$9,$10,$11,$12,$13,$14,$15,$16,$17,$18,$19,$20,$21,$22,$23,$24,$25) RETURNING "id","passenger_temp_setting","driver_temp_setting","inside_temp","outside_temp","rated_battery_range_km","est_battery_range_km","ideal_battery_range_km","longitude","latitude"
error from daemon in stream: Error grabbing logs: invalid character '\x00' looking for beginning of value
N
Niark
Expert
Expert
Messages : 785
Inscription : 06 août 2022
Localisation : Lyon
Voiture : Modele Y PERF

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Niark »

Comment as-tu fait ton backup et la restauration ?
50k km en TMY Perf Noir/Noir EAP volant sport
Présentation de ma Y Perf - Niark
En ligne
Avatar de l’utilisateur
Tigerbill17
Référent
Référent
Messages : 1850
Inscription : 12 sept. 2023
Localisation : à côté de Royan
Voiture : TMY prop Berlin

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par Tigerbill17 »

Bon, l'origine est ici, dans les logs Teslamate
GET https://owner-api.teslamotors.com/api/1 ... 5738771135 -> 429 (44.841 ms)
2024-02-11 20:59:21.711 [warning] TeslaApi.Error / "Retry later\n"
2024-02-11 20:59:21.712 car_id=1 [error] Error / :unknown
2024-02-11 20:59:51.774 [info] GET https://owner-api.teslamotors.com/api/1 ... 5738771135 -> 429 (54.542 ms)
2024-02-11 20:59:51.774 [warning] TeslaApi.Error / "Retry later\n"

L'appel à l'API Tesla renvoie une erreur, la commande de connexion échoue ( le code de bonne réponse, c'est 200).

Ma première idée, ce serait de recréer des nouveaux Tokens ( Access et Refresh ) et de te reconnecter avec.
g
guigui82
Actif
Actif
Messages : 16
Inscription : 08 févr. 2024
Localisation : Montauban
Voiture : Model 3SR+ 2023

Re: Teslamate sur Raspberry Pi - Tutoriel

Message par guigui82 »

Niark a écrit : 14 févr. 2024 07:52
Comment as-tu fait ton backup et la restauration ?
Comme indiqué en page 1 :
Backup :

Code : Tout sélectionner

sudo docker-compose exec -T database pg_dump -U teslamate teslamate > teslamate.bck
Restauration
:
Restaurer une sauvegarde :

# Arrêter Teslamate :

Code : Tout sélectionner

docker-compose stop teslamate
# Effacer les données et tout réinitialiser :

Code : Tout sélectionner

docker-compose exec -T database psql -U teslamate << .
drop schema public cascade;
create schema public;
create extension cube;
create extension earthdistance;
CREATE OR REPLACE FUNCTION public.ll_to_earth(float8, float8)
    RETURNS public.earth
    LANGUAGE SQL
    IMMUTABLE STRICT
    PARALLEL SAFE
    AS 'SELECT public.cube(public.cube(public.cube(public.earth()*cos(radians(\$1))*cos(radians(\$2))),public.earth()*cos(radians(\$1))*sin(radians(\$2))),public.earth()*sin(radians(\$1)))::public.earth';
.
# Restaurer une sauvegarde :

Code : Tout sélectionner

docker-compose exec -T database psql -U teslamate -d teslamate < teslamate.bck
# Redémarrer Teslamate :

Code : Tout sélectionner

docker-compose start teslamate
Répondre

Créer un compte ou se connecter pour rejoindre la discussion

Vous devez être membre pour pouvoir répondre

Créer un compte

Vous n‘êtes pas membre ? Inscrivez-vous pour rejoindre notre communauté
Les membres peuvent créer leurs propres sujets et s‘abonner à des sujets
C‘est gratuit et cela ne prend qu‘une minute

Inscription

Se connecter