Open dickydoouk opened 3 years ago
Linking to the issue you opened: https://github.com/fishbigger/TapoP100/issues/8
If we don't see any action on the issue within a couple weeks, I wouldn't mind moving over to your library. I know Home Assistant uses the Python library, so I'd imagine somebody will pick it up.
FYI you can temporarily fix this using a password of length 8. Related issue here: https://github.com/fishbigger/TapoP100/issues/1
It seems the error was just related to an incorrect usage of the library (perhaps because the function name changed after some update?). You can find my fix here: https://github.com/fishbigger/TapoP100/pull/20
I've still been unable to get this adapter to work correctly. I have in the meantime successfully created this alternative adapter https://github.com/dickydoouk/tapo-adapter-ts which utilises https://github.com/dickydoouk/tp-link-tapo-connect as a pure typescript implementation (Sorry I don't know python).
Tried adding my TP-Link Tapo lights using stock raspberry pi WebThings image and latest tapo-adapter.
Brief search on google reveals it maybe an issue with the PyP100 library particularly the function used to export the public RSA Key
Log details below
In the meantime I have had a play creating my own Typescript based library https://github.com/dickydoouk/tp-link-tapo-connect which also has discovery. As you may have guessed I'm not a Python guy (Yet).