Skip to content
Jurgen edited this page Dec 13, 2016 · 5 revisions

Required

An accessible REDIS instance

REDIS

We will use Pub/Sub and Channels to communicate between the different processes listed. For example a HUE channel to communicate GET/SET hue lights or a PRESENCE channel that will report a list of names and their status (PRESENT or ABSENT).

The main reason to use REDIS is because it is easier to test and debug the micro services as well as being easy to extend.

Process overview

  • gh-home (supervisor)
    • gh-hue service
    • gh-wemo service
    • gh-presence service
    • gh-messaging service

Presence

A SOAP connection to the NetGear router can give you a list of connected devices. Then we can check if a certain [mac-address, name] is present or absent, we then can send the status to REDIS Pub/Sub on channel PRESENCE.

Messaging

  • Telegram
  • Push Bullet
  • Basic email
Clone this wiki locally