Blog · A home network run like a small office

Buttons with a seatbelt

Every button that changes something explains itself, starts in practice mode, and can be undone.

In this series · Chapter 6, The control centerShow all 49 partsHide the list

1. Where it started

  1. 01Why I'm running my home like a small office
  2. 02What a read-only audit of my network found
  3. 03The first changes, and the ones I said no to
  4. 04Reuse first, build only what's missing
  5. 05Fifteen decisions before the first line of code

2. Remote access and keys

  1. 06One way in from outside
  2. 07An address that keeps itself up to date
  3. 08Where the passwords live
  4. 09Keys that can do one thing

3. Monitoring

  1. 10Is it my network or the internet provider?
  2. 11A watcher outside the house, and backups I've restored
  3. 12The drill that found the bug
  4. 13Alerts that only reach my phone when something needs me
  5. 14I had the monitor audit itself
  6. 15Teaching the hub to stop crying wolf

4. The network redesign

  1. 16"Don't take down my internet": the routine before every change
  2. 17The firewall upgrade, two days late
  3. 18Keeping the plan when the builder wanted to drop it
  4. 19Two Wi-Fi drops, and knowing when to stop
  5. 20The router at 90 percent
  6. 21Moving 40 gadgets without touching each one

5. The media server

  1. 22Bringing the media server back, and keeping it up
  2. 23The movie that stuttered on one TV

6. The control center

  1. 24An overnight prototype, and bars instead of dials
  2. 25A nice hub, tucked away in a drawer
  3. 26Instructions for a phone I don't own
  4. 27Three checks before anything goes live
  5. 28Buttons with a seatbelt
  6. 29Rewind: replaying a Wi-Fi outage
  7. 30"I just want a more sensible layout"

7. Security

  1. 31A security scoreboard that started at a D
  2. 32Who's knocking: a security tab in two evenings
  3. 33Matching every program to the public flaw lists
  4. 34A DNS log for the house
  5. 35A weekly scan that can't annoy anyone
  6. 36The week of the scary flaw list

8. A private AI assistant

  1. 37A private AI for the house that can't touch anything

9. How the work got done

  1. 38Keeping a non-developer in charge
  2. 39A house manual that rebuilds itself every night
  3. 40My AI assistant keeps blocking itself, and I'm glad
  4. 41What it cost, what's next, and what I'd bring to an office

10. After the rebuild

  1. 42The backup that filled its own disk
  2. 43Two messages, one second, wrong order
  3. 44My help tool said "fine" at 7 megabits

11. Groceries

  1. 45Reading our grocery orders until the store locked us out
  2. 46I was testing a cart button when I found out nobody wanted one
  3. 47My first grocery rule would have nearly doubled what we buy
  4. 48The third store was the cheapest on nothing
  5. 49The house AI's only grocery job is picking a picture

A control center that only shows information is a dashboard. I wanted buttons too: restart the modem, restart the media server, pause a device. But a button that changes something in a house is like a button that changes something in an office. Pressed at the wrong time, it takes the internet away from everyone.

So every button got a seatbelt.

Practice

What every button does

On October 14, I asked the assistant to do every bit of work it could for the remaining sessions. It built the action system without touching anything live, and it came back with these rules:

  • Permission levels. Some buttons are for anyone, some only for me.
  • An impact sheet. Before anything runs, the hub says what it will affect. Restarting the modem, for example, takes the internet down for the whole house for about a minute and a half.
  • A result check. After the action, the hub confirms it worked instead of assuming it did.
  • Undo for 7 days. Anything reversible can be reversed.
  • One at a time. Two actions can't run at once, and a double tap doesn't run something twice.
  • Practice mode. Everything that acts starts in practice mode, where it logs what it would do without doing it. It only acts after a separate switch is turned on.

Restarting the modem safely

The modem restart button shows how careful this has to be. The modem's settings page can also do a factory reset, which would wipe it. The hub checks that the page looks exactly the way it expects before sending anything, sends only the restart, and saves the modem's status pages first. If an open incident already blames the provider, the impact sheet warns you before you restart.

In testing, the modem came back in 50 seconds and the internet in 95. The incident the restart caused was marked as ours, so it doesn't count against the provider.

Testing the pause button for real

To test pausing a device, I paused my own phone for 4 minutes. I put the phone in airplane mode with Wi-Fi on, so it couldn't quietly fall back to mobile data and fake a pass. The router's block rule appeared at 11:26:01 PM and was removed automatically at 11:30:01.

It worked perfectly, with one problem I only saw because I was holding the phone. When I opened the hub on that phone, it said everything was fine. I told the assistant it should just say the internet is paused. Now the home screen shows the pause as the main status, and the hub checks the router's block rules every minute, so a pause made anywhere else shows up too.

The test also caught a small timing bug. The router backup that runs first takes about 62 seconds, and the helper was giving up at 60. The limit went up to 180.

A bug the tests couldn't see

Practice mode earned its keep a few days later. The assistant found that the automatic fixes had failed on every single check since going live. The router reports a time as text, and the code expected a number. The tests had used numbers, so they all passed. Because automatic fixes were still in practice mode, nothing in the house was affected.

So every button in the hub says what it will affect, checks that it worked, and starts out only reporting what it would do. I'd build any tool that can change a system the same way.

Have something in mind?

Tell me what you're trying to do. I reply within two business days.

Get in touch