43 lines
935 B
YAML
43 lines
935 B
YAML
|
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"
|
||
|
|