src.nth.io/

summaryrefslogtreecommitdiff
path: root/README.md
blob: 4ccb94d5c78055ee92069311cf1da4740bf51463 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Raspberry Pi Homekit Door Accessory

Using
a
[Raspberry Pi Zero W](https://www.raspberrypi.org/products/raspberry-pi-zero-w/) and
[Pimoroni Automation pHAT](https://shop.pimoroni.com/products/automation-phat),
make a simple circuit-based door lock and door bell intercom into a
Siri-controlled HomeKit smart accessory. Siri integration is provided
by [HAP-NodeJS](https://github.com/KhaosT/HAP-NodeJS).

## Installation

Installation is rather involved and handled by
an [Ansible](https://ansible.com/) playbook.

## Ansible Inventory

`inventory/host_vars/raspberrypi.local.yaml`

    github_user: "<github user>"
    wpa_networks:
      - ssid: "<your ssid>"
        psk: "<your wifi password>"

## Run Ansible

`ansible-playbook hap.yaml`