This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blueprint: | |
name: Frigate Notification (0.0.6) via Matrix | |
description: | | |
## Frigate Notification via Matrix | |
Ce blueprint envoie une notification via Matrix lorsqu'un événement Frigate se produit pour la caméra sélectionnée. | |
Le message inclut une image de la détection, ainsi que des liens pour voir le clip et le snapshot. | |
### Paramètres requis : | |
- Nom de la caméra Frigate |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import boto3 | |
import argparse | |
def lookup_by_id(sgid): | |
sg = ec2.get_all_security_groups(group_ids=sgid) | |
return sg[0].name | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh - | |
#====================================================================================================================== | |
# vim: softtabstop=4 shiftwidth=4 expandtab fenc=utf-8 spell spelllang=en cc=120 | |
#====================================================================================================================== | |
# | |
# FILE: bootstrap-salt.sh | |
# | |
# DESCRIPTION: Bootstrap Salt installation for various systems/distributions | |
# | |
# BUGS: https://github.com/saltstack/salt-bootstrap/issues |