[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6MSQ36S0PY2DDGCSERAAKYY":3,"skill-same:01M6MSQ36S0PY2DDGCSERAAKYY":83},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":37,"linkOnly":38,"markdownContent":39,"markdownBody":40,"frontMatter":41,"refName":45,"commitSha":46,"skillDirectory":47,"forksCount":48,"repositoryHtmlUrl":49,"repositoryHomepageUrl":6,"ownerHtmlUrl":50,"ownerBlogUrl":6,"ownerDescription":51,"updatedAt":52,"install":53,"resources":66},"01M6MSQ36S0PY2DDGCSERAAKYY","nest-devices",null,"Control Nest smart home devices (thermostat, cameras, doorbell) via the Device Access API. Use when asked to check or adjust home temperature, view camera feeds, check who's at the door, monitor rooms, or set up temperature schedules.","Kernel8901\u002Fai-agent-skills-classification","Kernel8901","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F72647553?v=4","01M6KV388J2H5PNC8D8P940BJD","01M6KV38CS5B3AY63RKZB410YM",7,"MIT","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FDevOps与云计算\u002Fnest-devices\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36],"devices","nest devices","up","smart home","at","temperature","via","control","adjust","device","camera","monitor","use","view","check","access","api","SET","feeds","2026-11-10 10:12:30",false,"---\nname: nest-devices\ndescription: Control Nest smart home devices (thermostat, cameras, doorbell) via the Device Access API. Use when asked to check or adjust home temperature, view camera feeds, check who's at the door, monitor rooms, or set up temperature schedules.\nmetadata:\n  clawdbot:\n    emoji: \"?\"\n---\n\n# Nest Device Access\n\nControl Nest devices via Google's Smart Device Management API.\n\n## Setup\n\n### 1. Google Cloud & Device Access\n\n1. Create a Google Cloud project at [console.cloud.google.com](https:\u002F\u002Fconsole.cloud.google.com)\n2. Pay the $5 fee and create a Device Access project at [console.nest.google.com\u002Fdevice-access](https:\u002F\u002Fconsole.nest.google.com\u002Fdevice-access)\n3. Create OAuth 2.0 credentials (Web application type)\n4. Add `https:\u002F\u002Fwww.google.com` as an authorized redirect URI\n5. Link your Nest account to the Device Access project\n\n### 2. Get Refresh Token\n\nRun the OAuth flow to get a refresh token:\n\n```bash\n# 1. Open this URL in browser (replace CLIENT_ID and PROJECT_ID):\nhttps:\u002F\u002Fnestservices.google.com\u002Fpartnerconnections\u002FPROJECT_ID\u002Fauth?redirect_uri=https:\u002F\u002Fwww.google.com&access_type=offline&prompt=consent&client_id=CLIENT_ID&response_type=code&scope=https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fsdm.service\n\n# 2. Authorize and copy the 'code' parameter from the redirect URL\n\n# 3. Exchange code for tokens:\ncurl -X POST https:\u002F\u002Foauth2.googleapis.com\u002Ftoken \\\n  -d \"client_id=CLIENT_ID\" \\\n  -d \"client_secret=CLIENT_SECRET\" \\\n  -d \"code=AUTH_CODE\" \\\n  -d \"grant_type=authorization_code\" \\\n  -d \"redirect_uri=https:\u002F\u002Fwww.google.com\"\n```\n\n### 3. Store Credentials\n\nStore in 1Password or environment variables:\n\n**1Password** (recommended):\nCreate an item with fields: `project_id`, `client_id`, `client_secret`, `refresh_token`\n\n**Environment variables:**\n```bash\nexport NEST_PROJECT_ID=\"your-project-id\"\nexport NEST_CLIENT_ID=\"your-client-id\"\nexport NEST_CLIENT_SECRET=\"your-client-secret\"\nexport NEST_REFRESH_TOKEN=\"your-refresh-token\"\n```\n\n## Usage\n\n### List devices\n```bash\npython3 scripts\u002Fnest.py list\n```\n\n### Thermostat\n\n```bash\n# Get status\npython3 scripts\u002Fnest.py get \u003Cdevice_id>\n\n# Set temperature (Celsius)\npython3 scripts\u002Fnest.py set-temp \u003Cdevice_id> 21 --unit c --type heat\n\n# Set temperature (Fahrenheit)\npython3 scripts\u002Fnest.py set-temp \u003Cdevice_id> 70 --unit f --type heat\n\n# Change mode (HEAT, COOL, HEATCOOL, OFF)\npython3 scripts\u002Fnest.py set-mode \u003Cdevice_id> HEAT\n\n# Eco mode\npython3 scripts\u002Fnest.py set-eco \u003Cdevice_id> MANUAL_ECO\n```\n\n### Cameras\n\n```bash\n# Generate live stream URL (RTSP, valid ~5 min)\npython3 scripts\u002Fnest.py stream \u003Cdevice_id>\n```\n\n## Python API\n\n```python\nfrom nest import NestClient\n\nclient = NestClient()\n\n# List devices\ndevices = client.list_devices()\n\n# Thermostat control\nclient.set_heat_temperature(device_id, 21.0)  # Celsius\nclient.set_thermostat_mode(device_id, 'HEAT')\nclient.set_eco_mode(device_id, 'MANUAL_ECO')\n\n# Camera stream\nresult = client.generate_stream(device_id)\nrtsp_url = result['results']['streamUrls']['rtspUrl']\n```\n\n## Configuration\n\nThe script checks for credentials in this order:\n\n1. **1Password**: Set `NEST_OP_VAULT` and `NEST_OP_ITEM` (or use defaults: vault \"Alfred\", item \"Nest Device Access API\")\n2. **Environment variables**: `NEST_PROJECT_ID`, `NEST_CLIENT_ID`, `NEST_CLIENT_SECRET`, `NEST_REFRESH_TOKEN`\n\n## Temperature Reference\n\n| Setting | Celsius | Fahrenheit |\n|---------|---------|------------|\n| Eco (away) | 15-17°C | 59-63°F |\n| Comfortable | 19-21°C | 66-70°F |\n| Warm | 22-23°C | 72-73°F |\n| Night | 17-18°C | 63-65°F |\n\n---\n\n## Real-Time Events (Doorbell, Motion, etc.)\n\nFor instant alerts when someone rings the doorbell or motion is detected, you need to set up Google Cloud Pub\u002FSub with a webhook.\n\n### Prerequisites\n\n- Google Cloud CLI (`gcloud`) installed and authenticated\n- Cloudflare account (free tier works) for the tunnel\n- Clawdbot hooks enabled in config\n\n### 1. Enable Clawdbot Hooks\n\nAdd to your `clawdbot.json`:\n\n```json\n{\n  \"hooks\": {\n    \"enabled\": true,\n    \"token\": \"your-secret-token-here\"\n  }\n}\n```\n\nGenerate a token: `openssl rand -hex 24`\n\n### 2. Create Pub\u002FSub Topic\n\n```bash\ngcloud config set project YOUR_GCP_PROJECT_ID\n\n# Create topic\ngcloud pubsub topics create nest-events\n\n# Grant SDM permission to publish (both the service account and publisher group)\ngcloud pubsub topics add-iam-policy-binding nest-events \\\n  --member=\"serviceAccount:sdm-prod@sdm-prod.iam.gserviceaccount.com\" \\\n  --role=\"roles\u002Fpubsub.publisher\"\n\ngcloud pubsub topics add-iam-policy-binding nest-events \\\n  --member=\"group:sdm-publisher@googlegroups.com\" \\\n  --role=\"roles\u002Fpubsub.publisher\"\n```\n\n### 3. Link Topic to Device Access\n\nGo to [console.nest.google.com\u002Fdevice-access](https:\u002F\u002Fconsole.nest.google.com\u002Fdevice-access) → Your Project → Edit → Set Pub\u002FSub topic to:\n\n```\nprojects\u002FYOUR_GCP_PROJECT_ID\u002Ftopics\u002Fnest-events\n```\n\n### 4. Set Up Cloudflare Tunnel\n\n```bash\n# Install cloudflared\ncurl -L -o ~\u002F.local\u002Fbin\u002Fcloudflared https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fcloudflared\u002Freleases\u002Flatest\u002Fdownload\u002Fcloudflared-linux-amd64\nchmod +x ~\u002F.local\u002Fbin\u002Fcloudflared\n\n# Authenticate (opens browser)\n~\u002F.local\u002Fbin\u002Fcloudflared tunnel login\n\n# Create named tunnel\n~\u002F.local\u002Fbin\u002Fcloudflared tunnel create nest-webhook\n\n# Note the Tunnel ID (UUID) from output\n```\n\nCreate `~\u002F.cloudflared\u002Fconfig.yml`:\n\n```yaml\ntunnel: nest-webhook\ncredentials-file: \u002Fhome\u002FYOUR_USER\u002F.cloudflared\u002FTUNNEL_ID.json\n\ningress:\n  - hostname: nest.yourdomain.com\n    service: http:\u002F\u002Flocalhost:8420\n  - service: http_status:404\n```\n\nCreate DNS route:\n\n```bash\n~\u002F.local\u002Fbin\u002Fcloudflared tunnel route dns nest-webhook nest.yourdomain.com\n```\n\n### 5. Create Systemd Services\n\n**Webhook server** (`\u002Fetc\u002Fsystemd\u002Fsystem\u002Fnest-webhook.service`):\n\n```ini\n[Unit]\nDescription=Nest Pub\u002FSub Webhook Server\nAfter=network.target\n\n[Service]\nType=simple\nUser=YOUR_USER\nEnvironment=CLAWDBOT_GATEWAY_URL=http:\u002F\u002Flocalhost:18789\nEnvironment=CLAWDBOT_HOOKS_TOKEN=your-hooks-token-here\nExecStart=\u002Fusr\u002Fbin\u002Fpython3 \u002Fpath\u002Fto\u002Fskills\u002Fnest-devices\u002Fscripts\u002Fnest-webhook.py\nRestart=always\nRestartSec=5\n\n[Install]\nWantedBy=multi-user.target\n```\n\n**Cloudflare tunnel** (`\u002Fetc\u002Fsystemd\u002Fsystem\u002Fcloudflared-nest.service`):\n\n```ini\n[Unit]\nDescription=Cloudflare Tunnel for Nest Webhook\nAfter=network-online.target\nWants=network-online.target\n\n[Service]\nType=simple\nUser=YOUR_USER\nExecStart=\u002Fhome\u002FYOUR_USER\u002F.local\u002Fbin\u002Fcloudflared tunnel run nest-webhook\nRestart=always\nRestartSec=5\n\n[Install]\nWantedBy=multi-user.target\n```\n\nEnable and start:\n\n```bash\nsudo systemctl daemon-reload\nsudo systemctl enable --now nest-webhook cloudflared-nest\n```\n\n### 6. Create Pub\u002FSub Push Subscription\n\n```bash\ngcloud pubsub subscriptions create nest-events-sub \\\n  --topic=nest-events \\\n  --push-endpoint=\"https:\u002F\u002Fnest.yourdomain.com\u002Fnest\u002Fevents\" \\\n  --ack-deadline=30\n```\n\n### 7. Test\n\n```bash\n# Test webhook endpoint\ncurl https:\u002F\u002Fnest.yourdomain.com\u002Fhealth\n\n# Simulate doorbell event\ncurl -X POST http:\u002F\u002Flocalhost:8420\u002Fnest\u002Fevents \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"message\":{\"data\":\"eyJyZXNvdXJjZVVwZGF0ZSI6eyJuYW1lIjoiZW50ZXJwcmlzZXMvdGVzdC9kZXZpY2VzL0RPT1JCRUxMLTAxIiwiZXZlbnRzIjp7InNkbS5kZXZpY2VzLmV2ZW50cy5Eb29yYmVsbENoaW1lLkNoaW1lIjp7ImV2ZW50SWQiOiJ0ZXN0In19fX0=\"}}'\n```\n\n### Supported Events\n\n| Event | Behaviour |\n|-------|-----------|\n| `DoorbellChime.Chime` | ? **Alerts** — sends photo to Telegram |\n| `CameraPerson.Person` | ? **Alerts** — sends photo to Telegram |\n| `CameraMotion.Motion` | ? Logged only (no alert) |\n| `CameraSound.Sound` | ? Logged only (no alert) |\n| `CameraClipPreview.ClipPreview` | ? Logged only (no alert) |\n\n> **Staleness filter:** Events older than 5 minutes are logged but never alerted. This prevents notification floods if queued Pub\u002FSub messages are delivered late.\n\n### Image Capture\n\nWhen a doorbell or person event triggers an alert:\n\n1. **Primary:** SDM `GenerateImage` API — fast, event-specific snapshot\n2. **Fallback:** RTSP live stream frame capture via `ffmpeg` (requires `ffmpeg` installed)\n\n### Environment Variables\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `CLAWDBOT_GATEWAY_URL` | No | Gateway URL (default: `http:\u002F\u002Flocalhost:18789`) |\n| `CLAWDBOT_HOOKS_TOKEN` | Yes | Gateway hooks token for awareness notifications |\n| `OP_SVC_ACCT_TOKEN` | Yes | 1Password service account token for Nest API credentials |\n| `TELEGRAM_BOT_TOKEN` | Yes | Telegram bot token for sending alerts |\n| `TELEGRAM_CHAT_ID` | Yes | Telegram chat ID to receive alerts |\n| `PORT` | No | Webhook server port (default: `8420`) |\n\n### Important Setup Notes\n\n- **Verify the full Pub\u002FSub topic path** in Device Access Console matches your GCP project exactly: `projects\u002FYOUR_GCP_PROJECT_ID\u002Ftopics\u002Fnest-events`\n- **Use a push subscription**, not pull — the webhook expects HTTP POST delivery\n- **Test end-to-end** after setup: ring the doorbell and confirm a photo arrives. Don't rely on simulated POST requests alone.\n\n---\n\n## Limitations\n\n- Camera event images expire after ~5 minutes (RTSP fallback captures current frame instead)\n- Real-time events require Pub\u002FSub setup (see above)\n- Quick tunnels (without Cloudflare account) have no uptime guarantee\n- Some older Nest devices may not support all features\n- Motion and sound events are intentionally not alerted to avoid notification fatigue\n","# Nest Device Access\n\nControl Nest devices via Google's Smart Device Management API.\n\n## Setup\n\n### 1. Google Cloud & Device Access\n\n1. Create a Google Cloud project at [console.cloud.google.com](https:\u002F\u002Fconsole.cloud.google.com)\n2. Pay the $5 fee and create a Device Access project at [console.nest.google.com\u002Fdevice-access](https:\u002F\u002Fconsole.nest.google.com\u002Fdevice-access)\n3. Create OAuth 2.0 credentials (Web application type)\n4. Add `https:\u002F\u002Fwww.google.com` as an authorized redirect URI\n5. Link your Nest account to the Device Access project\n\n### 2. Get Refresh Token\n\nRun the OAuth flow to get a refresh token:\n\n```bash\n# 1. Open this URL in browser (replace CLIENT_ID and PROJECT_ID):\nhttps:\u002F\u002Fnestservices.google.com\u002Fpartnerconnections\u002FPROJECT_ID\u002Fauth?redirect_uri=https:\u002F\u002Fwww.google.com&access_type=offline&prompt=consent&client_id=CLIENT_ID&response_type=code&scope=https:\u002F\u002Fwww.googleapis.com\u002Fauth\u002Fsdm.service\n\n# 2. Authorize and copy the 'code' parameter from the redirect URL\n\n# 3. Exchange code for tokens:\ncurl -X POST https:\u002F\u002Foauth2.googleapis.com\u002Ftoken \\\n  -d \"client_id=CLIENT_ID\" \\\n  -d \"client_secret=CLIENT_SECRET\" \\\n  -d \"code=AUTH_CODE\" \\\n  -d \"grant_type=authorization_code\" \\\n  -d \"redirect_uri=https:\u002F\u002Fwww.google.com\"\n```\n\n### 3. Store Credentials\n\nStore in 1Password or environment variables:\n\n**1Password** (recommended):\nCreate an item with fields: `project_id`, `client_id`, `client_secret`, `refresh_token`\n\n**Environment variables:**\n```bash\nexport NEST_PROJECT_ID=\"your-project-id\"\nexport NEST_CLIENT_ID=\"your-client-id\"\nexport NEST_CLIENT_SECRET=\"your-client-secret\"\nexport NEST_REFRESH_TOKEN=\"your-refresh-token\"\n```\n\n## Usage\n\n### List devices\n```bash\npython3 scripts\u002Fnest.py list\n```\n\n### Thermostat\n\n```bash\n# Get status\npython3 scripts\u002Fnest.py get \u003Cdevice_id>\n\n# Set temperature (Celsius)\npython3 scripts\u002Fnest.py set-temp \u003Cdevice_id> 21 --unit c --type heat\n\n# Set temperature (Fahrenheit)\npython3 scripts\u002Fnest.py set-temp \u003Cdevice_id> 70 --unit f --type heat\n\n# Change mode (HEAT, COOL, HEATCOOL, OFF)\npython3 scripts\u002Fnest.py set-mode \u003Cdevice_id> HEAT\n\n# Eco mode\npython3 scripts\u002Fnest.py set-eco \u003Cdevice_id> MANUAL_ECO\n```\n\n### Cameras\n\n```bash\n# Generate live stream URL (RTSP, valid ~5 min)\npython3 scripts\u002Fnest.py stream \u003Cdevice_id>\n```\n\n## Python API\n\n```python\nfrom nest import NestClient\n\nclient = NestClient()\n\n# List devices\ndevices = client.list_devices()\n\n# Thermostat control\nclient.set_heat_temperature(device_id, 21.0)  # Celsius\nclient.set_thermostat_mode(device_id, 'HEAT')\nclient.set_eco_mode(device_id, 'MANUAL_ECO')\n\n# Camera stream\nresult = client.generate_stream(device_id)\nrtsp_url = result['results']['streamUrls']['rtspUrl']\n```\n\n## Configuration\n\nThe script checks for credentials in this order:\n\n1. **1Password**: Set `NEST_OP_VAULT` and `NEST_OP_ITEM` (or use defaults: vault \"Alfred\", item \"Nest Device Access API\")\n2. **Environment variables**: `NEST_PROJECT_ID`, `NEST_CLIENT_ID`, `NEST_CLIENT_SECRET`, `NEST_REFRESH_TOKEN`\n\n## Temperature Reference\n\n| Setting | Celsius | Fahrenheit |\n|---------|---------|------------|\n| Eco (away) | 15-17°C | 59-63°F |\n| Comfortable | 19-21°C | 66-70°F |\n| Warm | 22-23°C | 72-73°F |\n| Night | 17-18°C | 63-65°F |\n\n---\n\n## Real-Time Events (Doorbell, Motion, etc.)\n\nFor instant alerts when someone rings the doorbell or motion is detected, you need to set up Google Cloud Pub\u002FSub with a webhook.\n\n### Prerequisites\n\n- Google Cloud CLI (`gcloud`) installed and authenticated\n- Cloudflare account (free tier works) for the tunnel\n- Clawdbot hooks enabled in config\n\n### 1. Enable Clawdbot Hooks\n\nAdd to your `clawdbot.json`:\n\n```json\n{\n  \"hooks\": {\n    \"enabled\": true,\n    \"token\": \"your-secret-token-here\"\n  }\n}\n```\n\nGenerate a token: `openssl rand -hex 24`\n\n### 2. Create Pub\u002FSub Topic\n\n```bash\ngcloud config set project YOUR_GCP_PROJECT_ID\n\n# Create topic\ngcloud pubsub topics create nest-events\n\n# Grant SDM permission to publish (both the service account and publisher group)\ngcloud pubsub topics add-iam-policy-binding nest-events \\\n  --member=\"serviceAccount:sdm-prod@sdm-prod.iam.gserviceaccount.com\" \\\n  --role=\"roles\u002Fpubsub.publisher\"\n\ngcloud pubsub topics add-iam-policy-binding nest-events \\\n  --member=\"group:sdm-publisher@googlegroups.com\" \\\n  --role=\"roles\u002Fpubsub.publisher\"\n```\n\n### 3. Link Topic to Device Access\n\nGo to [console.nest.google.com\u002Fdevice-access](https:\u002F\u002Fconsole.nest.google.com\u002Fdevice-access) → Your Project → Edit → Set Pub\u002FSub topic to:\n\n```\nprojects\u002FYOUR_GCP_PROJECT_ID\u002Ftopics\u002Fnest-events\n```\n\n### 4. Set Up Cloudflare Tunnel\n\n```bash\n# Install cloudflared\ncurl -L -o ~\u002F.local\u002Fbin\u002Fcloudflared https:\u002F\u002Fgithub.com\u002Fcloudflare\u002Fcloudflared\u002Freleases\u002Flatest\u002Fdownload\u002Fcloudflared-linux-amd64\nchmod +x ~\u002F.local\u002Fbin\u002Fcloudflared\n\n# Authenticate (opens browser)\n~\u002F.local\u002Fbin\u002Fcloudflared tunnel login\n\n# Create named tunnel\n~\u002F.local\u002Fbin\u002Fcloudflared tunnel create nest-webhook\n\n# Note the Tunnel ID (UUID) from output\n```\n\nCreate `~\u002F.cloudflared\u002Fconfig.yml`:\n\n```yaml\ntunnel: nest-webhook\ncredentials-file: \u002Fhome\u002FYOUR_USER\u002F.cloudflared\u002FTUNNEL_ID.json\n\ningress:\n  - hostname: nest.yourdomain.com\n    service: http:\u002F\u002Flocalhost:8420\n  - service: http_status:404\n```\n\nCreate DNS route:\n\n```bash\n~\u002F.local\u002Fbin\u002Fcloudflared tunnel route dns nest-webhook nest.yourdomain.com\n```\n\n### 5. Create Systemd Services\n\n**Webhook server** (`\u002Fetc\u002Fsystemd\u002Fsystem\u002Fnest-webhook.service`):\n\n```ini\n[Unit]\nDescription=Nest Pub\u002FSub Webhook Server\nAfter=network.target\n\n[Service]\nType=simple\nUser=YOUR_USER\nEnvironment=CLAWDBOT_GATEWAY_URL=http:\u002F\u002Flocalhost:18789\nEnvironment=CLAWDBOT_HOOKS_TOKEN=your-hooks-token-here\nExecStart=\u002Fusr\u002Fbin\u002Fpython3 \u002Fpath\u002Fto\u002Fskills\u002Fnest-devices\u002Fscripts\u002Fnest-webhook.py\nRestart=always\nRestartSec=5\n\n[Install]\nWantedBy=multi-user.target\n```\n\n**Cloudflare tunnel** (`\u002Fetc\u002Fsystemd\u002Fsystem\u002Fcloudflared-nest.service`):\n\n```ini\n[Unit]\nDescription=Cloudflare Tunnel for Nest Webhook\nAfter=network-online.target\nWants=network-online.target\n\n[Service]\nType=simple\nUser=YOUR_USER\nExecStart=\u002Fhome\u002FYOUR_USER\u002F.local\u002Fbin\u002Fcloudflared tunnel run nest-webhook\nRestart=always\nRestartSec=5\n\n[Install]\nWantedBy=multi-user.target\n```\n\nEnable and start:\n\n```bash\nsudo systemctl daemon-reload\nsudo systemctl enable --now nest-webhook cloudflared-nest\n```\n\n### 6. Create Pub\u002FSub Push Subscription\n\n```bash\ngcloud pubsub subscriptions create nest-events-sub \\\n  --topic=nest-events \\\n  --push-endpoint=\"https:\u002F\u002Fnest.yourdomain.com\u002Fnest\u002Fevents\" \\\n  --ack-deadline=30\n```\n\n### 7. Test\n\n```bash\n# Test webhook endpoint\ncurl https:\u002F\u002Fnest.yourdomain.com\u002Fhealth\n\n# Simulate doorbell event\ncurl -X POST http:\u002F\u002Flocalhost:8420\u002Fnest\u002Fevents \\\n  -H \"Content-Type: application\u002Fjson\" \\\n  -d '{\"message\":{\"data\":\"eyJyZXNvdXJjZVVwZGF0ZSI6eyJuYW1lIjoiZW50ZXJwcmlzZXMvdGVzdC9kZXZpY2VzL0RPT1JCRUxMLTAxIiwiZXZlbnRzIjp7InNkbS5kZXZpY2VzLmV2ZW50cy5Eb29yYmVsbENoaW1lLkNoaW1lIjp7ImV2ZW50SWQiOiJ0ZXN0In19fX0=\"}}'\n```\n\n### Supported Events\n\n| Event | Behaviour |\n|-------|-----------|\n| `DoorbellChime.Chime` | ? **Alerts** — sends photo to Telegram |\n| `CameraPerson.Person` | ? **Alerts** — sends photo to Telegram |\n| `CameraMotion.Motion` | ? Logged only (no alert) |\n| `CameraSound.Sound` | ? Logged only (no alert) |\n| `CameraClipPreview.ClipPreview` | ? Logged only (no alert) |\n\n> **Staleness filter:** Events older than 5 minutes are logged but never alerted. This prevents notification floods if queued Pub\u002FSub messages are delivered late.\n\n### Image Capture\n\nWhen a doorbell or person event triggers an alert:\n\n1. **Primary:** SDM `GenerateImage` API — fast, event-specific snapshot\n2. **Fallback:** RTSP live stream frame capture via `ffmpeg` (requires `ffmpeg` installed)\n\n### Environment Variables\n\n| Variable | Required | Description |\n|----------|----------|-------------|\n| `CLAWDBOT_GATEWAY_URL` | No | Gateway URL (default: `http:\u002F\u002Flocalhost:18789`) |\n| `CLAWDBOT_HOOKS_TOKEN` | Yes | Gateway hooks token for awareness notifications |\n| `OP_SVC_ACCT_TOKEN` | Yes | 1Password service account token for Nest API credentials |\n| `TELEGRAM_BOT_TOKEN` | Yes | Telegram bot token for sending alerts |\n| `TELEGRAM_CHAT_ID` | Yes | Telegram chat ID to receive alerts |\n| `PORT` | No | Webhook server port (default: `8420`) |\n\n### Important Setup Notes\n\n- **Verify the full Pub\u002FSub topic path** in Device Access Console matches your GCP project exactly: `projects\u002FYOUR_GCP_PROJECT_ID\u002Ftopics\u002Fnest-events`\n- **Use a push subscription**, not pull — the webhook expects HTTP POST delivery\n- **Test end-to-end** after setup: ring the doorbell and confirm a photo arrives. Don't rely on simulated POST requests alone.\n\n---\n\n## Limitations\n\n- Camera event images expire after ~5 minutes (RTSP fallback captures current frame instead)\n- Real-time events require Pub\u002FSub setup (see above)\n- Quick tunnels (without Cloudflare account) have no uptime guarantee\n- Some older Nest devices may not support all features\n- Motion and sound events are intentionally not alerted to avoid notification fatigue\n",{"name":5,"metadata":42,"description":7},{"clawdbot":43},{"emoji":44},"?","main","f4cb2d49f7667e79ef7804f50396d5aaffdf1f56","DevOps与云计算\u002Fnest-devices",1,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification","https:\u002F\u002Fgithub.com\u002FKernel8901","a little little little dobe in life but science geek","2026-04-05 16:43:56",{"source":8,"skillName":5,"commands":54,"prompt":64,"zipAvailable":65},[55,58,61],{"tool":56,"command":57},"npx","npx skills add Kernel8901\u002Fai-agent-skills-classification --skill nest-devices",{"tool":59,"command":60},"bunx","bunx skills add Kernel8901\u002Fai-agent-skills-classification --skill nest-devices",{"tool":62,"command":63},"pnpm","pnpm dlx skills add Kernel8901\u002Fai-agent-skills-classification --skill nest-devices","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FDevOps与云计算\u002Fnest-devices\u002FSKILL.md",true,[67,73,79],{"path":68,"resourceType":69,"resourceTypeDesc":70,"sizeBytes":71,"sourceHtmlUrl":72},"_meta.json","REFERENCE","参考文档",808,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FDevOps与云计算\u002Fnest-devices\u002F_meta.json",{"path":74,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":77,"sourceHtmlUrl":78},"scripts\u002Fnest-webhook.py","SCRIPT","脚本",15553,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FDevOps与云计算\u002Fnest-devices\u002Fscripts\u002Fnest-webhook.py",{"path":80,"resourceType":75,"resourceTypeDesc":76,"sizeBytes":81,"sourceHtmlUrl":82},"scripts\u002Fnest.py",13072,"https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002FDevOps与云计算\u002Fnest-devices\u002Fscripts\u002Fnest.py",[84,107,142,153,163,193],{"skillNo":85,"name":86,"nameZh":6,"description":87,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":88,"categories":89,"keywords":90,"publishedAt":37},"01M6Q5R6WZ06RRB9RQTW54B34B","zyfai","Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit\u002Fwithdraw anytime.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzyfai-sdk\u002FSKILL.md",[],[86,91,92,93,94,95,30,96,97,98,99,100,101,102,103,104,105,106],"safe","ethereum","defi","Optimization","user","Wallet","base","deposit","withdraw","yield","arbitrum","non-custodial","passive","defi yield","earn","yield optimization",{"skillNo":108,"name":109,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":110,"categories":111,"keywords":125,"publishedAt":37},"01M6Q5R337B5JSNER4P4YS03TN","zerion-api","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api\u002FSKILL.md",[112,117,120],{"categoryNo":113,"categoryName":114,"taxonomyType":115,"taxonomyTypeDesc":116},"01JBSEEDCAT000000000000010","后端与接口","SCENARIO","使用场景",{"categoryNo":118,"categoryName":119,"taxonomyType":115,"taxonomyTypeDesc":116},"01JBSEEDCAT000000000000023","Skill与智能体开发",{"categoryNo":121,"categoryName":122,"taxonomyType":123,"taxonomyTypeDesc":124},"01JBSEEDCAT000000000000030","开发工程师","PROFESSION","适用职业",[34,126,127,128,129,130,131,93,132,96,133,134,135,136,137,138,139,140,141],"zerion api","zerion","MCP","mcp server","server","blockchain","transactions","crypto wallet","crypto","evm","solana","query","across","positions","token","prices",{"skillNo":143,"name":144,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":145,"categories":146,"keywords":150,"publishedAt":37},"01M6Q5QZFYTDAZMZ27BN5VZXAR","zerion-api-skill","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-skill\u002FSKILL.md",[147,148,149],{"categoryNo":113,"categoryName":114,"taxonomyType":115,"taxonomyTypeDesc":116},{"categoryNo":118,"categoryName":119,"taxonomyType":115,"taxonomyTypeDesc":116},{"categoryNo":121,"categoryName":122,"taxonomyType":123,"taxonomyTypeDesc":124},[34,151,152,126,127,128,129,130,131,93,132,96,134,135,136,137,138,139,140,141],"api skill","zerion api skill",{"skillNo":154,"name":155,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":161,"publishedAt":37},"01M6Q5QW17QW98RA3FE45E4RD8","zerion-api-mcp","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fzerion-api-mcp\u002FSKILL.md",[158,159,160],{"categoryNo":113,"categoryName":114,"taxonomyType":115,"taxonomyTypeDesc":116},{"categoryNo":118,"categoryName":119,"taxonomyType":115,"taxonomyTypeDesc":116},{"categoryNo":121,"categoryName":122,"taxonomyType":123,"taxonomyTypeDesc":124},[128,34,162,126,127,129,130,93,132,96,133,134,135,136,137,138,139,140,141],"zerion api mcp",{"skillNo":164,"name":165,"nameZh":6,"description":166,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":167,"categories":168,"keywords":172,"publishedAt":37},"01M6Q5QQYZB7A501BDEQWKGSJT","yahoo-finance-forex","Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR\u002FUSD, GBP\u002FUSD, USD\u002FJPY, etc.). Analyzes sentiment and provides trading context.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-forex\u002FSKILL.md",[169],{"categoryNo":170,"categoryName":171,"taxonomyType":123,"taxonomyTypeDesc":124},"01JBSEEDCAT000000000000040","财务",[173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192],"finance","yahoo finance","forex","yahoo","yahoo finance forex","github","https","sentiment","real-time","python3","install","Market","usd","news","time","currency","gbp","pip","market data","for",{"skillNo":194,"name":195,"nameZh":6,"description":196,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":197,"categories":198,"keywords":200,"publishedAt":37},"01M6Q5QM6VS84WZVM7BKXXPF32","yahoo-finance","This skill should be used when the user asks to \"get stock prices\", \"check stock quotes\", \"look up earnings\", \"get financial data\", \"find trending stocks\", or needs stock market data from Yahoo Finance.","https:\u002F\u002Fgithub.com\u002FKernel8901\u002Fai-agent-skills-classification\u002Fblob\u002Fmain\u002F金融\u002Fyahoo-finance-cli\u002FSKILL.md",[199],{"categoryNo":170,"categoryName":171,"taxonomyType":123,"taxonomyTypeDesc":124},[173,174,176,201,202,203,32,204,20,184,205,206,207,208,209,210,211,212,141,191],"cli","homebrew","find","brew","local","get","stock","link","trending","sf","quotes","ln"]