question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow custom object thresholds based on time of the day

See original GitHub issue

I would like to be able to set min_score and threshold (and maybe based on time of the day. Ideally the effective time range would be dynamically calculated based on location-based sunrise/sunset time ± custom offset (or somehow fed from Home Assistant?), but as easier initial solution it may be hard coded times in the YAML file. This would allow to lower the object detection sensitivity at night to generate alerts despite lower confidence level because lower image quality.

Perhaps add something like this:

  filters:
    person:
      #Effective time range for this setting
      #Day time
      start_time: 08:00
      end_time: 17:30
      min_score: 0.5
      threshold: 0.7

    person:
     #Night time
      start_time: 17:30
      end_time: 08:00
      min_score: 0.4
      threshold: 0.55

Issue Analytics

  • State:open
  • Created 2 years ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
blakeblackshearcommented, Feb 3, 2022

I don’t think I will approach it this way, but I can pin this issue so it stays open as a reminder.

0reactions
ajerioncommented, Mar 15, 2022

I’d like to put in a vote for setting the thresholds via MQTT. Then I could have Node-Red/Home Assistant control the timing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Customize Threshold Values - Salesforce Help
We recommend you set custom values for every threshold. Choose values based on your unique business priorities, the conditions at and around each...
Read more >
Create and Edit Thresholds - SevOne Cluster
Select Metric to create a threshold that triggers based on any data ... Select Enable During This Time to enable the threshold for...
Read more >
How to customize the calculated SQL Server baseline threshold
This article describes advanced options that allows for manually adjusting and fine-tuning calculated ApexSQL Monitor baseline threshold values to meet specific ...
Read more >
Microsoft 365 alert policies - Microsoft Purview (compliance)
This allows you to set up a policy to generate an alert every time an activity matches the policy conditions, when a certain...
Read more >
Create a detection rule | Elastic Security Solution [8.5]
Custom query: Query-based rule, which searches the defined indices and creates ... of times the specified field's value is present and meets the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found