Skip to content

Turn ON/OFF Phillips Hue Lights with clap of hands

License

Notifications You must be signed in to change notification settings

p-jonczyk/hue_ligths

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ABOUT

This program uses RaspberryPi sound/noise sensor (peeks like claps or snaps) to ON/OFF Phillips Hue lights (connected to Hue Bridge)

WHAT IS NEEDED

  1. RaspberryPi (following project was performed with use of RaspberryPi Zero WH)
  2. Sensors:
  3. Hue Bridge and light

INSTALLATION

If your sensor is connected and RaspberryPi is set:

  1. In RaspberyPi terminal type:

    • pip3 install Adafruit_DHT
    • pip3 install phue
  2. In hand_clap_on_off.py set value of:

    • pin - pin which you used to connect sensor to Raspberry Pi
    • BRIDGE_IP - your heu bridge ip

HOW TO

  1. Run hand_clap_on_off.py
  2. Clap your hands to turn ON/OFF lights

ADDITIONALLY

  1. Phillips hue light is controlled with use of light's name. In order to change that variable go to hue_control.py.
  2. You may change sensitivity of the sensor using its potentiometer (hardware)

Releases

No releases published

Packages

No packages published

Languages