Erreur lors de l'exécution du cron DateTime

Bonjour,

J’ai installé et activé le plugin il y a 4 jours.
Je pense avoir suivi la procédure pour la configuration du token (Appareils & Localisations) et tout semble fonctionne a priori même si je n’ai pas encore eu le temps l’exploiter à fond.

J’ai cependant un message d’erreur lors des cron et lors du refresh manuel :

[2021-11-13 15:13:36][ERROR] : Erreur exécution de la commande [Buanderie][Lave-linge][Rafraîchir les infos] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-13 15:13:47][ERROR] : Erreur exécution de la commande [Buanderie][Lave-linge][Rafraîchir les infos] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-13 15:14:15][ERROR] : Erreur exécution de la commande [Buanderie][Lave-linge][Changer le cycle de lavage] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-13 21:30:12][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-14 01:07:27][ERROR] : Erreur exécution de la commande [Buanderie][Lave-linge][Activer le lavage à bulles] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-14 01:13:24][ERROR] : Erreur exécution de la commande [Buanderie][Lave-linge][Allumer] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-14 01:15:05][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-14 01:15:13][ERROR] : Erreur exécution de la commande [Buanderie][Lave-linge][Activer le lavage à bulles] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-14 16:45:06][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-14 16:50:05][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-14 16:55:05][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-14 17:00:12][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-14 17:05:05][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-15 00:04:51][ERROR] : Erreur exécution de la commande [Buanderie][Lave-linge][Rafraîchir les infos] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-15 00:05:07][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-15 00:10:06][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-15 22:54:38][ERROR] : Erreur exécution de la commande [Buanderie][Lave-linge][Rafraîchir les infos] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-15 22:54:53][ERROR] : Erreur exécution de la commande [Buanderie][Lave-linge][Rafraîchir les infos] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-15 22:55:05][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-15 22:55:22][ERROR] : Erreur exécution de la commande [Buanderie][Lave-linge][Rafraîchir les infos] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-15 23:10:05][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-16 08:55:05][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-16 08:55:34][ERROR] : Erreur exécution de la commande [Lave-Linge][Lave-linge][Rafraîchir les infos] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-16 09:00:06][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database

J’ai pensé à une mauvaise configuration de l’équipement localisation mais j’y retrouve bien les coordonnées GPS et le time zone.

J’ai fais quelques recherches sur la communauté mais je n’ai pas trouvé d’info sur ce type d’erreur.

Ai-je loupé une étape dans l’installation ?

Par avance merci de vos conseils et éclairages.

Bonjour.

J’ai déjà corrigé le problème dans un correctif en préparation.
Il devrait sortir ce soir, je pense.

@nlpl14, dis-moi si la dernière beta corrige bien ton problème.

Bonjour,
Je viens de faire la maj et tout est rentré dans l’ordre.
Merci @Flobul

Salut
Il y a eu une nouvelle mise à jour today [v1.03 (2021-11-18 01:06:43)] et le souci est réapparu après un refresh des infos :frowning:

Mise à jour effectuée vers 16h30

[2021-11-16 09:05:05][ERROR] : Erreur lors de l'exécution du cron DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-16 09:48:27][ERROR] : La syntaxe de la requête est erronée.
[2021-11-18 16:33:41][ERROR] : Erreur exécution de la commande [Lave-Linge][Lave-linge][Rafraîchir les infos] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-18 16:33:51][ERROR] : Erreur exécution de la commande [Lave-Linge][Lave-linge][Rafraîchir les infos] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-18 16:35:04][ERROR] : Erreur : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database
[2021-11-18 16:37:29][ERROR] : Erreur exécution de la commande [Lave-Linge][Lave-linge][Rafraîchir les infos] : DateTime::__construct(): Failed to parse time string (Empty) at position 0 (E): The timezone could not be found in the database

Salut.

Etrange, la màj de ce matin n’était que sur des traductions.

Peux-tu me dire la valeur des 2 commandes :

  • LogicalId : main::execute::remainingTime; Nom : Temps restant
  • Logical ID main::washerOperatingState::completionTime; Nom : Fin de programme

Désolé mais je ne suis pas trop initié …
Comment dois-je executer ces commandes ?
en paramètre de l’action « Executer une commande » ?

Dans configuration de commande par exemple:

Je n’ai pas ces commandes :frowning:

Aucune des deux ?

Envoie-moi tes infos brutes.

infos brutes LL.txt (20,4 Ko)

en te remerciant encore

L’une est bien présente.
La deuxième devrait être créée lors du lancement d’une machine.
(Temps restant et Fin de programme)

"washerOperatingState" : {
"completionTime" : {
"value" : "2021-11-19T00:02:09Z",
"timestamp" : "2021-11-18T21:18:09.493Z"
},

Relance une synchronisation.

au temps pour moi

je cherchais (Ctrl+F) Temps restant et Fin de programme

en fait c’est « délai restant » et " heure de fin"
j’ai supprimé et re synchronisé

merci de ton aide et désolé pour le malentendu

Je testerai avec tes données brutes à l’occase sur ma maquette pour reproduire.

Testé et reproduit.
Correction envoyé en beta.

C’est tout bon.
Plus d’erreur lors du refresh.

Merci