Skip to content

Instantly share code, notes, and snippets.

View corgan2222's full-sized avatar
🏠
Working from home

Stefan Knaak corgan2222

🏠
Working from home
View GitHub Profile
mkdir backupZigbee
cd backupZigbee
virtualenv -p 3 venv
source venv/bin/activate
pip3 install zigpy-znp
usb-devices
lsusb
ls -lah /dev/tty*
service zigbee2mqtt stop
python3 -m zigpy_znp.tools.network_backup /dev/ttyACM0 -o network_backup.json -v
@corgan2222
corgan2222 / report_zigbee_zwave_devices_gone_offline2.yaml
Last active March 22, 2024 10:22
Home Assistant Blueprint: Low battery level detection & notification for all battery sensors
blueprint:
name: Report offline zigbee/zwave/battery/smart plug devices with device exclusion
description: Works with Smart Plugs, ZWave, Zigbee etc (Works with ZHA & Z2M). Now supports excluding entire devices.
#By Tahutipai 2024-02-21, updated to include device exclusion
#Originally Based on the work of Sybx @ https://community.home-assistant.io/t/low-battery-level-detection-notification-for-all-battery-sensors/258664
#Note: This has been upgraded to report only the Device that is offline, not multiple individual sensors within one Device
domain: automation
input:
time:
name: Time to test on