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

Web interface/dashboard do not show device configs #5802

Open
Saentist opened this issue May 16, 2024 · 25 comments
Open

Web interface/dashboard do not show device configs #5802

Saentist opened this issue May 16, 2024 · 25 comments

Comments

@Saentist
Copy link

The problem

After update to latest DEV version no more device configs show in web ui.

image

all config files are in place
even new device add disappear immediately.

Which version of ESPHome has the issue?

2024.6.0-dev

What type of installation are you using?

Home Assistant Add-on

Which version of Home Assistant has the issue?

2024.5.3

What platform are you using?

ESP8266

Board

No response

Component causing the issue

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@Saentist
Copy link
Author

Saentist commented May 18, 2024

2024.6.0-dev20240518
Same situation

s6-rc: info: service base-addon-log-level: starting
s6-rc: info: service fix-attrs successfully started
[15:03:21] INFO: Configuring timezone (Europe/Sofia)...
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/30-esphome-fork.sh
cont-init: info: /etc/cont-init.d/30-esphome-fork.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-nginx: starting
s6-rc: info: service esphome: starting
s6-rc: info: service esphome successfully started
s6-rc: info: service init-nginx successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service discovery: starting
[15:03:22] INFO: Waiting for ESPHome dashboard to come up...
[15:03:22] INFO: Starting ESPHome dashboard...
2024-05-18 15:03:24,088 INFO Starting dashboard web server on unix socket /var/run/esphome.sock and configuration dir /config/esphome...
[15:03:24] INFO: Starting NGINX...
[15:03:24] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started
2024-05-18 15:05:33,374 INFO 200 GET /devices (0.0.0.0) 3.12ms
2024-05-18 15:06:21,047 INFO 304 GET / (0.0.0.0) 47.08ms
2024-05-18 15:06:21,208 INFO 304 GET /devices (0.0.0.0) 2.70ms
2024-05-18 15:06:26,217 INFO 304 GET /devices (0.0.0.0) 20.10ms
2024-05-18 15:06:31,206 INFO 304 GET /devices (0.0.0.0) 1.98ms
2024-05-18 15:06:36,370 INFO 304 GET /devices (0.0.0.0) 1.93ms
2024-05-18 15:06:42,372 INFO 304 GET /devices (0.0.0.0) 2.31ms
2024-05-18 15:06:48,361 INFO 304 GET /devices (0.0.0.0) 1.45ms
2024-05-18 15:06:54,246 INFO 304 GET /devices (0.0.0.0) 1.45ms
s6-rc: info: service legacy-services: stopping
s6-rc: info: service legacy-services successfully stopped
s6-rc: info: service discovery: stopping
s6-rc: info: service discovery successfully stopped
s6-rc: info: service nginx: stopping
[15:07:22] INFO: Service NGINX exited with code 0 (by signal 0)
s6-rc: info: service nginx successfully stopped
s6-rc: info: service init-nginx: stopping
s6-rc: info: service esphome: stopping
s6-rc: info: service init-nginx successfully stopped
[15:07:22] INFO: Service ESPHome dashboard exited with code 256 (by signal 15)
s6-rc: info: service esphome successfully stopped
s6-rc: info: service legacy-cont-init: stopping
s6-rc: info: service legacy-cont-init successfully stopped
s6-rc: info: service fix-attrs: stopping
s6-rc: info: service base-addon-timezone: stopping
s6-rc: info: service base-addon-log-level: stopping
s6-rc: info: service fix-attrs successfully stopped
s6-rc: info: service base-addon-timezone successfully stopped
s6-rc: info: service base-addon-log-level successfully stopped
s6-rc: info: service base-addon-banner: stopping
s6-rc: info: service base-addon-banner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: stopping
s6-rc: info: service s6rc-oneshot-runner successfully stopped
s6-rc: info: service s6rc-oneshot-runner: starting
s6-rc: info: service s6rc-oneshot-runner successfully started
s6-rc: info: service base-addon-banner: starting
-----------------------------------------------------------

 Add-on: ESPHome (dev)
 Development version of ESPHome add-on
-----------------------------------------------------------
 Add-on version: 2024.6.0-dev20240518
 You are running the latest version of this add-on.
 System: Home Assistant OS 12.3  (amd64 / qemux86-64)
 Home Assistant Core: 2024.5.4
 Home Assistant Supervisor: 2024.05.1
-----------------------------------------------------------
 Please, share the above information when looking for help
 or support in, e.g., GitHub, forums or the Discord chat.
-----------------------------------------------------------
s6-rc: info: service base-addon-banner successfully started
s6-rc: info: service fix-attrs: starting
s6-rc: info: service base-addon-timezone: starting
s6-rc: info: service base-addon-log-level: starting
[15:07:29] INFO: Configuring timezone (Europe/Sofia)...
s6-rc: info: service fix-attrs successfully started
s6-rc: info: service base-addon-log-level successfully started
s6-rc: info: service base-addon-timezone successfully started
s6-rc: info: service legacy-cont-init: starting
cont-init: info: running /etc/cont-init.d/30-esphome-fork.sh
cont-init: info: /etc/cont-init.d/30-esphome-fork.sh exited 0
s6-rc: info: service legacy-cont-init successfully started
s6-rc: info: service init-nginx: starting
s6-rc: info: service esphome: starting
s6-rc: info: service esphome successfully started
s6-rc: info: service init-nginx successfully started
s6-rc: info: service nginx: starting
s6-rc: info: service nginx successfully started
s6-rc: info: service discovery: starting
[15:07:31] INFO: Waiting for ESPHome dashboard to come up...
[15:07:31] INFO: Starting ESPHome dashboard...
2024-05-18 15:07:33,069 INFO Starting dashboard web server on unix socket /var/run/esphome.sock and configuration dir /config/esphome...
[15:07:33] INFO: Starting NGINX...
[15:07:34] INFO: Successfully send discovery information to Home Assistant.
s6-rc: info: service discovery successfully started
s6-rc: info: service legacy-services: starting
s6-rc: info: service legacy-services successfully started

@ThomasFTL

This comment was marked as off-topic.

@Saentist

This comment was marked as off-topic.

@ThomasFTL

This comment was marked as off-topic.

@Saentist

This comment was marked as off-topic.

@ThomasFTL

This comment was marked as off-topic.

@Saentist

This comment was marked as off-topic.

@Saentist

This comment was marked as off-topic.

@ThomasFTL

This comment was marked as off-topic.

@olonsoft

This comment was marked as off-topic.

@ThomasFTL

This comment was marked as off-topic.

@ThomasFTL

This comment was marked as off-topic.

@vvrein

This comment was marked as off-topic.

@randybb
Copy link

randybb commented May 20, 2024

guys, this issue is about the dashboard, for the web_server problem is opened another issue

@vvrein

This comment was marked as off-topic.

@Saentist Saentist changed the title Web interface do not show device configs Web interface/dashboard do not show device configs May 21, 2024
@Saentist

This comment was marked as off-topic.

@ssieb
Copy link
Member

ssieb commented May 26, 2024

Fixed with esphome/esphome#6797
Wrong issue.

@ssieb ssieb closed this as completed May 26, 2024
@Saentist
Copy link
Author

@ssieb cannot confirm, still blank dashboard devices list.

Uncaught (in promise) TypeError: i.toLocaleLowerCase is not a function
    at devices-list.ts:253:4
    at Array.sort (<anonymous>)
    at devices-list.ts:249:8
    at r (polling-collection.ts:40:29)
The resource http://10.244.21.87:8123/api/hassio_ingress/-J94cKKnPBFYq23v4xZUvlsJ9eTbwTncftyvBEf4MAs/static/fonts/material-icons/MaterialIcons-Regular.woff2?hash=570eb838 
was preloaded using link preload but not used within a few seconds from the window's load event. 
Please make sure it has an appropriate `as` value and it is preloaded intentionally.

@ssieb ssieb reopened this May 27, 2024
@ssieb
Copy link
Member

ssieb commented May 27, 2024

Sorry, this got overrun with people from the other issue and I missed that.

@Saentist
Copy link
Author

2024.6.0-dev20240528
still not devices

@Saentist
Copy link
Author

2024.6.0-dev20240529
nothing

@ssieb
Copy link
Member

ssieb commented May 29, 2024

There's no need to keep posting like that unless you think there was something submitted that might change it.
This is something very specific to your install since no one else is seeing this.
Maybe try re-installing the add-on.

@Saentist
Copy link
Author

@ssieb any steps for debugging?
I use HAOS so nothing specific can be different from others with same setup.

@ssieb
Copy link
Member

ssieb commented May 30, 2024

It looks like what happens when a proxy doesn't pass websockets. Check the browser network log and see if there are any errors.

@Saentist
Copy link
Author

Saentist commented May 30, 2024

It looks like what happens when a proxy doesn't pass websockets. Check the browser network log and see if there are any errors.

I try different browsers same situation, no devices show, even if create new it disappear after wizard finish.
I see websocket messages
attaching HAR file from browser log
192.168.1.12.har.zip

devices-list.ts:255 Uncaught (in promise) TypeError: n.toLocaleLowerCase is not a function
    at devices-list.ts:255:30
    at Array.sort (<anonymous>)
    at devices-list.ts:249:8
    at r (polling-collection.ts:40:29)

any second this error appear.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants