-
Notifications
You must be signed in to change notification settings - Fork 579
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
log error: Connect to 192.168.X.XX failed #928
Comments
I have the samenissue for all devices Same log |
I have the same issue. It always happens when the router is restarted |
Same issue +1 |
Same issue but not on all devices, some devices are the same model, one works and another doesn't. |
Seems if I power cycle the device it connects again. |
Yeah thats true. The devices arent going offline so I still can use them. Its only that the logs are getting more and all the same... |
I have also just updated to HA 2022.7.1 and got the following warning message: Logger: homeassistant.components.number custom_components.localtuya.number::LocaltuyaNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom component author. |
This issue has been reported over here: |
@besiktas97 I just confirmed that 100% of my errors are for IP addresses of devices that are NOT plugged in. So, this appears to be the Local Tuya behavior if a device is Unavailable? That would explain why some folks can power cycle the device and it comes back. So if it's unavailable for any reason, Local Tuya is not catching that error properly. |
Before the mandated Tuya Cloud API pulling in 4.0, I had the ability to disable devices. Now the only option appears to be to delete the device entirely, which I don't want to do, since I'll be using all of these switches for automations starting in October. Any thoughts on how we can temporarily disable the devices so LocalTuya isn't checking them (and hence not throwing this error because the device is unavailable)? |
I didnt do a test on the way you have your environment. I only have bulbs of tuya that I am controlling with local tuya. For now since today looks like everything is working well, except for one bulb. I also red somewhere else that someone has deleted the device(s) from the cloud added again with a new key for local toya. Gonna try this tonight and gonna look at it if its gonna fix it. The error you mentioned before, I am also getting exact the same error. |
I have this issue, only thing is that I see the same logged lines only during the overnight hours other than that I see nothing else, which result in the light being turned one once they reconnect after being unavailable. |
Its maybe not related to this issue, but also getting warning in my log: Logger: homeassistant.components.number custom_components.localtuya.number::LocaltuyaNumber is overriding deprecated methods on an instance of NumberEntity, this is not valid and will be unsupported from Home Assistant 2022.10. Please report it to the custom integration author. |
The problem
I am getting lately Error logs from LocalTuya like below:
Logger: custom_components.localtuya.common
Source: custom_components/localtuya/pytuya/init.py:669
Integration: LocalTuya (documentation, issues)
First occurred: July 1, 2022 at 21:38:48 (270 occurrences)
Last logged: 01:19:49
[bf7...faq] Connect to 192.168.2.19 failed
[416...b61] Connect to 192.168.2.6 failed
[bf5...hpt] Connect to 192.168.2.31 failed
Within the Tuya app the devices are all available and I can use them in the Tuya app like I also can use them through Home Assistant.
Environment
Steps to reproduce
Configuration
configuration.yaml
orconfig_flow
DP dump
Provide Home Assistant taceback/logs
Additional information
The text was updated successfully, but these errors were encountered: