https://github.com/vojtechmusilek/dotnet-homekit
Native C# implementation of HomeKit.Server with types for all services and characteristics
https://github.com/vojtechmusilek/dotnet-homekit
csharp dotnet hap homekit homekit-accessory-protocol
Last synced: 5 months ago
JSON representation
Native C# implementation of HomeKit.Server with types for all services and characteristics
- Host: GitHub
- URL: https://github.com/vojtechmusilek/dotnet-homekit
- Owner: vojtechmusilek
- Created: 2024-06-21T16:42:14.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-08-30T12:15:11.000Z (10 months ago)
- Last Synced: 2025-10-09T11:44:54.640Z (8 months ago)
- Topics: csharp, dotnet, hap, homekit, homekit-accessory-protocol
- Language: C#
- Homepage:
- Size: 1.55 MB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotnet-homekit
## Examples
Examples are available at [dotnet-homekit-examples](https://github.com/vojtechmusilek/dotnet-homekit-examples)
## How to install
Available on NuGet: [HomeKit.Server](https://www.nuget.org/packages/HomeKit.Server)
Install using command:
```sh
dotnet add package HomeKit.Server
```
or add package reference with latest version:
```xml
```
## Typed HAP services
full list in [dotnet-homekit/Services](./Services)
```csharp
var fan = new FanService();
// always has On
fan.On.Value = true;
// optional characteristics
fan.AddRotationSpeed(50);
fan.RotationSpeed.Value = 45;
```