Skip to content

v1.2.4

Latest
Compare
Choose a tag to compare
@toxuin toxuin released this 21 Sep 02:39
· 6 commits to master since this release

You can now use template variables in webhook URLs and payload body.

This allows meaningful Telegram messages.

Here's what I used for testing:

webhooks:
  enabled: true
  items:
    - url: "https://api.telegram.org/bot121212121:token/sendMessage?chat_id=43434343434&text=Camera alert! {{ .Camera }}: {{ .Event }}"

This results in telegram message:
Camera alert! garageCam: HumanDetect