-
Notifications
You must be signed in to change notification settings - Fork 2
2.2 Exporting accessories
25/11/2018 - THE INFORMATION ON THIS PAGE IS OUT OF DATE AND WILL BE UPDATED SOON
The default install of the alarm system includes a number of demo accessories provided with the initial install of HAP-NodeJS. These are great for getting started, and to get a feel for what HomeKit can do. However, they do not fully integrate with the alarm system. The next step in the installation process is to replace these samples with accessories that are compatible with the alarm system.
Step 1 - Devices to export. Following a full install, if you run up the WebApp and navigate to the Accessories page, you will see a number of default devices. The export process simply runs down this list of automation devices, and creates a corresponding list of HomeKit accessories.
Step 2 - Device export. To export the devices, log in to the WebApp and navigate to the HomeKit page. Click on the 'Options' button to access the pop up menu. Select 'Export accessories'. A dialog box appears reminding you that you also need to reset the HomeKit database on your iPhone.
.........................
Click 'OK' to close the dialog and start the export. The alarm service will start creating the new accessories in the background on the Raspberry Pi, so you can close the WebApp.Step 3 - Reset iPhone HomeKit database. On the iPhone, go to
'Settings | Privacy | HomeKit | Reset HomeKit Configuration'.
Click 'Reset Configuration' on the confirmation pop up menu.
Step 4 - Re-pair iPhone. Next you need to repeat the pairing process for your iPhone. Follow the instructions from wiki page 2.1 - step 2.
Once you have re-paired your iPhone, you can use the iDevices app to show that the HomeKit database, and Siri, now have accessories duplicating the original devices from the WebApp Automation page.
.........................
Set up some rooms, assign the accessories into the rooms, then you can ask Siri to control these accessories. The accessories are 'read/write', so as well as switching them on and off through Siri, you can ask Siri if they are on or off.
The accessories integrate with the alarm service running on the Raspberry Pi, so switching an accessory on or off will result in an entry in the WebApp log file.
Visit the website oddwires.co.uk