Commit Graph

118 Commits

Author SHA1 Message Date
f5d2e46015 switch to nlohmann json 2025-12-28 13:07:22 +01:00
39f47a4862 logger updates 2025-12-27 14:56:28 +01:00
d4c7ffdfc1 prettier logger 2025-12-22 14:06:40 +01:00
d5df47b24e make logging to file optional 2025-12-22 12:45:41 +01:00
dcd338ac75 we gotta move this to a sane location 2025-12-14 15:53:01 +01:00
7aa4c13824 commency 2025-12-14 15:50:18 +01:00
fbf2a64684 use pointers to strings 2025-12-14 15:14:23 +01:00
bc3f911f60 get rid of read to str 2025-12-14 15:02:23 +01:00
a271711441 rename funcs, move get_val 2025-12-14 14:45:06 +01:00
Drath Vader
ae916d47e3 use string pointers, no copy 2025-11-28 01:43:59 +01:00
Drath Vader
47c45e8d9e more readable this way 2025-11-27 20:20:59 +01:00
Drath Vader
f86d40241e i was never checking the return value of write 2025-11-27 15:23:17 +01:00
Drath
19a801459c we deleted that too 2025-11-02 15:15:22 +01:00
Drath
fa0eeabf72 cleanup, refactor 2025-11-02 14:44:33 +01:00
Drath
1689bf1b35 bro... 2025-11-02 14:30:15 +01:00
Drath
352166cbe8 description, also make it 64 bit 2025-11-02 12:53:48 +01:00
Drath
d7c12ca14d ! NEW FUNC ! (macro actually) 2025-11-02 12:37:08 +01:00
Drath
0ba09a57e4 have disks have its own struct 2025-10-29 18:37:53 +01:00
Drath
25cee5f669 cleanup lcddisplay a lil 2025-10-29 18:29:13 +01:00
Drath
68cd4b0bfe clangify includes 2025-10-29 01:26:47 +01:00
Drath Vader
019a25eda2 log in local time 2025-10-24 15:10:32 +02:00
Drath Vader
3ccaa513b3 c++ify time/date, clean up includes while we're at it 2025-10-24 15:10:14 +02:00
Drath Vader
5e42c45e28 add network monitoring 2025-10-24 14:04:27 +02:00
Drath Vader
6e4e23e097 clang was complaining about LOG::DBG, ig thats fair 2025-10-24 12:26:51 +02:00
Drath Vader
47e217c0b6 enable logging 2025-10-24 12:24:58 +02:00
Drath Vader
75e8147f90 remove unused comments 2025-10-24 12:13:44 +02:00
Drath
563fe0d2e1 Merge branch 'main' of https://github.com/elektroencefalografista/linuxSmartie 2025-10-23 13:04:01 +02:00
Drath
69b0291205 open and close funcs 2025-10-23 13:02:45 +02:00
Drath
54bbc8c117 disable logs 2025-10-23 13:01:51 +02:00
Drath Vader
90581aa8fd stole a trick from btop to measure power 2025-10-21 15:30:22 +02:00
Drath
b48835e8d5 comment out unused sensors for SPEED 2025-10-07 18:30:38 +02:00
Drath
729b980f4e make the chip configrabe 2025-10-07 18:30:18 +02:00
Drath
9ec37e2f14 turns out we can read motherboard sensors 2025-10-07 18:25:40 +02:00
Drath
6f09d9a9eb optimizations of utils 2025-10-06 19:36:46 +02:00
drath
2544e15018 split up mutexes for performance 2025-10-05 21:53:42 +02:00
Drath
0bdc5e5472 add logging to file 2025-10-05 16:32:13 +02:00
Drath
7e7d8d2aa1 logging lib 2025-10-03 16:57:38 +02:00
Drath
c6175fbd99 more flexible, slight sanity fixes 2025-10-03 15:54:58 +02:00
Drath
d95461f0cc cecntering func 2025-10-03 15:54:10 +02:00
drath
5df1045855 remove refactor note 2025-10-01 22:50:58 +02:00
drath
3015d8f972 try to move away from hardcoded values, see if i can make it support different displays 2025-10-01 22:50:32 +02:00
Drath
a9afb46c19 overhaul of sys 2025-09-22 22:17:51 +02:00
Drath
1998fb6953 rename gpu struct 2025-09-22 21:11:42 +02:00
Drath
f4fc1e1dc7 clean up, rename cpu sensors struct 2025-09-22 21:10:35 +02:00
Drath
f7cb927a7e make it pointy, idk if i like the names 2025-09-22 21:08:41 +02:00
Drath
f72a6ca139 gpu refactor 2025-09-22 21:00:40 +02:00
Drath
e54befda99 slightly cursed but we save 160 bytes 2025-09-18 23:58:47 +02:00
Drath
e2895ff80f cleanup cont. 2025-09-18 23:01:42 +02:00
Drath
3da583e7eb lil cleanup 2025-09-18 22:19:18 +02:00
Drath
329837f92d lil refactor 2025-09-14 21:33:58 +02:00