shreepa parthaje
← return home



Chlorophyll Smart Home

Chlorophyll was an expandable system I developed, so I could convert standard electrical switches in my home into "smart" units.

Demo

Software Components

Hardware

The circuitry for the project was relatively simple. I removed the switch from the wall and put a relay in between where the switch was. The wires enter the normally open pin and exit on the common pin, so when the signal voltage is HIGH the circuit closes, providing power to the light/fan.

Expandability

The hardware was relatively cheap compared to smart home alternatives on the market, as it could work with the Raspberry Pi Zero W and extremely cheap relay switches. This allowed me to design the project with expandability in mind. Each Rpi + relay(s) unit is named: chlorophyll-node-n where n represents the node's number. Each node runs the same chloroplast software, and based on the Firebase notifications it handles updating the relevant GPIO pin. The website was also designed to expand easily where each node has a section in gray with relevant switches.

Raspberry Pi 3b with GPIO pins connected to relevant relays.

Switches accessible via a website on our home's network. The switches update when the firebase datastore is changed (keeping the website in sync with the current state).

iOS Shortcuts

System state stored in Firebase Realtime database