Skip to content

智能家居材料预埋指南 (Smart Home Pre-installation Guide)

1. Why Pre-installation Matters

Smart home retrofitting after renovation is expensive, messy, and often aesthetically compromised. Proper pre-installation during renovation ensures clean wire management, reliable connections, and future-proofing. This guide covers conduit planning, wiring, sensor positioning, and infrastructure requirements.

Renovation Phase Checklist

PhaseSmart Home Tasks
DesignSelect ecosystem, map device locations, plan network topology
DemolitionMark new outlet locations, identify hub placement
Electrical rough-inRun neutral wires to all switch locations, install extra conduits
Low-voltage rough-inNetwork cables, sensor wires, speaker wires, security
Wall closingPhotograph all wire runs, label both ends, test continuity
FinishingInstall smart switches, sensors, hubs, APs
CommissioningNetwork setup, device pairing, automation programming

2. Smart Home Ecosystem Selection

Platform Comparison

EcosystemProtocolLocal ControlHub RequiredVoice AssistantNotes
Apple HomeKitThread, Wi-Fi, BluetoothYes (with Thread Border Router)Apple TV / HomePod / HomePod miniSiriPremium, privacy-focused, best iOS integration
Xiaomi / Mi Home (米家)Zigbee 3.0, BLE Mesh, Wi-FiPartial (depends on device)Xiaomi Gateway / MultimodeXiao AiWidest device selection in China, cost-effective
AqaraZigbee 3.0, Thread, Wi-FiYes (with Aqara Hub M2/M3)Aqara Hub M2/M3Siri, Alexa, GoogleGood HomeKit support, quality hardware
Tuya / Smart LifeWi-Fi, ZigbeePartialTuya GatewayAlexa, GoogleMassive device compatibility, budget
Home AssistantZigbee, Z-Wave, Thread, Wi-Fi, MQTTYes (fully local)HA server (Raspberry Pi / NAS)AnyUltimate flexibility, DIY, technical skill needed
Huawei HiLink (鸿蒙)Wi-Fi, BLE, PLCYesHuawei router / hubCeliaGrowing ecosystem, PLC wired reliability

Protocol Comparison

ProtocolRangeBandwidthPower UseMeshBest For
Zigbee 3.010–30m indoor250 kbpsVery lowYesSensors, switches, locks
Z-Wave30–100m indoor100 kbpsVery lowYesSensors, locks, thermostats
Thread10–30m indoor250 kbpsVery lowYesNext-gen standard, Matter compatible
Wi-Fi30–50m indoor100+ MbpsHighNoCameras, displays, speakers
Bluetooth LE / BLE Mesh10m1–2 MbpsLowYes (mesh)Proximity sensors, remotes
Matter (over Thread/Wi-Fi)Depends on underlyingVariesVariesYesUniversal standard (future-proof)
RS-485 (wired)1000m+HighN/ANoCommercial, wired reliability

Recommendation: Plan for Zigbee 3.0 or Thread for sensors and switches, Wi-Fi for cameras and displays, and ensure your hub supports Matter for future compatibility.


3. Conduit Pre-Planning (管道预埋)

General Rules

  • Every switch box needs a neutral wire — this is the single most important pre-installation rule
  • Run at least one extra empty conduit to each major location for future expansion
  • Use 20mm conduits (not 16mm) for switch locations to allow future cable additions
  • Separate power and low-voltage conduits by minimum 300mm

Conduit Layout by Room

Living Room

LocationConduits NeededWire TypesNotes
TV wall3 x 20mm conduitsPower + HDMI/ethernet + spareHDMI conduit with pull string
Sofa wall2 x 20mm conduitsPower + ethernetFor floor lamp + smart speaker
Ceiling center2 x 20mm conduitsPower (ceiling light) + neutralSmart switch needs neutral
Corner (curtain)1 x 20mm conduitPower at ceiling heightFor motorized curtain track
Window (sensor)1 x 16mm spareOptional wired contact sensorUsually wireless is sufficient

Kitchen

LocationConduits NeededWire TypesNotes
Under-sink2 x 20mmPower + spareWater purifier, leak sensor, garbage disposal
Above cooktop1 x 20mmPowerSmart range hood
Countertop level2 x 20mmPowerSmart appliance outlets
Ceiling1 x 20mmPowerSmart light / gas detector
Fridge area1 x 20mmPower (dedicated circuit)Smart fridge

Bedroom

LocationConduits NeededWire TypesNotes
Each side of bed2 x 20mmPower + USBBedside outlets + smart lamp
Door2 x 20mmPower (switch) + neutralSmart switch + scene panel
Window1 x 16mmPower (optional)Motorized curtain/blind
Ceiling2 x 20mmPower + neutralSmart light + optional projection screen power

Bathroom

LocationConduits NeededWire TypesNotes
Mirror area2 x 20mmPowerSmart mirror, LED lighting
Ceiling2 x 20mmPowerSmart exhaust fan, heater, light
Toilet area1 x 20mmPowerSmart toilet seat
Shower area1 x 16mmPower (IP-rated)Digital shower controller (optional)
Wall (sensor)1 x 16mm spareOptional wired humidity sensorUsually wireless

Switch Box Requirements

Switch TypeBox SizeWiring Needed
Standard single gang86 x 86mmLive + Neutral + Load (each way)
Multi-gang (2–3 gang)86 x 86mm (deep)Live + Neutral + multiple loads
Scene panel / touchscreen86 x 86mm (deep 50mm+)Live + Neutral + ethernet (recommended)
Curtain switch86 x 86mmLive + Neutral + 2 switched legs
Dimmer switch86 x 86mm (deep)Live + Neutral + Load + earth

Critical: Request electricians to run neutral wire (零线) to EVERY switch location. Traditional Chinese wiring often omits neutral at switches (switch only breaks live). Smart switches need both live and neutral to power their electronics.


4. Wiring for Smart Switches

Smart Switch Wiring Diagram (Text)

Distribution Box
    |
    |--- Live (火线) --------------------+--- to smart switch L terminal
    |                                     |
    |--- Neutral (零线) ------------------+--- to smart switch N terminal
    |
    +--- Earth (地线) --------------------+--- to smart switch E terminal (if metal)

Smart Switch
    |
    +--- L1, L2, L3 (load wires) -----> to each light fixture

Wire Requirements

ConnectionWire SizeTypeNotes
Live to switch2.5mm²BVStandard
Neutral to switch2.5mm²BVMust be added if not present
Load wires (to lights)1.5–2.5mm²BVPer lighting circuit
Earth2.5mm²BVRRequired for metal switch plates

Smart Switch Types

TypeNeutral RequiredInstallationBest For
Zero-fire version (零火版)YesL + N + LoadNew construction, renovation (preferred)
Single-fire version (单火版)NoL + Load onlyRetrofit (existing homes), but less reliable
No-neutral version (无零线)NoL + LoadLast resort; requires bypass capacitor

Always choose zero-fire version (零火版) for new installations. Single-fire switches have issues with low-wattage LED flickering and are less reliable.


5. Sensor Mounting Positions

Sensor Placement Guide

Sensor TypeRecommended HeightLocationSpacingNotes
Motion (PIR)2.2–2.5mCeiling corner, facing entry5–8m coverage radiusAvoid pointing at AC vents, windows
Motion (mmWave)2.5–3.0mCeiling center of room6m coverage radiusDetects presence (breathing), not just motion
Door/Window ContactDoor frame heightTop corner of door/windowOne per door/windowMagnet on door, sensor on frame
Temperature/Humidity1.5mInterior wall, shadedOne per zone/roomAway from direct sun, AC vents, kitchens
Light (Lux)1.5mInterior wallOne per roomAway from direct lamp light
Water LeakFloor levelUnder sinks, near water heater, washing machineOne per wet areaPlace on lowest point
Smoke DetectorCeiling centerEach room, hallwayPer fire codeInterconnected if wired
Gas DetectorCeiling (natural gas) or floor (LPG)Kitchen, near gas applianceOne per gas appliance areaNatural gas rises; LPG sinks
Air Quality (VOC/PM2.5)1.5mLiving room, bedroomOne per floorAway from kitchen, open windows
Noise1.5mLiving room, nurseryOne per roomFor automation triggers

mmWave Sensor vs PIR

FeaturePIR (Passive Infrared)mmWave (Millimeter Wave Radar)
DetectionBody heat movementMicro-movement (breathing, typing)
"Still person" detectionNo (turns off if sitting still)Yes (detects presence even when still)
Through materialsNo (line of sight)Yes (through thin walls, glass, fabric)
False triggersModerate (pets, sunlight)Low
Cost¥20–80¥80–300
PowerBattery or wiredWired (5V or 12V)
Recommended UseHallways, entry, closetsLiving rooms, bedrooms, bathrooms

mmWave Sensor Installation Checklist

  • [ ] Mount on ceiling for best coverage (360° models)
  • [ ] Wall mount at 2.5m+ if ceiling not possible (directional models)
  • [ ] Power: run 5V USB-C or 12V DC wire to sensor location
  • [ ] Avoid placing near rotating fans, curtains, or moving objects that trigger false detection
  • [ ] Configure detection zone in software to exclude false trigger areas
  • [ ] Set appropriate "unoccupied delay" (30–60 seconds recommended)

6. Network Cable Requirements

Cable Category Selection

Cable CategoryMax SpeedMax DistanceSuitable ForRecommendation
Cat 5e1 Gbps100mBasic internetMinimum — avoid for new installs
Cat 61–10 Gbps55m (10G) / 100m (1G)Gigabit + futureRecommended for most homes
Cat 6a10 Gbps100m10G backbone, PoE++Ideal for future-proofing
Cat 710 Gbps100mShielded installationsOverkill for most; harder to terminate
Cat 840 Gbps30mData centersUnnecessary for residential

Recommendation: Install Cat 6a (六类a) to all fixed locations. The cost difference from Cat 6 is minimal during construction, and it supports 10 Gbps for future network upgrades.

Network Drop Points

LocationNumber of Cat 6a DropsNotes
TV wall3–4TV, set-top box, game console, spare
Each bedroom2Desktop PC, spare
Study / office4–6Desktop, NAS, printer, monitor, spare
Kitchen1Smart display / tablet
Living room ceiling1Wi-Fi AP (ceiling mount)
Each floor hallway1Wi-Fi AP
Distribution boxAs neededSmart home hub, network switch
Door entrance1Smart doorbell / camera
Balcony1Security camera
Garage1EV charger communication (optional)

PoE (Power over Ethernet) Devices

DevicePoE StandardPowerNotes
IP Camera802.3af (PoE)15.4WMost common
Wi-Fi AP (ceiling)802.3af (PoE)15.4WUbiquiti, TP-Link Omada
Smart doorbell802.3af (PoE)15.4WWired alternative to battery
IP Phone802.3af (PoE)15.4WOptional for home
PoE Switch802.3at (PoE+)30WFor downstream devices
Smart display802.3at (PoE+)30WWall-mounted control panel

Network Topology Recommendation

Internet (fiber optic modem / ONT)
    |
    |--- Main Router (with 2.5G WAN port)
            |
            +--- 2.5G/10G Switch (in distribution box)
                    |
                    +--- Cat 6a to each room drop
                    +--- Cat 6a to ceiling APs
                    +--- Cat 6a to PoE cameras
                    +--- Cat 6a to smart home hub
                    +--- Cat 6a to NAS

Network Installation Checklist

  • [ ] Run minimum Cat 6a, solid copper (not CCA — Copper-Clad Aluminum)
  • [ ] Use shielded cable (STP) only if running near power lines; otherwise UTP is fine
  • [ ] Label both ends of every cable
  • [ ] Test every cable with certification tester (Fluke or equivalent)
  • [ ] Leave 1m service loop at both ends
  • [ ] Use structured media enclosure / patch panel in distribution box
  • [ ] Conduit size: minimum 20mm for network cable runs (allow for future re-pull)
  • [ ] Do NOT run network and power in the same conduit

7. Central Hub Placement

Hub Placement Criteria

FactorRequirementWhy
CentralityCentral location in homeMaximizes Zigbee/Thread range to all devices
Elevation1.5–2.0m heightAvoids floor-level obstruction
PowerAlways-on outlet (not switched)Hub must run 24/7
NetworkEthernet connection (not Wi-Fi)Reliable, low-latency backbone
VentilationOpen area, not enclosed in metal boxZigbee/Thread signals attenuate in metal enclosures
AccessibilityAccessible for maintenanceUSB ports, reset buttons, SD cards
Home TypeBest Hub LocationNotes
Small apartment (1–2 BR)Living room shelf or TV cabinetCentral, easy access
Large apartment (3+ BR)Central hallway ceiling or utility roomMaximize radio range
Multi-story villaEach floor has a hub, wired togetherZigbee doesn't cross floors well
With NASNext to NAS / in equipment rackConsolidate infrastructure
With HomeKitNear Apple TV / HomePodThread Border Router co-location

Equipment Rack / Distribution Box Setup

ComponentSize / SpaceNotes
Router1U or desktop2.5G WAN minimum
Switch8–16 port PoE+Managed switch with VLAN support
Smart Home HubDesktop (15 x 15 x 5cm)Aqara M3, Home Assistant, etc.
NVR (camera recorder)4–8 bayIf using wired cameras
NAS2–4 bayMedia, backups, Home Assistant
Patch panel12–24 portOrganize all network drops
UPS600–1500VAKeep network running during outages
Enclosure400 x 300 x 120mm minimumVentilated metal or plastic cabinet

Equipment Rack Checklist

  • [ ] Dedicated 16A circuit for network equipment
  • [ ] UPS backup for router, switch, and hub
  • [ ] Ventilation: minimum 2 fans or passive vents
  • [ ] Cable management: velcro ties (not zip ties) for serviceability
  • [ ] Label every cable at both ends
  • [ ] Leave 30% spare ports on switch for future devices
  • [ ] Configure VLANs: separate IoT devices from main network
  • [ ] Document IP addresses and device assignments

8. Special Considerations

Smart Curtain Pre-installation

Curtain TypePower LocationConduitNotes
Motorized trackCeiling, end of curtain rod20mm conduit to one endMeasure track length + 15cm for motor
Roller blindCeiling or wall, top of window16mm conduitBattery options available
Venetian blindWall, beside window16mm conduitSmart tilt/raise control
Roman shadeCeiling16mm conduitRequires compatible motor

Smart Lock Pre-installation

Door TypeRequirementNotes
Wooden doorStandard mortise size (6068 or 7255)Measure before purchasing lock
Metal security doorConfirm lock body compatibilityMay need adapter plate
Double doorConfirm latch directionSmart locks are handed
Glass doorSpecial glass door lockDifferent mechanism

Tip: No wiring needed for smart locks (battery powered), but consider pre-running a low-voltage wire for future hardwired models.

Smart Mirror / Bathroom TV

ItemPower LocationWater Protection
Smart mirrorAbove mirror, concealedIP44 minimum
Bathroom TVAbove vanity or in nicheIP65 for shower-adjacent areas
Heated towel rackWall, beside showerDedicated 16A circuit

Projector Pre-installation

ItemRequirementNotes
Ceiling mountReinforced ceiling box or concrete anchorVerify projector weight capacity
HDMI conduit25mm conduit from TV rack to projectorHDMI 2.1 requires high-quality cable
Power1 x 10A outlet at projector location
Screen power1 x 10A outlet at screen locationFor motorized screen
Speaker wire2 x 16mm² to rear speaker locationsIf planning surround sound

9. Complete Pre-installation Checklist

Electrical

  • [ ] Neutral wire at EVERY switch location
  • [ ] 20mm conduits at all switch boxes (not 16mm)
  • [ ] Extra empty conduit to major locations
  • [ ] Dedicated circuit for smart water heater
  • [ ] Outlet under every sink (water purifier, leak sensor)
  • [ ] Outlet at ceiling for motorized curtains
  • [ ] Outlet at door entrance for smart doorbell/camera

Low-Voltage

  • [ ] Cat 6a to every room (minimum 2 drops per room)
  • [ ] Cat 6a to TV wall (3–4 drops)
  • [ ] Cat 6a to ceiling AP locations
  • [ ] Cat 6a to smart home hub location
  • [ ] Cat 6a for doorbell camera
  • [ ] Cat 6a for each PoE camera location
  • [ ] Spare conduits with pull string everywhere

Structural

  • [ ] Reinforced ceiling mount for projector
  • [ ] Reinforced wall for wall-mounted smart display
  • [ ] Niche in shower for smart controls
  • [ ] Equipment rack / cabinet space in distribution area
  • [ ] Ventilation plan for equipment rack

Final Verification (Before Wall Closing)

  • [ ] Photograph every wall with conduits visible
  • [ ] Label both ends of every wire and conduit
  • [ ] Test continuity of all network cables
  • [ ] Test power to all outlet locations
  • [ ] Verify neutral present at all switch boxes
  • [ ] Document smart device plan with exact locations
  • [ ] Share documentation with future self / next electrician

10. Cost Estimates

Pre-installation Cost Breakdown

ItemUnit CostTypical QuantityTotal
Extra neutral wire to switches¥5–10/m50–100m¥250–1000
Extra empty conduit (20mm)¥3–5/m30–50m¥90–250
Cat 6a cable¥2–4/m200–400m¥400–1600
Network outlet (faceplate + module)¥15–30/point10–20 points¥150–600
Smart switch (zero-fire, per gang)¥50–15010–20 switches¥500–3000
Smart home hub¥200–8001–2¥200–1600
Wi-Fi AP (ceiling, PoE)¥200–6002–4¥400–2400
PoE switch (8-port)¥300–8001¥300–800
Estimated total (pre-installation materials)¥2290–11250

Note: These are material costs only. Labor for extra wiring during renovation typically adds 20–40%. The cost of retrofitting after renovation (chasing walls, surface-mount trunking) can be 3–5x higher.


11. Common Mistakes to Avoid

MistakeConsequencePrevention
No neutral at switchesCannot install reliable smart switchesSpecify "零线到每个开关" to electrician
16mm conduit at switchesCannot pull additional wires laterUse 20mm minimum
No spare conduitNo room for future upgradesAlways run 1 extra empty conduit
Cat 5e instead of Cat 6aLimited to 1 Gbps, no 10G futureSpecify Cat 6a minimum
Hub in metal cabinetZigbee/Thread signal blockedUse plastic/vented enclosure
No network to ceilingCannot install ceiling APPlan AP locations early
No outlet under sinkCannot power leak sensor/purifierAdd under-sink outlets
No curtain motor powerCannot add motorized curtains laterRun power to curtain track end
Wi-Fi hub instead of Ethernet hubUnreliable smart home networkHub on wired Ethernet
No equipment rack documentationFuture electricians can't trace wiresLabel and photograph everything

Released under the MIT License.