Skip to content

Use Python's pyudev to monitor for USB events. Sends SMS texts using Twilio if a USB device is added or removed from your machines.

License

Notifications You must be signed in to change notification settings

droberson/usb-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

usb-watch

Use Python pyudev to monitor for USB events. Sends SMS texts via Twilio if something is plugged in/removed from the machine.

Quickstart

  • This has only been tested on Linux!!

  • This depends on the pyudev and twilio Python modules. Install them using your distro's package system or pip.

  • Go to Twilio.com and sign up. You will need your SID, auth token, and a phone number.

  • Place these settings into settings.py (you will need to create this file) using example_settings.py as a template.

  • Run it: ./usb_watch.py

About

Use Python's pyudev to monitor for USB events. Sends SMS texts using Twilio if a USB device is added or removed from your machines.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published