Sorry for stupid question, but I try make home automation system with PN532 (only ordered, waitng for it).. I'm prepairing it for "plug&play"..
Alredy done:
Installed Gpio, Python, Sqlite3, Libnfc - configured and build..
I have only one question.. how to prepair sql table?
I want use this python program:
https://github.com/xillwillx/RFPiD/blob/master/rfid.py
I could create "sqlite3 DoorDatabase.db" but what to do next? how to name colums - I know ho name it (http://www.raspberrypiblog.com/2012/11/ ... on-pi.html), but don't know exactly name..
know somebody read it from rfid.py ? which one is first col, which second, naming etc?
And one more question.. could I run more python programs at the same time on one raspi?
one for door locking and another for pir sensors and lighting?
Thank you!