kusti8 / hue-plus

A Windows and Linux driver in Python for the NZXT Hue+
GNU General Public License v3.0
229 stars 18 forks source link

NZXT HUE 2 Support #53

Open flaire-project opened 5 years ago

flaire-project commented 5 years ago

Are there any plans for supporting the new HUE 2 controller? I've tried to access the controller on /dev/bus/usb/001/003 but it crashed with a Inappropriate ioctl for device error.

acerspyro commented 4 years ago

Would have been good to know that it doesn't support HUE 2, I've been fiddling it for hours.

CalcProgrammer1 commented 4 years ago

I just picked up a Hue 2 and documented the protocol for my own project. Feel free to use my documentation to add support to this project. The protocol isn't exactly the same and I haven't figured out everything yet, but it's simple enough and the effects are close to the Hue Plus. It uses USB interrupt transfers rather than a serial device.

https://gitlab.com/CalcProgrammer1/OpenRGB/-/wikis/NZXT-Hue-2

Eiion commented 3 years ago

I just picked up a Hue 2 and documented the protocol for my own project. Feel free to use my documentation to add support to this project. The protocol isn't exactly the same and I haven't figured out everything yet, but it's simple enough and the effects are close to the Hue Plus. It uses USB interrupt transfers rather than a serial device.

https://gitlab.com/CalcProgrammer1/OpenRGB/-/wikis/NZXT-Hue-2

Do I see right that your version doens't support the "Ambilight" feature, yet? Do you have plans to eventually get to it?

CalcProgrammer1 commented 3 years ago

Ambilight isn't a feature of the hardware, it's a feature of the software. OpenRGB doesn't have an effects engine built-in for doing reactive/synchronized effects like Ambilight or Audio Visualizer.

However, OpenRGB has a network-based SDK as well as a plugin system. I just released OpenRGB version 0.6 which supports the OpenRGB Effects Plugin. This plugin does have an Ambilight mode and will work with any OpenRGB device that has direct control mode (which NZXT Hue 2 does).

Eiion commented 3 years ago

Very nice! I'll keep an eye on your project and will look deeper into it once I got the time.