1
0
mirror of https://github.com/binary-kitchen/doorlockd synced 2024-12-22 18:34:25 +01:00
Commit Graph

23 Commits

Author SHA1 Message Date
90528bb7d9 doorlockd.py: Add RS232 logic
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-19 18:47:04 +01:00
6961821c04 re-add scripts
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-19 18:42:34 +01:00
79599e2a45 doorlockd.py: Add lock/unlock scripts
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 22:04:14 +01:00
8cdf528032 update TODOs
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 18:36:05 +01:00
67879a659d doorlockd: add simulation mode
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 18:32:15 +01:00
bccd9432af Add TODOs 2018-03-18 18:32:11 +01:00
9cf149c12f doorlockd.py: add proper license header
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 18:32:11 +01:00
56ac823852 display: Add request_status timer
This will cyclically reset the status to Open/Close, independent of incoming
messages

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 18:21:32 +01:00
a6e117ffd9 doorlockd.py: move emit status to Logic class
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:48:06 +01:00
93a34b7755 display: improve java script
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:48:06 +01:00
78a0cc300f display: reindent
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:48:06 +01:00
1268e28a5d layout: improve design
All pages now user twitter bootstrap layout.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:22:39 +01:00
84e9440ed6 doorlockd.py: remove argparse dependency
by replacing its logic with flask's config parameter file.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:22:39 +01:00
3e8fce5b81 display: improve page layout
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:22:39 +01:00
5fe83e59f9 config: serve local bootstrap and jquery copies
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:22:39 +01:00
a21beefe74 doorlockd.py: switch to config file
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:22:39 +01:00
ae0d4f5aa2 socketio: deliver local static copy of scripts
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:22:39 +01:00
746b68eaf1 index: don't show labels for buttons
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:22:39 +01:00
1b59b273d8 index: refactor render_field to render_field_label
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:22:39 +01:00
ef198b74c0 index: reindent lines
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 17:22:39 +01:00
1c13e58f02 Clean up imports
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 15:49:35 +01:00
8bf57eaf54 display: allow only local connections
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 15:49:35 +01:00
eeafa6350f Reimplement doorlockd in python
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-03-18 15:49:32 +01:00