Les commandes des clims ne fonctionne plus

Bonjour et meilleurs vœux pour 2025.
Ca fait 3 jours environ que les commandes marche arrêt ne fonctionnent plus correctement. Peut-être d’autres personnes ont le même problème.
Les logs Toshibaac

0013|[2025-01-15 09:00:03] ERROR  : Exception reçu par le démon : Send command to demon error :  on setState : byte format requires -128 <= number <= 127
0014|[2025-01-15 09:00:03] ERROR  : Exception reçu par le démon : Send command to demon error :  on setState : byte format requires -128 <= number <= 127
0015|[2025-01-15 09:02:39] ERROR  : Exception reçu par le démon : Send command to demon error :  on setState : byte format requires -128 <= number <= 127

Les logs Toshibaac_daemon :

0974|File "/var/www/html/plugins/toshibaac/resources/toshibaacd/toshibaacd.py", line 81, in read_socket
0975|raise Exception(" on " + method + " : " + str(e))
0976|Exception:  on setState : byte format requires -128 <= number <= 127
0977|[2025-01-15 09:02:39] ERROR  : Exception => 254
0978|Traceback (most recent call last):
0979|File "/var/www/html/plugins/toshibaac/resources/toshibaacd/toshibaacd.py", line 75, in read_socket
0980|ToshibaApp.create_task_setter_on_device(
0981|File "/var/www/html/plugins/toshibaac/resources/toshibaacd/toshibaconnect/toshibaac.py", line 75, in create_task_setter_on_device
0982|task = self.exec_async_fx(self.__change_info_on_device, setter, devicesId, val)
0983|File "/var/www/html/plugins/toshibaac/resources/toshibaacd/toshibaconnect/toshibaac.py", line 37, in exec_async_fx
0984|return asyncio.run_coroutine_threadsafe(fonction(*args), self.loop).result()
0985|File "/opt/pyenv/versions/3.10.15/lib/python3.10/concurrent/futures/_base.py", line 458, in result
0986|return self.__get_result()
0987|File "/opt/pyenv/versions/3.10.15/lib/python3.10/concurrent/futures/_base.py", line 403, in __get_result
0988|raise self._exception
0989|File "/var/www/html/plugins/toshibaac/resources/toshibaacd/toshibaconnect/toshibaac.py", line 83, in __change_info_on_device
0990|await eval("device." + setter)(val)
0991|File "/var/www/html/plugins/toshibaac/resources/venv/lib/python3.10/site-packages/toshiba_ac/device/__init__.py", line 269, in set_ac_status
0992|await self.send_state_to_ac(state)
0993|File "/var/www/html/plugins/toshibaac/resources/venv/lib/python3.10/site-packages/toshiba_ac/device/__init__.py", line 170, in send_state_to_ac
0994|future_state = ToshibaAcFcuState.from_hex_state(self.fcu_state.encode())
0995|File "/var/www/html/plugins/toshibaac/resources/venv/lib/python3.10/site-packages/toshiba_ac/device/fcu_state.py", line 281, in encode
0996|encoded = self.ENCODING_STRUCT.pack(
0997|struct.error: byte format requires -128 <= number <= 127
0998|During handling of the above exception, another exception occurred:
0999|Traceback (most recent call last):
1000|File "/var/www/html/plugins/toshibaac/resources/toshibaacd/toshibaacd.py", line 81, in read_socket
1001|raise Exception(" on " + method + " : " + str(e))
1002|Exception:  on setState : byte format requires -128 <= number <= 127
1003|During handling of the above exception, another exception occurred:
1004|Traceback (most recent call last):
1005|File "/var/www/html/plugins/toshibaac/resources/toshibaacd/toshibaconnect/toshibaac.py", line 127, in equipmentChanged
1006|res[k] = eval("data.fcu_state." + v)
1007|File "<string>", line 1, in <module>
1008|File "/var/www/html/plugins/toshibaac/resources/venv/lib/python3.10/site-packages/toshiba_ac/device/fcu_state.py", line 467, in ac_outdoor_temperature
1009|return ToshibaAcFcuState.AcTemperature.from_raw(self._ac_outdoor_temperature)
1010|File "/var/www/html/plugins/toshibaac/resources/venv/lib/python3.10/site-packages/toshiba_ac/device/fcu_state.py", line 44, in from_raw
1011|return raw_to_temp[raw]
1012|KeyError: 254
1013|[2025-01-15 09:34:19] ERROR  : State reload failed:
1014|[2025-01-15 09:35:02] ERROR  : State reload failed:
1015|[2025-01-15 10:04:24] ERROR  : State reload failed:
1016|[2025-01-15 10:32:34] ERROR  : State reload failed:
1017|[2025-01-15 11:01:21] ERROR  : State reload failed:

La seule façon de couper mes clims est d’utiliser l’application Toshiba.
Merci d’avance pour votre aide.

Salut,

j’étais en train de bosser sur une version pour mettre à jour la librairie utilisée et fixer un potentiel probleme mémoire

tente avec la version beta qui vient d’etre mise a dispo sur le market pour voir

ET relance l’install des dépendances

Salut,
Toujours aussi rapide à répondre. Je viens forcé mes clim « Marche et Arrêt » et à priori ça à l’air de fonctionner. Pas de log d’erreur pour le moment. Cool d’être aussi réactif. Par contre je suis toujours en Debian 10 avec un Proxmox 6 et j’attends que mon fils me mettent tous cela à jour.

dis donc 2 mise à jour à faire là, proxmox est en 8 today… !

:hot_face: Je sais très bien, je n’arrête pas de le relancer, mais ce n’est pas gagné et personnellement je ne me sent pas capable de remettre tous cela en place. J’ai 4 VM qui sont obsolète…

J’ai à nouveau c’est log, je ne sais pas si c’est important:

0000|[2025-01-15 13:04:15] ERROR  : State reload failed:
0001|[2025-01-15 13:04:31] ERROR  : State reload failed:
0002|[2025-01-15 13:06:55] ERROR  : State reload failed:
0003|[2025-01-15 13:34:47] ERROR  : State reload failed:
0004|[2025-01-15 13:36:04] ERROR  : State reload failed:
0005|[2025-01-15 14:34:20] ERROR  : State reload failed:
0006|[2025-01-15 15:06:11] ERROR  : State reload failed:
0007|[2025-01-15 15:06:40] ERROR  : State reload failed:
0008|[2025-01-15 16:03:18] ERROR  : State reload failed:
0009|[2025-01-15 16:07:03] ERROR  : State reload failed:

Bonsoir

Je suis avec Docker et Debian Buster

Tout fonctionne correctement chez moi


Informations Jeedom

Core : 4.4.19 (master)
DNS Jeedom : non

Plugin : Toshiba AC Control
Version : 2024-10-03 16:09:26 (stable)
Statut Démon : Démarré - (2025-01-13 11:40:08)

Informations complémentaires

Version OS : debian 10.13
Version PHP : 7.3.31-1~deb10u7

Salut,
Tout à l’air de fonctionner correctement mise à part les logs comme mentionner plus haut.
Merci c’est nickel :+1:. Je ferme le sujet.

Bonjour,

même soucis de mon côté, a priori à cause de la valeur négative de la température extérieure. Corrigé avec la Beta également.

Par contre j’ai aussi des error dans les Logs:

[2025-01-16 07:32:34] DEBUG  : Sending GET to https://mobileapi.toshibahomeaccontrols.com/api/AC/GetCurrentACState
[2025-01-16 07:32:34] DEBUG  : Response code: 403
[2025-01-16 07:32:34] INFO  : Known exception occurred. Will retry after backoff.
[2025-01-16 07:32:39] INFO  : Timeout exception. Will retry after backoff.
[2025-01-16 07:33:08] DEBUG  : Sending PINGREQ
[2025-01-16 07:33:08] DEBUG  : Received PINGRESP
[2025-01-16 07:33:24] DEBUG  : Sending GET to https://mobileapi.toshibahomeaccontrols.com/api/AC/GetCurrentACState
[2025-01-16 07:33:24] DEBUG  : Response code: 403
[2025-01-16 07:33:24] INFO  : Known exception occurred. Will retry after backoff.
[2025-01-16 07:33:29] INFO  : Timeout exception. Will retry after backoff.
[2025-01-16 07:33:36] DEBUG  : Sending GET to https://mobileapi.toshibahomeaccontrols.com/api/AC/GetCurrentACState
[2025-01-16 07:33:36] DEBUG  : Response code: 403
[2025-01-16 07:33:36] INFO  : Known exception occurred. Will retry after backoff.
[2025-01-16 07:33:41] INFO  : Timeout exception. Will retry after backoff.
[2025-01-16 07:33:57] DEBUG  : Sending POST to https://mobileapi.toshibahomeaccontrols.com/api/AC/GetGroupACEnergyConsumption
[2025-01-16 07:33:57] DEBUG  : Response code: 403
[2025-01-16 07:33:57] INFO  : Known exception occurred. Will retry after backoff.
**[2025-01-16 07:34:02] ERROR  : Fetching energy consumption failed:**
[2025-01-16 07:34:06] DEBUG  : Sending GET to https://mobileapi.toshibahomeaccontrols.com/api/AC/GetCurrentACState
[2025-01-16 07:34:06] DEBUG  : Response code: 403
[2025-01-16 07:34:06] INFO  : Known exception occurred. Will retry after backoff.
[2025-01-16 07:34:08] DEBUG  : Sending PINGREQ
[2025-01-16 07:34:08] DEBUG  : Received PINGRESP
[2025-01-16 07:34:11] INFO  : Timeout exception. Will retry after backoff.
[2025-01-16 07:34:17] DEBUG  : Sending GET to https://mobileapi.toshibahomeaccontrols.com/api/AC/GetCurrentACState
[2025-01-16 07:34:17] DEBUG  : Response code: 403
[2025-01-16 07:34:17] INFO  : Known exception occurred. Will retry after backoff.
[2025-01-16 07:34:22] INFO  : Timeout exception. Will retry after backoff.
[2025-01-16 07:35:08] DEBUG  : Sending PINGREQ
[2025-01-16 07:35:08] DEBUG  : Received PINGRESP
[2025-01-16 07:35:35] DEBUG  : Sending GET to https://mobileapi.toshibahomeaccontrols.com/api/AC/GetCurrentACState
[2025-01-16 07:35:35] DEBUG  : Response code: 403
[2025-01-16 07:35:35] INFO  : Known exception occurred. Will retry after backoff.
**[2025-01-16 07:35:40] ERROR  : State reload failed:**
[2025-01-16 07:36:02] DEBUG  : Sending GET to https://mobileapi.toshibahomeaccontrols.com/api/AC/GetCurrentACState
[2025-01-16 07:36:02] DEBUG  : Response code: 403
[2025-01-16 07:36:02] INFO  : Known exception occurred. Will retry after backoff.
**[2025-01-16 07:36:07] ERROR  : State reload failed:**
[2025-01-16 07:36:08] DEBUG  : Sending PINGREQ
[2025-01-16 07:36:08] DEBUG  : Received PINGRESP
[2025-01-16 07:36:32] DEBUG  : Sending GET to https://mobileapi.toshibahomeaccontrols.com/api/AC/GetCurrentACState
[2025-01-16 07:36:32] DEBUG  : Response code: 403
[2025-01-16 07:36:32] INFO  : Known exception occurred. Will retry after backoff.
**[2025-01-16 07:36:37] ERROR  : State reload failed:**
[2025-01-16 07:37:08] DEBUG  : Sending PINGREQ
[2025-01-16 07:37:08] DEBUG  : Received PINGRESP
[2025-01-16 07:38:08] DEBUG  : Sending PINGREQ
[2025-01-16 07:38:08] DEBUG  : Received PINGRESP

ça ressemble à des non réponses du serveur Toshiba …

Salut, la version béta d’aujourd’hui est la même qu’hier?

oui j ai juste changé un niveau de log :wink:

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