تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

google-home

بواسطة mitchellbernstein

Smart Home & IoT
2.1kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Control Google Nest devices.

الوصف

ما الذي تفعله هذه المهارة

Controls Google Nest thermostats, cameras, doorbells, and speakers via the Smart Device Management API using curl and jq. Requires a Google Cloud project with OAuth credentials and device registration through Nest.

Enables scriptable, automated control of Nest devices without the mobile app or third-party home automation platforms.

متى تستخدمها

  • Check living room thermostat from the terminal
  • Set HVAC mode to heat before arriving home
  • Download a snapshot from a front-door camera
  • Adjust speaker volume across Nest displays
  • List all registered Nest devices in a household

مثال على سير العمل

الإدخال

User asks: set the living room to 72 degrees

الوكيل
  1. 1

    Reads access token from GOOGLE_HOME_ACCESS_TOKEN environment variable

  2. 2

    Runs google-home-cli thermostat "Living Room" --temp 72

  3. 3

    Converts 72°F to 22°C for the SDM API

  4. 4

    Sends PATCH request to the device's temperature trait endpoint

  5. 5

    Confirms the new setpoint from the API response

الإخراج

Thermostat set to 72°F (22°C) in heat mode

المتطلبات

  • Google Cloud project with Smart Device Management API enabled
  • Google OAuth 2.0 client ID and client secret
  • OAuth refresh token obtained via device registration at nest.google.com
  • GOOGLE_HOME_CLIENT_ID environment variable
  • GOOGLE_HOME_CLIENT_SECRET environment variable
  • GOOGLE_HOME_ACCESS_TOKEN environment variable

التثبيت

clawhub install mitchellbernstein/google-home

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط