Skip to content

Instantly share code, notes, and snippets.

niecore / gist:5d7c014183f0db6ed133b29d88c321b0
Created October 28, 2021 20:45
Recover backblaze rclone
View gist:5d7c014183f0db6ed133b29d88c321b0
1. Create new API Key on Backblaze
Login via password and 2FA
2. Create remote for b2
type = b2
account = keyID
key = <applicationKey>
niecore / commandlineswitch.yaml
Created July 16, 2021 15:55
homeassistant command line switch with usbrelay
View commandlineswitch.yaml
- platform: command_line
command_on: "usbrelay RELAY_1=1"
command_off: "usbrelay RELAY_1=0"
command_state: "usbrelay | grep -i 'RELAY_1' | grep -E -i '=1'"