-
Notifications
You must be signed in to change notification settings - Fork 0
/
prototype-heater-thermostat.yaml
104 lines (98 loc) · 2.03 KB
/
prototype-heater-thermostat.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
esphome:
name: prototype_heater_thermostat
platform: ESP8266
board: d1_mini
build_path: build/prototype_heater_thermostat
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
domain: .home
# Enable logging
logger:
logs:
sensor: INFO
adc: INFO
api:
reboot_timeout: 0s
ota:
safe_mode: true
password: !secret ota_password
time:
- platform: sntp
id: homeassistant_time
servers: 192.168.88.1
timezone: Europe/Kiev
#
#light:
# - platform: monochromatic
# id: led_garland
# name: "Garland Lights"
# output: led_pwm_garland
# default_transition_length: 0.2s
# effects:
# - pulse:
# transition_length: 5s
# update_interval: 5s
#
# - platform: monochromatic
# id: led_spot
# name: "Spot Reading Light"
# output: led_pwm_spot
#
#output:
# - platform: esp8266_pwm
# id: led_pwm_spot
# pin: D1
# - platform: esp8266_pwm
# id: led_pwm_garland
# pin: D8
switch:
platform: gpio
name: "Relay for Heater"
pin: D5
#binary_sensor:
# - platform: gpio
# name: "Rotary Button"
# pin: D5
# on_press:
# - logger.log: "Rotary button pressed"
# - platform: gpio
# name: "Switch Decorations"
# pin: D7
# on_press:
# - logger.log: "Switch Decoration Toggle"
#
# - platform: gpio
# name: "Switch Noise"
# pin: D4
# on_press:
# - logger.log: "Switch Decoration Toggle"
#
# - platform: gpio
# name: "Switch Night Light"
# pin: D2
# on_press:
# - logger.log: "Switch Decoration Toggle"
#
#
#sensor:
# - platform: rotary_encoder
# name: "Rotary Encoder"
# pin_a: D6
# pin_b: D5
# min_value: 0
# max_value: 100
# # on_clockwise:
# # - logger.log: "Turned Clockwise"
# # on_anticlockwise:
# # - logger.log: "Turned Anticlockwise"
# on_anticlockwise:
# then:
# - light.dim_relative:
# id: led_spot
# relative_brightness: -4%
# on_clockwise:
# then:
# - light.dim_relative:
# id: led_spot
# relative_brightness: 4%