52 Commits

Author SHA1 Message Date
Philipp_EndevourOS
3117c55b1c LED is working and implement in feedback 2025-08-13 02:05:49 +02:00
Philipp_EndevourOS
593d98df74 test LED Array works.. 2025-08-13 01:51:00 +02:00
Philipp_EndevourOS
1ae5250449 reworked RTC without alarms and without own thread 2025-08-04 18:12:46 +02:00
Philipp_EndevourOS
2f502e908e rtc is synchronized with compile time. start pub sub approach to share time 2025-08-02 00:39:48 +02:00
Philipp_EndevourOS
5950279dc4 buzzer without pwm, and feedback with embassy Sync. Error when more then 4 tasks spawn 2025-08-01 16:42:14 +02:00
Philipp_EndevourOS
161ebf9bd2 added buzzer and rtc. rtc freeze the system, bevore interrupt can be initilized.. 2025-07-30 18:50:47 +02:00
Philipp_EndevourOS
c1b54920ff added comment for Pinout 2025-07-28 22:22:07 +02:00
Philipp_EndevourOS
d5c20bf348 worted on rtc task, still not tested 2025-07-28 17:53:26 +02:00
Philipp_EndevourOS
49027fed99 redesigned dir structure for rust 2018 style guide. made (untested) rtc funtion 2025-07-28 17:25:39 +02:00
43e964b5a0 init v2 2025-07-24 17:22:50 +02:00
09725c1e04 moved related files into own module 2025-06-26 12:19:40 +02:00
3e079c905f improved readability 2025-06-25 20:09:00 +02:00
Philipp
eaca9d8cec code clean up 2025-06-18 15:35:33 +02:00
Philipp
cd713d5849 added passive status led + startup sound 2025-06-17 18:06:23 +02:00
3c1290aec3 added error state flag 2025-06-05 14:34:23 +02:00
4781570f8e use anyhow for errors 2025-06-02 15:12:59 +02:00
efd096a149 refactored hardware components
detach trait from mock and hardware implementation
2025-06-02 14:46:24 +02:00
dc8fd22f0f refactored feedback & its depending stuff
- buzzer is just modulate_tone
- led is just turn on and off
- handle feedback logic to feeback file
2025-06-01 23:26:15 +02:00
7a438d1a9f refactored main function
- moved logger into its own file
- moved code from main into its own function
2025-06-01 18:03:16 +02:00
3fe2f3f376 disable hotspot when no activity on webserver 2025-06-01 15:42:13 +02:00
3f7f209c91 implemented server side event stream for ids
- changed channel to brodcast
- added route /api/idevent for SSE stream
2025-05-18 19:55:25 +02:00
907b758626 added IDMapping to IDStore 2025-05-16 17:46:24 +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
0617092f54 refactored led & buzzer feedback in main 2025-05-12 22:13:41 +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
PC_WSL
2da2eb9583 added TODO and status LED 2025-05-12 15:33:15 +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
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
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
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
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
6496f671d9
added logger
LOG_LEVEL env var is now supported
2025-04-26 18:54:46 +02:00
a45cab0b4b
removed some debug lines 2025-04-24 11:00:46 +02:00
Philipp
de5487fc6d added precompiled files, autorun service and changed tokyo buffer to one 2025-04-23 20:12:57 +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
Philipp
cc42e4b231 added arm target in .toml
fixed some shit
2025-04-16 17:32:45 +02:00
Philipp
095887e13d merge 2025-04-16 16:35:34 +02:00
eb39b09632
Switched to tokio and added webserver 2025-04-16 16:28:45 +02:00
Philipp
ad009f987d added buzzer 2025-04-16 16:10:42 +02:00
9a26dad304
use channels in pm3 function 2025-04-16 15:33:49 +02:00