Nachtzuster / BirdNET-Pi

A realtime acoustic bird classification system for the Raspberry Pi 5, 4B 3B+ 0W2 and more. Built on the TFLite version of BirdNET.
https://birdnetpi.com
Other
169 stars 24 forks source link

Publishing past detections to BirdWeather in case of intermittent network access #228

Open tvoirand opened 2 weeks ago

tvoirand commented 2 weeks ago

Hi,

As of now, if the BirdNET-Pi station is not connected to the internet when a detection occurs, that detection is not published to BirdWeather.

This can be an issue for some users, for example users who turn their WiFi router off when leaving home for some time (as is my case ;) ), or stations in the field with inconsistent connectivity as mentioned in this (old) post in a discussion on mcguirepr89’s repo.

One possible solution could be a dedicated service that would monitor network status change and automatically publish any past detection to BirdWeather when connectivity is restored.

I have already started working on this, and my draft is accessible here. It’s been working fine on my station for a couple of weeks. However, there are a few pending points to complete:

If maintainers of this project agree that this would be a useful feature, I would be happy to finalize this, and then submit a PR :).

Thanks!