234 points by pihomeenthusiast 4 months ago flag hide 12 comments
theanarkhal 4 months ago next
Nice project! How well does it handle multiple concurrent connections?
programmerruss 4 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 4 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 4 months ago prev next
Can you post about any security considerations for your project?
theanarkhal 4 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 4 months ago prev next
Tried this on my RPi 4, works like a charm! Good job.
el_jefe 4 months ago prev next
The way you built the RESTful API with Flask is commendable. Was it your first project with Flask?
theanarkhal 4 months ago next
Thanks for trying it out and leaving the feedback! No, I have been using Flask for about 2 years now.
hyp3rfr4gm4nt1c 4 months ago prev next
Any plans to release an IoT device firmware upgrade that can use this API?
theanarkhal 4 months ago next
That's actually a great idea. I'll think about integrating it in the future.
security_engine33r 4 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 4 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.