# This is an empty template for configuring rtl_433. mqtt information will be
# automatically added. Create multiple files ending in '.conf.template' to
# manage multiple rtl_433 radios, being sure to set the 'device' setting. The
# device must be set before mqtt output lines.
# https://github.com/merbanan/rtl_433/blob/master/conf/rtl_433.example.conf
output mqtt://core-mosquitto:1883,user=homeassistant,pass=jnfdjnkdfjnkgfd,retain=1
report_meta time:iso:usec:tz
This file contains 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
version: '3' | |
services: | |
postgres: | |
ports: | |
- '5432:5432' | |
environment: | |
- POSTGRES_USER=mirror_db_user | |
- POSTGRES_PASSWORD=mirror_db_pass | |
volumes: | |
- ./mirror:/mirror |
This file contains 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 bash | |
echo "[i] Updating Pi-hole" | |
pihole -up | |
echo "[i] Updating lists" | |
if [ ! -f /etc/pihole/whitelist.txt ] ; then | |
sudo touch /etc/pihole/whitelist.txt | |
fi | |
sudo sort -u -o /etc/pihole/whitelist.txt /etc/pihole/whitelist.txt | |
if [ ! -f /etc/pihole/blacklist.txt ] ; then |
This file contains 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
# Default to PulseAudio | |
pcm.!default { | |
type pulse | |
hint { | |
show on | |
description "Default ALSA Output (Home Assistant PulseAudio Sound Server)" | |
} | |
} |
This file contains 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/bash | |
# NEWLY ADDED BACKUP FUNCTIONALITY IS NOT FULLY TESTED YET, USE WITH CARE, ESPECIALLY DELETION | |
# Developed for DSM 6/7. Not tested on other versions. | |
# Steps to install | |
# Save this script in one of your shares | |
# Backup /usr/syno/share/nginx/ as follows: | |
# # cd /usr/syno/share/ | |
# # tar cvf ~/nginx.tar nginx | |
# Run this script as root |
This file contains 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: Low moisture level detection & notification for all plant sensors | |
description: Regularly test all plant sensors with 'moisture' crossing | |
under their threshold. | |
domain: automation | |
input: | |
threshold: | |
name: Water warning level threshold | |
description: Water sensors below threshold are assumed to be low-Water (as | |
well as binary battery sensors with value 'on'). |
This file contains 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
synopkg stop pkgctl-SynoFinder | |
synopkg uninstall SynoFinder | |
synopkg stop pkgctl-ActiveInsight | |
synopkg uninstall ActiveInsight | |
synopkg stop pkgctl-HybrideShare | |
synopkg uninstall HybrideShare | |
synopkg stop pkgctl-ScsiTarget |
This file contains 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
sudo apt-get -y update | |
sudo apt-get -y install autoconf | |
sudo apt-get -y install build-essential libtool pkg-config \ | |
libasound2-dev libbluetooth-dev libdbus-1-dev \ | |
libglib2.0-dev libsbc-dev libdbus-glib-1-dev | |
git clone https://github.com/Arkq/bluez-alsa.git | |
cd bluez-alsa | |
autoreconf --install --force |
This file contains 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/bash | |
# flush the nat and mangle tables, flush all chains (-F), and delete all non-default chains (-X) | |
iptables -F | |
iptables -X | |
iptables -t mangle -F | |
ip6tables -X | |
ip6tables -t mangle -F | |
ip6tables -F | |
# accept all |
We are going to use the acme.sh script to accomplish this. For authentication of the domain name, we will use the DNS option. First login to your Synology with ssh as the admin user and then sudo -i to get root access. When you login into the Synology with ssh you will end up in the /root path. I assume for the rest of the guide we run everything from that path. Now we need to get the script and change the permissions so it is executable.
wget https://raw.githubusercontent.com/Neilpang/acme.sh/master/acme.sh
chmod a+x acme.sh
Next we issue the certificate:
./acme.sh --issue -d *.website.come --dns --yes-I-know-dns-manual-mode-enough-go-ahead-please