MiHomeLib 3.3.0
See the version list below for details.
Requires NuGet 2.6 or higher.
dotnet add package MiHomeLib --version 3.3.0
NuGet\Install-Package MiHomeLib -Version 3.3.0
<PackageReference Include="MiHomeLib" Version="3.3.0" />
<PackageVersion Include="MiHomeLib" Version="3.3.0" />
<PackageReference Include="MiHomeLib" />
paket add MiHomeLib --version 3.3.0
#r "nuget: MiHomeLib, 3.3.0"
#:package MiHomeLib@3.3.0
#addin nuget:?package=MiHomeLib&version=3.3.0
#tool nuget:?package=MiHomeLib&version=3.3.0
3.3.0
- Added miIO request duration/retry, MQTT connection, and gateway message metrics, plus
MiHomeDiagnostics.MeterName. - Added a unified
DeviceEventstream on both gateway families and device/gateway availability tracking; Zigbee timeout defaults to 3 hours, and Gateway 2 availability is unknown until its first message. - Added capability interfaces for temperature, humidity, pressure, battery, link quality, power metering, contact, smoke, and switching; dual-channel controls and motion behavior remain device-specific.
- Added cancellation overloads for gateway discovery, miIO device-id lookup, and miIO network discovery; other device operations are unchanged.
- Added independent loopback emulators, recorded-scenario playback, real-socket integration tests, and seeded parser/network fuzz tests (2,000 iterations by default;
MIHOME_FUZZ_ITERATIONSoverrides this). - MQTT checks declared packet size before allocating the body; malformed or oversized packets trigger reconnect, after which valid messages are received.
- Added a Worker Service sample for gateway registration, device events, and graceful shutdown.
- Known limitations: invalid miIO response length/checksum can fail the active request; malformed SQLite databases still throw
InvalidDataException.
Supported targets: .NET Standard 2.0, .NET Framework 4.6.1 and 4.6.2, and .NET 10.
Gateway setup guide: https://github.com/sergey-brutsky/mi-home/wiki/Gateway-Setup Worker Service guide: https://github.com/sergey-brutsky/mi-home/wiki/Worker-Service
| Product | Versions 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. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. 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. |
| .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 is compatible. net462 is compatible. 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. |
-
.NETFramework 4.6.1
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
- System.Diagnostics.DiagnosticSource (>= 8.0.1)
- System.Text.Json (>= 8.0.5)
-
.NETFramework 4.6.2
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
- System.Diagnostics.DiagnosticSource (>= 8.0.1)
- System.Text.Json (>= 8.0.5)
-
.NETStandard 2.0
- Microsoft.Bcl.AsyncInterfaces (>= 8.0.0)
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.2)
- System.Diagnostics.DiagnosticSource (>= 8.0.1)
- System.Text.Json (>= 8.0.5)
-
net10.0
- Microsoft.Extensions.Logging.Abstractions (>= 8.0.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 |
|---|---|---|
| 4.0.1 | 51 | 12/4/2026 |
| 4.0.0 | 100 | 12/3/2026 |
| 3.5.0 | 91 | 12/1/2026 |
| 3.4.1 | 134 | 11/30/2026 |
| 3.4.0 | 123 | 11/29/2026 |
| 3.3.1 | 127 | 11/28/2026 |
| 3.3.0 | 118 | 11/27/2026 |
| 3.2.1 | 98 | 11/25/2026 |
| 3.2.0 | 135 | 11/24/2026 |
| 3.1.0 | 189 | 11/23/2026 |
| 3.0.1 | 99 | 11/20/2026 |
| 3.0.0 | 108 | 11/18/2026 |
| 2.3.12 | 131 | 11/6/2026 |
| 2.3.11 | 156 | 9/30/2026 |
| 2.3.10 | 123 | 9/23/2026 |
| 2.3.9 | 130 | 9/13/2026 |
| 2.3.8 | 124 | 9/11/2026 |
| 2.3.7 | 150 | 9/9/2026 |
| 2.3.6 | 140 | 9/5/2026 |
| 2.3.5 | 288 | 10/13/2025 |
3.3.0
- Added miIO request duration/retry, MQTT connection, and gateway message metrics, plus MiHomeDiagnostics.MeterName.
- Added a unified DeviceEvent stream on both gateway families and device/gateway availability tracking; Zigbee timeout defaults to 3 hours, and Gateway 2 availability is unknown until its first message.
- Added capability interfaces for temperature, humidity, pressure, battery, link quality, power metering, contact, smoke, and switching; dual-channel controls and motion behavior remain device-specific.
- Added cancellation overloads for gateway discovery, miIO device-id lookup, and miIO network discovery; other device operations are unchanged.
- Added independent loopback emulators, recorded-scenario playback, real-socket integration tests, and seeded parser/network fuzz tests (2,000 iterations by default; MIHOME_FUZZ_ITERATIONS overrides this).
- MQTT checks declared packet size before allocating the body; malformed or oversized packets trigger reconnect, after which valid messages are received.
- Added a Worker Service sample for gateway registration, device events, and graceful shutdown.
- Known limitations: invalid miIO response length/checksum can fail the active request; malformed SQLite databases still throw InvalidDataException.
Supported targets: .NET Standard 2.0, .NET Framework 4.6.1 and 4.6.2, and .NET 10.
Gateway setup guide: https://github.com/sergey-brutsky/mi-home/wiki/Gateway-Setup
Worker Service guide: https://github.com/sergey-brutsky/mi-home/wiki/Worker-Service
When upgrading from 2.x, review the 3.0 breaking changes and migration guide:
Release notes: https://github.com/sergey-brutsky/mi-home/wiki/Release-Notes-3.0
Migration guide: https://github.com/sergey-brutsky/mi-home/wiki/Migration-3.0