Commit Graph

2038 Commits

Author SHA1 Message Date
frederik fea7ff0e0c fix: if icecast is not running, livestream.service is constantly restarting, but that does not show. make sure a service that is contantly "auto-restart" is show as such 2025-03-15 11:17:43 +01:00
frederik ffca186325 fix: remove hardcoded version, pip can figure that out now tflite_runtime-2.11.0-cp39-none-linux_aarch64.whl list the correct numpy version it needs 2025-03-15 11:17:43 +01:00
frederik e62b991f8e cleanup: our Python dependencies all seem to have native versions these days: no dev tools needed anymore 2025-03-15 11:17:43 +01:00
frederik 28bfe59204 fix: rtsps is rtsp too 2025-03-11 14:18:30 +01:00
frederik 0ffe3eec26 pin suntime at 1.3.2, also cleanup: use same logic on all pip packages 2025-03-08 19:01:22 +01:00
frederik bedebf69f7 sun_time>=1.3.0 requires you to pass a timezone object, or you end up with UTC. also required is passing a datetime.datetime() object, not datetime.date() 2025-03-08 17:10:41 +01:00
Alexandre 50eb97834f Remove cache=shared 2025-03-08 11:45:38 +01:00
Alexandre de57d009db Force readonly mode 2025-03-08 11:45:38 +01:00
Alexandre c5f39f6670 Fix daily resample 2025-03-08 11:45:38 +01:00
Alexandre 93a2157262 Fix daily resample 2025-03-08 11:45:38 +01:00
Alexandre 1c592f32a5 Fix error "Calling int on a single element Series is deprecated" 2025-03-08 11:45:38 +01:00
Alexandre 3c91627e96 Lint 2025-03-08 11:45:38 +01:00
Alexandre 14cdc96b20 Fix for plotly 6.0.0 2025-03-08 11:45:38 +01:00
Alexandre ebeaf51c3b Ensure all bins 2025-03-08 11:23:29 +01:00
Alexandre b4fb5dd299 Fix last bin of the day 2025-03-08 11:23:29 +01:00
Alexandre 2555eb10e3 Fix transparent graph
Co-Authored-By: TF-Ingolstadt <195639961+tf-ingolstadt@users.noreply.github.com>
2025-03-08 11:06:38 +01:00
frederik 33e2cb9e96 fix: php: preserve quotes 2025-02-10 19:37:54 +01:00
frederik dae0ba992f stimeout changed to timeout between ffmpeg 4 and 5 2025-01-25 18:01:45 +01:00
frederik 3f66bf9f13 fix: rtsp needs a different socket timeout parameter that all other protocols 2025-01-25 18:01:45 +01:00
frederik a7eacee3fc on flakey rtsp streams, ffmpeg sometimes gets stuck, add a 10s timeout to make ffmeg error out and restart 2025-01-25 18:01:45 +01:00
frederik ea7cdd6686 be a bit more patient so ffmpeg can restart 2025-01-25 18:01:45 +01:00
Christopher Leinbach 23f52ae673 Add Purge Threshold
Adds a purge threshold setting. This setting allows the user to
control at what filled percentage the purge activities are run.
This replaces the default, hard coded 95% point.

The purge threshold defaults at the original 95%. I set a minimum
of 20 and max of 99 because those values felt sensible but am open
to changing those based on feedback.

Note: The purge threshold is still active when the keep option is
set. I added a note for this but this still presents some risk
where users who change this while in Keep mode could have their
services shut down earlier than they expect.

Patch: Fix a couple of typos in initial changes and improve
formatting.
2025-01-25 17:40:29 +01:00
Christopher Leinbach bdc5802816 Add Purge Threshold
Adds a purge threshold setting. This setting allows the user to
control at what filled percentage the purge activities are run.
This replaces the default, hard coded 95% point.

The purge threshold defaults at the original 95%. I set a minimum
of 20 and max of 99 because those values felt sensible but am open
to changing those based on feedback.

Note: The purge threshold is still active when the keep option is
set. I added a note for this but this still presents some risk
where users who change this while in Keep mode could have their
services shut down earlier than they expect.
2025-01-25 17:40:29 +01:00
frederik 0ed3fbb47a fix: do not clobber the link 2025-01-25 14:46:29 +01:00
frederik 05268f19bd Merge branch 'fix-backup' 2025-01-25 13:35:36 +01:00
frederik 9e64d77f0e fix: update caddyfile after restore 2025-01-25 13:17:30 +01:00
Alexandre 29a242d053 Lowercase is nicer 2025-01-25 12:02:00 +01:00
Alexandre 559d1fe40e Ensure correct daily count 2025-01-25 12:02:00 +01:00
Alexandre f231f5e9dc Dynamic layout vs screen size 2025-01-25 12:02:00 +01:00
Alexandre aede3cc8b7 Add RARE_SPECIES_THRESHOLD 2025-01-25 12:02:00 +01:00
Alexandre f9d166d4f0 Set custom duration for minigraphs 2025-01-25 12:02:00 +01:00
Alexandre 4680b7258e Custom duration for minigraphs 2025-01-25 12:02:00 +01:00
Alexandre f93b448b7f Add table for new and rare species 2025-01-25 12:02:00 +01:00
Alexandre 5c8d30797e Add RARE_SPECIES_THRESHOLD 2025-01-25 12:02:00 +01:00
Alexandre dfd6199b1c Add RARE_SPECIES_THRESHOLD 2025-01-25 12:02:00 +01:00
frederik 7fe9a6fe3a make diagnosing recording issues easier: add the recording service log to the birdnet log 2025-01-03 11:22:10 +01:00
frederik 430c5f1e98 make the message a bit more helpfull 2024-12-04 21:52:29 +01:00
frederik bd93b1c0a5 allow getting http://ip-api.com/json to fail 2024-12-04 18:49:52 +01:00
frederik 6d0c607e78 cleanup: propery close <pre> tag 2024-12-03 19:10:03 +01:00
frederik 57c0d5b208 enable tmp.mount: Raspberry Pi OS and Debian don't have tmpfs mounted on /tmp. So during restore every uploaded chunk would still end up on the SD card before it is un-tar-ed 2024-12-03 19:10:03 +01:00
frederik 1c43dfc6cd add restore to views and system_controls 2024-12-03 19:10:03 +01:00
frederik 0cdde2fd93 add restore.php 2024-12-03 19:10:03 +01:00
frederik 50b31d9acb add helper to reassemble chunks 2024-12-03 19:10:03 +01:00
frederik 1dd6fe7f14 add STDIN support to backup script 2024-12-03 19:10:03 +01:00
frederik 59e00e6dd6 cleanup: we dont need this anymore 2024-12-03 19:10:03 +01:00
frederik ff31225634 restart services when script gets cancelled 2024-12-03 19:10:03 +01:00
frederik cb8abd4f22 add downloadable backup 2024-12-03 19:10:03 +01:00
Ash McKenzie ef86658b6b $_SERVER['PHP_AUTH_PW'] isn't always sent 2024-12-01 09:33:35 +01:00
Jon Gelsey 0faf2db6a2 add rtsp ID to extracted birdsong file name 2024-11-30 18:25:57 +01:00
Alexandre abcbcb6018 Update scripts/todays_detections.php
Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-11-25 20:37:43 +01:00