Erreur d'envoi vers Somfy / Tahoma

Hello,

Est-ce que quelqu’un a remarqué des soucis vers les serveurs Somfy les temps-ci ?
Parfois lors de commandes j’ai :

[2021-11-03 08:00:18][DEBUG] : send command up to io://1237-7252-1660/5254378
[2021-11-03 08:00:18][DEBUG] : {"label":"up","actions":[{"deviceURL":"io:\/\/1237-7252-1660\/5254378","commands":[{"name":"up"}]}]}
[2021-11-03 08:00:18][DEBUG] : send command: ko: 401. Will retry
[2021-11-03 08:00:18][DEBUG] : logon with xxx and cookie /tmp/tahomacurlcookie
[2021-11-03 08:00:28][DEBUG] : new cookie - logon: ko: 401()
[2021-11-03 08:00:28][DEBUG] : return: HTTP/1.1 401  Date: Wed, 03 Nov 2021 07:00:27 GMT Server: overkiz Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked  {"errorCode":"AUTHENTICATION_ERROR","error":"Bad credentials"}
[2021-11-03 08:00:28][DEBUG] : return cancelExecutions: ()
[2021-11-03 08:00:28][DEBUG] : set cancelExecutions: ()
[2021-11-03 08:00:28][DEBUG] : send command up to io://1237-7252-1660/1863134
[2021-11-03 08:00:28][DEBUG] : {"label":"up","actions":[{"deviceURL":"io:\/\/1237-7252-1660\/1863134","commands":[{"name":"up"}]}]}
[2021-11-03 08:00:28][DEBUG] : send command: ko: 401. Will retry
[2021-11-03 08:00:28][DEBUG] : logon with xxx and cookie /tmp/tahomacurlcookie
[2021-11-03 08:00:38][DEBUG] : new cookie - logon: ko: 401()
[2021-11-03 08:00:38][DEBUG] : return: HTTP/1.1 401  Date: Wed, 03 Nov 2021 07:00:37 GMT Server: overkiz Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked  {"errorCode":"AUTHENTICATION_ERROR","error":"Bad credentials"}
[2021-11-03 08:00:38][DEBUG] : return cancelExecutions: ()
[2021-11-03 08:00:38][DEBUG] : set cancelExecutions: ()
[2021-11-03 08:00:38][DEBUG] : send command up to io://1237-7252-1660/9572117
[2021-11-03 08:00:38][DEBUG] : {"label":"up","actions":[{"deviceURL":"io:\/\/1237-7252-1660\/9572117","commands":[{"name":"up"}]}]}
[2021-11-03 08:00:38][DEBUG] : send command: ko: 401. Will retry
[2021-11-03 08:00:38][DEBUG] : logon with xxx and cookie /tmp/tahomacurlcookie
[2021-11-03 08:00:48][DEBUG] : new cookie - logon: ko: 401()
[2021-11-03 08:00:48][DEBUG] : return: HTTP/1.1 401  Date: Wed, 03 Nov 2021 07:00:48 GMT Server: overkiz Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked  {"errorCode":"AUTHENTICATION_ERROR","error":"Bad credentials"}
[2021-11-03 08:00:48][DEBUG] : return cancelExecutions: ()
[2021-11-03 08:00:48][DEBUG] : set cancelExecutions: ()
[2021-11-03 08:00:48][DEBUG] : send command up to io://1237-7252-1660/11045014
[2021-11-03 08:00:48][DEBUG] : {"label":"up","actions":[{"deviceURL":"io:\/\/1237-7252-1660\/11045014","commands":[{"name":"up"}]}]}
[2021-11-03 08:00:48][DEBUG] : send command: ko: 401. Will retry
[2021-11-03 08:00:48][DEBUG] : logon with xxx and cookie /tmp/tahomacurlcookie
[2021-11-03 08:00:49][DEBUG] : new cookie - logon: ko: 401()
[2021-11-03 08:00:49][DEBUG] : return: HTTP/1.1 401  Date: Wed, 03 Nov 2021 07:00:48 GMT Server: overkiz Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked  {"errorCode":"AUTHENTICATION_ERROR","error":"Bad credentials"}
[2021-11-03 08:00:49][DEBUG] : return cancelExecutions: ()
[2021-11-03 08:00:49][DEBUG] : set cancelExecutions: ()
[2021-11-03 08:00:49][DEBUG] : send command up to io://1237-7252-1660/13841355
[2021-11-03 08:00:49][DEBUG] : {"label":"up","actions":[{"deviceURL":"io:\/\/1237-7252-1660\/13841355","commands":[{"name":"up"}]}]}
[2021-11-03 08:00:49][DEBUG] : send command: ko: 401. Will retry
[2021-11-03 08:00:49][DEBUG] : logon with xxx and cookie /tmp/tahomacurlcookie
[2021-11-03 08:00:49][DEBUG] : new cookie - logon: ko: 401()
[2021-11-03 08:00:49][DEBUG] : return: HTTP/1.1 401  Date: Wed, 03 Nov 2021 07:00:48 GMT Server: overkiz Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked  {"errorCode":"AUTHENTICATION_ERROR","error":"Bad credentials"}
[2021-11-03 08:00:49][DEBUG] : return cancelExecutions: ()
[2021-11-03 08:00:49][DEBUG] : set cancelExecutions: ()
[2021-11-03 08:00:49][DEBUG] : send command up to io://1237-7252-1660/5913809
[2021-11-03 08:00:49][DEBUG] : {"label":"up","actions":[{"deviceURL":"io:\/\/1237-7252-1660\/5913809","commands":[{"name":"up"}]}]}
[2021-11-03 08:00:49][DEBUG] : send command: ko: 401. Will retry
[2021-11-03 08:00:49][DEBUG] : logon with xxx and cookie /tmp/tahomacurlcookie
[2021-11-03 08:00:49][DEBUG] : new cookie - logon: ko: 401()
[2021-11-03 08:00:49][DEBUG] : return: HTTP/1.1 401  Date: Wed, 03 Nov 2021 07:00:48 GMT Server: overkiz Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked  {"errorCode":"AUTHENTICATION_ERROR","error":"Bad credentials"}
[2021-11-03 08:00:49][DEBUG] : return cancelExecutions: ()
[2021-11-03 08:00:49][DEBUG] : set cancelExecutions: ()
[2021-11-03 08:00:49][DEBUG] : send command up to io://1237-7252-1660/11133158
[2021-11-03 08:00:49][DEBUG] : {"label":"up","actions":[{"deviceURL":"io:\/\/1237-7252-1660\/11133158","commands":[{"name":"up"}]}]}
[2021-11-03 08:00:49][DEBUG] : send command: ko: 401. Will retry
[2021-11-03 08:00:49][DEBUG] : logon with xxx and cookie /tmp/tahomacurlcookie
[2021-11-03 08:00:49][DEBUG] : new cookie - logon: ko: 401()
[2021-11-03 08:00:49][DEBUG] : return: HTTP/1.1 401  Date: Wed, 03 Nov 2021 07:00:48 GMT Server: overkiz Strict-Transport-Security: max-age=31536000; includeSubDomains Content-Type: application/json;charset=UTF-8 Transfer-Encoding: chunked  {"errorCode":"AUTHENTICATION_ERROR","error":"Bad credentials"}
[2021-11-03 08:00:49][DEBUG] : return cancelExecutions: ()
[2021-11-03 08:00:49][DEBUG] : set cancelExecutions: ()

Genre 1 fois par semaine à 8h.
Merci.

Hello @Alderaan

Je te confirme que j’ai ça en ce moment, quand j’envoi la fermeture des volets en auto le soir.
En isolé, ça fonctionne pour l’instant, mais quand c’est le lot de volet, ça marche quand ça veut.
Peut-être une politique encore modifiée côté Somfy, j’ai modifié le refresh du plugin via le moteur de tâche, je suis passé de 15 à 60, on verra si ça aide.

Ok merci.
Idem je surveille on verra.

Alors j’ai l’erreur quand même qui remonte 3 fois en moyenne par jour.
C’est quoi exactement la ligne que tu as modifié dans le moteur ?, parce que mon cron n’a pas de date de dernier lancement.
Sinon il faut que j’aille voir en CLI.

Tks

Hello @Alderaan, J’ai mis en place un scénario sur l’application somfy afin d’y mettre tous les volets en fermeture.

Depuis, j’ai bien mes volets fermés le soir. et je n’ai plus ce message que j’avais quasi en continue.
Mais j’ai également eu des mises à jour proposées par l’application Somfy pour mettre à jour la tahoma, que je n’avais pas mis à jour depuis un certain temps.

Je ne sais pas ce qui a corriger le problème, la mise à jour tahoma, ou le passage en scénario.

Concernant le changement du timing c’est ici :

Réglages/Système/Moteur de tâches

Bon j’avais pas la main sur le cron, bizarre, je l’ai recréer avec /60.
Idem j’ai fait aussi l’update côté Somfy et j’ai fait un scénario chez eux pour voir. Toujours le souci, après je ne suis pas embêté pour l’instant, l’erreur ne se produit pas pendant mes horaires d’ouverture.

A voir si qq1 trouve un autre truc.