Notification or Service for events?

I’d like to trigger some automations when something disconnects from the dashboard. There are messages in the logs when this happens, is there a programmatic way to get the same notice? Does HADash send a service event or equivalent?

e.g.

2019-02-05 20:18:31.125185 INFO function [get_dashboard] finished in 65 ms

2019-02-05 20:18:31.634438 INFO HADashboard: New dashboard connected: Main Panel

2019-02-05 20:18:38.307869 INFO HADashboard: Dashboard disconnected

normal HA automations for sure not.
if it is possible to reach those events, then only in appdaemon. (apps)
but i dont think that in the actual version (3.0.2) those things can be reached from AD.
to make sure i need to ask @aimc

Correct - it’s not possible to get any kind of programmatic warning of a dash disconnection in AD at the moment.

I suppose I could write an app that tails the HAdash logs and emit an event when seen.

Thanks for the quick help.

1 Like