-
Notifications
You must be signed in to change notification settings - Fork 1
/
influx_db.yaml
170 lines (170 loc) · 6.04 KB
/
influx_db.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
api_version: 2
host: eu-central-1-1.aws.cloud2.influxdata.com
token: !secret influxdb_token
organization: !secret influxdb_organization
bucket: home-assistant
tags:
source: HA
tags_attributes:
- friendly_name
# Ignore immutable/irrelevant attributes
ignore_attributes:
- icon
- supported_features
default_measurement: units
precision: s
include:
entities:
- sensor.power_tariff
- sensor.power_consumption # kW
- sensor.energy_consumption_tarif_1 # off-peak (kWh)
- sensor.energy_consumption_tarif_2 # peak (kWh)
- sensor.gas_consumption # cumulative
- sensor.watermeter_total
- sensor.consumption_170_cumulative # Irrigation (Balcony)
- sensor.consumption_173_cumulative # Irrigation (Garden)
- group.family # occupancy
- sensor.home_nearest_direction_of_travel
- sensor.home_nearest_distance
- alarm_control_panel.home_alarm
- sensor.time_of_day
# Miscellaneous
- media_player.nvidia_shield_tv
- sensor.prusa_mini_printer_state
# WeeWX
- sensor.weewx_outside_temperature
- sensor.weewx_outside_temperature_balcony
- sensor.weewx_outside_temperature_garden
- sensor.weewx_solar_irradiance
- sensor.weewx_wind_speed
- sensor.weewx_rain_hour
- sensor.weewx_outside_humidity
# Temperatures
- sensor.temperature_3 # Attic
- sensor.temperature_9 # Bedroom
- sensor.temperature_21 # Kitchen
- sensor.temperature_24 # Bathroom
- sensor.temperature_27 # Shed
- sensor.temperature_30 # Hallway
- sensor.temperature_37 # Guestroom
- sensor.temperature_78 # Basement
# Air quality
- sensor.qingping_air_monitor_lite_bedroom_environment_co2_density
- sensor.qingping_air_monitor_lite_living_room_environment_co2_density
- sensor.xiaomi_miot_environment_co2_density
- sensor.qingping_air_monitor_lite_bedroom_environment_pm2_5_density
- sensor.qingping_air_monitor_lite_living_room_environment_pm2_5_density
- sensor.xiaomi_miot_environment_pm2_5_density
- sensor.qingping_air_monitor_lite_bedroom_environment_pm10_density
- sensor.qingping_air_monitor_lite_living_room_environment_pm10_density
- sensor.xiaomi_miot_environment_pm10_density
- fan.sonair_guestroom
- fan.sonair_living_room
- fan.sonair_wardrobe
- fan.bathroom
- switch.smart_plug_6 # Attic exhaust fan
- group.openclose_bedroom
- binary_sensor.openclose_33 # Attic window
- sensor.attic_window_position
- binary_sensor.openclose_36 # Kitchen top window
- binary_sensor.openclose_12 # Kitchen door
# tado°
- sensor.tado_smart_thermostat_temperature # Living room temperature
- sensor.tado_smart_radiator_attic_temperature
- sensor.tado_smart_ac_control_attic_temperature
- sensor.tado_smart_thermostat_setpoint
- sensor.tado_smart_radiator_attic_setpoint
- sensor.tado_smart_ac_control_attic_setpoint
- sensor.tado_living_room_heating
- sensor.tado_attic_heating
- binary_sensor.tado_living_room_power
- binary_sensor.tado_attic_power
- binary_sensor.tado_attic_ac_power
# Appliances
- sensor.power_41 # Electric heater (Shed)
- sensor.power_57 # Close-in boiler (Kitchen)
- sensor.power_83 # Dryer
- sensor.power_86_actual # Washing machine
- sensor.power_88_actual # Dishwasher
- sensor.power_99 # Airco (Attic)
- sensor.power_163 # Desk 1 (Attic)
- sensor.power_165 # Desk 2 (Attic)
- sensor.power_all_lights
- sensor.ups_power_usage
- sensor.power_108 # Television (i.e. Multimedia hub)
- sensor.power_sonair_combined
# Internet / Network
- sensor.dd_wrt_1_rtt_ip_8_8_8_8
- sensor.dd_wrt_1_bandwidth_vlan2_rx
- sensor.dd_wrt_1_bandwidth_vlan2_tx
- sensor.pi_hole_dns_unique_clients
# Arlo – track battery levels to have some insight into how well they hold
# up over time...
- sensor.aarlo_battery_level_front
- sensor.aarlo_battery_level_back
- sensor.aarlo_battery_level_balcony
# Ignore immutable/irrelevant attributes
# N.B. Overlapping combinations of "component_config_domain" and "..._glob" are
# ignored. So, either define a domain or one (or more) globs for entities _in_
# that domain, but don't define both!
component_config_domain:
fan:
ignore_attributes:
- speed_list
- preset_modes
- percentage_step
- preset_mode # Sonair fans don't use preset-mode
group:
ignore_attributes:
# Ignore group member entity IDs – irrelevant and might contain PII (e.g.,
# in the case of group.family)
- entity_id
- order
light:
ignore_attributes:
- is_deconz_group
- supported_color_modes
alarm_control_panel:
ignore_attributes:
- code_format
- code_arm_required
component_config:
media_player.nvidia_shield_tv:
ignore_attributes:
- adb_response
- hdmi_input
component_config_glob:
# Ignore the voltage, current and temperature measurements provided by the
# smart-plugs – the voltage/current measurements are redundant; better
# temperature measures are available (and only a handful of smart-plugs
# still report a temperature measure)
"sensor.power_*":
ignore_attributes:
- voltage
- current
- temperature
# Tado heating-sensors include the timestamp of their last state change – if
# ever relevant, can easily be inferred from the underlying data...
"sensor.tado_*_heating":
ignore_attributes:
- time
# Aarlo sensors include some irrelevant device details
"sensor.aarlo_*":
ignore_attributes:
- attribution
- brand
- camera_name # Could/should be inferred from friendly_name
- device_id # Device serial-# (sort of PII)
- model
# Qingping air monitors duplicates their measurement/state inside an
# environment.XXX attribute – ignore those
"sensor.qingping_air_monitor_lite_*":
ignore_attributes:
- environment.co2_density
- environment.pm2_5_density
- environment.pm10_density
"sensor.xiaomi_miot_*":
ignore_attributes:
- environment.co2_density
- environment.pm2_5_density
- environment.pm10_density