This file contains hidden or 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: Report offline zigbee/zwave/battery/smart plug devices | |
description: Works with Smart Plugs, ZWave, Zigbee etc (Works with ZHA & Z2M) | |
#By Tahutipai 2024-02-21 | |
#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 |
This file contains hidden or 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 | |
# | |
# Perform Influx v2 query with correct headers as CSV, open editor for changes, and write back to InfluxDB. | |
# | |
# Usage: influx-edit.sh <Org/Bucket> <flux_measurement> <from> <to> | |
# Prerequisites: Need to put login data (host, Org, token) into $HOME/.influxdbv2/configs file. | |
# | |
# Author: Jens Benecke <[email protected]>, 2022. | |
# Published as public domain, as far as legally possible. |
This file contains hidden or 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 | |
# | |
# Compare two PDF files. | |
# Dependencies: | |
# - pdfinfo (xpdf) | |
# - pdfjam (texlive-extra-utils) | |
# - diffpdf | |
# | |
MAX_HEIGHT=15840 #The maximum height of a page (in points), limited by pdfjam. |