New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

hue-conductor

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hue-conductor

The Philips Hue Conductor is an app that lets you control Hue lights from a webcam with hand-gestures, using the [MediaPipe hand gesture library](https://developers.google.com/mediapipe/solutions/vision/gesture_recognizer).

  • 0.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Philips Hue Conductor

The Philips Hue Conductor is an app that lets you control Hue lights from a webcam with hand-gestures, using the MediaPipe hand gesture library.

https://github.com/nsthorat/hue-conductor/assets/1100749/b2b8c32f-9e2c-40cb-8c13-e922ba63ffd9

Running the webserver

bunx hue-conductor

or

npx hue-conductor

Philips Hue Bridge IP and Username

Detailed documentation on finding your Hue Bridge

You will need both the IP, and the username that you create via the '/api' request outlined in the docs above.

If you use the default message body provided, Tthe username will be my_hue_app:

{"devicetype":"my_hue_app#iphone peter"}

Controlling the lights

Before you can begin controlling lights, you must create two things from the Philips Hue app:

  1. A group of lights. I only allow controlling groups to control latency.
  2. Scenes for groups you want to control. Just like groups, I only allow controlling scenes to control latency.

Once you do this, in settings you can map each of the gestures to a scene:

7 gestures from MediaPipe gesture recognition:

None
Closed_Fist: ✊
Open_Palm: 🖐️,
Pointing_Up: ☝️
Thumb_Down: 👎
Thumb_Up: 👍
Victory: ✌️
ILoveYou: '🤟

Caveats

This currently will only work from localhost or 127.0.0.1 as it requires a non-https request to a local IP address.

Developing

bun install

bun run dev -- --open

FAQs

Package last updated on 02 Oct 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc