Home Assistant blueprints and helper package generators.
This repository currently centers on a WITB+ occupancy/action workflow plus related automation and script blueprints:
- Occupancy inference for enclosed rooms (
WITB+ v4) - Occupancy inference for transit areas / hallways (
WITB Transit Room Driver v1) - Bedroom sleep guard to prevent false vacancy while in bed (
WITB+ Bed → Force Occupied v1) - Actions control for lights/fan (
WITB+ Actions - Lights + Fan) - Bathroom fan control from humidity delta (
Bathroom Fan From Humidity Delta) - Vacuum Job Manager automation for iRobot jobs + helper state + optional WITB overrides
- Optional resilient light hook scripts for VZW31-SN smart-bulb setups
- Getting started (full guide):
docs/GETTING_STARTED.md - Getting started (quick start):
docs/QUICKSTART.md - Blueprint docs index:
docs/blueprints/README.md - Example configs:
examples/README.md - Reference links:
references/README.md - Naming standards:
NAMING.md - Contributing:
CONTRIBUTING.md - Doc backlog:
todo.md
-
blueprints/automation/witb_plus/v4/witb_plus.yaml- Docs:
blueprints/automation/witb_plus/v4/README_witb_plus_v4.md - Purpose: room occupancy inference from doors + motion (+ optional mmWave).
- Docs:
-
blueprints/automation/witb_plus_actions_lights_fan/v2/witb_plus_actions_lights_fan.yaml- Docs:
blueprints/automation/witb_plus_actions_lights_fan/v2/README_witb_plus_actions_lights_fan_v2.md - Purpose: occupancy-driven light/fan actions with safety tags, run-on, and optional humidity/lux tuning.
- Docs:
-
blueprints/automation/bathroom_fan_from_humidity/v1/bathroom_fan_from_humidity_delta.yaml- Docs:
blueprints/automation/bathroom_fan_from_humidity/v1/README_bathroom_fan_from_humidity_delta_v1.md - Purpose: humidity-delta-based bathroom fan control with hysteresis and runtime safety limits.
- Docs:
-
blueprints/automation/vacuum_job_manager/v1/vacuum_job_manager.yaml- Docs:
blueprints/automation/vacuum_job_manager/v1/README_vacuum_job_manager_v1.md - Purpose: queued/scheduled vacuum job orchestration with mission-counter completion and optional WITB/light integration.
- Docs:
-
blueprints/automation/witb_transit_room/v1/witb_transit_room.yaml- Docs:
blueprints/automation/witb_transit_room/v1/README_witb_transit_room_v1.md - Purpose: PIR-only occupancy driver for hallways/stairs using hold-timer decay; outputs WITB-compatible
occupied_effectivesignal.
- Docs:
-
blueprints/automation/witb_plus_bed_sensor/v1/witb_plus_bed_force_occupied.yaml- Docs:
blueprints/automation/witb_plus_bed_sensor/v1/README_witb_plus_bed_force_occupied_v1.md - Purpose: bedroom sleep guard — drives
force_occupiedto prevent WITB+ from clearing occupancy while someone is in bed.
- Docs:
-
blueprints/script/witb_switch_light_profiles/v1/witb_lights_on_hook_vzw31sn.yaml- Docs:
blueprints/script/witb_switch_light_profiles/v1/README_witb_lights_hooks_vzw31sn_v1.md - Purpose: resilient ON hook for bulbs behind VZW31-SN (recovery, rechecks, notifications).
- Docs:
-
blueprints/script/witb_switch_light_profiles/v1/witb_lights_off_hook_vzw31sn.yaml- Docs:
blueprints/script/witb_switch_light_profiles/v1/README_witb_lights_hooks_vzw31sn_v1.md - Purpose: resilient OFF hook for bulbs behind VZW31-SN (recovery, rechecks, notifications).
- Docs:
Run from repo root.
- Generate occupancy helpers/templates:
python blueprints/generate_witb_packages_templated.py \
--rooms "Office" "Master Bathroom Toilet" \
--template blueprints/automation/witb_plus/v4/witb_plus_package_template.yaml \
--out blueprints/automation/witb_plus/v4/packages- Generate actions helpers:
python blueprints/generate_witb_packages_templated.py \
--rooms "Office" "Master Bathroom Toilet" \
--template blueprints/automation/witb_plus_actions_lights_fan/v2/room_witb_actions_package_template.yaml \
--out blueprints/automation/witb_plus_actions_lights_fan/v2/packages- Generate bathroom humidity helper packages:
python blueprints/generate_witb_packages_templated.py \
--rooms "Half Bathroom" \
--template blueprints/automation/bathroom_fan_from_humidity/v1/room_humidity_baseline_delta_package_template.yaml \
--out blueprints/automation/bathroom_fan_from_humidity/v1/packagesGenerated files are helper/package YAML files. Automations are created in the Home Assistant UI from blueprints.
- Vacuum helpers template:
# POSIX shell example:
cp blueprints/automation/vacuum_job_manager/v1/vacuum_job_helpers.yaml packages/roomba_vacjob.yaml# PowerShell example:
Copy-Item "blueprints/automation/vacuum_job_manager/v1/vacuum_job_helpers.yaml" "packages/roomba_vacjob.yaml"# Ensure packages are loaded in Home Assistant
homeassistant:
packages: !include_dir_merge_named packages/blueprints/automation/: current blueprint work.blueprints/script/: current script blueprint work.docs/: implementation docs and blueprint compatibility matrix.examples/: copy-ready package and automation examples.references/: official Home Assistant docs links and third-party references.tools/: utility scripts and validation helpers.legacy/v1/: older blueprint collection and docs.
Older content remains under legacy/v1/README.md.