Skip to content

Adds new scripts, removes slack webhook

Compare
Choose a tag to compare
@isaric isaric released this 25 Oct 11:57
· 12 commits to main since this release
3b6c5ce

Summary

This release adds two new scripts for operating on ptz presets.

New functions

It is now possible to set a new preset and to command the camera to go to a preset. This feature is added to deal with power outages moving the camera or tampering.

Removed unused params

Slack webhooks are now longer used to notify over slack. A bot token and channel id is sufficient.

Misc code improvements

There was a major refactor. The parameter structs are now composed to stop needles repetition.
Logging has been improved and the log messages are stored as templates.

The master branch was renamed to main to fit with GitHub conventions.