Divoom.Api
1.0.91
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
<PackageReference Include="Divoom.Api" Version="1.0.91" />
<PackageVersion Include="Divoom.Api" Version="1.0.91" />
<PackageReference Include="Divoom.Api" />
paket add Divoom.Api --version 1.0.91
#r "nuget: Divoom.Api, 1.0.91"
#:package Divoom.Api@1.0.91
#addin nuget:?package=Divoom.Api&version=1.0.91
#tool nuget:?package=Divoom.Api&version=1.0.91
Divoom.Api
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 | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net11.0 is compatible. |
-
net11.0
- InTheHand.Net.Bluetooth (>= 4.2.5)
- Refit (>= 16.4.0)
- Tmds.DBus (>= 0.95.2)
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.