In the "hardware.py" you need to change the lock and unlock functions to the functions you want and then you need to add these functions into "box.py" where you find box.lock() or box.unlock().
Laurens


Code: Select all
cd /usr/lib/python2.7/lib-dynload
ls *date*Code: Select all
laurens@RPi2/usr/lib/python2.7/lib-dynload $ ls *date*
datetime.soCode: Select all
#!/usr/bin/env pythonCode: Select all
sudo apt-get update && sudo apt-get upgrade