Philosophy
This is a 100% local, open-hardware, open-protocol home automation system designed to never stop working because a company goes out of business or shuts down a cloud service. It uses off-the-shelf parts, low-cost DIY sensors, and open RF protocols to create a self-healing mesh network that doesn’t rely on the internet, proprietary hubs, or vendor lock-in.
Core Principles
No Cloud Dependence – Everything runs locally, no internet required.
Open Protocols – No proprietary RF standards (Zigbee/Z-Wave can stay).
Modular Hardware – Mix and match sensors, switches, and controllers.
Low Power – Solar/battery sensors last years, not months.
Self-Healing Mesh – Nodes relay data if the hub is offline.
User Control – No hidden telemetry, no forced updates.
Hardware Breakdown
1. The Central Hub (Home Controller)
Purpose: Coordinates the mesh, runs automations, serves the web UI.
Recommended Hardware
Raspberry Pi Zero 2 W (or Pi 5 for more power)
Runs Linux, WiFi for local access, Ethernet optional.
RF Modules:
nRF24L01+ (2.4GHz, cheap, good for indoor mesh).
LoRa (RFM95W) (long-range for garden/weather).
Power:
USB-C or PoE (for reliability).
User Interface:
Headless (access via browser) or tiny OLED for IP display.
How It Works
Acts as a WiFi access point on first boot (like a router).
Users connect, configure WiFi, then it switches to local mode.
Web UI (Flask, Node-RED, or Home Assistant Core) for control.
2. Indoor Sensors & Switches (Mesh Network)
Purpose: Motion, temperature, light, relays for lights/appliances.
Recommended Hardware
MCU: RP2040 (Pico) or ATmega328P (Arduino).
Radio: nRF24L01+ (cheap, reliable, easy to use).
Sensors:
BME280 (temp/humidity/pressure).
PIR sensor (motion).
Photoresistor (light level).
Power:
2xAA batteries (1+ year life).
USB-powered for always-on switches.
Low-Power Operation
Sleep Mode: MCU sleeps 99% of the time, wakes only to send data.
Synchronized Wake-Up:
Hub broadcasts a "beacon" every 60 sec.
Nodes wake, check for messages, then sleep again.
Mesh Relay: If a node can’t reach the hub, it forwards data via neighbors.
3. Garden/Weather Station (LoRa Network)
Purpose: Soil moisture, weather tracking, water valve control.
Recommended Hardware
MCU: Raspberry Pi Pico (low power, cheap).
Radio: RFM95W (LoRa, long-range).
Sensors:
Capacitive Soil Moisture (no corrosion).
Rain Gauge (tipping bucket).
Solar Radiation Sensor (photodiode).
Power:
Solar Panel (6V, 2W) + Supercapacitor (no battery decay).
Deep Sleep: Wakes only to transmit (e.g., every 15 min).
Smart Watering Logic
if (soil_moisture < 30%) and (no_rain_forecast): open_valve(5min) elif (temperature > 35°C): open_valve(2min) # Cool roots4. Synchronized Low-Power Mesh
How Nodes Stay Alive for Years
Hub-Controlled Sleep Scheduling
Hub sends a sync packet every hour.
Nodes wake up, check in, then go back to sleep.
Event-Based Wake-Up
Motion sensors stay asleep until triggered.
Soil sensors wake only at scheduled intervals.
Solar Harvesting
Garden nodes sleep until supercapacitor is charged.
5. Open Protocols Used
Function Protocol Why? Indoor Mesh nRF24L01+ (MySensors) Cheap, reliable, easy to implement Garden LoRa RFM95W (LoRaWAN) Long-range, low power Hub Communication MQTT (local) Lightweight, universal support Web Interface HTTP/REST No apps, works on any device 6. Build vs. Buy Options
Part DIY (Cost) Pre-Built (Cost) Hub Pi Zero 2W + nRF24 ($25) - Motion Sensor Pico + PIR ($8) $15 (AliExpress) Soil Sensor Pico + Capacitive ($12) $25 (commercial) 7. Kickstarter Potential
Why This Could Work
"No More Bricked Devices" – Unlike Nest, this won’t die when a company loses interest.
"Build Your Own or Buy Pre-Made" – Open designs appeal to tinkerers and regular users.
"Farm-to-Table Home Automation" – No middleman, no spyware, no subscriptions.
Stretch Goals
ESP-NOW support (for WiFi-based nodes).
Matter Bridge (optional compatibility with Alexa/HomeKit).
GSM Backup (for SMS alerts without WiFi).
Final Pitch
This is home automation the way it should be:
✅ Local-only (no internet needed).
✅ Open hardware (no vendor lock-in).
✅ Low power (batteries last years).
✅ Self-healing (mesh keeps working if one node dies).
✅ DIY-friendly (build sensors for pennies)."Your smart home shouldn’t be held hostage by a corporation."
Next Steps
Prototype the Hub (Pi + nRF24L01+).
Build a Solar-Powered Soil Sensor (Pico + LoRa).
Write the Mesh Protocol (simple binary packets).
Saturday, April 26, 2025
The OpenHome Project: A Non-IoT, Local-First Home Automation System
Subscribe to:
Post Comments (Atom)
Progress on the campaign manager
You can see that you can build tactical maps automatically from the world map data. You can place roads, streams, buildings. The framework ...
-
The tent smelled of ozone, sawdust, and cheap miracles. On a rickety stage, a man named Constantine adjusted the frayed cuffs of his tuxedo...
-
So, I saw this kit on Amazon. It seemed too good too be true. The kit was priced right, it was less than 2 dollars for each board. Of co...
-
My plan was to get the most use possible from the $5 raspberry Pi Zero that I managed to get my hands onto by buying a full kit that include...
No comments:
Post a Comment