thewatchman
thewatchman copied to clipboard
What is the Execution frequency and can it be modified?
I have been searching for the execution frequency of the report and possibly a modifiable parameter, but could not find it. Is there an option for this?
Hi @benquan , the new report isn’t generated automatically unless you explicitly invoke the service. By setting up an automation, you can run it at your desired frequency. However, Watchman keeps the state of entities from the previous report in memory and can update them automatically when specific events occur so that the missing entities/services sensor shows the actual numbers:
- When an entity from the list of previously parsed configuration entities changes its state from unavailable/missing to available or vice versa.
- When the user reloads the configuration.
- When Home Assistant starts. Hope this helps.
Hi @benquan , the new report isn’t generated automatically unless you explicitly invoke the service. By setting up an automation, you can run it at your desired frequency. However, Watchman keeps the state of entities from the previous report in memory and can update them automatically when specific events occur so that the missing entities/services sensor shows the actual numbers:
- When an entity from the list of previously parsed configuration entities changes its state from unavailable/missing to available or vice versa.
- When the user reloads the configuration.
- When Home Assistant starts. Hope this helps.
Hi Dummylabs, i'm trying to receive a notification whenever a device or a service is missing. I've tried to set up an automation (see sscreenshot) that triggers the creation of the report when the number of devices or services missing changes but it never triggers? Can you help me to make it works? Thanks!!
Hi @benquan,
To trigger this automation, two conditions must be met:
- At least one entity or service must change its state to
unavailableorunknownwhile your automation is running. - This entity/service must be referenced in your configuration files (or dashboards) for Watchman to monitor it. This integration does not report missing entities/services that are not used in Home Assistant configuration files or dashboards, as per its intended purpose.