README.md
author Luke Hoersten <luke@hoersten.org>
Tue, 20 Feb 2018 20:17:53 -0600
changeset 14 1d79e73c881f
parent 2 3ab597628612
child 20 49b20c7a10e8
permissions -rw-r--r--
Moved package changes until wifi is set up.

# 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 smart accessory. Siri integration is provided
by [HAP-NodeJS](https://github.com/KhaosT/HAP-NodeJS).

## Installation

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

## Ansible Inventory

`inventory/host_vars/raspberrypi.local.yaml`

    github_user: "<github user>"
    nodejs_version: "8.9.0"
    nodejs_dir: "node-v{{nodejs_version}}-linux-{{ansible_architecture}}"
    wpa_networks:
      - ssid: "<your ssid>"
        psk: "<your wifi password>"

## Run Ansible

`ansible-playbook hap.yaml`