The concept is to create a system that can create electrical circuits using software. The EPI system can create electrical connections between single pole electrical switches to 15 amp electrical outlets, using software. The web based UI allows a user to create electrical circuits, using the web based interface. Individual switches can be connected to 0 or 4 outlets. The image shows switch 1 connected to 3 outlets. It also shows that s1 and s2 can operate outlet 2 and switch 3 and switch 1 can operate outlet 3. This is accomplished via software.
The hardware utilized is broken down into two parts.
Software is used to provide the connection between the power output and the switches.
The image displays the power output panel, which has the following components:
The control software will send a message to the power output panel, using ZigBee. The Arduino receives and processes the message from the radio. If required the Arduino will cause a relay to trip, allowing power to flow to a particular outlet.
The relay control and the Arduino utilize 5v to control 110v power, via the relays.
This panel has the following components:
The Raspberry PI is the master controller of the system It hosts the web based UI, as well as software that can translate between a RESTFul web request and a ZigBee radio request. It has two daemons, one that listens on the radio, and the other listens on the Websocket based Message Queuing system. It will properly translate between these components, creating a system that works using a normal light switch or a web based UI.
The Arduino UNO makes the single pole switches compatible with the system. Effectively is is making them smart. When a switch changes state, the Arduino creates a ZigBee message. This is received by the Raspberry PI, which will cause that message to affect the web site. The ZigBee message is also processed by the Raspberry PI to determine what output devices are connected to the switch. A new message is created to cause the proper outlets to react to the switch action.