Skip to content

Installation

zCrin edited this page Feb 19, 2017 · 1 revision

Prometheus

Homebridge WebServer. Access HomeKit device online.

First, you'll need to install HomeBridge from this repo : https://github.com/nfarina/homebridge.

Prometheus, is a WebServer that allows you to access your HomeKit devices anywhere in the world and on any kind of devices and without an AppleTV 4.

##INSTALLATION

NOTE : Before starting you'll need to install Apache and PHP (min v. 5) and be sure that the mail() function works. On a Raspberry follow this tutorial : https://www.raspberrypi.org/documentation/remote-access/web-server/apache.md and make sure your web server is accessible on the Internet by opening your ports and add a new website in /etc/apache2

If you're new to PHP, to test whether the mail() function works, do :

sudo nano /var/www/testmail.php

and write :

<?php mail("<your_email_address>", "TEST 1", "Testing mail function.");

On a browser tape http://<your_domain_url>/testmail.php

If the email doesn't appear in your inbox check the spams. I advice you to create a new gmail adress to receive Prometheus' notifications : https://github.com/zCrin/prometheus/wiki/Create-a-Notification-Email-Address

###INSTALL PROMETHEUS###

*Download all the files from this repo.

*Upload them to /var/www

*Test if the installation works by visiting http://<you_domain_url>

*You should see a page with a digit code.

*Set the CHMOD of the /conf directory at 777

Clone this wiki locally