home-assistant-addons/p1-logger/config.yml

38 lines
No EOL
906 B
YAML

# https://developers.home-assistant.io/docs/add-ons/configuration/
---
name: P1 Logger
version: "0.0.3"
slug: p1_logger
description: "P1 Logger add-on for Home Assistant"
url: https://git.hollander.online/energy/home-assistant-addons/src/branch/main/p1-logger
image: "git.hollander.online/energy/p1-logger"
restart_policy:
name: always
arch:
- amd64
- armv7
- armhf
- aarch64
startup: application
boot: auto
map:
- ssl
- config:rw
options:
db: "host=77b2833f-timescaledb user=postgres port=5432 password=homeassistant dbname=p1_logger sslmode=disable"
mqtt_broker: "tcp://core-mosquitto:1883"
mqtt_topic: "p1/metrics"
mqtt_user: "p1_logger"
mqtt_password: null
timescaledb: true
log_level: "INFO"
timezone: "Europe/Amsterdam"
schema:
db: str
mqtt_broker: str
mqtt_topic: str
mqtt_user: str
mqtt_password: password
timescaledb: bool
log_level: str
timezone: str