Ansaf Ahmad wanted a portable home-automation box that different devices could control, with electricity-use optimization as a longer-term goal. Shared on Hackaday.io, the BeagleBone Black project grew out of a computer engineering class, while a calculus lesson on optimization supplied the energy-saving idea. Its documented progress is most useful as a small web-control architecture taking shape—not as a finished energy-management system.
A webpage becomes the control panel
By May 4, 2015, Ahmad reported a working webpage that could create, delete and control output objects. Python handled the board-side work, using Adafruit’s GPIO library, while web.py provided the web framework. An activity database for administrator access was still under development.
The important distinction is between the interface and the hardware it commands. A browser page offers a way to operate outputs without making the user interact directly with GPIO code. It also gives the project room to change its controls without replacing the underlying board.
Ahmad pushed that separation further in the May 16 log: an application could send GET requests to the BeagleBone’s server and receive responses. That made the server URL the connection point between the controller and its clients, rather than tying control to one programming language. A separate example application for defined pins was being considered; the logs don’t show a completed collection of clients.
The relay board needs its own power
The hardware list was short: a BeagleBone Black, a relay board or relay circuit, and a 5 V supply. But the power arrangement became a concrete obstacle. On May 7, Ahmad reported that the relay board needed a separate supply and that an Arduino was temporarily providing power.
That is a useful boundary to notice in an automation build: controlling a relay board and powering it are separate jobs. The specific relay board and its electrical requirements aren’t established in these excerpts, so the component list should not be read as proof that any relay module will work with the same wiring.
A commenter later suggested an ATX supply or a 5 V wall adapter. Ahmad replied that a power supply had already been given to him, but that exchange doesn’t document a finalized electrical installation. This remains a prototype account, not a validated guide to switching household mains loads.
One server was the next simplification
By June 23, Ahmad described the class project as a success and identified an architectural change he wanted to make. The setup had involved two servers, one on a laptop and another on the BeagleBone. His proposed replacement was a Flask application on the BeagleBone that would handle both the web interface and pin control.
The useful idea here is consolidation: removing the laptop server would leave fewer pieces to run and maintain. Ahmad also raised concerns about his PHP-based implementation, but the log does not demonstrate a security audit or establish that switching frameworks alone would secure the controller. The Flask migration was a stated direction, not a documented completed upgrade.
Control came before optimization
The project was created on April 23, 2015. The latest supplied dated log, July 16, 2015, put work on hold and anticipated limited progress as Ahmad began university. The overview lists a GitHub repository, but these excerpts do not establish a later implementation state.
Current measurement and electricity-cost optimization remained ambitions. The practical lesson is the gap between remote switching and energy management: a web command can change an output, but demonstrating savings would require measurements and a tested control strategy. That measurement layer—not another control screen—is the next step that would connect this prototype to its original optimization goal.
Source: Beaglebone Black Home Automation