Beginnings of my code, built in QPython3 on my phone. Uses threading to constantly ask for PIN and flips the "armed" bit when it's entered correctly. Spams "system armed" in console as a temporary indicator of "armed =1" Also logs all attempts and arm/disarm events to txt file. Seems to work so far. Rest of my script will be built upon this.

py - 2.83 kB - 04/03/2016 at 06:43