Skip to content

brianmartinil/pylight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

pylight

This script drives USB "webmail notifiers". These all seem to have a USB vendor id of 0x1294 and product id of 0x1320. There are many scripts like it but this one is mine.

Installation

pylight requires the docopt and pyusb modules, plus an appropriate USB backend on your system. On Windows I kind of just flailed around until the USB stuff worked. I think most of it came down to using inf-wizard from libusb-win32 to register libusb as the device driver for the notifer. I have also heard that Zadig might be better or easier? I dunno, I somehow got it working and I'm afraid it'll break if I touch it.

Usage

You can get usage by running ./pylight.py --help. By default all connected notifiers will change to the selected color, but you can also use command line options to select a specific notifer.

Bugs, etc.

Feel free to open issues and pull requests with bugs / improvements.

About

Python utility for controlling USB status lights

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages