본문으로 건너뛰기
Skillpedia
기타394k · #81

sonoscli

하는 일

AI 에이전트가 sonos 명령으로 로컬 네트워크의 Sonos 스피커를 제어하도록 안내합니다. Sonos 스피커를 가지고 있고 채팅으로 음악을 관리하려는 사람을 위한 스킬입니다.

사용하는 경우

  • ✓Sonos 스피커에서 음악을 재생, 일시 정지, 또는 정지하고 싶을 때.
  • ✓특정 방의 볼륨을 바꿔야 할 때.
  • ✓스피커를 묶거나 저장된 즐겨찾기를 재생하고 싶을 때.

스킬 링크

https://github.com/openclaw/openclaw/blob/main/skills/sonoscli/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/openclaw/openclaw/blob/main/skills/sonoscli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“주방 스피커의 볼륨을 15로 설정하고, 제 Morning Mix 즐겨찾기를 재생해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

스킬은 네트워크에서 Sonos 스피커를 찾고, 지정한 스피커에 재생, 볼륨, 그룹, 대기열 명령을 보냅니다. 선택 사항인 키가 설정되어 있으면 Sonos를 통해 Spotify를 검색할 수도 있습니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Sonos CLI

Use sonos to control Sonos speakers on the local network.

Quick start

  • sonos discover
  • sonos status --name "Kitchen"
  • sonos play|pause|stop --name "Kitchen"
  • sonos volume set 15 --name "Kitchen"

Common tasks

  • Grouping: sonos group status|join|unjoin|party|solo
  • Favorites: sonos favorites list|open
  • Queue: sonos queue list|play|clear
  • Spotify search (via SMAPI): sonos smapi search --service "Spotify" --category tracks "query"

Notes

  • If SSDP fails, specify --ip <speaker-ip>.
  • Spotify Web API search is optional and requires SPOTIFY_CLIENT_ID/SECRET.
  • If there is an error, check the troubleshooting section and offer advice if there is a decent match.

Troubleshooting

sonos discover - no route to host

  • On error Error: write udp4 0.0.0.0:64326->239.255.255.250:1900: sendto: no route to host (Command exited with code 1)
    • Note that the port number after 0.0.0.0: is ephemeral and will change and the netmask may not match exactly either
    • The sendto: no route to host should stay consistent
  • Advise the user that in direct (no Docker sandbox) mode on Mac OS that Settings -> Privacy & Security -> Local Network will need to be enabled for the top-level host parent process of the Gateway
    • node if running via launchd
    • Terminal if running the gateway directly in the terminal
    • Visual Studio Code if running via terminal in VS Code
  • An alternative option is to use sandbox (docker container) with network access allowed for that sandbox

sonos discover - bind: operation not permitted

  • On error Error: listen udp4 0.0.0.0:0: bind: operation not permitted
  • Advise the user that they may be running via a Codex or other sandbox that does not permit network access (this can be replicated by running sonos discover within a Codex CLI session with sandbox enabled and not approving the escalation request)
자주 묻는 질문

스피커를 찾지 못하면 어떻게 하나요?

자동 탐색이 실패하면 스피커의 IP 주소를 직접 알려 줄 수 있습니다.

Mac에서 네트워크 설정이 중요한가요?

예. macOS에서는 게이트웨이를 실행하는 호스트 앱에 대해 로컬 네트워크 접근을 허용해야 합니다.

Spotify 키가 필요한가요?

선택 사항인 Spotify Web API 검색에만 필요하며, 이때 클라이언트 ID와 비밀 값이 필요합니다.

상세 정보

작성자의 원본 설명

Control Sonos speakers (discover/status/play/volume/group).

repo: openclaw/openclaw

인기도

GitHub 스타
394k
순위
#81
라이선스
MIT
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬