forked from pedobry/esphome_toshiba_suzumi
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample_esp8266.yaml
More file actions
82 lines (72 loc) · 2.18 KB
/
Copy pathexample_esp8266.yaml
File metadata and controls
82 lines (72 loc) · 2.18 KB
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
esphome:
name: "climate-living-room"
platform: ESP8266
board: d1_mini
external_components:
- source:
type: git
url: https://github.com/pedobry/esphome_toshiba_suzumi
components: [toshiba_suzumi]
logger:
level: info
uart:
id: uart_bus
tx_pin: 13
rx_pin: 12
parity: EVEN
baud_rate: 9600
climate:
- platform: toshiba_suzumi
name: living-room
id: living_room
uart_id: uart_bus
#indoor_temp: # Optional. Indoor temperature sensor
# name: Indoor Temp
outdoor_temp: # Optional. Outdoor temperature sensor
name: Outdoor Temp
power_select:
name: "Power level"
#vertical_air_direction: # Optional. Fixed vertical air direction.
# Controls the Toshiba horizontal louver, which directs air up/down.
#name: "Vertical air direction"
#self_clean: # Optional. Reports the post-shutdown self-cleaning cycle.
#name: "Self Clean"
#horizontal_swing: true # Optional. Uncomment if your HVAC supports also horizontal swing
#supported_presets: # Optional. Enable only the features your HVAC
#- "Standard"
#- "Hi POWER"
#- "ECO"
#- "Fireplace 1"
#- "Fireplace 2"
#- "8 degrees" # When enabling this mode, the temp range is set to 5-30°C
#- "Silent#1"
#- "Silent#2"
#- "Sleep"
#- "Floor"
#- "Comfort"
#disable_wifi_led: true # Optional. Disable Wifi LED on internal unit.
# Enable button to scan for unknown values in AC unit. This is optional.
button:
- platform: template
name: "Scan for unknown sensors"
icon: "mdi:reload"
on_press:
then:
# id(living_room) is the id of the climate component above
- lambda: |-
auto* controller = static_cast<toshiba_suzumi::ToshibaClimateUart*>(id(living_room));
controller->scan();
# Enable Home Assistant API
api:
encryption:
key: !secret ha_enc_key
ota:
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "A Fallback Hotspot"
password: "xxxxxxxxxxx"
captive_portal: