npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

artnet-hue-entertainment

v0.1.0

Published

Near-realtime ArtNet control over Signify/Philips Hue lights using the new Hue Entertainment API

Downloads

4

Readme

ArtNet Hue Entertainment

License

In short: an ArtNet controller for the new Hue Entertainment API, giving near-realtime control of Hue lights.

The well-known Philips/Signify Hue API only allows for about 10 updates per second. If you want to update multiple lights multiple times per second this approach will not scale. To make this practical, all color transitions will need to be done inside the Hue bulb. This complicates light programming, as Hue bulbs can not be used as any other RGB DMX light. As this is the only well-known Hue API, this is what most other Hue ArtNet bridges use.

Since the introduction of the Hue Sync Box, a new API is available allowing up to 25 updates per second for up to 10 lights. This gives us almost real-time control over lights, even with perfect synchronization between the lights. This is called the Hue Entertainment API.

To accomplish this, the Hue Bridge sends the entire update packet, which contains color information for all bulbs in the Entertainment group, to a 'Proxy' bulb. This is a bulb that is elected by the Hue bridge to be near all other bulbs in the Entertainment group. It will receive the full color update for all bulbs and it will broadcast the message so all bulbs receive it. Then every individual bulb will only take it's own color from the update message and apply it. This accomplishes near-perfect synchronization.

Please note that only original Philips/Signify Hue color bulbs are supported. This means Ikea Tradfri bulbs can not be used, neither can Hue white bulbs. This is a limitation in the protocol and can not be worked around.

If you need to support non-color or non-Hue bulbs as well, you should check out another project which talks to the normal Hue API, such as Dmx-Hue.

Setting up

To start using ArtNet-Hue-Entertainment, take the following steps:

  1. First, open the Philips Hue app on your phone and setup a new Entertainment group. This can be done by navigating to Settings > Entertainment rooms.
  2. If you don't have an entertainment group yet, create one by tapping the blue plus button on the top right, give the entertainment room a name and select some lights. Placement of the bulbs is not important and will be ignored.
  3. This project really is still work in progress. More to come!