Latest home assistant stuff
This commit is contained in:
parent
3f9a581d86
commit
ea45224d0f
|
|
@ -316,6 +316,15 @@ for i in "${NAMESPACES_TO_ALERT[@]}"; do
|
||||||
done
|
done
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### influxdb
|
||||||
|
|
||||||
|
Used to store hass data long term.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
helm repo add influxdata https://helm.influxdata.com/
|
||||||
|
helm upgrade --install influxdb -n influxdb influxdata/influxdb2 -f influxdb/influxdb2.secret.yml --create-namespace
|
||||||
|
```
|
||||||
|
|
||||||
### home-assistant hass
|
### home-assistant hass
|
||||||
|
|
||||||
How to generate token (not really required): https://github.com/hahn-th/homematicip-rest-api
|
How to generate token (not really required): https://github.com/hahn-th/homematicip-rest-api
|
||||||
|
|
|
||||||
|
|
@ -82,6 +82,15 @@ configuration:
|
||||||
# moritz custom config
|
# moritz custom config
|
||||||
prometheus:
|
prometheus:
|
||||||
namespace: hass
|
namespace: hass
|
||||||
|
influxdb:
|
||||||
|
host: influxdb-influxdb2.influxdb.svc.cluster.local
|
||||||
|
port: 80
|
||||||
|
database: default
|
||||||
|
username: admin
|
||||||
|
password: enaiY9yaiWi6ahv0phoph3FaiphoGh
|
||||||
|
ssl: false
|
||||||
|
verify_ssl: false
|
||||||
|
max_retries: 3
|
||||||
|
|
||||||
# Init script for the Home Assistant initialization, you can use Go template functions
|
# Init script for the Home Assistant initialization, you can use Go template functions
|
||||||
# Script is executed before the Home Assistant container starts and is used to prepare the configuration
|
# Script is executed before the Home Assistant container starts and is used to prepare the configuration
|
||||||
|
|
@ -133,6 +142,10 @@ configuration:
|
||||||
touch /config/scenes.yaml
|
touch /config/scenes.yaml
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# install hacs - see https://www.hacs.xyz/docs/use/download/download/#to-download-hacs
|
||||||
|
apk add --no-cache bash
|
||||||
|
wget -O - https://get.hacs.xyz | bash -
|
||||||
|
|
||||||
initContainer:
|
initContainer:
|
||||||
name: setup-config
|
name: setup-config
|
||||||
image: mikefarah/yq:4
|
image: mikefarah/yq:4
|
||||||
|
|
@ -157,7 +170,7 @@ configuration:
|
||||||
|
|
||||||
serviceMonitor:
|
serviceMonitor:
|
||||||
# requires HA integration: https://www.home-assistant.io/integrations/prometheus/
|
# requires HA integration: https://www.home-assistant.io/integrations/prometheus/
|
||||||
enabled: true
|
enabled: false
|
||||||
scrapeInterval: 30s
|
scrapeInterval: 30s
|
||||||
labels:
|
labels:
|
||||||
prometheus: haumdaucher
|
prometheus: haumdaucher
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue