Nachtzuster / BirdNET-Pi

A realtime acoustic bird classification system for the Raspberry Pi 5, 4B 3B+ 0W2 and more. Built on the TFLite version of BirdNET.
https://birdnetpi.com
Other
133 stars 20 forks source link

Feat : Add Weekly report button in views.php #73

Closed alexbelgium closed 4 months ago

alexbelgium commented 4 months ago

The report already exists and is accessible from the settings options, why not show it from the front page? Especially useful when publishing the site to people who won't have access to the authentified functions

Or was it not included on purpose as it might seem rather empty in its current state ?

alexbelgium commented 4 months ago

We might imagine having a weekly chart also by modifying the daily_chart.py to a weekly_chart.py with the inclusion of all data between two sundays... I'll add this to the PR

lloydbayley commented 4 months ago

Well this is quite nifty! I like it! Seems to work well. It's a good idea to find the latest detections and make sure they are legitimate! I found one which was a result of children making noise (damn kids interfering with my soundscapes!)

alexbelgium commented 4 months ago

Well this button is already accessible through the options ; but I was thinking we could make it more visible

For problematic detections such as you describe I use telegram notifications that alerts me when an unexpectely exotic bird appears in the garden (usually ends up to be my neighbor calling for her cat in a repetitive monosyllabic manner)

Also ; I was wondering if it would be worth it to create a weekly chart in addition to the daily one to complement the descriptive statistics ; but well I guess I have created you and Nachtzuster enough work already to double check & troubleshoot the code ;-)

lloydbayley commented 4 months ago

I know what you mean. I never used it when it was buried but now it's right in front of you, one tends to trip over it. It's a good thing!

lloydbayley commented 4 months ago

Still happy with this. It's nice that it's more accessible this way. Reminds me to check it! Tested fine so-far! Did you have a chance to look at this one @Nachtzuster?

Emmo213 commented 4 months ago

I like this idea. If I was going to nitpick I'd put the weekly report button after the daily chart button just because I think it makes more sense to have the two date based buttons next to each other.

alexbelgium commented 4 months ago

I would have wanted also a weekly chart, it should look good and avoid the "empty look" of this page but I don't know enough to code it

Emmo213 commented 4 months ago

Thank you, sir.