cd /news/ai-products/i-built-a-smart-home-app-where-your-… · home › topics › ai-products › article
[ARTICLE · art-179051] src=dev.to ↗ pub= topic=ai-products verified=true sentiment=↑ positive

I built a smart home app where your phone is the hub (and an old phone can be one too)

A developer built DoSync, a free Android smart home app that controls devices over local Wi-Fi without an account, cloud, or dedicated hub, using a small offline parser for commands in six languages and optional on-device Gemini Nano, a user-supplied API key, or Ollama for AI. The app supports 80+ brands via local protocols (WiZ and LIFX over UDP, Hue and Shelly over HTTP, Tapo's KLAP handshake, Tuya's local protocol), and an old Android phone or Raspberry Pi can run the same Node-bundled engine as a hub, reachable remotely through an end-to-end encrypted relay that only sees bytes. Safety rules independent of the AI require confirmation for unlocking doors or opening gates, and sunrise/sunset routines derive location from the home's time zone using the NOAA sunrise equation.

recommendation

Keep deterministic parsing and hard confirmation gates for safety-critical actions, and treat AI as an optional layer rather than the control path.

more in playbook: Designing agent systems
by read2 min views1 publishedDec 1, 2026

Most smart home apps want an account, a cloud and a hub before you can turn off a light.

I wanted the opposite: an Android app that talks to devices on your Wi-Fi directly, in plain

words, in your language, with no account.

That became DoSync. A few things I learned building it:

Understanding commands without AI. "Turn off the living room lights", "Licht aus",

"luci spente": a small parser on the phone handles most commands in 6 languages, offline. AI is optional (on-device Gemini Nano, your own key, or Ollama on your computer).

Talking to 80+ brands locally. WiZ and LIFX over UDP, Hue and Shelly over HTTP, Tapo with its

KLAP handshake, Tuya with its local protocol (3.3 to 3.5), TVs over their own protocols,

infrared through the phone's emitter. Most devices have a public or documented local API;

the hard part is the hundred small differences.

The phone as the hub, and an optional hub that runs the same engine. When you leave home,

your phone can't reach a light on your Wi-Fi. So an old Android phone or a Raspberry Pi can run

the exact same engine (same code, bundled for Node) and keep routines going. Away from home

the app reaches it through an end-to-end encrypted relay: the relay only sees bytes.

Safety rules that don't depend on the AI. Unlocking a door or opening a gate always asks for

confirmation, whatever the AI or a routine says, and members need the owner's permission.

Routines at sunrise and sunset without asking for location: the home's time zone already

names a city, and the NOAA sunrise equation is good to a couple of minutes.

It's free on Google Play

What works with which brand (honestly, including what's only tested against simulators): I'd love feedback, especially from people with brands I haven't tested on real hardware.

── more in #ai-products 4 stories · sorted by recency
── more on @dosync 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/i-built-a-smart-home…] indexed:0 read:2min 2026-12-01 · —