Smartthing API return code 0

Hello,

Plusieurs fois par jours l’API de smartthings retourne un code zero qui est remonté comme un erreur:

0224|[2022-02-22 12:10:03]DEBUG : Starting the cron */5 * * * *
0225|[2022-02-22 12:10:03]DEBUG : getHealth : start
0226|[2022-02-22 12:10:03]DEBUG : sendRequest - URL : https://api.smartthings.com/v1/devices/2b4eaa7f-2af4-2fce-571c-781b8b3075d9/health METHODE : GET
0227|[2022-02-22 12:10:04]DEBUG : getHealth : end
0228|[2022-02-22 12:10:04]DEBUG : refresh : start
0229|[2022-02-22 12:10:04]DEBUG : sendRequest - URL : https://api.smartthings.com/v1/devices/2b4eaa7f-2af4-2fce-571c-781b8b3075d9/status METHODE : GET
0230|[2022-02-22 12:10:05]DEBUG : L1138Commande info à renseigner cmd - dryerCycle and value - {"value":"Table_03_Course_16","timestamp":"2022-02-09T11:55:56.265Z"}
0231|[2022-02-22 12:10:05]DEBUG : Commande inexistante : referenceTable
0232|[2022-02-22 12:10:05]DEBUG : Valeur de : completionTime = 19:41:11 11/02/2022
0233|[2022-02-22 12:10:05]DEBUG : checkCreateAndUpdateValues : start
0234|[2022-02-22 12:10:05]DEBUG : checkCreateAndUpdateValues : end
0235|[2022-02-22 12:10:05]DEBUG : decodeExecuteData Fin du décodage
0236|[2022-02-22 12:10:06]DEBUG : Commande inexistante : referenceTable
0237|[2022-02-22 12:10:06]DEBUG : refresh : end
0238|[2022-02-22 12:10:06]DEBUG : getHealth : start
0239|[2022-02-22 12:10:06]DEBUG : sendRequest - URL : https://api.smartthings.com/v1/devices/eb854ae1-4279-24cc-f41a-3a84eb5df9cc/health METHODE : GET
0240|[2022-02-22 12:10:17]DEBUG : getHealth : end
0241|[2022-02-22 12:10:17]DEBUG : refresh : start
0242|[2022-02-22 12:10:17]DEBUG : sendRequest - URL : https://api.smartthings.com/v1/devices/eb854ae1-4279-24cc-f41a-3a84eb5df9cc/status METHODE : GET
0243|[2022-02-22 12:10:18]DEBUG : Valeur de : completionTime = 19:11:36 11/02/2022
0244|[2022-02-22 12:10:18]DEBUG : L1138Commande info à renseigner cmd - washerCycle and value - {"value":"Table_02_Course_1C","timestamp":"2022-02-09T11:58:09.034Z"}
0245|[2022-02-22 12:10:18]DEBUG : Commande inexistante : referenceTable
0246|[2022-02-22 12:10:18]DEBUG : checkCreateAndUpdateValues : start
0247|[2022-02-22 12:10:18]DEBUG : checkCreateAndUpdateValues : end
0248|[2022-02-22 12:10:18]DEBUG : decodeExecuteData Fin du décodage
0249|[2022-02-22 12:10:18]DEBUG : Commande inexistante : referenceTable
0250|[2022-02-22 12:10:18]DEBUG : refresh : end
0251|[2022-02-22 12:10:18]DEBUG : refresh : start
0252|[2022-02-22 12:10:18]DEBUG : sendRequest - URL : https://api.smartthings.com/v1/locations/76e9c710-eba4-47d6-ba36-a5c25329817f METHODE : GET
0253|[2022-02-22 12:10:18]DEBUG : refresh : end
0254|[2022-02-22 12:10:18]DEBUG : getHealth : start
0255|[2022-02-22 12:10:18]DEBUG : sendRequest - URL : https://api.smartthings.com/v1/devices/2e00e0d9-f952-f445-2c62-071b793d6dce/health METHODE : GET
0256|[2022-02-22 12:10:19]DEBUG : getHealth : end
0257|[2022-02-22 12:10:19]DEBUG : refresh : start
0258|[2022-02-22 12:10:19]DEBUG : sendRequest - URL : https://api.smartthings.com/v1/devices/2e00e0d9-f952-f445-2c62-071b793d6dce/status METHODE : GET
0259|[2022-02-22 12:10:29]DEBUG : La requête vers https://api.smartthings.com/v1/devices/2e00e0d9-f952-f445-2c62-071b793d6dce/status a retourné un code d'erreur 0 résultat =
0260|[2022-02-22 12:10:29]ERROR : Erreur inconnue. Code 0.
0261|[2022-02-22 12:10:29]DEBUG : refresh : end

Une idée de comment resoudre le probleme?

Bonjour.

Je suppose que tu es en stable du plugin. v0.996 ?

J’ai « corrigé » cela dans la beta.
En soit, ça n’est pas un problème, simplement que le serveur n’était pas accessible à ce moment. Ca arrive parfois.

Oui je suis en stable. Tres bien, j’attend la mise à jour et j’ignore les erreurs en attendant :slight_smile:

Merci beaucoup

Ce sujet a été automatiquement fermé après 24 heures suivant le dernier commentaire. Aucune réponse n’est permise dorénavant.