-
Edit: see my latest reply- it works now! Iam about to turn crazy... The reason why i want to do this: I found the birdnet.conf file and want to change line 129 to My command looks like this
(Cd to the directory works, I don't really need to because the terminal opens it automatically) I don't get why this is not working ... When I have a working command I'll write a shell script to run it
The same thing for confidence =55 As soon as I can get it running I run a cron to run the script at a specific time. The last night I was trying to get it to work and it robbed all my sleep... Someone please help me 🤪 Maybe there is another (already working) approach? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Ouff... this is how it works!
Edit: Now the script works 🥰
Now I can start with cron, |
Beta Was this translation helpful? Give feedback.
-
I got everything running as I intended in the beginning. Is it the perfect way? Probably not but this was all new to me. Right now the scripts should turn the confidence from 55% to 35% at 17:30 and vice versa at 06:30 If you want the same thing (or edit it to your preferences) here you go:
for high:
! Change USER to your Username ! See picture at the bottom I don't know if it's needed but I ran these commands so it's executable
I modified my crontab (
! Change the "USER" to your username (i think the default is "pi") ! Check out the picture at the bottom to see the whole thing. It should be self explanatory, if not let me know. To edit this file you need to type these command one by one: Aaaand that's it. The next big step would be to implement this into the tools- settings bar on the homepage. So I can set the time and confidence without the need to edit files (see picure at the end). |
Beta Was this translation helpful? Give feedback.
I got everything running as I intended in the beginning.
Is it the perfect way? Probably not but this was all new to me.
Right now the scripts should turn the confidence from 55% to 35% at 17:30 and vice versa at 06:30
If you want the same thing (or edit it to your preferences) here you go:
Create a new File at
/usr/local/bin/
and name it the way you like, I named itset_confidencelow.sh
. Create a second one for the other command like:set_confidencehigh.sh
for low paste this in the file:
for high: