Skip to content
Discussion options

You must be logged in to vote

Automated message from birdnet-go support assistant.

Two things are tripping it up: the syntax and the variable names.

The Alert Rule Title and Message Template fields don't use Go template syntax, so the dot-prefixed form like {{.CommonName}} or {{.Timestamp}} never gets substituted and passes straight through as literal text. These fields do a simple placeholder replace where the variable name goes inside double braces with no leading dot, for example {{species_name}}.

There also isn't a Timestamp or CommonName variable. For a detection rule the placeholders that actually get filled in are {{species_name}}, {{scientific_name}}, {{confidence}}, {{location}}, {{event_timestamp}}, {{days…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@j11kevin
Comment options

@crosads
Comment options

Answer selected by j11kevin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants