Proximity sensor as door security system 2

@siddarth.naik : If I am right, you had posted on another thread regarding help that you needed with the UI.

I am guessing that, that’s what you really needed. If that is the case, go to the following thread. I have posted a suggest to solve your problem

If you really want to know how to write, upload and run a python code on the Digital Ocean droplet, you can go through the following project for those details.