Simple application to reboot an Apple TV Homekit hub connected with a smart plug.
Will reboot on the defined schedule or when the Apple TV is not responding.
Only works with smart plugs that support the TP-Link Tapo API.
Has to be disabled when the Apple TV is updating.
ATV_ADDRESS: address of the Apple TV
PING_TIME: time in seconds to run ping command
CRON: Cron schedule expression
TAPO_IP: IP of your Tapo device
TAPO_USERNAME: Your Tapo username
TAPO_PASSWORD: Your Tapo password
- docker build -t go-apt-reboot . --no-cache
- docker run --env-file ./.env go-apt-reboot
- docker rm -f $(docker ps -aq)
- docker rmi $(docker images -q)
GitHub Copilot was used to write part of the code and documentation.