#is there a card that has a sensor so it knows a browser is "looking" at it?

1 messages · Page 1 of 1 (latest)

golden swift
#

As title says. Sensor updates if no browser looks at that dashboard, and the other way around.

opal prism
restive stump
#

Depending on what you're trying to do, @stray sluice was able to incorporate some Javascript voodoo into his LCARS-themed dashboard. The button can "see" the path being viewed and "light up" if the appropriate page was being shown.
#1156612622993588294 message

golden swift
golden swift
stray sluice
#

Can you explain a little more what you are trying to do? Do you need to know which page is being displayed in the browser currently?

golden swift
#

home assistant sometimes crashes on a device with relative old hardware. i want to know when it does, so i can issue a restart command.
if i have a card that can show a home assistant sensor if its currently being watched or not, then if the app crashes, it would report its not being looked at anymore, i know thats due to a crash then, and issue the command to restart the app.

restive stump
#

Does the tablet offer other entities that can be monitored that would frequently change such as battery level or wifi signal? Maybe a two-part automation could be used. Maybe a timer entity could be used. When your tablet entity updates the monitored entity, the timer gets reset. If the timer elapses because the entity hasn't updated, in say, 10 minutes, something happens after that such as a notification.