Skip to content
binarybucks edited this page Apr 16, 2013 · 30 revisions

THIS DOCUMENT IS A WORKING DRAFT AND SHOULD NOT BE CONSIDERED COMPLETE

Download

git clone https://github.com/binarybucks/homA.git $HOMA_BASEDIR

Prerequisite

Install node.js and npm

Settings

Add configuration items

$ sudo mkdir /etc/homa
$ sudo sh -c "echo HOMA_BASEDIR='/homA' > /etc/homa/homa.conf"
$ sudo sh -c "echo HOMA_BROKER_HOST='localhost' >> /etc/homa/homa.conf"
$ sudo sh -c "echo HOMA_BROKER_PORT='1883' >> /etc/homa/homa.conf"

Export configuration items as environment variables

[[ -r /etc/homa/homa.conf ]] && . <(sed '/^export/!s/^/export /' "/etc/homa/homa.conf")

Broker

Install mosquitto Enable systemd service $ sudo systemctl enable $HOMA_BASEDIR/misc/mosquitto.service $ sudo systemctl start mosquitto

Webinterface

tbd

App

tbd

Tools

tbd

Components

tbd

Clone this wiki locally