← Back to Skills Marketplace
terrycarter1985

Morning Wake-Up

by terrycarter1985 · GitHub ↗ · v1.1.0 · MIT-0
cross-platform ✓ Security Clean
72
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install morning-wake-up
Description
Morning wake-up automation that fetches today's weather and matches it to a Sonos playback preset. Use when the user asks for a morning routine, wake-up auto...
README (SKILL.md)

Morning Wake-Up

Automate a morning wake-up flow: fetch weather → match preset → play on Sonos.

Prerequisites

  • Weather skill (Open-Meteo, no API key)
  • Sonos CLI (sonos) installed and speakers on local network
  • At least one Sonos favorite configured per weather category

Weather-to-Preset Mapping

Weather Category WMO Codes Default Sonos Favorite
sunny 0, 1 Morning Sunshine
cloudy 2, 3, 45, 48 Cloudy Morning
rain 51–67, 80–82 Rainy Day
snow 71–77, 85–86 Winter Morning
storm 95–99 Storm Chaser

Override defaults by editing scripts/presets.json.

Manual Run

# From the skill directory
bun scripts/wake-up.ts --location "Shanghai" --speaker "Living Room"

Parameters:

  • --location (required): City name or "lat,lon"
  • --speaker (required): Sonos speaker name
  • --volume (optional, default 15): Start volume (0–100)
  • --units (optional, default "celsius"): "celsius" or "fahrenheit"

Scheduled Automation (cron)

Set up a daily cron job via OpenClaw:

cron add — schedule: "0 7 * * *" — payload: "Run morning-wake-up for location Shanghai on speaker Living Room"

The agent reads this skill, then executes the wake-up script.

How It Works

  1. Fetch weather — calls Open-Meteo API for current conditions at the given location
  2. Map weather code — translates WMO code to a category using presets.json
  3. Play on Sonos — opens the matching Sonos favorite and sets volume

Troubleshooting

  • sonos discover fails → see sonoscli skill troubleshooting (Local Network permission, sandbox mode)
  • No matching favorite → falls back to the first available Sonos favorite
  • Weather API unreachable → uses last known category if cached, otherwise defaults to cloudy
Usage Guidance
This skill looks reasonable for a Sonos wake-up routine. Before using it, confirm you trust your installed Bun and Sonos CLI, use an appropriate location value, verify the speaker and volume, and only create the cron schedule if you want the music to play automatically every day.
Capability Analysis
Type: OpenClaw Skill Name: morning-wake-up Version: 1.1.0 The morning-wake-up skill is a legitimate automation tool that fetches weather data from the Open-Meteo API and triggers music playback on Sonos speakers using a local CLI. The implementation in `scripts/wake-up.ts` uses `Bun.spawn` with argument arrays to execute commands safely, preventing shell injection, and there are no indicators of data exfiltration, persistence, or malicious prompt injection.
Capability Tags
requires-sensitive-credentials
Capability Assessment
Purpose & Capability
The behavior is coherent with the stated wake-up purpose, but it does affect a real local device by changing Sonos volume and playback.
Instruction Scope
The instructions are scoped to user-invoked morning routine use and require location and speaker parameters; no prompt overrides or hidden goal changes were found.
Install Mechanism
There is no install spec and metadata declares no required binaries, while the skill documentation and code require Bun and the local Sonos CLI; this is an environment/metadata gap, not hidden installation.
Credentials
The skill sends the provided location or coordinates to Open-Meteo and uses the local Sonos CLI, which is proportionate and disclosed for a weather-based music routine.
Persistence & Privilege
The only persistence described is an optional user-created cron schedule for daily execution; the code does not create persistence by itself.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install morning-wake-up
  3. After installation, invoke the skill by name or use /morning-wake-up
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
Weather-based Sonos morning automation with preset mapping, volume clamping, and cloudy default fallback
v1.0.0
Initial release: weather-driven Sonos morning routine with preset mapping and cron scheduling
Metadata
Slug morning-wake-up
Version 1.1.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is Morning Wake-Up?

Morning wake-up automation that fetches today's weather and matches it to a Sonos playback preset. Use when the user asks for a morning routine, wake-up auto... It is an AI Agent Skill for Claude Code / OpenClaw, with 72 downloads so far.

How do I install Morning Wake-Up?

Run "/install morning-wake-up" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Morning Wake-Up free?

Yes, Morning Wake-Up is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Morning Wake-Up support?

Morning Wake-Up is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Morning Wake-Up?

It is built and maintained by terrycarter1985 (@terrycarter1985); the current version is v1.1.0.

💬 Comments