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
import re | |
encrypted = 'ENCODED THINGY HERE' | |
# Change the cipher accordingly | |
dict = { | |
"13": "E", | |
"33": "T", | |
"21": "O", | |
"53": "N", |
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 | |
# Enter your username and password for your Transmission instance | |
USER=username | |
PASSWD=passw0rd123 | |
# Obtain index ids of completed torrents. | |
torrent_ids=$(transmission-remote -n $USER:$PASSWD -l\ | |
| awk '$5=="Done"{print $1}') | |
for index in $torrent_ids; do |
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
- alias: Deurbel Notificatie | |
trigger: | |
platform: mqtt | |
topic: stat/frontdoor/doorbell | |
payload: 'ringing' | |
action: | |
- service: notify.pushover | |
data: | |
message: "There's someone in front of your door" | |
title: "Ding Dong!" |
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
sensor: | |
- platform: mqtt | |
name: "Doorbell" | |
state_topic: "stat/frontdoor/doorbell" | |
payload_on: "ringing" | |
payload_off: "standby" |
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
mqtt: | |
broker: IP | |
port: 1883 | |
client_id: home_assistant | |
username: USERNAME | |
password: PASSWORD |
NewerOlder