Bonjour à tous,
Suite à l’installation de l’intégration « Battery Notes » et/ ou de la dernière mise à jour de HA (2024.5.3), tous les appareils de l’intégration « SmartLife » sont indisponibles suite à un « Echec de la configuration. »
Vu dans le fichier log :
2024-05-12 19:31:54.926 DEBUG (SyncWorker_5) [tuya_sharing] response before decrypt ret = {'code': '1010', 'msg': 'token is expired', 't': 1715535114897, 'tid': '86bb3d4b108511efa6b23afcb5bfedcf', 'success': False}
2024-05-12 19:31:54.926 ERROR (SyncWorker_5) [tuya_sharing] net work error = network error:(1010) token is expired
2024-05-12 19:31:54.971 DEBUG (SyncWorker_5) [tuya_sharing] response before decrypt ret = {'code': '-9999999', 'msg': 'sign invalid', 't': 1715535114943, 'tid': '86c29a8a108511efb2424a20391ad943', 'success': False}
2024-05-12 19:31:54.972 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry XXXX.X@YYYYYYY.fr for smartlife
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 575, in async_setup
result = await component.async_setup_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/smartlife/__init__.py", line 69, in async_setup_entry
await hass.async_add_executor_job(smart_life_manager.report_version, __version__, smart_life_version, sharing_sdk)
File "/usr/local/lib/python3.12/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/tuya_sharing/manager.py", line 69, in report_version
self.user_repository.user_version_report(ha_version, integration_version, sdk_version)
File "/usr/local/lib/python3.12/site-packages/tuya_sharing/user.py", line 46, in user_version_report
self.api.post("/v1.0/m/life/home-assistant/qrcode/versions", None, {
File "/usr/local/lib/python3.12/site-packages/tuya_sharing/customerapi.py", line 192, in post
return self.__request("POST", path, params, body)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/tuya_sharing/customerapi.py", line 121, in __request
raise Exception(f"network error:({ret['code']}) {ret['msg']}")
Exception: network error:(-9999999) sign invalid
Dans « Paramètres - Intégrations - Smartlife », je vois « Echec de la configuration » et les seules actions possibles sont : « Recharger » (aucun effet), « Désactiver » (pas essayé) et "Supprimer (pas essayé non plus !)
La désactivation suivi de la réactivation présentent ils un risque pour Smartlife ?
A la vue de ce problème, j’ai restauré une sauvegarde complète faite avec « Samba backup » la veille avant toute modification.
Et là, stupeur, même problème !
Par avance, merci de votre aide !
System Information
| version |
core-2024.5.3 |
| installation_type |
Home Assistant OS |
| dev |
false |
| hassio |
true |
| docker |
true |
| user |
root |
| virtualenv |
false |
| python_version |
3.12.2 |
| os_name |
Linux |
| os_version |
6.6.29-haos |
| arch |
aarch64 |
| timezone |
Europe/Paris |
| config_dir |
/config |
Home Assistant Community Store
| GitHub API |
ok |
| GitHub Content |
ok |
| GitHub Web |
ok |
| GitHub API Calls Remaining |
5000 |
| Installed Version |
1.34.0 |
| Stage |
running |
| Available Repositories |
1394 |
| Downloaded Repositories |
16 |
Home Assistant Cloud
| logged_in |
false |
| can_reach_cert_server |
ok |
| can_reach_cloud_auth |
ok |
| can_reach_cloud |
ok |
Home Assistant Supervisor
| host_os |
Home Assistant OS 12.3 |
| update_channel |
stable |
| supervisor_version |
supervisor-2024.05.1 |
| agent_version |
1.6.0 |
| docker_version |
25.0.5 |
| disk_total |
13.6 GB |
| disk_used |
6.7 GB |
| healthy |
true |
| supported |
true |
| board |
khadas-vim3 |
| supervisor_api |
ok |
| version_api |
ok |
| installed_addons |
Terminal & SSH (9.14.0), Samba Backup (5.2.0), File editor (5.8.0), Duck DNS (1.17.0), Mosquitto broker (6.4.0), Zigbee2MQTT (1.37.1-1) |
Husqvarna Automower
Dashboards
| dashboards |
14 |
| resources |
5 |
| views |
15 |
| mode |
storage |
Recorder
| oldest_recorder_run |
5 mai 2024 à 08:10 |
| current_recorder_run |
13 mai 2024 à 11:00 |
| estimated_db_size |
182.49 MiB |
| database_engine |
sqlite |
| database_version |
3.44.2 |
Sonoff
| version |
3.7.3 (e240aaf) |
| cloud_online |
9 / 13 |
| local_online |
9 / 9 |