Skip to content
This repository has been archived by the owner on May 12, 2022. It is now read-only.

1.3.4 PiHome Device Hub

jarodium edited this page Apr 9, 2016 · 1 revision

Device Hub

A Device Hub commands all the devices installed in a given house room. It is responsible for the devices in a give section of the house, by proxying commands and responses to and from the devices it governs.

It must have the following roles:

Installation

The DH, must allow for installation of the devices and be able to delegate them to the neighbouring DH's, should the devices be moved.

For example:

A device, clothe's hanger, is installed for the first time in the bedroom's ( DH ) closet. Upon moved to the bathroom, the bathroom's ( DH ) is responsible for the device, but, if it does not know how to work with the device, it asks the bedroom how to work with it, by proxying commands.

At the end of the day, the bedroom can report missing devices that were supposed to be there.

Configuration

There must exist the possibility of forcing a device to be placed on the other division ( when for example, we re-purprose other sections of the house ), like moving a lamp from the room to the living room.

This operation should be done at the system core level, but the DH should be reporting long absence periods of the device from the room, meaning if the device stays a long time from it's original location it should report that to the Core.

I believe UPNP or a IoTPNP should be developed in order to attain fast install/configuration.