-
-
Notifications
You must be signed in to change notification settings - Fork 39
Description
The problem
Hi,
first of all, I am very happy, that RP2040 is included in ESPHome now. Very promising and also cheaper :-).
I tried I2C on two different Pico Ws now. Thus, I am fairly sure they are ok.
Defining I2C the usual way via something like:
i2c:
sda: 26
scl: 27
scan: true
id: bus_a
compiles successfully, OTA also works (see attached logs_test_upload).
But after the upload, the Pico W does not boot or connect to ESPHome (Dashboard in HA shows OFFLINE).
Unplugging the Pico and rebooting shows ONLINE, but the log tells me 'no connection' (see logs_test_logs). Also, uploaded code (like a blinking led or Dallas DS18B20) doesn't seem to be running. Maybe it is in some sort of brown-out-state?
I was under the impression I2C should already work? Or am I too early?
Any hints appreciated, thanks
Mario.
logs_test_upload.txt
logs_test_logs.txt
Which version of ESPHome has the issue?
2022.11.3
What type of installation are you using?
Home Assistant Add-on
Which version of Home Assistant has the issue?
2022.11.4
What platform are you using?
RP2040
Board
Pico W
Component causing the issue
i2c
Example YAML snippet
esphome:
name: test
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 logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "REDACTED"
ota:
password: "REDACTED"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot in case wifi connection fails
ap:
ssid: "Test Fallback Hotspot"
password: "REDACTED"
i2c:
sda: 26
scl: 27
scan: true
id: bus_aAnything in the logs that might be useful for us?
No response
Additional information
No response