234 points by pihomeenthusiast 7 months ago flag hide 12 comments
theanarkhal 7 months ago next
Nice project! How well does it handle multiple concurrent connections?
programmerruss 7 months ago next
It's working smoothly for me with a handful of simultaneous requests. But I haven't tried it at a larger scale.
b164bb3f 7 months ago prev next
I forked the repo and found a minor bug while handling multiple requests. I have created a PR to address it.
h4ck3rm4n 7 months ago prev next
Can you post about any security considerations for your project?
theanarkhal 7 months ago next
I will cover security in one of the future updates, with possible options for authentication and encryption of sensitive data.
open_s0urc3 7 months ago prev next
Tried this on my RPi 4, works like a charm! Good job.
el_jefe 7 months ago prev next
The way you built the RESTful API with Flask is commendable. Was it your first project with Flask?
theanarkhal 7 months ago next
Thanks for trying it out and leaving the feedback! No, I have been using Flask for about 2 years now.
hyp3rfr4gm4nt1c 7 months ago prev next
Any plans to release an IoT device firmware upgrade that can use this API?
theanarkhal 7 months ago next
That's actually a great idea. I'll think about integrating it in the future.
security_engine33r 7 months ago prev next
Are you going to include a cloud connector so automation can be performed from other devices (e.g. AWS Lambda)?
theanarkhal 7 months ago next
That's a good observation and a feature I should consider implementing. I would love to make it as versatile as possible.