63 Commits

Author SHA1 Message Date
PC_WSL
08152cd4f9 moved 3d_print directory 2025-05-20 16:28:26 +02:00
PC_WSL
f3bab32cae added 3d print files 2025-05-20 13:02:32 +02:00
0f7fdfa222 updated README with hotspot config 2025-05-13 17:26:00 +02:00
64a50d434b implemented mocking of rpi hardware
buzzer,led & hotspot got traits and a mock version of it. Based on the
flag the real or mock version is used.
2025-05-13 17:19:45 +02:00
31f65261df pm3_mock.sh output special ID on SIGUSR1
for testing the hotspot
2025-05-13 12:01:52 +02:00
9ca3d8384f pm3: don't inherit stdin 2025-05-13 11:07:27 +02:00
0617092f54 refactored led & buzzer feedback in main 2025-05-12 22:13:41 +02:00
7225643296 improved error handling in buzzer and led 2025-05-12 22:12:26 +02:00
47f19f3c54 moved TallyID into it's own file
Tally id now ignores tha case since it's basicly a hex value as a
string. Reason for that is that if a user inputs an id.
2025-05-12 21:35:20 +02:00
b6b66a7e5b added HOTSPOT_IDS as an env var to enable hotspot with 2025-05-12 21:15:27 +02:00
56981d5f23 improved hotspot functions
with better error handeling & logging
2025-05-12 21:14:43 +02:00
PC_WSL
2da2eb9583 added TODO and status LED 2025-05-12 15:33:15 +02:00
PC_WSL
b4a50ba136 fixed timings for LED 2025-05-12 15:30:49 +02:00
PC_WSL
a92192a54a improved buzzer 2025-05-12 15:30:24 +02:00
Psenfft
15927b1842
Update README.md 2025-05-08 16:52:36 +02:00
PC_WSL
ee4726d5a2 rewrited buzzer for 2,5kHz Buzzer and use PWM
icreased SPI frequency to 3.8MHz
2025-05-08 15:58:47 +02:00
Psenfft
b3b0176b46
Update README.md
added instruction to enable PWM
2025-05-08 15:57:15 +02:00
f8a648bd5a updated README 2025-05-05 15:56:05 +02:00
271a535cb9 added missing rgb dep 2025-05-05 15:25:34 +02:00
75e0734e2b improved Color enum 2025-05-05 15:22:38 +02:00
PC_WSL
8fd8081ced fixed some buzzer timings 2025-05-05 14:46:17 +02:00
01454a018d fixed buzzer use in tokio thread 2025-05-05 14:39:13 +02:00
b416b41040 improved gpio buzzer 2025-05-05 13:36:53 +02:00
17a66e26cb made buzzer async 2025-05-05 13:12:52 +02:00
1ba74be096 fixed merge errors 2025-05-05 13:04:00 +02:00
PC_WSL
e14f703a76 added led ws 2812 and buzzer stuff 2025-05-05 12:42:51 +02:00
f3c4e9884e
updated README with env vars 2025-04-29 13:58:44 +02:00
727d801849
use HTTP_PORT env var for webserver port. Defaults to 80 now 2025-04-28 14:20:06 +02:00
c91ec8076e
use the tokio fs in id store
außerdem "readed_string" also bitte
2025-04-27 19:48:50 +02:00
2b469d5b78
removed unused pm3_mock import 2025-04-27 15:55:52 +02:00
84a4e8dbae
added a simple pm3 mock script for testing
use the PM3_BIN env var to use it
2025-04-27 15:51:44 +02:00
6ad018db7a
use tokios command crate instead of the std one
also removed pm3_mock as it is no longer needed
2025-04-27 15:51:07 +02:00
5e82036458
made logging less verbose 2025-04-27 15:49:45 +02:00
39746f59f7
moved store saving to main 2025-04-27 15:08:27 +02:00
fda61c1a5a
minor improvements in pm3.rs
- use trace instead of debug
- use a loop instead of while true
- ? operator on child.wait()
2025-04-27 13:35:33 +02:00
8aa6714697
save store on new id 2025-04-27 13:16:23 +02:00
57af495ac6
load store file on startup 2025-04-27 12:14:56 +02:00
0195bb3666
added some documentation 2025-04-26 19:22:13 +02:00
6496f671d9
added logger
LOG_LEVEL env var is now supported
2025-04-26 18:54:46 +02:00
e77ee9c8a3
added hotspot functions
WIP
2025-04-25 16:04:42 +02:00
a45cab0b4b
removed some debug lines 2025-04-24 11:00:46 +02:00
6292f0c444
fixed missing executable bit in pre-compiled 2025-04-24 10:59:32 +02:00
Philipp
de5487fc6d added precompiled files, autorun service and changed tokyo buffer to one 2025-04-23 20:12:57 +02:00
ccd453cd59
add option to set pm3 binary 2025-04-23 16:54:11 +02:00
1d6a142178
added favicon 2025-04-22 12:05:12 +02:00
72871cd823
download csv button now works 2025-04-22 12:03:40 +02:00
0f189b8e98
CSV generation in the webserver 2025-04-16 23:02:28 +02:00
Philipp
880e8f24a7 workday ending 2025-04-16 20:04:55 +02:00
d18b967f39
added export_csv to id_store
Also some fixes and formatting
2025-04-16 18:58:47 +02:00
Philipp
02337225cd Merge branch 'main' of github.com:Djeeberjr/fw-anwesenheit 2025-04-16 17:37:04 +02:00