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

UI is slow #35

Open
twasilczyk opened this issue Jan 24, 2024 · 1 comment
Open

UI is slow #35

twasilczyk opened this issue Jan 24, 2024 · 1 comment

Comments

@twasilczyk
Copy link

I tried using ESPHome NSPanel Lovelace UI and what threw me off was how slow it felt.

To put real numbers to that feeling, I compared this firmware to Blackymas' NSPanel_HA_Blueprint by recording test videos with a 240fps camera. Differences are not huge, but I think they cross the boundary between "barely noticeable" and "laggy".

Time to start screen re-draw after button press

NSPanel_HA_Blueprint: 40ms (with "Show pages while loading" option enabled)
esphome-nspanel-lovelace-ui: 330ms

This makes blueprint firmware feel super responsive and esphome-lovelace firmware super slow. In addition to latency problem, target areas for lovelace UI are small, so that I tend to miss them and have to re-tap. This doesn't happen too often on Blueprint UI.

Re-draw time

NSPanel_HA_Blueprint: 270ms (that's 310ms from button press)
esphome-nspanel-lovelace-ui: 260ms (that's 590ms from button press)

However, esphome-nspanel-lovelace-ui re-draw time is sometimes as long as 1300ms

Entity action (light on/off) round-trip time

NSPanel_HA_Blueprint: 500ms
esphome-nspanel-lovelace-ui: 700-900ms

I guess that's due to MQTT vs HA API latency and could be fixed with #34 (I wasn't able to confirm it though).

@grericht
Copy link

is there a difference between lovelace ui on tasmota and esphome?

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

2 participants