Metainformationen zur Seite
influxdb / grafana
# https://portal.influxdata.com/downloads/ --> ubuntu-debian -->output unten wget -qO- https://repos.influxdata.com/influxdb.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/influxdb.gpg > /dev/null export DISTRIB_ID=$(lsb_release -si); export DISTRIB_CODENAME=$(lsb_release -sc) echo "deb [signed-by=/etc/apt/trusted.gpg.d/influxdb.gpg] https://repos.influxdata.com/${DISTRIB_ID,,} ${DISTRIB_CODENAME} stable" | sudo tee /etc/apt/sources.list.d/influxdb.list > /dev/null sudo apt-get update && sudo apt-get install influxdb2
influx setup # after setup browser --> http://<ip>:8086 api-toke create in browser
in HA:
influxdb: api_version: 2 ssl: false host: 192.168.x.xx port: 3004 token: !secret influxdb_token organization: ubuntuvm bucket: homeassistant tags: source: HomeAssistant tags_attributes: - friendly_name default_measurement: units exclude: entities: - person.myname
https://community.home-assistant.io/t/cannot-get-influxdb-2-0-to-work/223070 https://fictionbecomesfact.com/homeassistant-container
grafana
https://grafana.com/docs/grafana/latest/installation/debian/
sudo apt-get install -y apt-transport-https sudo apt-get install -y software-properties-common wget wget -q -O - https://packages.grafana.com/gpg.key | sudo apt-key add -