-
Notifications
You must be signed in to change notification settings - Fork 1
/
example_pico-w.yaml
72 lines (59 loc) · 1.35 KB
/
example_pico-w.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
esphome:
name: pico-w-c545
friendly_name: pico-w-c545
rp2040:
board: rpipicow
framework:
# Required until https://github.com/platformio/platform-raspberrypi/pull/36 is merged
platform_version: https://github.com/maxgerhardt/platform-raspberrypi.git
# Enable Home Assistant API
api:
encryption:
key: "<key>"
ota:
password: "<password>"
wifi:
ssid: !secret <ssid_secret>
password: !secret <password_secret>
# Enable fallback hotspot in case wifi connection fails
ap:
ssid: "Pico-W-C545"
password: !secret <fallback_secret>
external_components:
# Pull from Github
- source: github://mill1000/esphome-winix-c545@main
components: [winix_c545]
# Enable logging
logger:
level: DEBUG
hardware_uart: UART0
uart:
tx_pin: 8 #(UART1 TX)
rx_pin: 9 #(UART1 RX)
baud_rate: 115200
winix_c545:
fan:
- platform: winix_c545
name: Winix C545 Air Purifier
sensor:
- platform: winix_c545
filter_age:
name: Filter Age
filter_lifetime:
name: Filter Lifetime
aqi:
name: AQI
light:
name: Light Intensity
text_sensor:
- platform: winix_c545
aqi_indicator:
name: AQI Indicator
switch:
- platform: winix_c545
plasmawave:
name: Plasmawave
auto:
name: Auto
sleep:
name: Sleep