Why not do it right? This has been moved to Awesome Inclusivity.
Possibly the start of something wonderful, and also a potential duplication of effort that the Awesome Diversity repo is up to.
Credits to #allies in hangops for starting this list.
Why not do it right? This has been moved to Awesome Inclusivity.
Possibly the start of something wonderful, and also a potential duplication of effort that the Awesome Diversity repo is up to.
Credits to #allies in hangops for starting this list.
I've made some changes to this to improve performance. Running prepare.sh takes too long on my CloudKey Gen 2, so I installed the qemu libraries to run it on my desktop where I will be extracting videos. The author of the remux utility has instructions for how to do this on the README.
I'm running seven total cameras and will synchronize all of the data to my Synology NAS, and from there I'll run the remux utility to extract videos. This is still a work in progress but I will eventually have all of this documented under my Unifi Protect Extract repository.
Requirements:
sync.sh saved to the user's home.Fill out the variables in the sync.sh script and run it. It will only pull the standard ubv files that are written by Protect and skip timelapse and others. I found it easier to just synchronize the whole hierarchy than ha
This is a quick and dirty script to create a timelapse using ffmpeg. I have a systemd timer that takes a snapshots of all my cameras every 5 minutes and dumps them into a folder, which allows me to make some interesting time lapses.
The gist of the script is:
find to locate the first file in the directory, and then ffprobe to get the resolution of the image.filter_complex is used to hold the last frame for 2 seconds, which can be adjusted with the $FFMPEG_HOLD variable.Syntax is below:
This is a really quick and dirty way to pull data via BLE on my Raspbery Pi and toss it into InfluxDB. This only supports the WavePlus. If Airthings wants to send me free stuff I will extend it.
I quickly rewrote my script here to support this and eventually I will extend it.
| # Assumptions are you already use letsencrypt and have dhparam generated | |
| # Configure ZNC to listen on IPv4 and only IRC + SSL for client connections | |
| <Listener listener0> | |
| AllowIRC = false | |
| AllowWeb = true | |
| IPv4 = true | |
| IPv6 = false | |
| Port = 5001 | |
| SSL = true | |
| URIPrefix = / |
| #!/bin/bash | |
| wget -O - https://packages.icinga.com/icinga.key | apt-key add - | |
| DIST=$(awk -F"[)(]+" '/VERSION=/ {print $2}' /etc/os-release); \ | |
| echo "deb http://packages.icinga.com/debian icinga-${DIST} main" > \ | |
| /etc/apt/sources.list.d/${DIST}-icinga.list | |
| echo "deb-src http://packages.icinga.com/debian icinga-${DIST} main" >> \ | |
| /etc/apt/sources.list.d/${DIST}-icinga.list | |
| sudo apt-get install icinga2 -yy |