Commit Graph

20 Commits

Author SHA1 Message Date
Thomas ed239fb284 Remove socket.io dependency and use http server sent events instead
Signed-off-by: Thomas Schmid <tom@binary-kitchen.de>
2020-11-13 00:05:07 +01:00
Ralf Ramsauer 07a0ac5307 doorstate: reimplement doorstate in python
Furthermore, add initial support for the alarm topic.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2019-06-23 23:17:31 +02:00
Ralf Ramsauer eaf2537d83 Authenticator: automatically choose authentication backend
and test other backends, if one fails.

Written-by: Rudolf Mayerhofer <rm@eightyfive.net>
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
[ralf: also remove the authentication method from any other code path]
2018-12-08 01:29:51 +01:00
Ralf Ramsauer af647c0ae4 scripts: remove wol of cashdesk
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 22:05:55 +02:00
Ralf Ramsauer 55205ad247 doorlockd: First steps towards pydoorlock module
Extract Authenticator platform from doorlockd.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-16 21:24:51 +02:00
Ralf Ramsauer 69cbf48bae Make sounds working again
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-07 03:47:34 +02:00
Ralf Ramsauer 128cc2ced2 scripts: update mqtt topics
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-06 22:19:04 +02:00
Ralf Ramsauer 6a5987e7cb templates: Don't let google try to translate our page
Google tries to autotranslate the page. Avoid this by adding a specific
notranslate meta tag.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-10-06 04:14:34 +02:00
Ralf Ramsauer f5603272d2 doorlockd: frontend: support local authentication
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-18 01:28:34 +02:00
Ralf Ramsauer f6eabcd8cf Parameterise more settings
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-17 19:54:53 +02:00
Ralf Ramsauer 0bf9679eef doorlockd: improve display content
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-13 01:14:22 +02:00
Ralf Ramsauer 3dc71db095 doorlockd: templated: improve layout
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-10 01:32:47 +02:00
Ralf Ramsauer 0b91b84180 doorlockd: templates: replace old QR Token
by a new one, and provide the Google playstore URL.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-10 01:03:34 +02:00
Ralf Ramsauer b7ba8ebe18 doorlockd: templates: fix bug in meta tags
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-08 23:25:03 +02:00
Ralf Ramsauer 2ee9457908 doorlockd: scripts: mqtt: send present status
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-08 23:15:42 +02:00
Ralf Ramsauer f857fffac6 doorlockd: remove nasty flask-bootstrap dependency
Package is no longer officially maintainer, remove the dependency.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-08 02:55:14 +02:00
Ralf Ramsauer f7725bba54 doorlockd: hooks: simplify hooks
and add present state

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-08 00:41:21 +02:00
Ralf Ramsauer 95c35e7c06 Let scriptdir depend on PREFIX
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-05 22:31:37 +00:00
Ralf Ramsauer 60633bbc49 Flask: specify correct root_path
We need that for package installation.

Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-05 22:31:37 +00:00
Ralf Ramsauer e5fb445287 move sound specification from config to source
Signed-off-by: Ralf Ramsauer <ralf@binary-kitchen.de>
2018-09-05 22:18:59 +00:00