Divoom.Api 1.0.91

There is a newer version of this package available.
See the version list below for details.
dotnet add package Divoom.Api --version 1.0.91
                    
NuGet\Install-Package Divoom.Api -Version 1.0.91
                    
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="Divoom.Api" Version="1.0.91" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Divoom.Api" Version="1.0.91" />
                    
Directory.Packages.props
<PackageReference Include="Divoom.Api" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Divoom.Api --version 1.0.91
                    
#r "nuget: Divoom.Api, 1.0.91"
                    
#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.
#:package Divoom.Api@1.0.91
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Divoom.Api&version=1.0.91
                    
Install as a Cake Addin
#tool nuget:?package=Divoom.Api&version=1.0.91
                    
Install as a Cake Tool

Divoom.Api

Nuget Nuget License: MIT Codacy Badge

This is a .NET library for controlling Divoom Timebox devices.

It is based on the Divoom Timebox API.

We only have access to the following devices at present, so these are the only onces we can develop against:

  • PIXOO64
  • Timebox Evo (16x16)
  • Pixoo Max (32x32)

Bluetooth (Timebox Evo, Pixoo Max)

using var client = new DivoomClient(new DivoomClientOptions(), logger);
var device = (await client.Bluetooth.GetDevicesAsync(cancellationToken)).First(d => d.DeviceInfo.DeviceName.Contains("Pixoo"));
await client.Bluetooth.View.ViewLightingAsync(device, Color.Red, 100, LightingPattern.Custom, PowerState.On, cancellationToken);
await client.Bluetooth.Images.ViewImageAsync(device, new DivoomImage(pixels), cancellationToken); // 256 pixels (16x16) or 1024 (32x32)

The device must be paired with Windows as a classic Bluetooth device. Windows' Add device may pair a Pixoo Max as Bluetooth LE only, which this library cannot use; pair it from code with BluetoothDevice.FromBluetoothAddressAsync and DeviceInformation.Pairing.Custom.PairAsync instead. A phone running the Divoom app holds the device's only connection.

Local network (Pixoo 64)

using var client = new DivoomClient(new DivoomClientOptions { DeviceIp = "192.0.2.10" }, logger);
var config = await client.Channel.GetAllConfigAsync(new(), cancellationToken);
await client.Channel.SetBrightnessAsync(new SetBrightnessRequest { Brightness = 80 }, cancellationToken);
await client.Channel.ShowTextAsync("BUSY", "#B40000", "#FFFFFF", 64, cancellationToken);

Find a device's IP with client.Gz.GetLanDevicesAsync(cancellationToken). A device that rejects a command still answers HTTP 200, so check error_code with ChannelExtensions.EnsureSuccess(response).

Gratefully received:

  • Documentation
  • Devices (ship to Panoramic House, 46 Heywood Avenue, SL6 3JA, UK)
  • Amazon UK vouchers to buy devices
  • Hints
  • Findings
  • Bluetooth logs
Product Compatible and additional computed target framework versions.
.NET net11.0 is compatible. 
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
1.0.95 47 11/15/2026
1.0.92 48 11/13/2026
1.0.91 58 11/11/2026
1.0.87 90 11/9/2026
1.0.86 89 11/9/2026
1.0.85 90 11/8/2026
1.0.54 137 9/13/2026
1.0.49 124 9/12/2026
1.0.46 129 9/8/2026
1.0.44 137 9/7/2026
1.0.43 135 9/3/2026
1.0.41 126 9/3/2026
1.0.27 161 6/6/2026
1.0.21 156 3/31/2026
1.0.19 153 3/29/2026
1.0.16 355 12/18/2025
1.0.1 399 8/5/2023
0.1.15 298 7/28/2023
0.1.2 381 11/22/2022

ViewImageAsync() now works.