Skip to content

tiagordc/go-apt-reboot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Apple TV rebooter

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.

Limitations

Only works with smart plugs that support the TP-Link Tapo API.

Has to be disabled when the Apple TV is updating.

Environment variables

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 reference

  • 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)

References

Disclaimer

GitHub Copilot was used to write part of the code and documentation.

About

Reboot Apple TV on a schedule

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published