Lesson 8 of 9 · 26m
Privacy, Data Retention, and Cameras Inside the House
Minimize retained state, isolate microphones and cameras, choose local recording, and treat presence history as sensitive data rather than dashboard trivia.
A smart home is a sensor network pointed at the people you love. It knows when they wake, where they move, when doors open, which rooms are occupied, what the thermostat suggests about absence, and sometimes what they say or look like. Privacy work is not a tinfoil accessory; it is part of making the system acceptable to live with.
Presence history is sensitive data
Home Assistant's recorder makes history easy to query and easy to forget. Motion sensors, door events, device trackers, and person entities can reconstruct household behavior in uncomfortable detail. Retain only what is useful.
recorder:
purge_keep_days: 14
auto_purge: true
exclude:
entities:
- sensor.phone_battery_level
- binary_sensor.unimportant_chatter
entity_globs:
- sensor.*_linkqualityFor very sensitive entities, exclude them entirely or use a much shorter retention strategy. More retention means more diagnostic value and more exposure. That trade should be explicit, not accidental.
Cameras need stronger boundaries than bulbs
Prefer cameras that support local RTSP or ONVIF, can operate without vendor cloud access, and can be isolated in an IoT or camera VLAN. Block outbound internet for cameras that do not need it. Use strong unique credentials and disable unused services such as cloud pairing, P2P relays, uPnP, and remote administration.
camera network policy:
allow NTP/DNS as required
allow NVR or Home Assistant access to RTSP/ONVIF
deny camera-initiated access to trusted LAN
deny internet where local recording is sufficientFrigate is a common local NVR/object-detection option. A simplified service might look like:
services:
frigate:
image: ghcr.io/blakeblackshear/frigate:0.14.1
restart: unless-stopped
volumes:
- ./config:/config
- ./storage:/media/frigate
- /etc/localtime:/etc/localtime:ro
devices:
- /dev/bus/usb:/dev/bus/usbHardware acceleration and storage sizing deserve real planning. Continuous video writes can destroy cheap flash storage quickly.
Microphones are consent surfaces
Voice assistants are useful precisely because they are always listening for activation. Cloud assistants send audio processing outside the house; local voice options reduce that exposure but still place microphones in intimate spaces. Put them where occupants expect them, not everywhere because it is technically possible. Use physical mute controls and make their meaning obvious.
Notifications leak context
A notification saying "front door unlocked" is useful. It is also sensitive if it appears on a locked screen, a shared watch, or a work-managed phone. Tune notification content for the audience and device. Include enough context to act, not a full behavioral transcript.
service: notify.mobile_app_pixel
data:
title: Entry alert
message: Front door unlocked after alarm arming.Protect backups and dashboards
Backups contain configuration, secrets references, entity history patterns, network layout, and sometimes credentials. Encrypt off-site copies. Dashboards exposed to guests or wall tablets should not reveal alarm state controls, camera feeds, or detailed presence history unless that access is intentional. Different viewers need different trust levels.
Field notes
- Recorder exclusions do not erase existing retained rows; purge behavior and database maintenance still matter.
- Presence detection based on phones can expose when a home is empty; protect that data at least as carefully as camera footage.
- Interior cameras create household trust issues even when technically secure. Consent and placement are design requirements.
- Do not put camera credentials in shared dashboards, screenshots, or documentation.
Was this lesson helpful?