Skip to content

Instantly share code, notes, and snippets.

- id: reset_extra_screen_time
alias: "Reset extra screen time"
mode: single
max_exceeded: silent
trigger:
- platform: time
at: "00:00:00"
condition:
condition: time
weekday:
@x29a
x29a / update.sh
Created January 7, 2017 20:41
SPDYN/SPDNS update via bash
#!/bin/bash
# registered domains. might be the same for v4 and v6
DOMAINV4=foobar.my-router.de
DOMAINV6=${DOMAINV4}
# generated token for each domain
TOKENV4=abcd-abcd-abcd
TOKENV6=abcd-abcd-abcd