Simple way to restart devices if they reset. #1090
Unanswered
iotinkognito
asked this question in
Q&A
Replies: 3 comments 3 replies
-
Home Assistant has the ability to restart an integration. However, there are issues with hung connections if your devices are not responding. Best solution is to not turn off your smart devices. Setting the IP address and protocol version explicitly will also help them recover quicker than if they are set to Auto. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Yeah but you seem to have to do that restart on each device.
They have manually set ip addresses. I have manually added them to HA for testing before I switch over my 130 Tuya devices.
They still respond from cloud through Smart life or Tuya Cloud, it's like they also maintain their local connection but can no longer be controlled from HA unless I goto settings -> devices and services -> Tuya Local - > Scroll to devices click the burger menu and press reload. After that it's all good almost instantly.
Not turning them off is an option but not a solution for off-grid the milliwatts add up!
…________________________________
From: Jason Rumney ***@***.***>
Sent: Tuesday, September 12, 2023 12:15:26 pm
To: make-all/tuya-local ***@***.***>
Cc: iotinkognito ***@***.***>; Author ***@***.***>
Subject: Re: [make-all/tuya-local] Simple way to restart devices if they reset. (Discussion #1090)
Home Assistant has the ability to restart an integration. However, there are issues with hung connections if your devices are not responding.
Best solution is to not turn off your smart devices.
Setting the IP address and protocol version explicitly will also help them recover quicker than if they are set to Auto.
—
Reply to this email directly, view it on GitHub<#1090 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATTKFENXI4TZOL25L4HF3NLXZ7OVHANCNFSM6AAAAAA4UHWSPM>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
-
Perhaps I found the wrong error there. I have two downlights, both with fixed addresses. The downlights are on a physical light switch. If I turn off the switch the lights only sometimes don't require a restart on the individual device to be controlled by Tuya Local. When not working in Tuya Local they always work via cloud integration or via smart life. If I go to the device itself and click reload it always comes back. I was hoping there is a simple way to just restart the whole integration rather than having to go to each individual device and manually reloading them.
[Image]
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Jason Rumney ***@***.***>
Sent: Tuesday, October 3, 2023 6:17:54 AM
To: make-all/tuya-local ***@***.***>
Cc: iotinkognito ***@***.***>; Author ***@***.***>
Subject: Re: [make-all/tuya-local] Simple way to restart devices if they reset. (Discussion #1090)
The only reason the receive loop terminates is if the integration has received a shutdown notification from HA. It would be good to understand why that happens (and it certainly would not be correct to try to restart the integration when HA is trying to shutdown).
—
Reply to this email directly, view it on GitHub<#1090 (reply in thread)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ATTKFEPZP3GQMLGUX3KFLFDX5M4RFAVCNFSM6AAAAAA4UHWSPOVHI2DSMVQWIX3LMV43SRDJONRXK43TNFXW4Q3PNVWWK3TUHM3TCNRZG43DK>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a number of down lights that if they are physically switched off don't reconnect locally unless I restart them individually. I am wondering is there an easy way to restart the entire integration and all entities etc.?
I am also thinking trying to to template a automation that if any Tuya local device is disconnected and reconnected to my ubiquiti wifi network it will automatically restart that tuyalocal integration.
Thoughts?
Beta Was this translation helpful? Give feedback.
All reactions