⚠ Open Request : ✨ [REQUEST] Birdnet-Go (opened 2024-05-07) by @matthew73210
⚠ Open Issue : 🐛 [Birdnet-go] Queue is full! (opened 2024-06-24) by @thor0215
Home assistant add-on: Birdnet-Go
Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!
About
BirdNET-Go is an AI solution for continuous avian monitoring and identification developed by @tphakala
This addon is based on their docker image.
Configuration
Install, then start the addon a first time. Webui can be found at http://homeassistant:8080. You'll need a microphone : either use one connected to HA or the audio stream of a rstp camera.
The audio clips folder can be stored on an external or SMB drive by mounting it from the addon options, then specifying the path instead of "clips/". For example, "/mnt/NAS/Birdnet/"
Options can be configured through three ways :
- Addon options
ALSA_CARD : number of the card (0 or 1 usually), see https://github.com/tphakala/birdnet-go/blob/main/doc/installation.md#deciding-alsa_card-value
TZ: Etc/UTC specify a timezone to use, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
COMMAND : realtime --rtsp url # allows to provide arguments to birdnet-go
-
Config.yaml Additional variables can be configured using the config.yaml file found in /config/db21ed7f_birdnet-go/config.yaml using the Filebrowser addon
-
Config_env.yaml Additional environment variables can be configured there
Installation
The installation of this add-on is pretty straightforward and not different in comparison to installing any other add-on.
- Add my add-ons repository to your home assistant instance (in supervisor addons store at top right, or click button below if you have configured my HA)
- Install this add-on.
- Click the
Savebutton to store your configuration. - Set the add-on options to your preferences
- Start the add-on.
- Check the logs of the add-on to see if everything went well.
- Open the webUI and adapt the software options
Integration with HA
Not yet available
type: markdown
title: Birdnet (Wikipedia)
content: >-
Time| Bird Name|Number Today| Max
[Confidence](http://192.168.1.25:8081/)
:---|:---|:---:|:---:
{%- set t = now() %}
{%- set bird_list = state_attr('sensor.birdnet_go_events','bird_events') |
sort(attribute='time', reverse=true) | map(attribute='name') | unique | list
%}
{%- set bird_objects = state_attr('sensor.birdnet_go_events','bird_events') |
sort(attribute='time', reverse=true) %}
{%- for thisbird in bird_list or [] %}
{%- set ubird = ((bird_objects | selectattr("name", "equalto", thisbird)) |
list)[0] %}
{%- set ubird_count = ((bird_objects | selectattr("name", "equalto",
thisbird)) | list) | length %}
{%- set ubird_max_confidence = ((bird_objects | selectattr("name", "equalto",
thisbird)) | map(attribute='confidence') | map('replace', '%', '') |
map('float') | max | round(0)) %}
{%- if ubird_max_confidence > 70 %}
{{ubird.time}}
| [{{ubird.name}}](https://en.wikipedia.org/wiki/{{ubird.name |
replace(' ', '_')}}) | {{ubird_count}} | {{ ubird_max_confidence }} %
{%- endif %}
{%- endfor %}
card_mod:
style:
$: |
.card-header {
display: flex !important;
align-items: center;
}
.card-header:before {
content: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAAAXNSR0IArs4c6QAABIRJREFUaEO9Wo1Z3DAMlTeBSXpMAkwCTAI3CXSSu06SRrGdyLZkPfuAfB+lvZOl9/RrOw20PYGIlvhX80FkKm34Esc2+HWITOaeBNbEzMqX6Kbf4sV2EqHvMDmnY26VFoOoaT5Cc3E1EhygpYhoqwYJHV7wKi7mGQAUccyAroPQDbbnlw44CCF+1FCSrjxRAb1L5X0Fdf+emADqplyWDUSntWm9ENEzEY2Rmg9h6RRAj0tIaGQyr+nn7JKqjff6ezMDQeRKIfcJlXozIebIxCIpwPbvTaJqsDrYPlPa5aAxqTekUCDOiCJAZiTlPonoVOnskiqI/DArUesA7ShSZKzAB0cKtoQK6sMWdt2FiO4aW3H5D5M6MHpo1ZQLFGipOk8guixMyNb4SoHe3E17x/subI9NM1j7odZqqN5L84z6QDMmywmcnAHGjHPYhEC0OJvTSsX7auwJAHvvzqjDDU+B6M8Sm01O56+1+fDP3/QbMCli2+VdtqmXtVi4VpDHI8UEeK6dnDnG0X4jClf/ABphpTOeu3dmWY4OR2l/nCS4D0TXUvO2Qg5okbKmNk7BByTqiRDi8E2Gvcp1lD3h1b8GBE3bGpRKKpVNEeS9ywENhI3orduOmQTikslgjHyBRoNBKNFrWbqglHgzKS5ypKHk5bymnHmBrrQQ12b3Gdn6NGmHVZP0iumorIprhcnzU9Xa9hmPBf7ePL6MEtLTDsxX1bXHWgYpI1DUbFW5TIo3xrxmJ8eqZgg1nlNi4GWGdqLgo8gDLTtAPiFf+u16s5xae1w3TijQHS1bt7P2de1NXGZsRfL4PM8djs4j0VLs7pWmwZE6r8earyVFapzQnt/hNXtvKuPEoon1RVRkOkCEDIMXitG6/Um3rKyoo45TiutG7BVbZBAho5spRauVxpj/O9L+HNrvthstMIhtLtXSSJOALRze9PaH+w7mlpThxnBRitWffmOpysXPM8p99pSDPVYKzuwcKlCe5e37MjrakvSZWkOeidTv39dW2d3OIHpcl8fdwYeuqz1bV4RACIE+aQkn9IzigzZd3mkE4gWUMBAJZX0Yn/0ojol36PQVcHvm6Aw9HDPc0Vtkmru5IYOgsN+iDUVlhPrWjEuSKt6d7hV9J/9UDcodtzECc1K10ThqqB+plsxAZAdEVTKdplZ6xH9pvKnyI7OrHYBeQvkgCs9H7pd6IK29ti3wRTJmGhmmIASblXyuyYe6gmajBjCnzqGktRMZHLFsogItdzC+d4sbTeHd/bXsmIldjUaItzO8A6jfNHRbRmF/+0eD6CsQnddLxe4RGuyCZo+zCD0KQkywPcz1/0NFvhjh3/+0ewA0nUYJboTA6GrE5F30dfSlsrRbYwAxNTOD7+ramh/XBjjyO5Xa9HtNAY9dpiOLG4074ApEJFMsCEE+rISgNQiiWx0g59AwqJ/I0+9wlL9TgFyrDkO9cwP6irRN8oKs5/w95UpBbxkArBLJbwrgYTaZBWZTmKFktWFPl/W93sv62vS2bc5h5WpR0+8x6OzYhpYqOP8DUq58TJ+vR7cAAAAASUVORK5CYII=");
height: 52px;
width: 42px;
margin-top: 0px;
padding-left: 0px;
padding-right: 18px;
}
Common issues
Not yet available
Support
Create an issue on github

