You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of adding/maintaining new databases, notification options, API integrations, & species configurations, just add a hooks that are called every time there is a realtime detection.
Define in the config the name of the executable including argument templates like these examples:
In addition to arguments expose the complete note record as environment variables:
BIRDNET_DATE
BIRDNET_TIME
BIRDNET_COMMON_NAME
BIRDNET_CONFIDENCE
etc.
Based on this, users could use shell scripts instead for more complex integrations:
Any allowed/configured executable must by placed in or symlinked from a preconfigured directory. Then you expose it to your container: docker run -v $HOME/hooks:/hooks ghcr.io/tphakala/birdnet-go:latest
In the examples above we have Postgresql, notifications, redis/valkey, and custom REST API support with no additional code base dependencies or complexity.
The currently built-in birdweather integration could be extracted from the code base and put into a stand-alone executable that is called as a hook.
The text was updated successfully, but these errors were encountered:
Yeah it is quite easy to do, and I don't see any reason why not to implement this. Hoever I would not like to exclud any direct integrations out either as while this allows any integration you ever need, it requires quite complex setups from end user.
Instead of adding/maintaining new databases, notification options, API integrations, & species configurations, just add a hooks that are called every time there is a realtime detection.
Define in the config the name of the executable including argument templates like these examples:
In addition to arguments expose the complete note record as environment variables:
BIRDNET_DATE
BIRDNET_TIME
BIRDNET_COMMON_NAME
BIRDNET_CONFIDENCE
etc.
Based on this, users could use shell scripts instead for more complex integrations:
Any allowed/configured executable must by placed in or symlinked from a preconfigured directory. Then you expose it to your container: docker run -v $HOME/hooks:/hooks ghcr.io/tphakala/birdnet-go:latest
In the examples above we have Postgresql, notifications, redis/valkey, and custom REST API support with no additional code base dependencies or complexity.
The currently built-in birdweather integration could be extracted from the code base and put into a stand-alone executable that is called as a hook.
The text was updated successfully, but these errors were encountered: