README.md
changeset 2 3ab597628612
parent 0 30d8bcb1ebb4
child 20 49b20c7a10e8
equal deleted inserted replaced
1:bc6a0f25a229 2:3ab597628612
     1 # Raspberry Pi Homekit Door Accessory
     1 # Raspberry Pi Homekit Door Accessory
       
     2 
       
     3 Using
       
     4 a
       
     5 [Raspberry Pi Zero W](https://www.raspberrypi.org/products/raspberry-pi-zero-w/) and
       
     6 [Pimoroni Automation pHAT](https://shop.pimoroni.com/products/automation-phat),
       
     7 make a simple circuit-based door lock and door bell intercom into a
       
     8 Siri controlled smart accessory. Siri integration is provided
       
     9 by [HAP-NodeJS](https://github.com/KhaosT/HAP-NodeJS).
       
    10 
       
    11 ## Installation
       
    12 
       
    13 Installation is complex and handled by
       
    14 an [Ansible](https://ansible.com/) playbook.
     2 
    15 
     3 ## Ansible Inventory
    16 ## Ansible Inventory
     4 
    17 
     5 `inventory/host_vars/raspberrypi.local.yaml`
    18 `inventory/host_vars/raspberrypi.local.yaml`
     6 
    19 
     8     nodejs_version: "8.9.0"
    21     nodejs_version: "8.9.0"
     9     nodejs_dir: "node-v{{nodejs_version}}-linux-{{ansible_architecture}}"
    22     nodejs_dir: "node-v{{nodejs_version}}-linux-{{ansible_architecture}}"
    10     wpa_networks:
    23     wpa_networks:
    11       - ssid: "<your ssid>"
    24       - ssid: "<your ssid>"
    12         psk: "<your wifi password>"
    25         psk: "<your wifi password>"
       
    26 
       
    27 ## Run Ansible
       
    28 
       
    29 `ansible-playbook hap.yaml`