/HAP-NodeJS-examples

Collection of examples to get started using HAP-NodeJS as a library.

Primary LanguageTypeScript

HAP-NodeJS Examples

This repository is designed to give some examples on how to use HAP-NodeJS as a library to create your own HomeKit enabled accessories.

This repository contains examples written in Typescript as well in Javascript.

To start with one of the examples, ensure you have Node.js installed and then navigate into the folder for the respective example and follow the instructions defined in the README of the example.

Typescript

  • Light Example: Accessory exposing a Lightbulb service with On and Brightness characteristics

JavaScript

  • Light Example: Accessory exposing a Lightbulb service with On and Brightness characteristics