Raspberry Pi wifi door control and HVAC control scripts
We use a raspberry pi attached to a piface to control a magnetic lock at the Forge. Members come to the space, join the members wireless network and then access a node.js page from their phone that causes these scripts to fire. The scripts talk to our Ubiquiti access point to determine what device is inside the space and to write alerts into slack regarding the status of the door, who unlocked it, etc.
-
Use
setup.py
to install dependencies. You may need to prependsudo
, depending on your system's configuration.python setup.py develop
-
Use
setup.py
to run tests.python setup.py test
Installing the package via setup.py
is not yet supported.
Copyright (C) 2016 Inventor Forge Makerspace
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.