Commit Graph

29 Commits

Author SHA1 Message Date
2008c9f999 Fix Docker image
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-24 22:35:23 +03:00
7e1ba5dd4d Merge pull request 'rasmus' (#4) from rasmus/godoor:rasmus into master
Some checks reported errors
continuous-integration/drone Build was killed
continuous-integration/drone/push Build is passing
Reviewed-on: #4
2023-08-17 17:51:37 +00:00
8c14e3bc41 use Duration for doorOpenTime + lint
Some checks failed
continuous-integration/drone/pr Build is failing
2023-08-17 20:45:11 +03:00
e0dacb1e4b update deps 2023-08-17 20:11:06 +03:00
Arti Zirk
647a90c0f2 Enable Wiegand data internal pull-ups
Some checks reported errors
continuous-integration/drone/push Build is failing
continuous-integration/drone Build was killed
Back Door shield needs it as it does not have external pull-ups
2023-08-11 22:09:22 +03:00
Arti Zirk
92469f11b2 Do not error on git describe if tags are missing
Some checks failed
continuous-integration/drone/push Build is failing
2023-08-11 14:35:57 +03:00
a75aeeb8f9 Add Drone config
All checks were successful
continuous-integration/drone/push Build is passing
2023-08-11 14:28:42 +03:00
Arti Zirk
d4f2624635 Fetch tokens after every longpoll close event 2023-08-11 00:57:24 +03:00
Arti Zirk
2259d3ed6b Add build dockerfile 2023-08-10 20:47:03 +03:00
Arti Zirk
8fde62955d Try to staticly build godoor 2023-08-10 20:08:23 +03:00
Arti Zirk
e03bf19427 Retry events poll right away on EOF 2023-08-10 20:07:39 +03:00
Arti Zirk
24ca04b2aa Merge pull request 'Prometheus Metrics' (#2) from prometheus-metrics into master
Reviewed-on: #2
2023-08-10 14:55:47 +00:00
Arti Zirk
22487faf06 Add prometheus metrics 2023-08-07 10:46:31 +03:00
Arti Zirk
3f70299c36 Print version string on startup from git describe 2023-08-06 22:01:25 +03:00
Arti Zirk
fddac32cc7 Define a door name in example .env file 2023-08-06 21:59:45 +03:00
Arti Zirk
74cb7ba215 Add prometheus client library 2023-08-06 21:58:41 +03:00
Arti Zirk
a6b928dc0e Allow configuring more options via ENV 2023-08-06 16:48:17 +03:00
Arti Zirk
a9e008b7f2 Quality of life improvements 2023-08-03 11:03:43 +03:00
Arti Zirk
41725fdc4a Log number of card hashes we got from server 2023-08-02 09:53:35 +03:00
Philipp Wellner
9b1eba127a
Checkpoint 5 2023-07-30 12:38:47 +02:00
Arti Zirk
9116635efc Checkpoint 4 2023-07-30 01:03:52 +03:00
Arti Zirk
172dbcc210 Checkpoint 3 2023-07-29 20:04:19 +03:00
Arti Zirk
2521a811f5 Checkpoint 2 2023-07-29 01:22:26 +03:00
Arti Zirk
d1348d1af9 Checkpoint 2023-07-28 16:09:54 +03:00
Arti Zirk
846a610c58 Works sorta 2022-04-03 20:34:46 +03:00
Arti Zirk
092e44cfa5 Turn openDoor into value receiver 2022-04-03 19:30:56 +03:00
Arti Zirk
fcd8d3fbfd Make code look more like go 2022-04-03 19:27:16 +03:00
Arti Zirk
be22e89f66 Read many cards 2022-04-03 16:50:21 +03:00
Arti Zirk
ffa2fc96d7 Init 2022-04-02 21:14:21 +03:00