Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Notification patch; added informations to settings #31

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scripts/advanced.php
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@
<input name="full_disk" type="radio" id="purge" value="purge" <?php if (strcmp($newconfig['FULL_DISK'], "purge") == 0) { echo "checked"; }?>>Purge</label>
<label for="keep">
<input name="full_disk" type="radio" id="keep" value="keep" <?php if (strcmp($newconfig['FULL_DISK'], "keep") == 0) { echo "checked"; }?>>Keep</label>
<p>When the disk becomes full, you can choose to 'purge' old files to make room for new ones or 'keep' your data and stop all services instead.<br>Note: you can exclude specific files from 'purge' on the Recordings page.</p>
<p>When the disk becomes full, you can choose to 'purge' old files to make room for new ones or 'keep' your data and stop all services instead.<br>Note: You can exclude specific files from 'purge' on the Recordings page. Just audio files gets purged (NOT excluded ones), you can still see the detections from your "birds.db"</p>
</td></tr></table><br>
<table class="settingstable"><tr><td>

Expand Down Expand Up @@ -433,7 +433,7 @@ function collectrtspUrls() {

<table class="settingstable"><tr><td>
<h2>BirdNET-Lite Settings</h2>

# add info box: "Explanation for these settings: https://github.com/mcguirepr89/BirdNET-Pi/wiki/BirdNET-Pi:-some-theory-on-classification-&-some-practical-hints" (already linked on page 1 / basic seetings at the "model" box
<p>
<label for="overlap">Overlap: </label>
<input name="overlap" type="number" min="0.0" max="2.9" step="0.1" value="<?php print($newconfig['OVERLAP']);?>" required/><br>
Expand All @@ -442,7 +442,7 @@ function collectrtspUrls() {
<p>
<label for="confidence">Minimum Confidence: </label>
<input name="confidence" type="number" min="0.01" max="0.99" step="0.01" value="<?php print($newconfig['CONFIDENCE']);?>" required/><br>
&nbsp;&nbsp;&nbsp;&nbsp;Min=0.01, Max=0.99
&nbsp;&nbsp;&nbsp;&nbsp;Min=0.01, Max=0.99 # add info box: "Lower value = more detections and more false positives"
</p>
<p>
<label for="sensitivity">Sigmoid Sensitivity: </label>
Expand Down
4 changes: 2 additions & 2 deletions scripts/config.php
Original file line number Diff line number Diff line change
Expand Up @@ -459,10 +459,10 @@ function runProcess() {
</td></tr></table><br>
<table class="settingstable" style="width:100%"><tr><td>
<h2>Notifications</h2>
<p><a target="_blank" href="https://github.com/caronc/apprise/wiki">Apprise Notifications</a> can be setup and enabled for 70+ notification services. Each service should be on its own line.</p>
<p><a target="_blank" href="https://github.com/caronc/apprise/wiki">Apprise Notifications</a> can be setup and enabled for 70+ notification services. Each service should be on its own line. For Telegram add "?format=markdown" after your chat_id</p>
<label for="apprise_input">Apprise Notifications Configuration: </label><br>
<textarea placeholder="mailto://{user}:{password}@gmail.com
tgram://{bot_token}/{chat_id}
tgram://{bot_token}/{chat_id}?format=markdown (?format=markdown needed for weekly report)
twitter://{ConsumerKey}/{ConsumerSecret}/{AccessToken}/{AccessSecret}
https://discordapp.com/api/webhooks/{WebhookID}/{WebhookToken}
..." style="vertical-align: top" name="apprise_input" rows="5" type="text" ><?php print($apprise_config);?></textarea>
Expand Down