본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

nest-sdm

tag-assistant 제작

Smart Home & IoT
443clawskills.sh가 보고한 다운로드 수
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

Control Nest thermostat, doorbell, and cameras via the Google Smart Device Management (SDM) API.

설명

이 스킬이 하는 일

Controls Google Nest thermostats, doorbells, and cameras through the Smart Device Management REST API. Handles OAuth token management, Fahrenheit/Celsius conversion, and real-time event streaming via GCP Pub/Sub.

Provides scriptable CLI access to Nest devices so they can be integrated into shell scripts and automation pipelines without the Nest mobile app.

사용 시점

  • Set thermostat to heat/cool range before arriving home
  • Receive alerts when motion or a person is detected on a camera
  • Switch thermostat to eco mode when leaving for the day
  • Monitor HVAC state changes and temperature setpoints in real time

예시 워크플로

입력

User asks: set my thermostat to heat/cool between 68 and 74 degrees

에이전트
  1. 1

    Load OAuth tokens from ~/.openclaw/workspace/.nest-sdm-tokens.json

  2. 2

    Call SDM API to list devices and identify the thermostat device ID

  3. 3

    Convert 68°F and 74°F to Celsius for the API

  4. 4

    Execute ThermostatTemperatureSetpoint.SetRange with the converted heat and cool values

  5. 5

    Return updated thermostat status confirming HEATCOOL mode

출력

Thermostat set to HEATCOOL mode: heat at 68°F (20°C), cool at 74°F (23.3°C)

요구 사항

  • Google Device Access Console registration at console.nest.google.com ($5 one-time fee)
  • GCP project with Smart Device Management API enabled
  • OAuth 2.0 client ID and client secret from Google Cloud Console
  • Refresh token obtained via OAuth authorization flow as the Nest device owner
  • TELEGRAM_BOT_TOKEN and TELEGRAM_CHAT_ID environment variables (optional, for event alerts)

설치

clawhub install tag-assistant/nest-sdm

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크