esphome / issues

Issue Tracker for ESPHome
https://esphome.io/
294 stars 37 forks source link

Pi Pico W will not connect to WiFi (and bootloops) without Static IP #4110

Open LewisSpring opened 1 year ago

LewisSpring commented 1 year ago

The problem

If I compile a Pico W firmware (eg, the default ESPHome yaml) without a static IP, the Pico gets into a boot loop where it is unable to connect to WiFi and also does not seem to initilise anything else, as the log does not mention components like API, MDNS or Logger.

Which version of ESPHome has the issue?

2022.12.8

What type of installation are you using?

Docker

Which version of Home Assistant has the issue?

No response

What platform are you using?

RP2040

Board

Pi Pico W

Component causing the issue

network

Example YAML snippet

{default esphome yaml for pico W}

Anything in the logs that might be useful for us?

image When the issue is present, terminal looks like this. Each time the Pico reboots, the terminal prints the same thing.

image Adding a static IP makes it boot correctly

Additional information

Discord thread https://discord.com/channels/429907082951524364/1069263380294152243

DezzyTee commented 1 year ago

Same issue

ghost commented 1 year ago

Did you find a solution to this problem? I cannot add my RP2040 to home assistant devices or read logs wirelessly, but I can update the code wirelessly.

ghost commented 1 year ago

Seems like Pico W is Pico L

LewisSpring commented 1 year ago

Did you find a solution to this problem? I cannot add my RP2040 to home assistant devices or read logs wirelessly, but I can update the code wirelessly.

I haven’t played with the Pico in the last few months - by the sounds of it it’s not fixed?

I had no issues with these functions while using the static IP. Maybe try adding use_address in the networking configuration?

ghost commented 1 year ago

Did you find a solution to this problem? I cannot add my RP2040 to home assistant devices or read logs wirelessly, but I can update the code wirelessly.

I haven’t played with the Pico in the last few months - by the sounds of it it’s not fixed?

I had no issues with these functions while using the static IP. Maybe try adding use_address in the networking configuration?

Yes it worked thank you so much for responding! It is probably an issue with how the name gets translated to the hostname... Everything works now