Back to Ruview

RuView starter Home Assistant Blueprints

examples/ha-blueprints/README.md

1.99.0-pip3.9 KB
Original Source

RuView starter Home Assistant Blueprints

8 ready-to-import HA Blueprints covering the highest-leverage automations RuView's HA-MIND semantic primitives unlock. Drop the YAML files into <HA config>/blueprints/automation/ruvnet/ and import from the HA UI (Settings → Automations & Scenes → Blueprints → Import Blueprint).

#BlueprintPrimary primitiveUse case
1Notify on possible distresspossible_distressHealthcare / AAL / single-occupant
2Dim hallway when sleepingsomeone_sleepingConvenience / sleep hygiene
3Wake routine on bed exitbed_exitMorning routine / smart home
4Alert on elderly inactivity anomalyelderly_inactivity_anomalyAAL / aging-in-place
5Meeting lights + presence modemeeting_in_progressConference room / WFH
6Bathroom fan while occupiedbathroom_occupiedHumidity / privacy-mode-safe
7Escalate on fall-risk crossingfall_risk_elevatedAAL / preventive intervention
8Auto-arm security when room not activeroom_active + no_movementSelf-arming security

Verifying the YAML

Each blueprint validates against the HA blueprint schema (https://www.home-assistant.io/docs/blueprint/schema/). To check locally without an HA install:

bash
# Requires python3 + PyYAML
for f in examples/ha-blueprints/*.yaml; do
  python -c "import yaml,sys; yaml.safe_load(open('$f'))" && echo "✓ $f" || echo "✗ $f"
done

Privacy-mode compatibility

Five of the eight blueprints work under --privacy-mode (no biometrics exposed). The other three depend on inferred states that themselves derive from biometrics, so they still publish, but the operator should audit before deploying in regulated contexts.

BlueprintPrivacy-mode safe?
01 Notify on possible distress⚠️ derives from HR/motion — state still publishes
02 Dim hallway when sleeping⚠️ derives from BR — state still publishes
03 Wake routine on bed exit
04 Alert on elderly inactivity anomaly
05 Meeting lights
06 Bathroom fan while occupied✅ zone-derived only
07 Escalate on fall-risk crossing⚠️ derives from motion-variance — state still publishes
08 Auto-arm security

The "⚠️" markers are the inferred-state-vs-raw-value distinction from ADR-115 §3.12.3: the state (e.g. binary_sensor.someone_sleeping) crosses the wire even in privacy mode because it's derived server-side, but it's no longer accompanied by the raw biometric values.

See also