jasonacox / tinytuya

Python API for Tuya WiFi smart devices using a direct local area network (LAN) connection or the cloud (TuyaCloud API).
MIT License
1.03k stars 183 forks source link

HTTP basic authentication with server.py #536

Open lkakas opened 2 months ago

lkakas commented 2 months ago

Hello

Is it possible to add some http basic auth to the server.py code? I plan to integrate Tuya devices with TinyTuya webserver into my Loxone ecosystem, but I would prefer to do that with some level of security.

Thanks.

jasonacox commented 2 months ago

Great feature request and it makes sense. Ideally it would include setting up a self-signed https cert and endpoint as well. I'll add this to my list unless someone else wants to tackle it. 😁