Skip to content

Documentation #2

@jurgen-kluft

Description

@jurgen-kluft

First I would like to say that this looks like a solid C# project, nicely done!

Now I would like to know how this could be used to write many automations in C# using this library.

First, this is marked as a Controller which I assume is different from a HomeKit Accessory Server? Could you be so kind and explain the difference, thank you.

Next, so my use-case would be somewhat like this:

  • Apple HomePod running my Home
  • HomeKit owns all accessories through Aqara/Hue/Ikea hubs, even HomeBridge, or any other way to get devices/accessories into HomeKit
  • C# Automation scripts

The C# Automation scripts I would like to run on a local Windows or Raspberry PI device where I am using the HomeKitDotNet library.
Using this library am I able to see/know the state of all devices that are owned by my Home (HomePod)?

As an automation example:

  • When my Kitchen Motion Sensor is detecting motion I reset a custom timer to 1 hour
  • When this custom timer expires (no more motion for one hour) I turn off the lights in the kitchen

Love to hear your response to all of the above :-)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions