jasonacox / tinytuya

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

HTTP basic authentication with server.py #536

Open lkakas opened 3 days ago

lkakas commented 3 days 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 3 days 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. 😁