POC zigbee temp sensors
This commit is contained in:
+107
@@ -0,0 +1,107 @@
|
||||
mqtt:
|
||||
host: 192.168.178.247
|
||||
port: 1883
|
||||
username: null
|
||||
password: null
|
||||
|
||||
collection:
|
||||
interval_seconds: 600
|
||||
mqtt_timeout_seconds: 15
|
||||
|
||||
storage:
|
||||
data_directory: /var/lib/rrd
|
||||
graph_directory: /var/www/html/sensors
|
||||
|
||||
logging:
|
||||
level: INFO
|
||||
format: "%(asctime)s %(levelname)s %(message)s"
|
||||
|
||||
sensors:
|
||||
- name: Server room
|
||||
topic: zigbee2mqtt/sensor_server_room
|
||||
- name: Sensor 2
|
||||
topic: zigbee2mqtt/CHANGE_ME_SENSOR_2
|
||||
- name: Sensor 3
|
||||
topic: zigbee2mqtt/CHANGE_ME_SENSOR_3
|
||||
- name: Sensor 4
|
||||
topic: zigbee2mqtt/CHANGE_ME_SENSOR_4
|
||||
- name: Sensor 5
|
||||
topic: zigbee2mqtt/CHANGE_ME_SENSOR_5
|
||||
- name: Sensor 6
|
||||
topic: zigbee2mqtt/CHANGE_ME_SENSOR_6
|
||||
|
||||
rrd:
|
||||
# This must normally match collection.interval_seconds.
|
||||
step_seconds: 600
|
||||
start: now-600
|
||||
data_sources:
|
||||
temperature:
|
||||
type: GAUGE
|
||||
heartbeat_seconds: 1200
|
||||
minimum: -50
|
||||
maximum: 80
|
||||
humidity:
|
||||
type: GAUGE
|
||||
heartbeat_seconds: 1200
|
||||
minimum: 0
|
||||
maximum: 100
|
||||
battery:
|
||||
type: GAUGE
|
||||
heartbeat_seconds: 1200
|
||||
minimum: 0
|
||||
maximum: 100
|
||||
archives:
|
||||
# Ten-minute values for 8 days.
|
||||
- consolidation_function: AVERAGE
|
||||
xfiles_factor: 0.5
|
||||
steps: 1
|
||||
rows: 1152
|
||||
# Hourly averages for 62 days.
|
||||
- consolidation_function: AVERAGE
|
||||
xfiles_factor: 0.5
|
||||
steps: 6
|
||||
rows: 1488
|
||||
# Daily averages for just over two years.
|
||||
- consolidation_function: AVERAGE
|
||||
xfiles_factor: 0.5
|
||||
steps: 144
|
||||
rows: 740
|
||||
|
||||
graph:
|
||||
width: 1000
|
||||
height: 360
|
||||
end: now
|
||||
vertical_label: degrees C / percent
|
||||
slope_mode: true
|
||||
alt_autoscale: true
|
||||
periods:
|
||||
day:
|
||||
start: end-1d
|
||||
label: last 24 hours
|
||||
month:
|
||||
start: end-31d
|
||||
label: last month
|
||||
two_years:
|
||||
start: end-2y
|
||||
label: last two years
|
||||
temperature:
|
||||
color: E4575680
|
||||
legend: Temperature (C)
|
||||
last_value_format: "Temperature last\\: %5.1lf C"
|
||||
humidity:
|
||||
color: 4C78A8
|
||||
line_width: 2
|
||||
legend: Humidity (%)
|
||||
last_value_format: "Humidity last\\: %5.1lf %%"
|
||||
battery:
|
||||
color: 54A24B
|
||||
line_width: 2
|
||||
dashes: 3,3
|
||||
legend: Battery (%)
|
||||
last_value_format: "Battery last\\: %5.1lf %%\\n"
|
||||
|
||||
html:
|
||||
filename: index.html
|
||||
title: Zigbee sensors
|
||||
default_period: day
|
||||
refresh_seconds: 600
|
||||
Reference in New Issue
Block a user