Skip to content

Latest commit

 

History

History
146 lines (110 loc) · 9.21 KB

File metadata and controls

146 lines (110 loc) · 9.21 KB

ha-blueprints

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

Quick Links

Active Blueprint Files

  1. blueprints/automation/witb_plus/v4/witb_plus.yaml

  2. blueprints/automation/witb_plus_actions_lights_fan/v3/witb_plus_actions_lights_fan.yaml

  3. blueprints/automation/humidity_controled_fan/v1/humidity_controled_fan.yaml

  4. blueprints/automation/vacuum_job_manager/v1/vacuum_job_manager.yaml

  5. blueprints/automation/witb_transit_room/v1/witb_transit_room.yaml

  6. blueprints/automation/witb_plus_bed_sensor/v1/witb_plus_bed_force_occupied.yaml

  7. blueprints/script/witb_switch_light_profiles/v1/witb_lights_on_hook_vzw31sn.yaml

  8. blueprints/script/witb_switch_light_profiles/v1/witb_lights_off_hook_vzw31sn.yaml

  9. blueprints/automation/car_tag/v1/car_tag.yaml

  10. blueprints/automation/air_purifier/v1/air_purifier.yaml

  11. blueprints/automation/ratgdo/v2/ratgdo_2.5i.yaml

  12. blueprints/automation/lux_sensor_sync/v1/lux_sensor_sync.yaml

  13. blueprints/automation/flair/v1/flair.yaml

  14. blueprints/automation/zooz_all_light_switch_modified/v1/zooz-all.yaml

Helper Packages and Generators

Run from repo root.

  1. 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
  1. Generate actions helpers:
python blueprints/generate_witb_packages_templated.py \
  --rooms "Office" "Master Bathroom Toilet" \
  --template blueprints/automation/witb_plus_actions_lights_fan/v3/witb_plus_actions_lights_fan_package_template.yaml \
  --out blueprints/automation/witb_plus_actions_lights_fan/v3/packages
  1. Generate bathroom humidity helper packages:
python blueprints/generate_witb_packages_templated.py \
  --rooms "Half Bathroom" \
  --template blueprints/automation/humidity_controled_fan/v1/humidity_controled_fan_package_template.yaml \
  --out blueprints/automation/humidity_controled_fan/v1/packages

Generated files are helper/package YAML files. Automations are created in the Home Assistant UI from blueprints.

  1. Vacuum helpers template:
# POSIX shell example:
cp blueprints/automation/vacuum_job_manager/v1/vacuum_job_manager_package_template.yaml packages/roomba_vacjob.yaml
# PowerShell example:
Copy-Item "blueprints/automation/vacuum_job_manager/v1/vacuum_job_manager_package_template.yaml" "packages/roomba_vacjob.yaml"
# Ensure packages are loaded in Home Assistant
homeassistant:
  packages: !include_dir_merge_named packages/

Repository Layout

  • 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.

Legacy

Older content remains under legacy/v1/README.md.