· 2 years ago · Nov 12, 2022, 02:40 PM
1substitutions:
2 device_name: "pico"
3
4esphome:
5 name: ${device_name}
6
7rp2040:
8 board: rpipicow
9 framework:
10 # Required until https://github.com/platformio/platform-raspberrypi/pull/36 is merged
11 platform_version: https://github.com/maxgerhardt/platform-raspberrypi.git
12
13# Enable logging
14logger:
15 level: DEBUG
16
17# Enable Home Assistant API
18api:
19 encryption:
20 key: "uuRcVJZLk4h/c0WLV7I0+UPAS9LKi3iKJnRSW3CtzrU="
21
22ota:
23 password: "c7813ff315b62cf9c030cd34f7c2f870"
24
25wifi:
26 fast_connect: true
27 ssid: !secret wifi_ssid
28 password: !secret wifi_password
29 #manual_ip:
30 # static_ip: 192.168.1.178
31 # gateway: 192.168.1.1
32 # subnet: 255.255.255.0
33 ap:
34 ssid: "Pico Fallback Hotspot"
35 password: "I5H0fTY9uQvq"
36
37time:
38 - platform: homeassistant
39 id: homeassistant_time
40
41web_server:
42 port: 80