Open arnolds77 opened 2 weeks ago
Same problem here. I lose authentication every time HA is restarted.
can confirm, this is an issue for me too
There is a problem.
Same problem here
Same issue
Hi
custom_components/smartlife
is a custom component, which is not maintained by the HA core project. Please report your issue to the maintainer or in the source repository of this custom component.
Thx 👍
btw. "same here" comments does not help, just use the thumbs up (+1) reaction on the initial post
I found a workaround on another forum. If you add a new device, the integration asks again for the usercode and generates a new QR code to scan. It does create a new hub entry, but you can just delete the old one it seems.
I found a workaround on another forum. If you add a new device, the integration asks again for the usercode and generates a new QR code to scan. It does create a new hub entry, but you can just delete the old one it seems.
this works until you HA reboots or updates, then you have to create a new hub/scan/etc and delete the old one. Several similar issues reported on Tuya & Smartlife, which I understand are integrated in HA Core at this point.
The problem
My VM is planned to restart every day. After the latest update the SMARTLIFE integration gets disconnected and I have to cancel it and re-install/reconfigure. The error I get is: Error setting up entry arxxxxxxxx@gmail.com for smartlife. Anyone can help?
What version of Home Assistant Core has the issue?
What was the last working version of Home Assistant Core?
core-2024.6.2
What type of installation are you running?
Home Assistant OS
Integration causing the issue
SMARTLIFE
Link to integration documentation on our website
No response
Diagnostics information
Registratore: homeassistant.config_entries Fonte: config_entries.py:594 Prima occorrenza: 02:05:27 (2 occorrenze) Ultima registrazione: 07:07:13
Error setting up entry arxxxxxxxx@gmail.com for smartlife Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/config_entries.py", line 594, 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
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Additional information
No response