A remote-controlled light still needs someone to decide when to turn it on. With Aaaaarc on Hackaday.io, project owner NsN set out to make that decision-making easier to automate, using a central server that could expose sensor readings and notify rules when something changed. The documented hardware pairs a Raspberry Pi with an ATmega328, separating household logic from the work of talking to devices.
The project was created on August 20, 2014, and all four log excerpts available here date from that day. They describe a working hardware direction and an intended software architecture—not a completed, fully rule-driven home.
Moving decisions closer to the devices
The most consequential change was where the server lived. In the hardware-layout log, NsN describes an earlier prototype built around a custom Arduino shield and an offsite Linux server reached through an Ethernet shield. The Arduino interpreted some inputs itself.
The second prototype kept an Arduino-compatible ATmega328 but replaced the remote server with a Raspberry Pi connected directly over serial. NsN reports that this reduced latency and brought the control station into a compact package. With the shorter communication path, almost all decision-making could move onto the Pi.
That division gives each side a clear job: the microcontroller handles direct device interaction, while Linux handles command interpretation and sensor-data storage. It also makes the transition toward rules less dependent on squeezing more behavior into the microcontroller firmware.
One station speaks several hardware languages
The interface log lists a deliberately mixed set of connections:
The point wasn't to cover every appliance. NsN described these interfaces as enough to exercise the infrastructure. They offer both inputs and outputs, so the system can explore the step beyond sending commands: receiving an event, deciding what it means and choosing a response.
Two smaller devices made the radio side concrete. An additional-components log describes an ATtiny45 temperature node with a 10 kΩ NTC thermistor, sending an update every 150 seconds and sleeping between transmissions. Its stated six-to-twelve-month CR2032 battery life was an estimate, not a reported endurance test. An ATtiny44-based 3 W RGB light accepted color selections and simple fade or strobe commands. Both used RFM12 transceivers on the 868 MHz link.
The intended next layer is rules, not more buttons
The proposed server would answer two kinds of questions: what a device is, and what it is doing now. Alongside temperatures and light states, it would expose names, descriptions and the available sensor types. Rules could then register callbacks for a particular sensor or a category of events, including button presses and received IR codes.
NsN’s infrastructure note credits the Robot Operating System as an influence, while proposing a narrower focus on a common message format and freedom to write rules in different programming languages. Those services are presented as the intended architecture; the excerpts don't demonstrate a finished callback engine.
Aaaaarc’s useful distinction is between connecting devices and coordinating them. The prototype gives the Pi several ways to hear from and act on its surroundings. The next revealing demonstration would be an end-to-end rule: a sensor event reaching the server, triggering a registered callback and producing an actuator response without someone pressing a remote.
Source: Aaaaarc