artnet-hue-entertainment

所属分类:虚拟/增强现实-VR/AR
开发工具:TypeScript
文件大小:37KB
下载次数:0
上传日期:2023-03-20 14:46:35
上 传 者sh-1993
说明:  使用新的色调娱乐API对Signify Philips色调灯进行近实时ArtNet控制
(Near-realtime ArtNet control over Signify Philips Hue lights using the new Hue Entertainment API)

文件列表:
.editorconfig (162, 2022-08-31)
LICENSE.txt (1068, 2022-08-31)
build (0, 2022-08-31)
build\bridge.js (6905, 2022-08-31)
build\bridge.js.map (5700, 2022-08-31)
build\cli.js (7862, 2022-08-31)
build\cli.js.map (5027, 2022-08-31)
build\const.js (328, 2022-08-31)
build\const.js.map (200, 2022-08-31)
build\hue-dtls.js (4755, 2022-08-31)
build\hue-dtls.js.map (3728, 2022-08-31)
package-lock.json (51718, 2022-08-31)
package.json (1337, 2022-08-31)
qlc+ (0, 2022-08-31)
qlc+\Artnet-Hue-RGB.qxf (1665, 2022-08-31)
src (0, 2022-08-31)
src\bridge.ts (6967, 2022-08-31)
src\cli.ts (6143, 2022-08-31)
src\const.ts (205, 2022-08-31)
src\hue-dtls.ts (3892, 2022-08-31)
tsconfig.json (305, 2022-08-31)

# ArtNet Hue Entertainment [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE.txt) __Note: This package is still work in progress!__ 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](https://github.com/sinedied/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. Discover Hue bridges on your network by running `artnet-hue-entertainment discover`. This will print a list of all Hue bridges and their IP address. 4. Pair with a Hue bridge. To do so, first press the link button on the bridge. Then run: `artnet-hue-entertainment pair --ip `. 5. This project really is still work in progress. More to come! ## Channel modes DMX channel mode can be configured for every Hue light that is controlled. The following 3 modes are supported: 1. `8bit` - 3 channels (R, G, B) 2. `8bit-dimmable` - 4 channels (Dim, R, G, B). This is the recommended mode, as Hue bulbs are controlled with 16 bit values. Color mixing is smooth even on the lowest dimmer setting. 3. `16bit` - 6 channels (R, R fine, G, G fine, B, B fine). As Hue bulbs are controlled with 16 bit values this gives full raw control over the bulbs. ## Protocol documentation * Hue Entertainment: https://developers.meethue.com/develop/hue-entertainment/philips-hue-entertainment-api/ * ArtNet: https://artisticlicence.com/WebSiteMaster/User%20Guides/art-net.pdf ## Disclaimer By using ArtNet-Hue-Entertainment you are in full control of the light that your bulbs output. Some light combinations and/or frequencies, etc. could cause epileptic seizures, migraines etc. to an end user, even if that person has no history of prior seizures or epilepsy etc. By taking full control over the lights you are responsible for preventing such adverse health effects. The maintainers of this repository are not responsible for any adverse health effects etc.

近期下载者

相关文件


收藏者