Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resolve offline ESPs in dashboard when using ESPHOME_DASHBOARD_USE_PING=true #5281

Merged
merged 2 commits into from Aug 20, 2023

Conversation

mwolter805
Copy link
Contributor

@mwolter805 mwolter805 commented Aug 19, 2023

What does this implement/fix?

Starting with 2023.7.0 all ESPs with mdns.disabled: true were offline in the dashboard on containers using ESPHOME_DASHBOARD_USE_PING=true even though they functioned correctly otherwise. Installed 2023.8.1 and the issue was still present.

With ssieb's help, found these two lines that appeared to be causing the issue. Removed them on my local container and ESPs using are now correctly found to be online.

Types of changes

  • Bugfix (non-breaking change which fixes an issue)

Related issue or feature (if applicable): fixes esphome/issues#4732

**Pull request in esphome-docs with documentation (if applicable): no documentation changes necessary

Test Environment

Container

  • ESP32 IDF

Example entry for config.yaml:

mdns:
disabled: true

Checklist:

  • The code change is tested and works locally.

Removed lines 871 and 872 to resolve issue with ESPs offline when using ESPHOME_DASHBOARD_USE_PING=true and mdns.disabled: true
@mwolter805 mwolter805 changed the title Update dashboard.py Resolve offline ESPs in dashboard when using ESPHOME_DASHBOARD_USE_PING=true Aug 19, 2023
Removed blank line below for loop
@ssieb ssieb merged commit c47c1a7 into esphome:dev Aug 20, 2023
25 checks passed
@ssieb ssieb added this to the 2023.8.2 milestone Aug 20, 2023
@jesserockz jesserockz mentioned this pull request Aug 21, 2023
@github-actions github-actions bot locked and limited conversation to collaborators Aug 22, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Devices Show Offline Regardless of Real Status
3 participants