-
Get into the unifios shell on your udm
unifi-os shell
-
Download udm-boot_1.0.5_all.deb and install it and go back to the UDM. The latest package will always be found at https://udm-boot.boostchicken.dev
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
# adb-state-detection-rules-home-assistant | |
see: https://www.home-assistant.io/integrations/androidtv#custom-state-detection | |
Because netflix has "previews" make sure to have a 15 second time-out to double check that the movie is playing or the preview is playing. | |
```json | |
"state_detection_rules": { | |
"com.android.vending": [ | |
"idle" | |
], |
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
# yaml-language-server: $schema=https://raw.githubusercontent.com/recyclarr/recyclarr/master/schemas/config-schema.json | |
# A starter config to use with Recyclarr. Most values are set to "reasonable defaults". Update the | |
# values below as needed for your instance. You will be required to update the API Key and URL for | |
# each instance you want to use. | |
# | |
# Many optional settings have been omitted to keep this template simple. Note that there's no "one | |
# size fits all" configuration. Please refer to the guide to understand how to build the appropriate | |
# configuration based on your hardware setup and capabilities. | |
# |
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
#! /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
docker ps -q | xargs -n 1 docker inspect --format '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}} {{ .Name }}' | sed 's/ \// /' |
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: Sync TRV temperature | |
description: Sync external temperature sensor with TRV temperature | |
domain: automation | |
input: | |
ieeeaddressoftrv: | |
name: IEEE Address | |
description: This is the address of the TRV found in your zigbee database example 0x459877fffe1f2e83 | |
external_temp: | |
name: Select the external temp sensor |
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
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
www.marktplaats.nl##li.hz-Listing:has-text(/Bezoek website/) | |
www.marktplaats.nl##li.hz-Listing:has-text(/Heel Nederland/) | |
www.marktplaats.nl##li.hz-Listing:has-text(/Buitenland/) | |
www.marktplaats.nl##li.hz-Listing:has-text(/BVA Auctions/) | |
www.marktplaats.nl##li.hz-Listing:has-text(/Hollandia Autolease/) | |
www.marktplaats.nl##li.hz-Listing:has-text(/DJ Nederland/) | |
www.marktplaats.nl###adsense-root | |
www.marktplaats.nl##div.hz-Banner--fluid.hz-Banner | |
www.marktplaats.nl##.hz-Listings__container--cas | |
www.marktplaats.nl###adsense-container |
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 |
NewerOlder