Rebuild Combo table of detections manually #254
Replies: 3 comments 7 replies
-
hi @petri-ojala-tieto Easiest way is to open the daily_plot.py in Thonny, save as another name (daily_plot_date.py say and change line 35 from
to
or whatever date you need to re-run and re-run. If the libraries can't be imported, then make sure the birdnet virtual environment is loaded. |
Beta Was this translation helpful? Give feedback.
-
Thanks, had to google what Thonny is :-) I haven't done python for several years now, switched to golang for pretty much everything. ssh to the RasPi and vi is a good IDE.. but looks like it needs a bit more changes, the SELECT from the database and savename for the filenames (Combo and Combo2) are also using now directly. Anyway, that's fine, I'll make a new version of the script with relevant changes. |
Beta Was this translation helpful? Give feedback.
-
As it failed again last night, looked a bit at the log files:
Recovers only after doing restart all services. I added a test to the spectrogram.sh script to run sox only if the file exists as a quick workaround. Not sure if that alone is going to help or there's something else failing in birdnet_analysis.sh as well nor yet any idea what's the root cause.. (not sure if there are potential TZ issues in the code but running the Pi in EEST) |
Beta Was this translation helpful? Give feedback.
-
I just installed BirdNET-Pi a week ago so new to the game.. great work Patrick and contributors, we moved to more countryside last summer and been enjoying the birds around without really knowing anything about the topic until now :-)
For some reason the detection has stopped during the last few days, when restarted, it does start to analyze the older recordings and update the database accordingly. I haven't yet looked what exactly is going on.
Is there a script somewhere that one could run to update yesterday's Combo table of detections? I saw in the logs that it did go through detection for them but the chart didn't get updated for yesterday, only today. daily_plot.py seems to be based on current timestamp or is there a way to run it for a specific date somehow?
Beta Was this translation helpful? Give feedback.
All reactions