Last active
January 17, 2023 21:25
-
-
Save gretel/14326e6fb050142c261cbde0fb241923 to your computer and use it in GitHub Desktop.
ESPHome on Raspberry Pi Pico W
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
substitutions: | |
devicename: 'picow' | |
upper_devicename: 'PicoWireless' | |
logger_level: 'INFO' | |
esphome: | |
name: ${devicename} | |
project: | |
name: "jitter.eu" | |
version: "0.7.0" | |
rp2040: | |
board: rpipicow | |
framework: | |
platform_version: https://github.com/maxgerhardt/platform-raspberrypi.git | |
logger: | |
level: ${logger_level} | |
status_led: | |
pin: | |
number: GPIO25 | |
wifi: | |
ssid: !secret wifi_ssid | |
password: !secret wifi_pass | |
domain: !secret domain | |
fast_connect: on | |
ota: | |
password: !secret ota_key | |
api: | |
encryption: | |
key: !secret picow_key | |
time: | |
- platform: homeassistant | |
id: homeassistant_time | |
sensor: | |
- platform: uptime | |
name: "${upper_devicename} Uptime" | |
update_interval: 5s | |
icon: "mdi:clock-start" | |
- platform: wifi_signal | |
name: "${upper_devicename} WiFi Signal" | |
update_interval: 10s | |
icon: "mdi:wifi" | |
# RP2040 Internal Core Temperature | |
- platform: adc | |
pin: TEMPERATURE | |
name: "${upper_devicename} Core Temperature" | |
unit_of_measurement: '°C' | |
filters: | |
- lambda: return 27 - (x - 0.706f) / 0.001721f; | |
text_sensor: | |
- platform: version | |
name: "${upper_devicename} Version" | |
icon: "mdi:exponent-box" | |
- platform: wifi_info | |
ip_address: | |
name: "${upper_devicename} IP Address" | |
icon: "mdi:counter" | |
switch: | |
- platform: restart | |
name: "${upper_devicename} Restart" | |
icon: "mdi:restart" | |
binary_sensor: | |
- platform: status | |
name: "${upper_devicename} Status" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment