Skip to content

ardlank/Thermo-Leap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thermo-Leap

screen shot 2017-07-08 at 3 41 57 pm

What is it?

Thermo-Leap allows someone to control the Nest thermostat using the Leap Motion. The left hand is used to decrease the temperature and right hand is used to increase the temperature. Finger represent how many degrees you would like to increase/decrease the temperature. Lastly, there are gestures to signal home and away to the Nest thermostat.

screen shot 2017-07-08 at 3 42 20 pm

screen shot 2017-07-08 at 3 42 36 pm

Getting Started

Connect the Leap Motion to your computer and download the drivers.

You then need to open thermo_leap.cpp and edit these 4 strings variables:

  • read_temp
  • set_temp
  • set_home
  • set_away

When you see %Structure_id%, %Device_id%, or %Access_key% in the string names you need to replace it with your structure id, device id and access key. You can acquire these through the REST walkthrough here.

A makefile is provided to compile all the code (currently only works on Mac and Linux).

Lastly, you should be able to run the thermo_leap executable. This executable will wait for commands from the Leap Motion.

Demo

Link: https://www.youtube.com/watch?v=3FCLV_fYFHs&list=UUrBGJDqVpaFRZlndfzClaKw

Author

Ardlan Khalili

Questions?

Email me at ardlankhalili@gmail.com

About

A C++ program that uses the Leap Motion SDK to control the Nest thermostat. Finger and hand movements are used to control the Nest thermostat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published