Skip to content

Instantly share code, notes, and snippets.

@KenGrinder
KenGrinder / report_zigbee_zwave_devices_gone_offline.yaml
Last active November 12, 2024 02:57 — forked from modularTaco/report_zigbee_zwave_devices_gone_offline.yaml
Home Assistant Blueprint: Low battery level detection & notification for all battery sensors (With Low Battery Alerts)
blueprint:
name: Report offline and low battery devices
description: Works with Smart Plugs, Z-Wave, Zigbee, etc. (Works with ZHA & Z2M)
domain: automation
input:
time:
name: Time to test on
description: Test is run at configured time
default: '10:00:00'
selector:
@KenGrinder
KenGrinder / blacklist.sh
Last active February 22, 2021 02:57 — forked from alex-red/blacklist.sh
Geo-IP Block for Edgerouter
#Backup previous list
rm -f BLACKLIST_OLD.txt
mv BLACKLIST.txt BLACKLIST_OLD.txt
touch BLACKLIST.txt
#Download the file from PGL.YOYO
curl -O https://pgl.yoyo.org/as/iplist.php
#Download the file from emerging threats
curl -O https://rules.emergingthreats.net/fwrules/emerging-Block-IPs.txt
#Download the first file from SpamHaus
curl -O https://www.spamhaus.org/drop/drop.txt