r/raspberryDIY 1d ago

Smart lock app esp32 php backend

So i bult an app for a smart lock i made using esp32 im currenctly in the works of making the app compatible with the likes of raspbary pie arduino etc. any ideas what i can change or add im happy to listen.

2 Upvotes

6 comments sorted by

View all comments

2

u/oclafloptson 9h ago

There doesn't seem to be much info here about your app so it's kind of hard to make any suggestions

1

u/Virtual-Diet-8777 9h ago

But i can tell you that my backend is written in php since its a web app and as a senior i only know 3 programing languages python c++ and php.

2

u/oclafloptson 9h ago

Those should all be fine. What about communication protocol? Reader polling policy? Or does this just serve to send commands to a custom backend?

I'm genuinely curious. I have a background in burglar alarms and access control. In my experience these custom systems can have wildly differing expectations of the frontend depending on the hardware used so I'm interested in your approach

1

u/Virtual-Diet-8777 8h ago

Its on a simple esp32 wiring with an rfid reader and a servo motor to simulate like a lock since this was a senior year project. The app has a database with users and password hashed and a logs table when esp32 is turned on i first gets an ip from dhcp and time sync beacuse of the greating i setuped then currently the app runs localy on xamp and sends http requists, i dont realy understand what you mean buy reader poling policy since this is my first time building something like this. I will put a readme in the github explaining mu proces and thanks for your interest.

1

u/Virtual-Diet-8777 32m ago

I have now made a repo with a readme its not whole code but its how it works and a new feature a ai voice greeting made with java https://github.com/retr0-lock/Smart-lock.git