Skip to content

Security

Critical All levels

Smart home security

Smart home also means responsibility. An insecure setup can give hackers access to your network, cameras, and data. Take security seriously from the start.

ActionWhyHow
Strong passwordsWeak passwords = easy accessUse password manager, 16+ characters
Two-factor on HAExtra protectionSettings β†’ Users β†’ 2FA
Update everythingSecurity holes get patchedCheck for updates weekly
Change default passwordsEveryone knows themRouter, cameras, everything!
ActionWhyHow
Separate IoT networkIsolates devicesVLAN or guest WiFi
Local DNS (Pi-hole)Blocks trackingRun Pi-hole or AdGuard
VPN for remote accessSecure access from outsideWireGuard, Tailscale
Avoid cloud devicesSmaller attack surfaceChoose local alternatives
ActionWhyHow
Firewall rulesControl trafficpfSense, OPNsense
IDS/IPSDetect attacksSuricata, Snort
Log analysisDetect misuseGraylog, Grafana

Home Assistant and ESPHome run locally on your network. This is a BIG security advantage:

LocalCloud
βœ… Works without internet❌ Requires internet
βœ… Faster response❌ Slower
βœ… Private - no data to vendor❌ Your data sent to cloud
βœ… Works if company shuts down❌ Stops if service is discontinued
βœ… You have full control❌ Vendor has control

Keep IoT devices on a separate network:

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ ROUTER β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
β”‚ β”‚ β”‚
β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”€β” β”Œβ”€β”€β”€β”€β”΄β”€β”€β”€β”€β”
β”‚ VLAN 1 β”‚ β”‚ VLAN 2 β”‚ β”‚ VLAN 3 β”‚
β”‚ Primary β”‚ β”‚ IoT β”‚ β”‚ Guest β”‚
β”‚ β”‚ β”‚ β”‚ β”‚ β”‚
β”‚ PC β”‚ β”‚ Sensors β”‚ β”‚ Guests β”‚
β”‚ Phone β”‚ ──► β”‚ Cameras β”‚ β”‚ β”‚
β”‚ HA β”‚ β”‚ Bulbs β”‚ β”‚ β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜ β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
❌ Bad: password123
❌ Bad: MyDog2024
❌ Bad: qwerty
βœ… Good: correct-horse-battery-staple
βœ… Good: Xk9#mP2$vL8@nQ4&
ManagerPriceComment
BitwardenFree⭐ Recommended, open source
1Password$3/moPolished, family sharing
KeePassFreeOffline, full control

Want to access Home Assistant from outside? Do it securely:

MethodSecurityDifficulty
Nabu Casa⭐⭐⭐⭐⭐Easy
Tailscale VPN⭐⭐⭐⭐⭐Easy
WireGuard VPN⭐⭐⭐⭐⭐Medium
Reverse proxy + cert⭐⭐⭐⭐Hard
Port forwarding⭐AVOID!
  • Change all default passwords
  • Update firmware on all devices
  • Enable two-factor on Home Assistant
  • Use HTTPS (automatic with Nabu Casa)
  • Check for updates
  • Review active users
  • Check logs for anomalies
  • Backup configuration
  • Research manufacturer’s security practices
  • Prefer devices without cloud
  • Update firmware before use
  • Place on IoT network