HaKafkaNet 5.2.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package HaKafkaNet --version 5.2.0                
NuGet\Install-Package HaKafkaNet -Version 5.2.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="HaKafkaNet" Version="5.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add HaKafkaNet --version 5.2.0                
#r "nuget: HaKafkaNet, 5.2.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 HaKafkaNet as a Cake Addin
#addin nuget:?package=HaKafkaNet&version=5.2.0

// Install HaKafkaNet as a Cake Tool
#tool nuget:?package=HaKafkaNet&version=5.2.0                

HaKafkaNet

Integration that uses Home Assistant Kafka integration for creating home automations in .NET It was created with the following goals:

  • Create Home Assistant automations in .NET
  • Expose a simple way to track states of all entities in Home Asstant
  • Expose a simple way to respond to Home Assistant state changes
  • Provide a means to call Home Assistant RESTful services
  • Enable all automation code to be fully unit and/or component testable

Why HaKafkaNet ?

  • Kafka allows you to replay events. Therefore, when your application starts, it can quickly load the states of all your Home Assistant entities.
  • It gives you a UI to manage your automations and inspect Kafka consumers.
  • You have an easy way to respond to events during start up which means you are guarenteed to see/handle all events at least once, even if your application has been down. This means that you can create durable automations that will survive restarts.
  • Strong typing of entity states
  • Monitoring capabilities via system monitor including a global exception handler and ability to be alerted when entities become unresponsive.
  • Extensible framework
  • Automtion Factory and Automation builder with fluent syntax for quickly creating automations.
  • Full unit testability
  • MIT license

See Documentation for full details.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on HaKafkaNet:

Package Downloads
HaKafkaNet.TestHarness

A library containing test helpers for HaKafkaNet.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
11.1.3 0 1/4/2025
11.1.2 60 1/1/2025
11.1.1 39 12/31/2024
11.1.0 46 12/31/2024
11.0.0 99 12/27/2024
10.2.2 105 12/19/2024
10.2.1 142 12/7/2024
10.2.0 94 11/29/2024
10.1.1 97 11/21/2024
10.1.0 104 11/10/2024
10.0.2 92 10/27/2024
10.0.1 92 10/26/2024
10.0.0 111 10/25/2024
9.2.2 116 10/13/2024
9.2.1 97 10/12/2024
9.2.0 117 10/12/2024
9.1.0 99 10/5/2024
9.0.1 143 9/27/2024
9.0.0-beta 77 9/27/2024
8.1.1 123 9/7/2024
8.1.0 135 9/1/2024
8.0.0 118 8/10/2024
7.1.3 113 7/7/2024
7.1.2 119 6/22/2024
7.0.0 116 6/19/2024
6.1.2 134 6/8/2024
6.1.1 141 5/5/2024
6.1.0 152 4/17/2024
6.0.0 139 4/12/2024
5.5.5 111 4/10/2024
5.5.4 115 4/9/2024
5.5.3 113 4/9/2024
5.5.2 119 4/1/2024
5.5.1 108 3/29/2024
5.5.0 101 3/28/2024
5.4.0 100 3/26/2024
5.3.0 164 3/24/2024
5.2.0 123 3/22/2024
5.1.0 141 3/18/2024
5.1.0-prerelease 126 3/17/2024
5.0.0 121 3/12/2024
4.2.0 144 3/9/2024
4.1.5 128 3/1/2024
4.1.4 124 2/29/2024
4.1.3 116 2/28/2024
4.1.2 116 2/27/2024
4.1.1 112 2/27/2024
4.0.1 119 2/25/2024
4.0.0 127 2/23/2024
4.0.0-prerelease 97 2/20/2024
3.0.2 121 2/14/2024
3.0.1 117 2/12/2024
3.0.0 144 2/11/2024
3.0.0-prerelease 103 2/10/2024
2.1.3 143 2/5/2024
2.1.2 129 2/5/2024
2.1.1 142 2/4/2024
2.1.0 156 2/4/2024
2.0.0 161 1/31/2024
1.1.1-prerelease 123 1/31/2024
1.1.0 121 1/21/2024
1.0.0 112 1/19/2024
0.3.0 107 1/18/2024
0.2.0 117 1/15/2024
0.1.1 118 1/14/2024
0.1.0 115 1/13/2024
0.0.1 127 1/13/2024