Skip to content

Instantly share code, notes, and snippets.

@B4dM4n
B4dM4n / Rclone Prometheus memory stats
Created July 28, 2018 11:45
A shell script to collect rclone memory stats that can be read by the prometheus node_exporter textfile module
Rclone Prometheus memory stats
@B4dM4n
B4dM4n / keybase.md
Created December 31, 2019 11:34
keybase.md

Keybase proof

I hereby claim:

  • I am B4dM4n on github.
  • I am b4dm4n (https://keybase.io/b4dm4n) on keybase.
  • I have a public key whose fingerprint is 6309 E212 29D4 DA30 AF24 BDED 754B 5C09 63C4 2C50

To claim this, I am signing this object:

@B4dM4n
B4dM4n / appliance-power-events.yaml
Created February 11, 2022 23:01
Home Assistant automation blueprint to perform actions when a device starts and stops as detected by a power sensor
blueprint:
name: Appliance power events
description: Do something when an appliance (like a washing machine or dishwasher) has started or finished as detected by a power sensor.
domain: automation
source_url: https://gist.github.com/B4dM4n/aa1bde301f49a7a79bdb5da8d311387e
input:
power_sensor:
name: Power Sensor
description: Power sensor entity (e.g. from a smart plug device).
selector: