-
Notifications
You must be signed in to change notification settings - Fork 1
/
configuration.yaml
106 lines (84 loc) · 2.39 KB
/
configuration.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
homeassistant:
# Name of the location where Home Assistant is running
name: Home
# Location required to calculate the time the sun rises and sets
latitude: 0
longitude: 0
# Impacts weather/sunrise data (altitude above sea level in meters)
elevation: 0
# metric for Metric, imperial for Imperial
unit_system: metric
# Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
time_zone: UTC
# Customization file
customize: !include customize.yaml
# Show links to resources in log and frontend
introduction:
# Enables the frontend
frontend:
# Enables configuration UI
config:
# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
# base_url: example.duckdns.org:8123
# Checks for available updates
# Note: This component will send some information about your system to
# the developers to assist with development of Home Assistant.
# For more information, please see:
# https://home-assistant.io/blog/2016/10/25/explaining-the-updater/
updater:
# Optional, allows Home Assistant developers to focus on popular components.
# include_used_components: true
# Discover some devices automatically
discovery:
# Allows you to issue voice commands from the frontend in enabled browsers
conversation:
# Enables support for tracking state changes over time
history:
# View all events in a logbook
logbook:
# Enables a map showing the location of tracked devices
map:
# Track the sun
#sun:
#MQTT
mqtt:
broker : 169.254.51.214
username : projectalfred
password : projectalfred
# Sensors
sensor :
- platform : mqtt
name : "Flame"
state_topic : "rpi2/sensor/flame"
unit_of_measurement : "status"
#value_template : "{{ value_json.Flame}}"
- platform : mqtt
name : "Pot"
state_topic : "rpi2/sensor/pot"
unit_of_measurement : "status"
- platform : mqtt
name: "Gas"
state_topic : "rpi2/sensor/gas"
unit_of_measurement : "ppm"
- platform : mqtt
name : "Flow rate"
state_topic : "rpi2/sensor/flowrate"
unit_of_measurement : "ppm"
switch:
- platform : mqtt
name : "Gas Valve"
command_topic : "rpi1/switch/gasvalve"
state_topic : "rpi2/switch/gasvalve"
qos : 0
payload_on : "ON"
payload_off : "OFF"
retain : true
# Text to speech
tts:
- platform: google
# Cloud
cloud:
group: !include groups.yaml
automation: !include automations.yaml
script: !include scripts.yaml