diff --git a/README.md b/README.md index 3d4ccf80..757c1d9d 100755 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Live, personal Home Assistant configuration shared for **browsing and inspiratio - Garage routines and entry lighting: [config/packages/garadget.yaml](config/packages/garadget.yaml), [config/automation/garage_entry_light.yaml](config/automation/garage_entry_light.yaml) - Holiday/front-of-house color scenes: [config/scene/monthly_colors.yaml](config/scene/monthly_colors.yaml), [config/script/monthly_color_scene.yaml](config/script/monthly_color_scene.yaml) - Dash-button triggers for quick actions: [config/automation/dash_buttons.yaml](config/automation/dash_buttons.yaml) -- PC lock/unlock-driven lighting via HASS.Agent: [config/packages/hass_agent_homepc.yaml](config/packages/hass_agent_homepc.yaml) +- PC lock/unlock-driven lighting plus workday wake-up via HASS.Agent + Wake on LAN: [config/packages/hass_agent_homepc.yaml](config/packages/hass_agent_homepc.yaml) - Seasonal cuckoo clock with October and Christmas sound packs: [config/automation/System/CucKoo_Clock.yaml](config/automation/System/CucKoo_Clock.yaml) - Garage arrival and entry helpers: [config/packages/garadget.yaml](config/packages/garadget.yaml) - Battery and solar awareness: [config/packages/powerwall.yaml](config/packages/powerwall.yaml) diff --git a/config/packages/README.md b/config/packages/README.md index c1dbd832..459dc1b6 100755 --- a/config/packages/README.md +++ b/config/packages/README.md @@ -62,7 +62,7 @@ Live collection of plug-and-play Home Assistant packages. Each YAML file in this | [powerwall.yaml](powerwall.yaml) | Track Tesla Powerwall grid status, push live outage tracking to mobile targets, and shed loads automatically when off-grid (alerts include Activity feed + Repairs). | `binary_sensor.powerwall_grid_status`, `sensor.powerwall_*`, `script.notify_live_activity`, `repairs.create` | | [tesla_model_y.yaml](tesla_model_y.yaml) | Remind the garage and parents to plug in the Model Y after low-battery arrivals and after 8 PM when it is home but not charging. | `sensor.spaceship_battery_level`, `switch.spaceship_charge`, `notify.alexa_media_garage`, `script.notify_engine` | | [vacuum.yaml](vacuum.yaml) | Dreame vacuum orchestration with room tracking, push alerts, Activity feed, Repairs issues on errors, and Alexa one-off room-clean switches. | `input_select.l10s_vacuum_phase`, `sensor.l10s_vacuum_error`, `repairs.create` | -| [hass_agent_homepc.yaml](hass_agent_homepc.yaml) | Mirrors PC lock/unlock state from HASS.Agent to the office lamp for instant desk presence cues. | `sensor.carlo_homepc_carlo_homepc_sessionstate`, `switch.office_lamp_switch` | +| [hass_agent_homepc.yaml](hass_agent_homepc.yaml) | Mirrors PC lock/unlock state to the office lamp and wakes `CARLO-HOMEPC` on workday morning bed exits. | `sensor.carlo_homepc_carlo_homepc_sessionstate`, `button.carlo_home`, `switch.office_lamp_switch` | | [sleepiq.yaml](sleepiq.yaml) | Sleep Number presence/snore automations; Overview Health consumes direct SleepIQ integration entities for scores, vitals, pressure, and bed controls. | `sensor.sleepnumber_carlo_carlo_sleep_score`, `sensor.sleepnumber_carlo_stacey_sleep_score`, `number.sleepnumber_carlo_carlo_firmness`, `select.sleepnumber_carlo_foundation_preset_right` | | [finance.yaml](finance.yaml) | Yahoo Finance sensor bundle for portfolio glances and Lovelace cards. | `sensor.tsla`, `sensor.aapl`, `sensor.amzn`, `sensor.msft` | diff --git a/config/packages/hass_agent_homepc.yaml b/config/packages/hass_agent_homepc.yaml index d1398c6c..c7a38298 100644 --- a/config/packages/hass_agent_homepc.yaml +++ b/config/packages/hass_agent_homepc.yaml @@ -1,12 +1,17 @@ -#------------------------------------------- -# @CCOSTAN +###################################################################### +# @CCOSTAN - Follow Me on X +# For more info visit https://www.vcloudinfo.com/click-here # Original Repo : https://github.com/CCOSTAN/Home-AssistantConfig -# HASS.Agent Home PC - Office lamp follows CARLO-HOMEPC session state. -#------------------------------------------- +# ------------------------------------------------------------------- +# HASS.Agent Home PC - Session-aware lamp cues and workday wake-up +# HASS.Agent session automations plus Wake on LAN for CARLO-HOMEPC. +# ------------------------------------------------------------------- +# Related Issue: 24 +# Notes: Sleep Number nighttime lock/monitor-sleep logic lives in +# config/packages/sleepiq.yaml. +# Notes: Wake on LAN button entity is managed through the HA UI +# integration and is pressed here from YAML automation. ###################################################################### -## Locks/monitors PC activity via HASS.Agent; Sleep Number triggers live in config/packages/sleepiq.yaml. -###################################################################### -# Docs: https://hassagent.readthedocs.io/en/latest/ automation: - alias: "Office Lamp - Follow CARLO-HOMEPC Session" id: 7b3f9e14-55b1-44aa-a6eb-2e0873a4c2bb @@ -36,3 +41,37 @@ automation: - service: switch.turn_on target: entity_id: switch.office_lamp_switch + + - alias: "CARLO-HOMEPC - Wake on Workday Morning Bed Exit" + id: 6d40b8b2-8fa9-4250-84bd-cb1c3fc9e7c9 + mode: single + trigger: + - platform: state + entity_id: binary_sensor.sleepnumber_carlo_carlo_is_in_bed + from: "on" + to: "off" + for: "00:02:00" + condition: + - condition: state + entity_id: person.carlo + state: "home" + - condition: state + entity_id: input_boolean.guest_mode + state: "off" + - condition: time + after: "05:00:00" + before: "09:00:00" + weekday: + - mon + - tue + - wed + - thu + - fri + action: + - service: button.press + target: + entity_id: button.carlo_home + - service: script.send_to_logbook + data: + topic: "HOMEPC" + message: "Triggered Wake on LAN for CARLO-HOMEPC after Carlo's workday bed exit."