This file contains 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
1. Create new API Key on Backblaze | |
Login via password and 2FA | |
2. Create remote for b2 | |
[b2] | |
type = b2 | |
account = keyID | |
key = <applicationKey> |
This file contains 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
switch: | |
- platform: command_line | |
switches: | |
switch_name: | |
command_on: "usbrelay RELAY_1=1" | |
command_off: "usbrelay RELAY_1=0" | |
command_state: "usbrelay | grep -i 'RELAY_1' | grep -E -i '=1'" |