Skip to content

Intermittent navigation failure with lovelace-navbar-card on RemoteWebViewServer (ESP32 display) #24

@jbega

Description

@jbega

Describe the bug

When using lovelace-navbar-card to navigate between dashboard views on a RemoteWebViewServer setup (ESP32 display), the navigation fails intermittently (approx. 10% of the time).

CRITICAL OBSERVATION (100% reproducible):

The hover of the icon in the navbar changes ✅

The color of the icon in the navbar changes ✅

When it fails (approx. 10% of the time):

Hover works ✅

Icon color changes ✅

Server log shows [device] URL changed to: http://... ✅

ESP32 log shows Current Server URL updated and frame X: tiles X (XXX bytes) ✅

The main card/content does NOT change ❌

When it works (approx. 90% of the time):

Hover works ✅

Icon color changes ✅

Server log shows URL change ✅

ESP32 log shows frames ✅

The main card/content changes ✅

When using standard buttons with navigate action instead of lovelace-navbar-card, navigation works 100% of the time.

Logs (real)
Server log when navigation fails:

text
[device] URL changed to: http://xxx.xxx.xxx.xxxx:8123/dash-control-home/ventilador
ESP32 log when navigation fails:

text
[09:53:39.464][D][Remote_WebView:144]: Current Server URL updated: http://xxx.xxx.xxx.xxxx:8123/dash-control-home/ventilador
[09:53:39.563][S][text_sensor]: 'Remote Display Current URL' >> ' http://xxx.xxx.xxx.xxxx:8123/dash-control-home/ventilador'
[09:53:39.575][D][Remote_WebView:033]: Triggering the on_frame_update automation
[09:53:39.576][D][Remote_WebView:411][rwv_decode]: frame 746: tiles 1 (1090 bytes) - 2 ms
[09:53:39.759][D][Remote_WebView:411][rwv_decode]: frame 747: tiles 1 (1786 bytes) - 3 ms

Hardware:

Display: Guition-ESP32-S3-4848S040 (480x480)

Server: RemoteWebViewServer running on Home Assistant OS

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions