mirror of
https://github.com/outbackdingo/Biohazard.git
synced 2026-01-27 10:18:27 +00:00
feat(hass+kromgo)!: PhoneOps low battery!
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
# Biohazard - JJ's Homelab Monorepo
|
||||
|
||||
**<ins>Glorifying jank that works.</ins>**
|
||||
|
||||
Powered by Flux, Kubernetes, Cilium, Talos, and jank. Amongst others.
|
||||
|
||||
<!--
|
||||
@@ -25,7 +27,8 @@ Powered by Flux, Kubernetes, Cilium, Talos, and jank. Amongst others.
|
||||

|
||||

|
||||

|
||||

|
||||
<br><br>
|
||||

|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -30,6 +30,7 @@ spec:
|
||||
egress.home.arpa/r2: allow
|
||||
egress.home.arpa/pypi: allow # entrypoint does a `uv pip install uv` in the venv
|
||||
db.home.arpa/emqx: emqx
|
||||
prom.home.arpa/kps: allow
|
||||
dns.home.arpa/l7: "true"
|
||||
annotations:
|
||||
k8s.v1.cni.cncf.io/networks: |
|
||||
|
||||
@@ -118,6 +118,14 @@ metrics:
|
||||
- { color: "red", min: 70, max: 99999 }
|
||||
|
||||
# Personal devices
|
||||
- name: darkhawk_battery_percent
|
||||
query: round(homeassistant_sensor_battery_percent{entity="*darkhawk*"}, 0.01)
|
||||
suffix: "%"
|
||||
colors:
|
||||
- { color: "red", min: 0, max: 20 }
|
||||
- { color: "orange", min: 20.01, max: 49.99 }
|
||||
- { color: "green", min: 50, max: 99999 }
|
||||
|
||||
- name: blackhawk_battery_percent
|
||||
query: round(node_power_supply_capacity{instance="blackhawk.*"}, 0.01)
|
||||
suffix: "%"
|
||||
|
||||
Reference in New Issue
Block a user