-
Notifications
You must be signed in to change notification settings - Fork 31
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
Unexpected error that causes all my switches not to work #66
Comments
It seems
If everything is good and issue still happen, Reload integration then post you entry diagnostics |
This is the file :) may it gives you more insight. Thank you 😊
…On Mon, 13 Nov 2023, 09:59 Bander, ***@***.***> wrote:
It seems localtuya fails to connect your gateway.
1. Check you gateway IP make sure it didn't check usually localtuya
update ip for you but just make sure.
2. Check the local key of your device go you.
If everything is good and issue still happen, post you entry diagnostics
[image: image]
<https://user-images.githubusercontent.com/46300268/282344703-be7a70f9-86ce-4a39-9360-761426f96b9c.png>
—
Reply to this email directly, view it on GitHub
<#66 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BC2KTREML3MHAF6D6YJUGNLYEF5HZAVCNFSM6AAAAAA7IOD4M6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBXGM3DKMJWGI>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Your reply is empty don't use email. send it through GitHub site. |
config_entry-localtuya--1.json |
but i am able to control through tuya smart app but not through home assistant. Maybe this can give you more info :) |
Please try this.
The issue isn't in your sub devices it's in the gateway that doesn't refuse connection. |
will try now |
sorry but it doesn't work :( |
what else can I do to fix it? Thank you! :) |
okay, i think i will re add the hub instead. it seems to be working for some reason instead. Thanks for your time. Sorry for the trouble :) |
I was looking what might can cause this it still not obvious. the logs reporting it might be local key but from diagnostics the |
I have place static internal IP on my gateway. The IP doesn't change. But when i re setup everything, it is working.. hopefully it will not re occur again. if you need any information, pls let me know, i will provide and hopefully you can find the solution too :) Thanks alot! |
So is it working now? what did you re-setup the integration or devices to gateway? |
I re-setup the integration. I delete the whole hub in localtuya and re add. After which, I have to re setup every device.. haha |
then i re add everything then it works |
Can you redownload the diagnostics again #66 (comment) I want to see if something changed :) |
I assumed if you removed your 1st device if the issue appear again feel free to open issue :D |
Never mind I finally caught it, |
I'm sorry. I don't get it. May I know if I need to do anything on my end? |
No it's fine I think it should be fixed on next update |
Welcome. Pls let me know when you can upload the updated version. Thank you :) |
Can I check if i should re update my localtuya to 3.2.0 or master so the issue above will not occur again? Thank you :) |
I will release 3.2.1 today, HACS should notify you. you can install master but I don't recommend it as HACS will notify you to update on every little the changes of master even if it's break changes. |
hey, 3.2.1 released. I hope this issue don't show up again :) |
Thanks alot! 😇 |
This error originated from a custom integration.
Logger: custom_components.localtuya.common
Source: custom_components/localtuya/core/pytuya/init.py:280
Integration: LocalTuya (documentation, issues)
First occurred: 9:40:29 AM (360 occurrences)
Last logged: 9:47:42 AM
[bfa...bgw] Connect to 192.168.2.96 failed: could not decrypt data: wrong local_key? (exception: Expecting value: line 1 column 1 (char 0))
[bfb...jy3] Connect to 192.168.2.96 failed: could not decrypt data: wrong local_key? (exception: Expecting value: line 1 column 1 (char 0))
[bfb...uhe] Connect to 192.168.2.96 failed: could not decrypt data: wrong local_key? (exception: Expecting value: line 1 column 1 (char 0))
[bf8...xt2] Connect to 192.168.2.96 failed: could not decrypt data: wrong local_key? (exception: Expecting value: line 1 column 1 (char 0))
[bf7...5sb] Connect to 192.168.2.96 failed: could not decrypt data: wrong local_key? (exception: Expecting value: line 1 column 1 (char 0))
I am sorry to disturb. But suddenly I have this coming in after restarting HA. Can I know what can I do to resolve this? Thank you :)
The text was updated successfully, but these errors were encountered: