thecowan / wallpanel-android

WallPanel is an Android application for Web Based Dashboards and Home Automation Platforms
https://wallpanel.app
Apache License 2.0
745 stars 103 forks source link

[FEATURE] URL command - navigate using JS without reloading #335

Open luzik opened 2 years ago

luzik commented 2 years ago

It would be awesome to have ability to switch Lovelace cards using builtin JS navigation.

My personal use case is that I have a card with 'open door' button and webrtc stream from my door cam that support background streaming. When someone press doorbell I want to switch/navigate to that card, but with navigation implemented in wallpanel (url command) I can only go there with reloading stream - that takes few seconds to show stream. Switching card by touching Lovelace UI card navigates smooth and stream is shown instant. Switching card by navigating by wallpanel make it realod.

Maybe there is simple way using eval command ?

BTW, please check links on GitHub wiki page, they seams to be broken after moving to new url

cokete commented 2 years ago

same suggestion