morning-wakeup

Morning wake-up automation that fetches today's weather and matches a Sonos playback preset. Use when setting up daily alarm routines, weather-driven music wake-ups, or scheduling morning Sonos automation.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "morning-wakeup" with this command: npx skills add terrycarter1985/morning-wakeup

Morning Wake-Up

Automated morning routine: fetch the day's weather, pick a matching Sonos preset, and start playback.

When to Use

USE this skill when:

  • "Set up my morning wake-up routine"
  • "Schedule a weather-based alarm"
  • "Play morning music based on the weather"
  • "Create a daily wake-up automation"

DON'T use this skill when:

  • Manual Sonos control (use sonoscli directly)
  • One-off weather queries (use weather skill)
  • Non-morning automation scenarios

How It Works

  1. Fetch weather for the configured location via Open-Meteo API (no API key needed).
  2. Classify weather into a category: sunny, cloudy, rainy, snowy, stormy.
  3. Match a Sonos preset from the configured preset map (weather category → Sonos favorite name).
  4. Play the preset on the target speaker at the configured volume.

Configuration

All configuration lives in references/presets.json:

{
  "location": "Shanghai",
  "speaker": "Bedroom",
  "volume": 12,
  "presets": {
    "sunny": "Morning Sunshine Playlist",
    "cloudy": "Chill Morning Acoustic",
    "rainy": "Rainy Day Jazz",
    "snowy": "Cozy Winter Morning",
    "stormy": "Calm Piano"
  },
  "fallback_preset": "Chill Morning Acoustic",
  "schedule": "0 7 * * *"
}
FieldDescription
locationCity name or "lat,lon" for weather lookup
speakerSonos speaker name
volumeStart volume (0-100)
presetsWeather category → Sonos favorite name
fallback_presetUsed when weather doesn't match any category
scheduleCron expression for the daily run (default: 7:00 AM)

Commands

Run the wake-up routine now

bun run scripts/wakeup.ts

Dry run (show what would happen without playing)

bun run scripts/wakeup.ts --dry-run

Set up the daily cron schedule

bun run scripts/wakeup.ts --install-cron

Remove the daily cron schedule

bun run scripts/wakeup.ts --remove-cron

Weather Classification

Weather codes from Open-Meteo are mapped as follows:

CategoryWMO CodesDescription
sunny0, 1Clear / mainly clear
cloudy2, 3, 45, 48Partly cloudy / overcast / fog
rainy51–67, 80–82Drizzle / rain
snowy71–77, 85–86Snow
stormy95–99Thunderstorm

Scheduling with OpenClaw Cron

When --install-cron is used, the skill creates a cron job via the OpenClaw cron tool:

{
  "schedule": { "kind": "cron", "expr": "0 7 * * *" },
  "payload": { "kind": "agentTurn", "message": "Run the morning wake-up routine using the morning-wakeup skill." },
  "sessionTarget": "isolated"
}

Troubleshooting

  • "Location not found": Verify the city name in presets.json; use "lat,lon" format if needed.
  • Sonos not found: Run sonos discover and confirm the speaker name matches.
  • Preset not found: Verify the Sonos favorite name with sonos favorites list.
  • No sound: Check volume setting and that the speaker is not grouped with a paused coordinator.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Automation

Hermes Tweet

Use Xquik from Hermes Agent for X search, posting, replies, likes, retweets, follows, DMs, monitors, extraction jobs, draws, media, and trends.

Registry SourceRecently Updated
Automation

Session Log Analyzer

Analyze agent session logs and generate PDF reports with Notion sync

Registry SourceRecently Updated
Automation

Airtable Overview

Explains what Airtable is and how data is structured — bases, tables, fields, records, views, automations, and interfaces. Use when you need context about th...

Registry SourceRecently Updated
Automation

NEXO Brain

Cognitive memory system for AI agents — Atkinson-Shiffrin memory model, semantic RAG, trust scoring, and metacognitive error prevention. Gives your agent per...

Registry SourceRecently Updated