Skip to content

Griffin Powermate Bluetooth expect script and bash example for Linux/Unix

Notifications You must be signed in to change notification settings

prokrypt/powuhmate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 

Repository files navigation

powuhmate

BLUETOOTH Griffin Powermate expect script and bash example

You will need gatttool.

Files

powermate.sh: it's what I started with. It's an ugly hack.

powuhmate: an expect script with LED control added in. It's my first time with expect scripts, so it too is an ugly hack, I guess... There are two ways to use this. One is to have it exec your actions as desired. The second way is to remove all the exec bits from the file and pipe the output to your own script.

Features

  • Fast and responsive
  • Minimum delay when controlling LEDs
  • Filters out duplicate events from that horrible, horrible button
  • Did I mention it's fast?

LED behavior comments taken (stolen?!?) from https://github.com/stefansundin/powermate-linux/tree/master/bluetooth

About

Griffin Powermate Bluetooth expect script and bash example for Linux/Unix

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages