esphome / esphome/esp-web-tools

[Bug] "Visit Device" holds old IP when changing Wifi network

Open
#349 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
686
Forks
192
Avg merge
1h 1m
Merged PRs (30d)
1

Description

After connecting successfully in a Wifi network, when I try to change to another network I have, it connects with success but when I click in "Visit device" it directs me to the old IP resulting in "ERR_ADDRESS_UNREACHABLE" since ESP doesn't serving in that address anymore.

## Steps to reproduce:

1) Select and connect in a WiFi network "A"
2) Click in "Visit Device" -> It redirects correctly. Let say the ip is `192.168.3.1`
3) Open the configuration screen again and Click in "Change Wifi"
4) Select and connect in another network, let say "B". It will connect with success.
5) Clicking in "Visit Device" it tries to redirect to `192.168.3.1` (the first IP assigned)
6) Typing the new IP, the local web page is served normally

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.