DMXCore.PluginSdk
1.6.1
Prefix Reserved
See the version list below for details.
dotnet add package DMXCore.PluginSdk --version 1.6.1
NuGet\Install-Package DMXCore.PluginSdk -Version 1.6.1
<PackageReference Include="DMXCore.PluginSdk" Version="1.6.1" />
<PackageVersion Include="DMXCore.PluginSdk" Version="1.6.1" />
<PackageReference Include="DMXCore.PluginSdk" />
paket add DMXCore.PluginSdk --version 1.6.1
#r "nuget: DMXCore.PluginSdk, 1.6.1"
#:package DMXCore.PluginSdk@1.6.1
#addin nuget:?package=DMXCore.PluginSdk&version=1.6.1
#tool nuget:?package=DMXCore.PluginSdk&version=1.6.1
DMXCore.PluginSdk
Contract SDK for building plugins for the DMX Core 100 lighting controller.
Getting started
- Create a .NET class library targeting
net10.0and reference this package. - Set
<PluginId>(plusVersionand friends) in the project file — the build then generatesmanifest.jsonand aPluginBuildInfoconstants class, so the plugin id and version live in exactly one place. - Implement
IPluginin a public class with a parameterless constructor. - Package the build output as a
.dmxpluginarchive (zip with the generatedmanifest.jsonplus your assemblies) and upload it to the device from the admin UI.
<PropertyGroup>
<PluginId>my-plugin</PluginId>
<PluginDisplayName>My Plugin</PluginDisplayName>
<Version>1.0.0</Version>
<Authors>Me</Authors>
</PropertyGroup>
public class MyPlugin : IPlugin
{
public PluginInfo Info { get; } = new()
{
Id = PluginBuildInfo.Id,
Name = PluginBuildInfo.Name,
Version = PluginBuildInfo.Version,
Settings =
[
new() { Key = "server-address", Label = "Server address", Type = PluginSettingType.String },
new() { Key = "poll-interval", Label = "Poll interval (s)", Type = PluginSettingType.Integer, DefaultValue = "5" },
new() { Key = "api-key", Label = "API key", Type = PluginSettingType.String, Secret = true },
],
};
public Task InitializeAsync(IPluginHost host, CancellationToken cancellationToken)
{
string? server = host.Settings.GetString("server-address");
host.Logger.LogInformation("Connecting to {Server}", server);
host.Mqtt.Subscribe("some/topic/#", async (msg, ct) =>
{
await host.Triggers.FireAsync("MY-TRIGGER");
});
return Task.CompletedTask;
}
public Task ShutdownAsync(CancellationToken cancellationToken)
{
return Task.CompletedTask;
}
}
Notes
- Plugins run with full trust inside the DMX Core 100 process and can only be installed by device administrators.
- Subscriptions take async handlers and return
IDisposable; handler exceptions are logged by the host and do not terminate the subscription. host.Mdnsdiscovers devices on the local network through the host's shared mDNS/DNS-SD browser, e.g.await host.Mdns.GetServicesAsync("_hue._tcp")— no need to bundle an mDNS stack in the plugin. Requires SDK contract 1.1; declare"minSdkVersion": "1.1"in the manifest if the plugin depends on it.- The generated manifest's
minSdkVersiondefaults to the contract version of the SDK assembly the project compiles against (the assembly version's major.minor — not the NuGet package version, which is just a publish counter). Reference the oldest SDK package you support and the declared floor is correct by construction; set<PluginMinSdkVersion>to override. - Plugin changes are applied by the Reload action on the device's Plugins page (or a device restart).
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.11)
NuGet packages (9)
Showing the top 5 NuGet packages that depend on DMXCore.PluginSdk:
| Package | Downloads |
|---|---|
|
DMXCore.PluginSdk.Testing
Test host for DMX Core 100 plugins: an in-memory IPluginHost that records publishes, trigger fires, and playback calls, and lets tests and dev harnesses simulate MQTT messages, cue events, and settings changes. |
|
|
DMXCore.Plugin.LIFX
LIFX output for the DMX Core 100 lighting controller: drives LIFX WiFi color bulbs and SuperColor / pixel fixtures from DMX channel data over the LIFX LAN protocol, no cloud account required. |
|
|
DMXCore.Plugin.HomeAssistant
Home Assistant integration for the DMX Core 100 lighting controller: publishes the device (cues, presets, timelines, control values, status) to Home Assistant via MQTT Discovery, and fires Home Assistant scenes, scripts and automations from the device as output actions. |
|
|
DMXCore.Plugin.Govee
Govee output for the DMX Core 100 lighting controller: drives Govee WiFi LED strips, neon ropes, panels and lamps from DMX channel data over the Govee LAN API, no cloud account required. |
|
|
DMXCore.Plugin.Shelly
Shelly output for the DMX Core 100 lighting controller: drives Shelly Gen1 color devices (RGBW2 and similar) from DMX channel data over MQTT. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.13.3 | 114 | 11/11/2026 |
| 1.13.2 | 105 | 11/10/2026 |
| 1.13.1 | 314 | 9/28/2026 |
| 1.12.2 | 110 | 9/24/2026 |
| 1.12.1 | 159 | 9/16/2026 |
| 1.11.1 | 149 | 9/5/2026 |
| 1.10.1 | 147 | 9/5/2026 |
| 1.9.3 | 142 | 8/31/2026 |
| 1.9.2 | 180 | 8/27/2026 |
| 1.9.1 | 186 | 8/25/2026 |
| 1.8.3 | 142 | 8/21/2026 |
| 1.8.2 | 139 | 8/18/2026 |
| 1.8.1 | 171 | 8/18/2026 |
| 1.7.6 | 165 | 8/17/2026 |
| 1.7.5 | 139 | 8/17/2026 |
| 1.7.4 | 160 | 8/17/2026 |
| 1.7.3 | 140 | 8/17/2026 |
| 1.7.2 | 143 | 8/17/2026 |
| 1.7.1 | 206 | 8/15/2026 |
| 1.6.1 | 156 | 8/14/2026 |