Skip to content

Files

Latest commit

 

History

History
30 lines (24 loc) · 1.08 KB

README.md

File metadata and controls

30 lines (24 loc) · 1.08 KB

GestureMirror

Using an APDS9960 gesture sensor and a Raspberry Pi, this project can control an external display and a Sonos speaker.

This project might be handy if you happen to have a Raspberry Pi smart mirror that is connected to an APDS9960 gesture sensor and also a Sonos speaker that you want to control. You can realize use cases like the following:

The display should turn on when you make a gesture and should automatically turn off when a timer expires. Another gesture should turn on the speaker and play from a predefined URI (e. g. a radio station).

Requirements

  • Python 3.7+ (lower 3.x versions might work)
  • The setup described above.

Usage

First, clone this repository and install the dependencies (you are advised to use virtual environments):

git clone https://github.com/ytausch/GestureMirror.git
cd GestureMirror
pip install -r requirements.txt

Then, make sure to personalize main.py for your needs.

Finally, start the application:

cd src
python -m gesturemirror.main