Skip to content

vdwees/christmas-tree

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

USB Power Control over HTTP

A quick script to turn my USB christmas tree lights on and off. Runs on Raspberry Pi.

To use, clone and edit the service file as needed, copy it to /lib/systemd/system, refresh systemd and enable the service.

It's not elegant. All its doing is turning the usb ports on and off. On the other hand, this script works for any usb-powered device that needs to be turned on or off.

Note that an easy way to automate the trigger is to make a shortcut on an iOS device that requests the /on, /off, or /toggle endpoints. For example, my tree turns on when I stop my morning alarm.

About

A quick script to turn the christmas tree on and off

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages