NZXTSharp 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package NZXTSharp --version 1.1.0
NuGet\Install-Package NZXTSharp -Version 1.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="NZXTSharp" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add NZXTSharp --version 1.1.0
#r "nuget: NZXTSharp, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install NZXTSharp as a Cake Addin
#addin nuget:?package=NZXTSharp&version=1.1.0

// Install NZXTSharp as a Cake Tool
#tool nuget:?package=NZXTSharp&version=1.1.0

NZXTSharp

Documentation Status Nuget Discord

NZXTSharp is a C# package that allows interaction with NZXT's Hue+. Support for other devices will be coming.

You can find NZXTSharp on NuGet here. If you are adding through Visual Studio, please be sure to check Include Prereleases.

Please keep in mind that NZXTSharp is in development, and will have breaking changes in the future.

Documentation can be found at NZXTSharp's readthedocs.io page. Docs are built from the docs branch.

Syntax

NZXTSharp's syntax is lightweight, only taking a few lines to get started.

using NZXTSharp;
using NZXTSharp.Devices;
using NZXTSharp.Effects;

HuePlus hue = new HuePlus(); // Create device
Fixed effect = new Fixed(new Color(255, 255, 255)); // Make fixed effect
hue.ApplyEffect(hue.Both, effect); // Apply effect

FAQ

Q: Are there any plans to make an SDK in XX language? A: As of yet, no. I am focusing on support for the .NET framework. Python is most likely next.

Q: Is XX device supported? A: Right now, I am working on support for the Hue+. Once that is complete, I plan to move into the Krakens and the Hue 2.

Disclaimer

NZXTSharp is provided under the GNU GPLv3 license, but I want to re-iterate these stipulations:

  • This software is provided as is.
  • This software is provided with no warranty.
  • Neither I, nor any of NZXTSharp's collaborators hold any liability for any broken or not working hardware resulting from using this package. Please use your best judgement.

A big thank you to Pet0203 for his help in reverse engineering the protocols and building NZXTSharp.

</> With ♥ by Ari Madian
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.1.3 1,001 10/24/2019
2.1.2 697 6/7/2019
2.1.1 597 5/1/2019
2.1.0 617 3/31/2019
2.0.0 570 3/18/2019
2.0.0-preview3 487 2/28/2019
2.0.0-preview2 615 2/23/2019
2.0.0-preview1 558 2/8/2019
1.2.0 387 1/30/2019
1.1.0 367 1/30/2019
1.0.3-beta 338 1/27/2019
1.0.2-beta 341 1/24/2019
1.0.1.2-beta 348 1/22/2019
1.0.1.1-beta 394 1/14/2019
1.0.1-beta 373 1/6/2019
1.0.0.3-beta 419 1/2/2019
1.0.0.2-alpha 367 1/1/2019
1.0.0.1-alpha 353 12/29/2018
1.0.0-alpha 355 12/29/2018

(1.1)
All systems are working! This release is actually v1.0, but because of the way NuGet handles versions, it is 1.1.

This update includes full support for the Hue+ controller.

There are no breaking changes in this update.
New Things!
- Bug fixes
- Input validation on more constructors
- The addition of XML docs to all methods, properties, constructors, and classes
- Little things here and there; cleanup, bits of refactoring, some performance improvements

(1.0.3-beta)
All effects are now working! Subdevices should also be working.

- Breaking Changes - N/A

(1.0.2-beta)
- Breaking Changes
   - Renamed HexColor.cs to Color.cs

- New Features
   - Subdevices: Individually control fans, strips, and their individual leds! Documentation and getting started examples        coming soon.

- Behind the Scenes
   - Addition of COM system, will make it easier to add support for more devices.
   - Refactoring, moved some files around, cleanup.

Most effects still not working.