1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-23 02:34:27 +01:00
Commit Graph

106 Commits

Author SHA1 Message Date
Ralf Ramsauer
cf536ca889 Activated the 'status' functionality
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:09 +02:00
Ralf Ramsauer
d979310893 Added emergency unlock scripts 2015-09-25 00:50:09 +02:00
Ralf Ramsauer
7b659a832e Outsourced timer and external interupt initialization
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:09 +02:00
Ralf Ramsauer
133a8729ac added more documentation
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:09 +02:00
Ralf Ramsauer
13980b895a avr-code now uses doorcmds.h
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:09 +02:00
Ralf Ramsauer
5808ef8677 doorlockd now uses doorcmds.h 2015-09-25 00:50:09 +02:00
Ralf Ramsauer
aaf47ab0c7 Added common file doorcmds.h
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:09 +02:00
Ralf Ramsauer
5af124000b Improved door responses 2015-09-25 00:50:09 +02:00
Ralf Ramsauer
ad77fbe86b Typo 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
2a6ea56e74 Added schematics of controller board
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
9141b502c3 Readded PRE/POST Lock scripts 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
73868b2d4d Rewrite of Door class
Removed old epaper display and added stub for qrcode printing.

Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
b4d6a46025 removed wiringPi 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
07cddb29f8 Added new AVR software 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
6b8e45ef42 Updated board pinout 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
bd9e3b4e8d Added Pinout of new Board
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
4d965f3614 Added proper json-cpp include directory 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
bf4f74bfea Inversed logic of Doorlight
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
392763f720 Added mutex to door.cpp to prevent lock collissions
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
3a50f596b5 Fixed Button-close bug
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
4dbce13cb0 Added logging to close request on button press
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
d933bc9821 Automatically turn on blue light on unlocking
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
a965779f3c Removed Door State from Logic
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
d163e826ea Switched button type from open to close
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
6a8e917ede Added Lock Button
Signed-off-by: Ralf Ramsauer <ralf@ramses-pyramidenbau.de>
2015-09-25 00:50:08 +02:00
Ralf Ramsauer
33df5aa8f9 Improved klackering mechanism for AC 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
052f2ff071 Removed LDAP TLS environment variable 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
139e5a8409 Added Pre/Post Lock/Unlock Scripts 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
4a170a934c New LDAP default URI 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
c37f66ff91 Improved Epaper QR code generation 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
e6cba90b37 Added comments 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
13b392fc8b Improved klackering mechanism 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
0a87796c60 Added support for Kitchen Doorlight 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
4d61754fc1 small bugfix 2015-09-25 00:50:08 +02:00
Ralf Ramsauer
07b6eeed2e Removed authentication feature 2015-09-25 00:50:07 +02:00
Ralf Ramsauer
8b2a0ea4ca Only listening on localhost 2015-09-25 00:50:07 +02:00
Ralf Ramsauer
f99ed93f29 Removed authenticated feature. Authentication is now required 2015-09-25 00:50:07 +02:00
Ralf Ramsauer
c8dccd7bfc Added Light-off feature 2015-09-25 00:50:07 +02:00
Ralf Ramsauer
21abbffeea Fixed small bug 2015-09-25 00:50:07 +02:00
Ralf Ramsauer
4f2625525f added rest of the software 2015-09-25 00:50:07 +02:00
Ralf Ramsauer
f04b45e3eb Added Schnapper functionality, added i2c and spi load stuff 2015-09-25 00:50:07 +02:00
Ralf Ramsauer
ae8f2b83b5 Added proper daemonization 2015-09-25 00:50:04 +02:00
Ralf Ramsauer
de6008e28b Added proper daemonization 2015-05-14 15:32:55 +02:00
Ralf Ramsauer
164df6604c Added proper daemonization 2015-05-14 15:30:55 +02:00
Ralf Ramsauer
c392f79237 defaulted token timout to 5 minutes 2015-05-13 14:50:44 +00:00
Ralf Ramsauer
14448e01a2 Added more cmdline arguments 2015-05-13 14:40:30 +00:00
Ralf Ramsauer
1b1ffe54f3 Exchanged FIFO by TCP socket 2015-05-13 14:20:12 +00:00
Ralf Ramsauer
b369bdbb70 Added program options 2015-05-12 15:35:57 +00:00
Ralf Ramsauer
409a31ddf2 Removed old stuff 2015-05-12 14:10:26 +00:00
Ralf Ramsauer
e0ebdc63f2 Added error codes 2015-05-12 13:59:04 +00:00