Created
December 13, 2023 08:46
-
-
Save fastjack/762f2d4a154d6cfe7b4309b25a06f3f2 to your computer and use it in GitHub Desktop.
Home Assistant sensors from InfluxDB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sensor: | |
- platform: influxdb | |
host: a0d7b954-influxdb | |
username: reader | |
password: !secret influx_reader_password | |
queries: | |
- name: outside_temp | |
unit_of_measurement: "°C" | |
value_template: "{{ value | round(1) }}" | |
where: '"node" = ''esp8266-15564468''' | |
measurement: feinstaub | |
field: "BME280_temperature" | |
group_function: last | |
database: luftdaten | |
- name: outside_hum | |
unit_of_measurement: "%" | |
value_template: "{{ value | round(1) }}" | |
where: '"node" = ''esp8266-15564468''' | |
measurement: feinstaub | |
field: "BME280_humidity" | |
group_function: last | |
database: luftdaten |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment