Skip to content

/r/thebutton Python client and bluetooth gatttool wrapper. Includes example code for controlling Bluetooth, Philips Hue and Arduino devices

License

Notifications You must be signed in to change notification settings

rybi/thebutton-monitor

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The Button Python Client

A simple library for querying the /r/thebutton button.
Includes a gatttool wrapper for interacting with bluetooth devices.

(Uses non-interactive gatt session without the gatt library, thanks to samph)

(Thanks to kaloncheung124) ####In Action

(Thanks to primehunter326)

thebutton.py

A WebSocketApp that automatically updates relevant button data.
Based on https://github.com/mfontanini/thebutton

Requirements

gatt.py

Basic Python wrapper for BlueZ gatttool.
Based on https://github.com/stratosinc/pygatt

Requirements

  • Linux: BlueZ (for gatttool)
  • Bluetooth 4.0 adapter
  • pexpect
  • Tested on Python 2.7+

About

/r/thebutton Python client and bluetooth gatttool wrapper. Includes example code for controlling Bluetooth, Philips Hue and Arduino devices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 96.7%
  • Other 3.3%