BirdNET discussion

Carrying on from the solved BirdNET Feature Request.

In addition to the information in that closed FR topic, some useful links:

BIrdNET-Go link: GitHub - tphakala/birdnet-go: Realtime BirdNET soundscape analyzer (make sure to check out the wiki and discussion sections)

BirdNET-Pi link: GitHub - mcguirepr89/BirdNET-Pi: A realtime acoustic bird classification system for the Raspberry Pi 4B, 3B+, and 0W2 built on the TFLite version of BirdNET.

BirdNET-Pi link: GitHub - 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.

Home Assistant BirdNET-GO add-on: hassio-addons/birdnet-go at master · alexbelgium/hassio-addons · GitHub

Home Assistant BirdNET-Pi add-on: hassio-addons/birdnet-pi at master · alexbelgium/hassio-addons · GitHub

If you connect your BirdNET (Pi or GO) to Birdweather or Have a BirdWeather Puc see this dashboard project: Bird detector sensors and dashboard

Options for displaying Birdnet detections in a markdown card via MQTT: Displaying Birdnet-go detections

1 Like

The original BirdNet-Pi project seems moribund – but of recent forks, this one seems best: GitHub - 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.

Hi, thanks for this compilation of links !

Could you please indeed make two corrections to the initial post :

  • birdnet-pi : the Nachzuster’s fork solves many issues : x64 support, lighter on resources with a server.py optimization (works on rpi5;4;3 but even Pi Zero-2W), with a recent emphasis on adding UI improvements & feature requests
  • there is also an HA addon for birdnet-pi in my repo here : hassio-addons/birdnet-pi at master · alexbelgium/hassio-addons (github.com). I actually mostly update the b-pi one as it is coded in bash/php/py which is much easier for me to customize

Thanks!

1 Like

Done and done.

Also was anyone going to point out I spelled it PirdNET in multiple places? :laughing:

2 Likes

Is there a Dashboard for displaying data from my BirdNet-Pi or its birdweather page? Or do I have to borrow the code that in linked to in this thread?

The BirdNet-Pi is a different device than my Home Assistant server, because I don’t want to run my HA server outdoors. :7)

(Also: thank you, @alexbelgium – this is great!!)

1 Like

Thanks ! The original (oldest at least) integration with mqtt of BirdNET pi that I was made aware of by Loyd Bailey is : Show Bird Pi detections in Home Assistant | Phill Price and a discussion Home Assistant Sensor Display Possible Issue · Nachtzuster/BirdNET-Pi · Discussion #20 · GitHub

Ps : my rpi with HA is also in my house and the microphone around 25m away

EDIT : I’ve implemented MQTT push in the birdnet-pi addon ; it will publish detections to the ‘birdpi’ topic to avoid interference with the go addon (based on BirdNET to MQTT publishing for Home Assistant consumption (github.com))

1 Like

By the way, an interesting resource to add to the main post is how to use a rpi to convert a USB signal to rtsp to be used in Birdnet Pi/Go. This can be a critical factor in migrating Birdnet from a dedicated device to the HA addon. Here is a very detailed description (using mediamtx and ffmpeg) : RTSP + USB Audio - Simultaneous Sources? · mcguirepr89/BirdNET-Pi · Discussion #1006 · GitHub

1 Like

Thanks for putting this resource together @tom_l
I just installed the mcquire89 version yesterday on a spare RPi4. Having now read a little deeper, I see it might be wise to shift to a different product/fork - now is the time to do it before I go any further. I had got it down to the two in your list the Nachtzuster and the Birdlink-Go options when I found your post. Is there any feeling for which is the better way to go - I have no particular preference apart from that it does basically the same as what the original BirdNET-Pi does and there is some ongoing active support and development.

I’d be interested to hear other people’s experience of the two options.

I don’t intend to run as an add-on on my Home Assistant Box, but I think some integration would be nice.

Thanks very much again.

Thanks for all the work on this project. I love it, and it’s one of my favorite parts of home assistant. Is there any chance of making a version of this that includes the battybirdnet-pi project?

1 Like

I’ll look at it ; but it would be great if the different projects converged on a single platform with different recognition database

2 Likes

That’d be cool. Just hung a bat house last night with my boys, and they asked me if I can do what I do with the birds, but with the bats, lol. Let me know if there is anything I can do to help.

1 Like

I’ve pushed a first version of battybirdnet-pi. As it is built on the birdnet-pi infrastructure I am quite hopeful for it to work fast. For bugs and further communication, please use the repo here Issues · alexbelgium/hassio-addons (github.com) instead of this thread so we don’t highjack it too much :slight_smile:

By the way, battybirdnet-pi is only published for aarch64

2 Likes

Anybody seeing instability with the addon? Seems to crash daily with:

Restarting audio capture
Restarting audio capture
Restarting audio capture
Restarting audio capture
Restarting audio capture
2024/08/27 04:00:56 Restarting FFmpeg.
2024/08/27 04:00:52 Error reading from ffmpeg: EOF
2024/08/27 04:01:07 [alert] 365#365: unknown process 379 exited on signal 9

Getting Birdnet-Pi working lately has been a lot of fun and a good learning curve for me as a HASS novice.

I started out using the microphone on one of my security cameras by way of an RTSP feed, but the quality was poor and I got very few detections. I was thinking about buying something and then realised I could easily turn an old Android phone into an RTSP streamer. So, an old Galaxy S4 is outside listening for birds. It is a simple case of installing a “turn your phone into a wifi camera” app and then utilising the audio component of the stream for Birdnet-Pi.

Then I had some trouble getting a Home Assistant card to look the way I wanted it to, but I am now reasonably happy with it. Trouble is it’s the same bird 99% of the time; they are not called Noisy Miners for nothing.

Plant some different plants. I get seed eaters and nectar drinking birds at different times of the year depending on what is flowering / seeding.

Oh, I live next to a creek and bushland and we get a fair range of birds. The Noisy Miners are just the noisiest, so just as soon as something else is detected, it gets knocked off the “latest” perch by a Noisy Miner again. Then at certain times of day it’s Musk Lorikeets. But mostly it’s Noisy Miners.

Noisy! Some of them get weird and tap on the windows with their beaks too, just to be even noisier.