Skip to main content

IoT Plan — New House

Overview and project plan for IoT deployment at the new house.

Philosophy: Convenience first, security second. Self-hosted, local control where possible.


Platform Stack

LayerChoiceStatusNotes
HubHome AssistantPlannedPhase 1: RPi 4, Phase 2: Container on Prod Docker
Primary ProtocolZigbeePlannedVia Sonoff Zigbee 3.0 coordinator
VoiceGoogle HomeExistingTTS announcements via HA
NetworkUnifi NetworkOn orderUDM + switches, foundation for VLANs
CamerasUnifi Protect + TapoOn order / ExistingProtect on UDM, 3x Tapo (existing)
ThermostatsSensi (2 zones)ExistingCloud integration via HA (acceptable trade-off)

See decisions/home-assistant-deployment.md for deployment architecture.


Phase 1 — Initial Deployment

Target Rooms

Garage:

  • 1x smart switch (single, not 3-way)
  • 1x wireless button (control from adjacent room)

Bedroom:

  • 4-gang panel, 3 smart + 1 dumb
  • Fan and light on fan are separately wired
PositionDeviceControls
1Inovelli Blue 2-1 (on/off)Hall light (3-way)
2Inovelli Blue Fan SwitchFan motor
3Inovelli Blue 2-1 (dimmer)Fan’s light
4Dumb Decora switchAlcove light

Whole House:

  • Door sensors on 4 doors (front, back, office, garage entry)
  • Automations for “door left open” alerts via Google TTS

Shopping List

ItemQty~CostNotes
Sonoff Zigbee 3.0 USB Dongle Plus1$25Coordinator for HA
Inovelli Blue 2-1 Switch3$135Hall 3-way, garage, fan light (dimmer)
Inovelli Blue Fan Switch1$45Bedroom fan motor
Zigbee wireless button1$12IKEA Shortcut or Aqara
Zigbee door sensors4$50Aqara or Sonoff SNZB-04
Decora 4-gang wall plate1$5Bedroom panel (replacing toggle)
Total~$270-275

Already owned:

  • Raspberry Pi 4 (for Home Assistant)
  • Tapo cameras (3x)
  • Sensi thermostats (2x)
  • LiftMaster garage door openers (2x, staying on myQ for now)

On order:

  • Unifi Network equipment
  • Unifi Protect + cameras

Switch Notes

  • Inovelli Blue 2-1 is configurable as on/off OR dimmer (same hardware)
  • 3-way configuration: Replace only ONE switch, existing dumb switch stays
  • Neutral wire: Confirmed present
  • Style: Decora (rectangular rocker) — replace existing toggle plate

Deferred Items

ItemReasonFuture Path
ratgdo (garage doors)Not a priorityAdd when local control becomes valuable (~$35-50/unit)
Smart locksDetection > preventionEvaluate Zigbee/Matter locks or Unifi Access later
Unifi AccessCostRevisit in a few years if “set and forget” lock system needed

See decisions/ for detailed rationale.


Integrations

SystemIntegration MethodLocal?Notes
Zigbee devicesZHA or Zigbee2MQTTYesUSB coordinator on HA host
Google HomeGoogle Cast integrationTTS only (cloud)Requires Prod → IoT firewall rule
Tapo camerasTapo integration or RTSPRTSP is localOn IoT VLAN
Unifi ProtectNative HA integrationYesRuns on UDM, HA needs access to UDM management
Sensi thermostatsEmerson Sensi integrationNo (cloud API)Acceptable trade-off
LiftMaster (myQ)Not integratedN/ADeferred

Key Automations

See automations.md for full workflow definitions.

AutomationTriggerAction
Door left openDoor open > 5 minTTS to Google Home
Door reminderStill openRepeat TTS every 5 min
Garage night alertGarage door opens 10PM-6AMTTS + camera snapshot
Garage buttonZigbee button pressToggle garage light
Goodnight sceneButton or voiceHall off, bedroom dims, fan on
Arriving homePerson arrives after sunsetEntry lights on

Network Considerations

  • Zigbee coordinator should be central in house (or use USB extension cable to avoid USB 3.0 interference)
  • Each mains-powered Zigbee device (switches) extends the mesh
  • Consider IoT VLAN for Tapo cameras and other cloud-dependent devices

Stretch Goals

Automated HA Failover

Status: Future (Phase 3)
Hardware: Second Zigbee coordinator (~$25)

Cold/warm spare HA instance on Test environment (LenovoMini 2) with single-click failover:

  • Second Zigbee coordinator on Test host
  • Config sync from Prod → Test (rsync or NAS)
  • Ansible playbooks to flip firewall rules (Test ↔ IoT instead of Prod ↔ IoT)
  • Zigbee2MQTT for portable network config (coordinator backup)

See decisions/home-assistant-deployment.md for full design.


Future Expansion

When ready to grow:

  • More rooms: Add Inovelli switches as needed (same ecosystem)
  • Motion sensors: Zigbee PIR sensors for presence-based lighting
  • Water leak sensors: Zigbee leak detectors for bathrooms, laundry, water heater
  • Frigate: Local AI object detection when homelab is running (needs Coral TPU)
  • ratgdo: Local garage door control when automation use case emerges
  • Locks: Zigbee/Matter locks or Unifi Access when keyless entry becomes valuable

References