Script does no longer work
Closed this issue · 7 comments
ha1fdan commented
python .\print-local-keys.py
Please put your Tuya/Ledvance username: xxxxxxxx@gmail.com
Please put your Tuya/Ledvance password:
device name: Smart Plug 1
device id: bf94c09abf90xxxxxxx
local key: hGwPLA)T_Z%F>{PL
device name: Smart Plug 2
device id: bf9772ae0daxxxxxxx
local key: '!}{g82vEr^E`4&f
Press Enter to continue...
ha1fdan commented
I can control my smart plugs via the app
FlagX commented
@ha1fdan, you printed the local keys here. So I would say the script has worked as intended?
ha1fdan commented
Yes but the keys are encrypted in some way, and homeassistant won't accept the keys as the script print them.
FlagX commented
They look pretty similar to what I would get for my lamps (16 chars, alphanumeric with special characters) and for me it still works. Any error message or hints in the logs of home assistant?
mafen commented
works just fine for me
ha1fdan commented
Okay, let me try again tomorrow.
ha1fdan commented
Hey, you know what? It was my home assistant that was bad! Not your program, thanks so much👍