Add demo hass config to repo
This commit is contained in:
parent
021e65ea32
commit
ea207f727a
42
hass_conf/configuration.yaml
Normal file
42
hass_conf/configuration.yaml
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
homeassistant:
|
||||||
|
name: Demo IoT
|
||||||
|
latitude: 48.7667
|
||||||
|
longitude: 9.1833
|
||||||
|
elevation: 0
|
||||||
|
unit_system: metric
|
||||||
|
time_zone: Europe/Berlin
|
||||||
|
customize: !include customize.yaml
|
||||||
|
|
||||||
|
|
||||||
|
introduction: # Show links to resources in log and frontend
|
||||||
|
frontend: # Enables the frontend
|
||||||
|
config: # Enables configuration UI
|
||||||
|
history: # Enable sensor history
|
||||||
|
updater: # Checks for available updates
|
||||||
|
hassio: # App store
|
||||||
|
|
||||||
|
group: !include groups.yaml
|
||||||
|
automation: !include automations.yaml
|
||||||
|
script: !include scripts.yaml
|
||||||
|
|
||||||
|
# Run local mosquito broker
|
||||||
|
mqtt:
|
||||||
|
broker: localhost
|
||||||
|
port: 1883
|
||||||
|
username: your_mqtt_user
|
||||||
|
password: your_mqtt_pw
|
||||||
|
|
||||||
|
# MQTT sensors
|
||||||
|
sensor:
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Humidity (Sensor ID)"
|
||||||
|
state_topic: "sensor/sensor_id/humidity"
|
||||||
|
qos: 0
|
||||||
|
unit_of_measurement: "%"
|
||||||
|
|
||||||
|
- platform: mqtt
|
||||||
|
name: "Absolute Humidity (Sensor ID)"
|
||||||
|
state_topic: "sensor/sensor_id/abs_humidity"
|
||||||
|
qos: 0
|
||||||
|
unit_of_measurement: "gr/m3"
|
||||||
|
|
69
hass_conf/lovelace.yaml
Normal file
69
hass_conf/lovelace.yaml
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
title: Demo IoT
|
||||||
|
views:
|
||||||
|
- badges:
|
||||||
|
- sensor.temperature_sensor_id
|
||||||
|
path: default_view
|
||||||
|
title: Home
|
||||||
|
- cards:
|
||||||
|
- cards:
|
||||||
|
- aspect_ratio: 100%
|
||||||
|
entities:
|
||||||
|
- sensor.temperature_sensor_id
|
||||||
|
hours_to_show: 3
|
||||||
|
refresh_interval: 30
|
||||||
|
title: Temperature (3h)
|
||||||
|
type: history-graph
|
||||||
|
- entities:
|
||||||
|
- sensor.humidity_sensor_id
|
||||||
|
hours_to_show: 3
|
||||||
|
refresh_interval: 30
|
||||||
|
title: Humidity (3h)
|
||||||
|
type: history-graph
|
||||||
|
- entities:
|
||||||
|
- sensor.absolute_sensor_id
|
||||||
|
hours_to_show: 3
|
||||||
|
refresh_interval: 30
|
||||||
|
title: Absolute Humidity (3h)
|
||||||
|
type: history-graph
|
||||||
|
- entities:
|
||||||
|
- sensor.air_quality_sensor_id
|
||||||
|
hours_to_show: 3
|
||||||
|
refresh_interval: 30
|
||||||
|
title: Air Quality (3h)
|
||||||
|
type: history-graph
|
||||||
|
type: vertical-stack
|
||||||
|
panel: true
|
||||||
|
path: graph_view_3
|
||||||
|
title: Graphs (3h)
|
||||||
|
- cards:
|
||||||
|
- cards:
|
||||||
|
- aspect_ratio: 100%
|
||||||
|
entities:
|
||||||
|
- sensor.temperature_sensor_id
|
||||||
|
hours_to_show: 12
|
||||||
|
refresh_interval: 30
|
||||||
|
title: Temperature (12h)
|
||||||
|
type: history-graph
|
||||||
|
- entities:
|
||||||
|
- sensor.humidity_sensor_id
|
||||||
|
hours_to_show: 12
|
||||||
|
refresh_interval: 30
|
||||||
|
title: Humidity (12h)
|
||||||
|
type: history-graph
|
||||||
|
- entities:
|
||||||
|
- sensor.absolute_humidity_sensor_id
|
||||||
|
hours_to_show: 12
|
||||||
|
refresh_interval: 30
|
||||||
|
title: Absolute Humidity (12h)
|
||||||
|
type: history-graph
|
||||||
|
- entities:
|
||||||
|
- sensor.air_quality_sensor_id
|
||||||
|
hours_to_show: 12
|
||||||
|
refresh_interval: 30
|
||||||
|
title: Air Quality (12h)
|
||||||
|
type: history-graph
|
||||||
|
type: vertical-stack
|
||||||
|
panel: true
|
||||||
|
path: graph_view_12
|
||||||
|
title: Graphs (12h)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user