Commit graph

101 commits

Author SHA1 Message Date
016c8b8f30
Merge pull request 'extend device recognition and reporting to ha' () from device-recognition into main
Reviewed-on: 
2025-03-25 00:05:51 +00:00
db79f34ce6
extend device recognition and reporting to ha 2025-03-25 01:01:54 +01:00
129a5b4797
Merge pull request 'basic-tests' () from basic-tests into main
Reviewed-on: 
2025-03-24 19:36:19 +00:00
19b4868276
fix check 2025-03-24 20:36:02 +01:00
52d1d236e3
add forgejo workflow 2025-03-24 20:26:26 +01:00
f703bd673b
treefmt: initial run 2025-03-24 20:24:24 +01:00
8ae5b0bcb2
run treefmt on nix flake check 2025-03-24 20:23:00 +01:00
27ca745109
sq button 2025-03-17 00:05:50 +01:00
843e8853c9
add battery sensors only if battery was found 2025-03-16 23:53:33 +01:00
b76cbea3db
invoke sh instead of bash 2025-03-16 23:40:44 +01:00
031b3e73b9
add buttons for suspend, restart and reboot 2025-03-16 21:16:03 +01:00
623e40cdb7
Reorganize files 2025-03-16 19:59:37 +01:00
f0094058ad
flake: switch to nixos unstable 2025-03-16 15:38:00 +01:00
35fb3d2515
move sensor_loop to ha-mqtt-agent 2024-10-22 03:02:30 +02:00
85ef6f46ed
add wifi connected binary sensor 2024-10-22 02:39:42 +02:00
e0dd81df5a
rename brightness mode switch 2024-10-22 02:15:34 +02:00
808a1a4a13
refactor code, fix bug when on devices without display 2024-10-22 01:08:55 +02:00
7ff1c800c0
update to python 3.12, update flake.lock 2024-10-21 23:50:46 +02:00
96ef27da28
write to sys/class/backlight instead of calling light tool 2024-05-21 20:00:24 +02:00
03c48b1217
rename entity 2024-05-21 18:25:34 +02:00
9906b132bd
add wifi signal strength sensor 2024-04-13 00:38:30 +02:00
0bb857a6b3
add last boot sensor 2024-04-12 23:35:14 +02:00
e194bd8c91
update battery sensor logic 2024-04-12 13:41:30 +02:00
051f080f9f
battery: add battery charger attached sensor 2024-04-12 12:18:51 +02:00
2412add32d
reduce brightness loop interval, update brightness value via loop 2024-04-12 11:54:14 +02:00
71abb15568
switch off display via xorg.xset 2024-04-11 22:19:41 +02:00
0d085862db
sq split 2024-04-07 15:02:46 +02:00
66f9be9fd2 use evdev instead of libinput, fix debug logging, fix logic 2024-04-07 14:23:45 +02:00
b1a058deca split up files, drop Sensor class 2024-04-07 14:23:45 +02:00
da5c921f80 add switch entity to toggle always on mode 2024-03-25 19:03:35 +01:00
0fe090ae12 dim screen in a smooth way 2024-03-25 05:27:46 +01:00
2d002979ea test optimize loop 2024-03-25 04:40:00 +01:00
0af6422afd reduce dim / off timeouts 2024-03-25 04:34:15 +01:00
b722e61369 drop display touched sensor 2024-03-25 04:26:30 +01:00
e84fd76ea9 extend sensor loop interval 2024-03-25 04:22:56 +01:00
3dfa2898cc export sensors 2024-03-25 03:55:50 +01:00
f96379afb0 dim / switch off display when not used for 30 secs / 60 secs 2024-03-25 03:26:10 +01:00
9fc2faf16c activate availability topics 2024-03-25 02:46:23 +01:00
41efa3c5ac enable ip-address sensor 2024-03-25 02:45:57 +01:00
414e734dea publish device manufacturer, model, hw_version 2024-03-25 02:38:30 +01:00
8c83eefcaa reorganize code, add support for display touch entity 2024-03-25 00:50:12 +01:00
ffad3ae3dd move code to src subdir 2024-03-22 12:15:07 +01:00
e19c175aef add ip address sensor 2024-03-22 11:23:34 +01:00
cb4c54f822 reduce precision of temperature and battery level sensor 2024-03-22 11:23:21 +01:00
f6586cb0d5 add entity for temperature 2024-03-21 13:54:43 +01:00
411a0b8570 add entities for battery level and charger status 2024-03-20 19:07:20 +01:00
aca0668832 add brightnessctl as build input 2024-03-20 15:25:33 +01:00
ad07ddee5e set logging level to debug when flag or env is provided 2024-03-20 14:37:59 +01:00
0db59bcc5d add aarch64 support 2024-03-19 23:23:28 +01:00
22a73b2ea3 add dependencies 2024-03-19 21:19:22 +01:00