Commit Graph

60 Commits

Author SHA1 Message Date
dalogue1 786348d815 Automatic Update Feature (#424)
* Update advanced.php

Added a checkbox in the Advanced Settings page to enable Automatic Update

* Update install_config.sh

The AUTOMATIC_UPDATE parameter needs to be created in the BirdNET-Pi configuration file.

* Update install_services.sh

Add a cron job to the system to performa automatic updates.

* Create automatic_update.cron

The line to be added to the cron table to check for need to perform automatic update.

* Create automatic_update.sh

Script to perform the automatic update if the flag is set in the configuration.  Also, the services are restarted after the update.

* Update install_services.sh

* Update automatic_update.sh

* Update advanced.php

Correct typo

* Update update_birdnet_snippets.sh

Add the automatic_update.cron to the list of cron jobs

* Update update_birdnet_snippets.sh

* Update automatic_update.cron

Change automatic update to once a week on Sunday at 3AM

* Update update_birdnet_snippets.sh

Adjusted to add option to existing installations

* Update automatic_update.sh

Removed unnecessary call to restart_services.sh

* Update advanced.php

Cleaned up the Options section line spacing in the settings table

* Update templates/automatic_update.cron

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>

* Update scripts/update_birdnet_snippets.sh

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>

* Delete scripts/automatic_update.sh

* Update advanced.php

Modified the description of the Automatic Update feature on the Advanced Configuration tab.

* Update install_config.sh

---------

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2025-09-24 20:06:48 +02:00
frederik 285c57f77a properly fix the multi arch gotty detection 2024-11-03 11:07:34 +01:00
Alexandre b77f579e35 Feat : limit the number of audio files to keep per species (#121)
* New disk usage settings

* Use sudo for rm, just in case

* Remove set -x

* Correct code for png

* Correct today

* Correct dates

* Accepts date format of different distributions

* Avoid message

* Very significant processing time optimisation

* Update disk_species_clean.sh

* Avoid locking database

* Update disk_species_clean.sh

* Disable set -x (again)

* Add number of remaining files

* Add new variables to update_birdnet_snippets.sh

* Consolidate disk management elements

* Update disk_species_clean.sh

* Update disk_species_clean.sh

* Protect last 7 days

* Add options to advanced.php, in same style

* Remove from config

* Update config.php

* Reset max_disk_usage to hard 95

* Improve layout

* Remove automatic addition of MAX_FILE_SPECIES if not defined https://github.com/alexbelgium/hassio-addons/issues/1458

* Cosmetic white-listed changed to whitelist

* Add comma in text

* Update scripts/advanced.php

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>

* Update crontab if less than 5 #birdnet occurence (= all scripts not installed)

* Made .sh file executable

* Remove unused field k5 (second field of year) ; add explanations

* Call functions without ()

* Uninstall current cron before reinstalling them

* Update update_birdnet_snippets.sh

* Use $HOME instead of $mydir

---------

Co-authored-by: Nachtzuster <Nachtzuster@users.noreply.github.com>
2024-07-12 18:18:27 +02:00
Alexandre 6e28c3a268 Color scheme added to phpsysinfo 2024-06-22 17:27:02 +02:00
frederik b820c195ca advertise http for easy discovery 2024-04-08 15:39:57 +02:00
ehpersonal38 b365036550 (╯°□°)╯︵ ┻━┻
I feel like I'm walking through a minefield with this linux stuff - a lack of a linebreak on a .cron file can break so many things??
2022-07-01 13:20:04 -04:00
ehpersonal38 23c35e4fe0 fixing formatting on email 2022-06-29 09:01:51 -04:00
ehpersonal38 5896f00a55 Notification conf and cron setups 2022-06-28 13:04:59 -04:00
mcguirepr89 9c84b5dd30 server.py > python3 (red to green) 2022-06-10 15:29:57 -04:00
Patrick McGuire b330ac64c1 Update bashrc 2022-05-27 07:36:02 -04:00
David Lamkin 92f2540792 Use posix sh compatible redirect in crontab
&> is a bash shortcut to redirect both stdout and stderr
it is more portable to use '>/dev/null 2>&1' to achieve this effect.

Without this change the pi mailbox is filled with cron job output
2022-05-21 17:22:22 +01:00
mcguirepr89 023b68f386 making changes to accomodate removing the pi user 2022-04-11 10:16:54 -04:00
mcguirepr89 0a1cb09164 adding remove alias 2022-03-10 07:39:25 -05:00
mcguirepr89 e08180ff7d tweaks and fixes 2022-03-03 14:50:37 -05:00
mcguirepr89 6bd6020f74 new location for services 2022-03-03 10:22:32 -05:00
mcguirepr89 286aa095f9 time to test installation 2022-02-21 16:33:01 -05:00
mcguirepr89 500419da05 removed unneeded mountpoint from reporting 2022-02-11 14:54:53 -05:00
mcguirepr89 cdad986a18 adding informative section in "System" > "Info" 2022-02-11 13:09:38 -05:00
mcguirepr89 ba92d7fd72 less hard-coding links 2022-02-10 09:34:43 -05:00
mcguirepr89 c27315bd59 adding bashrc 2022-01-26 09:49:35 -05:00
mcguirepr89 d5e5b36263 adding new filemanager
still need to be sure the installation sets the proper file
permissions and need to replace menu.html
2022-01-25 22:26:51 -05:00
mcguirepr89 2dd5944841 crons now have user field 2022-01-25 08:49:40 -05:00
mcguirepr89 79102c56f1 adding new network_info.sh tool to system info page 2022-01-25 08:48:10 -05:00
Patrick McGuire 61279988be fixing Disk Full behavior -- invokes stop_core_services.sh 2021-12-01 10:29:06 -05:00
Patrick McGuire 1740e87ca1 phpsysinfo.ini and 'databasepassword' in analyze.py for
update_birdnet.sh scripts
2021-11-29 17:13:44 -05:00
Patrick McGuire 86803c02d9 added PiTemp to phpsysinfo 2021-10-31 11:55:22 -04:00
Patrick McGuire 0a9aa3eda6 adding customized phpsysinfo files 2021-10-31 11:43:54 -04:00
Patrick McGuire 73417ee3af adding new homepage for testing :)
- replaced all SERVICES arrays with commands
- altered {install,update}_services.sh to install new homepage
- renamed old index.html to mobile.html for mobile redirect
2021-10-20 18:47:00 -04:00
Patrick McGuire 3698618063 changing EXTRACTIONS_URL to BIRDNETPI_URL 2021-10-20 10:04:24 -04:00
Patrick McGuire 10e458a363 Update index.html 2021-10-19 14:57:06 -04:00
Patrick McGuire 99f7902213 new species notifier worth trying 2021-10-15 21:04:06 -04:00
Patrick McGuire d5620eb2af new system statistics and updater 2021-10-14 17:29:52 -04:00
Patrick McGuire 6fb031433e no more birdnet_stats.sh 2021-10-14 14:41:44 -04:00
Patrick McGuire 4871157bf5 Update cleanup.cron 2021-10-13 18:52:59 -04:00
Patrick McGuire fd5d41df08 Update cleanup.cron 2021-10-13 18:47:37 -04:00
Patrick McGuire 451edcdb73 another typo! 2021-10-13 18:39:00 -04:00
Patrick McGuire 935d31b655 Update cleanup.cron 2021-10-13 17:34:07 -04:00
Patrick McGuire 08074436d6 working on cleanup.sh 2021-10-13 17:18:14 -04:00
Patrick McGuire 862c4c1fb3 rename to BirdNET-Pi 2021-10-12 10:55:09 -04:00
Patrick McGuire fedc79e630 adding viewdb.php button 2021-10-11 17:38:33 -04:00
mcguirepr89 c9a604ff69 fixing uninstall issue 2021-10-10 18:31:19 -04:00
Patrick McGuire 1fb8b0d2a0 adding gif to readme 2021-10-09 21:30:53 -04:00
Patrick McGuire aa21225452 fixed broken links 2021-10-08 14:43:53 -04:00
Patrick McGuire f5b0bf57b6 updated index.html (thanks Christoph!) 2021-10-08 14:39:57 -04:00
Patrick McGuire 0daba4b74f fixed a few missing references 2021-10-08 13:42:06 -04:00
Patrick McGuire ad6dc4c356 renaming project birdingpi 2021-10-08 12:57:28 -04:00
mcguirepr89 c14a3075cb Merge branch 'rpi4' into patch-3 2021-10-08 12:35:13 -04:00
mcguirepr89 3338cb7f7f Update index.html 2021-10-08 12:31:30 -04:00
Patrick McGuire b67c7fdf58 added spectrogram view for currently analyzing file
Needs to be refreshed, but works
2021-10-07 15:56:44 -04:00
Patrick McGuire b444e90fd7 editing index.html 2021-10-06 17:46:29 -04:00