Commit Graph

35 Commits

Author SHA1 Message Date
c515a6b4e1 home-assistant: fix zigbee sensor battery reporting
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
WSDCGQ12LM sensors report battery: 0 due to firmware quirk. Override
battery calculation using voltage via homeassistant value_template.

Also adds zigbee_sensor_stale alert for detecting dead sensors regardless
of battery reporting accuracy (1 hour threshold).

Device configuration moved from external devices.yaml to inline NixOS
config for declarative management.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 22:41:07 +01:00
dd1b64de27 monitoring: auto-generate Prometheus scrape targets from host configs
Some checks failed
Run nix flake check / flake-check (pull_request) Successful in 2m49s
Run nix flake check / flake-check (push) Has been cancelled
Add homelab.monitoring NixOS options (enable, scrapeTargets) following
the same pattern as homelab.dns. Prometheus scrape configs are now
auto-generated from flake host configurations and external targets,
replacing hardcoded target lists.

Also cleans up alert rules: snake_case naming, fix zigbee2mqtt typo,
remove duplicate pushgateway alert, add for clauses to monitoring_rules,
remove hardcoded WireGuard public key, and add new alerts for
certificates, proxmox, caddy, smartctl temperature, filesystem
prediction, systemd state, file descriptors, and host reboots.

Fixes grafana scrape target port from 3100 to 3000.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-02-05 00:49:07 +01:00
bcf01a0c11 ha1: add missing python package
Some checks failed
Run nix flake check / flake-check (push) Failing after 13m50s
Periodic flake update / flake-update (push) Successful in 3m53s
2025-08-05 17:36:11 +02:00
8d47d0a70c Add prometheus-client to hass
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-05-19 11:17:14 +02:00
e56d7d4b84 Add aioshelly module to ha
Some checks failed
Run nix flake check / flake-check (push) Failing after 3m57s
2025-05-19 11:07:07 +02:00
bb614db298 Fix paho-mqtt version for ha1
Some checks failed
Run nix flake check / flake-check (push) Failing after 5m18s
Periodic flake update / flake-update (push) Failing after 6m11s
2025-03-09 11:36:56 +01:00
83928028c4 Use older mqtt lib for ha
Some checks failed
Run nix flake check / flake-check (push) Failing after 11m42s
2025-02-13 16:12:57 +01:00
070d7384de Change homeassistant mqtt lib
Some checks failed
Run nix flake check / flake-check (push) Has been cancelled
2025-02-13 16:05:38 +01:00
822c22cde6 Add script to rebuild all hosts
Some checks failed
Run nix flake check / flake-check (push) Failing after 4m54s
Periodic flake update / flake-update (push) Successful in 1m23s
2025-01-21 00:05:40 +01:00
50f2b94074 pyunifiprotect -> uiprotect 2024-09-30 21:40:05 +02:00
7f625ae39d Fix ha after move to unstable 2024-06-01 21:58:19 +02:00
bc5efa5ebe Add aiopyarr 2024-05-29 01:58:01 +02:00
ffc463b26b Disable join for ha1 2024-05-29 01:23:51 +02:00
91317b34c8 Fix unstable usage 2024-05-03 14:46:16 +02:00
6eacf99310 Use unstable.zigbee2mqtt 2024-05-03 14:44:16 +02:00
78b481f1b7 Add pykodi 2024-05-01 22:08:21 +02:00
4a747d43dc Add python-roborock 2024-05-01 21:17:34 +02:00
dbaf6d2a94 add universal-silabs-flasher 2024-05-01 21:09:11 +02:00
7b1c3d0034 Add more zigpy stuff 2024-05-01 21:07:30 +02:00
80e2275412 Add zigpy_zigate 2024-05-01 21:05:50 +02:00
629b388660 Add zigpy-xbee 2024-05-01 21:04:57 +02:00
9c1e29dad5 Add gtts 2024-05-01 21:04:07 +02:00
c363f922bb add unifi-discovery 2024-05-01 21:03:06 +02:00
5badba6920 Add zigpy_deconz 2024-05-01 21:02:25 +02:00
1b2c3fcc90 Add bellows 2024-05-01 21:01:43 +02:00
76e0ca6970 Add pyunifiprotect 2024-05-01 21:00:41 +02:00
9ba298359f Add zha-quirks 2024-05-01 21:00:02 +02:00
dfb0e7aa4c Add paho-mqtt to ha 2024-05-01 20:58:40 +02:00
bb24312fdc Tweak mosquitto config 2024-05-01 20:51:55 +02:00
517f118871 Tweak mosquitto config 2024-05-01 20:48:56 +02:00
55fffaa8a0 Add mosquitto and zigbee2mqtt 2024-05-01 20:45:59 +02:00
4dfbdb7fdd Add radios package to ha 2024-05-01 20:39:25 +02:00
1e4abbb916 Add radios package to ha 2024-05-01 20:35:38 +02:00
956d4dcdff Set ha config to null 2024-05-01 19:25:06 +02:00
02086999cc Enable home-assistant for ha1 2024-05-01 19:18:28 +02:00