Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

brainexe/homie

Repository files navigation

Build Status Scrutinizer Code Quality Code Coverage Dependency Status

Overview

Homie is a software to automate you home using low-budget hardware, like a RaspberryPi.

Requirements

  • PHP 7.1+
  • nodejs 4.0+
  • redis-server

Installation

  • git clone git@github.com:brainexe/homie.git
  • composer install
  • npm install
  • grunt exec:install
  • ./console user:create "user" "pAsSworD" "admin" # creates in initial user "user" with admin role and the given password
  • ./console server:run # run the build-in PHP webserver on http://localhost:8080

Tests

Unit tests:

phpunit --testsuite unit

Integration test:

phpunit --testsuite integration

End to end test:

php console user:create testuser testpassword admin
./node_modules/protractor/bin/webdriver-manager update

npm run-script protractor

Features

  • Many sensors supported, like temperature, barometer, light sensor etc.
  • Real time websocket notifications
  • Dynamic rule system with connection to IFTTT, openHAB...
  • AngularJS single page application with realtime notifications
  • Mobile/Chrome App
  • Motion detection
  • ... tbd

Screenshots

Dashboard

Dashboard

Sensors

Sensor Sensor List

Switches

Switches List

Rules

Rules tdb: add more and newer screenshots