esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
290 stars 34 forks source link

Pico W I2C1 not working #4112

Open z-eh opened 1 year ago

z-eh commented 1 year ago

The problem

I try to use an ina219 with my Pico W and ESPHome. It wired to GP6 and GP7 which is the I2C1 on the Pico W. When I configure this in yaml, it stops booting correctly. No usable logs or anything, just simply not start correctly.

Which version of ESPHome has the issue?

2022.12.8

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2023.2

What platform are you using?

RP2040

Board

No response

Component causing the issue

No response

Example YAML snippet

i2c:
  sda: GPIO6
  scl: GPIO7
  scan: true

sensor:
  - platform: dht
    pin: 2
    model: DHT22
    temperature:
      name: "Children's Room Temperature"
      filters:
        offset: -3.0
    humidity:
      name: "Children's Room Humidity"
    update_interval: 60s
  - platform: ina219
    address: 0x40
    shunt_resistance: 0.1 ohm
    current:
      name: "INA219 Current"
    power:
      name: "INA219 Power"
    bus_voltage:
      name: "INA219 Bus Voltage"
    shunt_voltage:
      name: "INA219 Shunt Voltage"
    max_voltage: 4.18V
    max_current: 0.6A
    update_interval: 60s

Anything in the logs that might be useful for us?

No response

Additional information

No response

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.