85 Commits

Author SHA1 Message Date
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
fe6540ca3d added static assets on webserver 2025-07-30 22:13:52 +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
5a2beb1fb3 deleted todos for rtc 2025-07-28 22:03:19 +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
Philipp_EndevourOS
4dda9548d3 added some todos 2025-07-27 02:48:27 +02:00
Philipp_EndevourOS
46e207bd2a addded lvl shifter init 2025-07-27 02:24:29 +02:00
Philipp_EndevourOS
8cb118e0ee added i2c init 2025-07-27 01:30:38 +02:00
Philipp_EndevourOS
9b4df77112 added hardware files (rtc and fram) 2025-07-27 00:32:41 +02:00
23bb1126a6 implemented channel for TallyIDs 2025-07-26 19:18:14 +02:00
4b39529a65 first implementation of IDStore and IDmapping 2025-07-26 18:30:45 +02:00
c91d2f070f improved project structure and hardware init 2025-07-26 16:53:23 +02:00
2e6094ea11 added esp bootload 2025-07-24 17:37:59 +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
6b9ef20187 fixed pm3 exit code 2025-06-05 14:46:33 +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
3b3633f6f5 added activity_fairing for webserver 2025-06-01 15:41:24 +02:00
c04e0ab897 changed return type on Hotspot trait 2025-06-01 15:39:59 +02:00
2150fff6a5 gracefull shutdown of SSE loop 2025-05-27 14:06:38 +02:00
427153a614 gracefull shutdown of PM3 2025-05-27 13:55:06 +02:00
fe4efdda81 pm3: id must be read twice
to avoid false reads
2025-05-22 15:52:22 +02:00
64299960a5 kill orphaned pm3 on startup 2025-05-22 15:51:55 +02:00
ed0942e332 moved systemd service file 2025-05-22 15:50:48 +02:00
d039925a6e use name mapping when exporting to csv 2025-05-20 13:29:17 +02:00
a25d26473a prevent adding empty id mapping 2025-05-20 13:19:27 +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
2f02e283c0 added api route for id mappings
also need rocket json feature
2025-05-16 17:47:08 +02:00
907b758626 added IDMapping to IDStore 2025-05-16 17:46:24 +02:00
de7c260e14 added id to name mapping module 2025-05-16 17:46:06 +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
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