6ed0f49cce
Use Zoho for auth
2023-02-04 16:29:33 -05:00
Anna Schumaker
bc6740ca63
Post to slack when somebody enters the space
...
But only the first time they enter that day.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2020-08-30 16:31:09 -04:00
Anna Schumaker
4145e5dd6a
Add missing "self" argument to Serial.reset_input_buffer()
...
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2017-06-19 15:59:39 -04:00
Anna Schumaker
ff381ba87c
pySerial no longer has a flushInput() function
...
It is now called reset_input_buffer()
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2016-01-20 13:10:10 -05:00
Anna Schumaker
238da432fb
Simulator can recycle keys
...
Rather than always generating a new key, let's sometimes recycle a key
value to test caching.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2016-01-12 09:54:47 -05:00
Anna Schumaker
48904c47fa
Remove simulator/doors.py
...
This was a symlink used during development of the simulator, and is no
longer necessary.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-23 11:15:30 -04:00
Anna Schumaker
3879e5e814
simulator: Add an RFID reader exception
...
So we can test what happens if the Serial library has an error. I also
make exceptions less likely to happen.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-23 10:53:05 -04:00
Anna Schumaker
40ee611f33
Use GPIO.HIGH and GPIO.LOW for ON and OFF
...
It's even more obvious than 1 and 0!
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-23 10:32:21 -04:00
Anna Schumaker
3ef9283d6f
simulator: Add a function for reloading the simulator
...
This lets me update the doors.py file without needing to exit the Python
interpreter.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-23 10:20:10 -04:00
Anna Schumaker
c877f6db00
Simulator should occasionally throw errors
...
This lets me test LED blinking code.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-22 21:10:37 -04:00
Anna Schumaker
8faf31c86f
Create a door controller simulator
...
The simulator fakes up some libraries so that the main door controller
script can be tested without needing a Raspberry Pi.
Signed-off-by: Anna Schumaker <Anna.Schumaker@Netapp.com>
2015-04-22 20:47:11 -04:00