An open API service indexing awesome lists of open source software.

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

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;

```