AI-on-the-edge-device icon indicating copy to clipboard operation
AI-on-the-edge-device copied to clipboard

Adjust Interval remotely

Open caco3 opened this issue 2 years ago • 2 comments

Discussed in https://github.com/jomjol/AI-on-the-edge-device/discussions/2221

Originally posted by iridium2001 March 22, 2023 I would like a feature that can set the scan interval remotely, e.g. from Home Assistant.

During the day, 5 min work just fine for me. However, when I'm on vacation or at work or even during night hours, the interval could be every 60 or 120 minutes. If this could be remotely set, it could be automated and would not even require additional logic or scheduling in the device.

caco3 avatar Mar 22 '23 23:03 caco3

While nice to have and certainly easier to set up from within HA, this IMO can be done with a home assistant automation.

Until implementation the flow can be started via http if I remember correctly. Just implement this in a script or via (https://www.home-assistant.io/integrations/rest_command/) and trigger the automation in dependence of whether or not you are home or it is day or night with different time patterns.

riegera2412 avatar Mar 23 '23 15:03 riegera2412

@riegera2412 is right.

I don't think this feature has high prio for us as it adds some complexity but not very much enhancement

caco3 avatar Mar 23 '23 17:03 caco3