-
Notifications
You must be signed in to change notification settings - Fork 575
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
Problem with switch #201
Comments
I get the same error (see below) logged with 4 different devices (IP addresses edited below). It's always the same 4 devices. My remaining Teckin SmartLife/Tuya compatible smart switches all work fine. The 4 switches logged in the error message below can still be controlled using the SmartLife app. Previously I used the 'localtuya' implementation by mileperhour and all smart plugs seemed to work fine.
|
Observation: controlling the switch in the Home Assistant UI shows the switch going on and then about 1-2seconds later, the switch switches back to off. So presumably, the code is failing to command the switch to go on, and then 1-2seconds later it polls for a status update and that's why the switch in the UI changes back to being off. Obviously if the switch was already on, then switching it off will result in it changing back to on after 1-2seconds. |
I get the same error message using localtuya. I have 7 tuya led light strings, and seem to be consistently having problems with 2, although the others have also had problems. One thing I have noticed is the PING time connecting to the tuya devices. Can start at over 100ms then averages 3-5ms. Is more time needed to allow the device to "wake up" Any suggestions appreciated.
|
I'm getting pretty much the same error. Happens on both master and passive branches. I can access the device with tuya-cli and I have 8 others of the same product id that work fine. It's just the one device that doesn't play nice.
|
Ok, so I have it working for the moment. I relinked the bulb to the Tuya app by turning it on and off 3 times (or whatever your device requires) and added it with the auto scan. This gave it a new key which I had to update in my YAML but once I restarted the device was instantly available. @darth-aragoth and @smithbill17 and @rednep4wd maybe you can try that? |
I have problem with one of my switches - sometimes after reload it works, but usually it's offline. In logs I found error:
The text was updated successfully, but these errors were encountered: