All Projects → MatheusR42 → yeelight-hand-controller

MatheusR42 / yeelight-hand-controller

Licence: MIT license
With Yeelight Hand Controller you can turn on and off your Yeelight just with a finger snap and change the brightness intensity raising or lowering your hand.

Programming Languages

javascript
184084 projects - #8 most used programming language
HTML
75241 projects
CSS
56736 projects

Projects that are alternatives of or similar to yeelight-hand-controller

UnityHandTrackingWithMediapipe
Realtime hand tracking and finger tracking in Unity using Mediapipe
Stars: ✭ 129 (+214.63%)
Mutual labels:  mediapipe
Smart-Lights-Yeelight
Control Yeelight Devices quickly from your Mac OS Tray
Stars: ✭ 51 (+24.39%)
Mutual labels:  yeelight
Miio
Control Mi Home devices, such as Mi Robot Vacuums, Mi Air Purifiers, Mi Smart Home Gateway (Aqara) and more
Stars: ✭ 1,669 (+3970.73%)
Mutual labels:  yeelight
Mediapipe
Cross-platform, customizable ML solutions for live and streaming media.
Stars: ✭ 15,338 (+37309.76%)
Mutual labels:  mediapipe
esphome-yeelight-ceiling-light
Esphome custom firmware for some Yeelight Ceiling Lights
Stars: ✭ 81 (+97.56%)
Mutual labels:  yeelight
goodbye-mihome
Web UI and plugins to manage Xiaomi MiHome gateway, sensors and smart devices.
Stars: ✭ 92 (+124.39%)
Mutual labels:  yeelight
Akihabara
A pure .NET port for Google Mediapipe, inspired of MediaPipeUnity.
Stars: ✭ 21 (-48.78%)
Mutual labels:  mediapipe
python-yeelightbt
Python library for Yeelight's bedside (btle) and candela lamps
Stars: ✭ 77 (+87.8%)
Mutual labels:  yeelight
mi-lamp-re
💡 Reverse Engineering Notes for the Yeelight Bedside Lamp (BLE)
Stars: ✭ 35 (-14.63%)
Mutual labels:  yeelight
YeelightController
Control your Xiaomi Yeelight from your OSX Device
Stars: ✭ 39 (-4.88%)
Mutual labels:  yeelight
yeelight
The nodeJS client library for controlling yeelight over LAN
Stars: ✭ 52 (+26.83%)
Mutual labels:  yeelight
node-yeelight-wifi
node js package for xiaomi yeelight bulbs
Stars: ✭ 49 (+19.51%)
Mutual labels:  yeelight
homebridge-yeelight-platform
Homebridge plugin for Yeelight Lights supporting Scenes/Moods/Color Flow/Custom Presets/Music Flow/Night Mode
Stars: ✭ 53 (+29.27%)
Mutual labels:  yeelight
gestop
A tool to navigate the desktop with hand gestures. Builds on mediapipe.
Stars: ✭ 20 (-51.22%)
Mutual labels:  mediapipe
hass-miio-yeelink
Xiaomi Miio Yeelink/Yeelight devices for Home Assistant
Stars: ✭ 140 (+241.46%)
Mutual labels:  yeelight
ai-virtual-mouse
Developed an AI-based system to control the mouse cursor using Python and OpenCV with the real-time camera. Fingertip location is mapped to RGB images to control the mouse cursor.
Stars: ✭ 59 (+43.9%)
Mutual labels:  mediapipe
fluxee
💡 Controlling Yeelight smart lights corresponding to f.lux display color temperature
Stars: ✭ 55 (+34.15%)
Mutual labels:  yeelight
BlazePoseBarracuda
BlazePoseBarracuda is a human 2D/3D pose estimation neural network that runs the Mediapipe Pose (BlazePose) pipeline on the Unity Barracuda with GPU.
Stars: ✭ 131 (+219.51%)
Mutual labels:  mediapipe
yeelight.io
Node.js library for controlling Xiao Mi Yeelight
Stars: ✭ 19 (-53.66%)
Mutual labels:  yeelight
esphome-components
ESPHome components
Stars: ✭ 62 (+51.22%)
Mutual labels:  yeelight

Yeelight Hand Controller

With Yeelight Hand Controller you can turn on and off your Yeelight just with a finger snap and change the brightness intensity raising or lowering your hand.

Yeelight Hand Controller In Action

Equipments

  • Webcam
  • Microphone
  • Yeelight 2nd generation YLDP06YL (it's possible to use other versions too, you will just need to find out a nice lib to work with your version)

Libs

How it works

The YEELIGHT AWESOME lib gives handful methods to play with Yeelight so you just need to use your imagination to work with that 😉.

To turn on and off the light with a finger snap I recorded background noises of my room together with some finger snaps. With this data I trained a TensorFlow model using Teachablemachine.

To control the brightness intensity I use MediaPipe Hands lib. This lib can track with high precision many hand landmarks. I choose to use the wrist landmark because it is more stable to angle changes so it will work similarly even if you use other hand positions like with the palm pointing forward.

Hand Landmarks

To put everything together, I use a node back-end with Express to create API endpoints that trigger YEELIGHT AWESOME commands. At the front-end I just write some functions to listen to Tensorflow and MediaPipe and call the back-end. You can find the code here.

Improvements

The Yeelight also can change colors so it is possible to train more categories like clap and whistle with Tensorflow or listen for other types of movements to play with the light.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].