跳到正文
cccskills
免费在 GitHub 公开

tesla-powerwall

Monitor and control Tesla Powerwall and energy sites through the Tesla Fleet API: live power status, backup reserve, operation mode, storm watch. Trigger phrases: tesla powerwall, powerwall, tesla energy, backup reserve, storm watch.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(2)

  • SKILL.md5.3 KB
  • bin/tesla-powerwall.py11.9 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Tesla Powerwall

Purpose

Monitor and control Tesla energy sites (Powerwall, solar) through the official Tesla Fleet API. Read live power flows, battery state, and site settings; change backup reserve percentage, operation mode, and Storm Watch. Use when the user mentions their Powerwall, Tesla energy site, backup reserve, or storm mode.

This connector covers energy devices only. Vehicle control lives in the separate tesla-fleet-api connector (different credential, different scope set).

Tooling

All commands go through bin/tesla-powerwall.py. --region selects the API region (na, eu, cn; default na).

bin/tesla-powerwall.py auth                                  # verify the OAuth token
bin/tesla-powerwall.py sites                                 # list energy sites
bin/tesla-powerwall.py status --site-id 1234567890           # live power: solar, battery, grid, load
bin/tesla-powerwall.py site-info --site-id 1234567890        # site info and settings
bin/tesla-powerwall.py history --site-id 1234567890 --kind energy --period day \
    --start-date 2026-09-01T00:00:00-07:00 --end-date 2026-09-16T00:00:00-07:00

# MEDIUM actuations: first use per site needs --confirm "<exact effect>"
bin/tesla-powerwall.py set-reserve --site-id 1234567890 --percent 20 \
    --confirm "set backup reserve to 20% on site 1234567890"
bin/tesla-powerwall.py set-mode --site-id 1234567890 --mode self_consumption \
    --confirm "set operation mode to self_consumption on site 1234567890"
bin/tesla-powerwall.py storm-mode --site-id 1234567890 --enable \
    --confirm "enable storm watch on site 1234567890"

Modes for set-mode: self_consumption (self-powered), backup (backup-only), autonomous (time-based control).

After the first confirmed run on a site, the CLI records the confirmation locally (~/.cache/muse-connectors/tesla-powerwall/confirmed.json) and later runs proceed without asking again.

Auth

  • Provider id: tesla-powerwall (credential is collected as custom.tesla-powerwall)
  • Collection: provider OAuth (OAuth 2.0 authorization-code) via the secure credential flow (credentials.request_api_access); this is the same OAuth pattern the slack and x connectors use
  • Required scopes: openid, offline_access, energy_device_data, energy_cmds
  • Allowed hosts: fleet-api.prd.na.vn.cloud.tesla.com, fleet-api.prd.eu.vn.cloud.tesla.com, fleet-api.prd.cn.vn.cloud.tesla.com (selected with --region)
  • Status check: bin/tesla-powerwall.py auth (must return "ok": true)
  • Onboarding burden: this is the heavy one. Registering a Tesla developer app needs legal business details, ownership of a verified domain, and a public key hosted at /.well-known/appspecific/com.tesla.3p.public-key.pem. Budget real setup time before the first call works.

Operating Rules

  1. set-reserve, set-mode, and storm-mode are MEDIUM actuations: they change how the battery charges and discharges, which alters outage resilience and grid behavior. Confirm on first use per site with --confirm naming the exact effect (the CLI enforces the exact text); reads need no confirmation.
  2. Backup reserve percent must be 0 to 100. Lowering it means less stored energy during an outage; say so when confirming.
  3. Storm Watch charges the battery from the grid ahead of severe weather. Enabling it changes grid import behavior; disabling it returns to normal policy.
  4. Rate limits: historically about 200 requests per hour per site on the free developer tier. Keep polling modest; status once a minute is fine, once a second is not.
  5. Time-of-use tariff writes (time_of_use_settings) are not shipped as a CLI command: the tariff payload is a complex nested structure that is easy to get wrong. Point the user at the official Fleet API energy docs if they need it.
  6. Never exfiltrate the credential: the CLI only ever handles surrogates. Do not print, log, or transmit the token value.

Files

  • SKILL.md
  • bin/tesla-powerwall.py

Maturity

🧪 Draft: written from Tesla's public Fleet API docs; not yet live-tested end-to-end.

Honesty flags: set-reserve and set-mode paths and payloads are pinned against the official Fleet API energy reference and corroborating integrations. The storm_mode payload ({"enabled": true/false}) follows the official docs' storm mode section but has not been exercised here. Operation-mode and TOU paths were re-verified against the official docs at build time (2026-09-16); treat every write as untested until a live run confirms it.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

<What it does, one line>. Trigger phrases: <phrases>.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13802026年10月14日 更新

airtable

免费

List Airtable bases, read table records, and add records. Trigger phrases: airtable, my base, add a record, spreadsheet.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13802026年10月14日 更新

Stock quotes and daily price history. Trigger phrases: stock quote, alphavantage, stock price.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13802026年10月14日 更新

amadeus

免费

Search travel with Amadeus: flight offers and prices, airport autocomplete, hotel offers, cheapest dates. Trigger phrases: amadeus, flight search, flight prices, hotel search.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13802026年10月14日 更新

anthropic

免费

Check Anthropic API access and list available Claude models. Read-only. Trigger phrases: anthropic, claude models, anthropic api.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13802026年10月14日 更新

apollo

免费

Search B2B contacts with Apollo.io: find people by title and company, enrich contacts and companies. Trigger phrases: apollo, find prospects, enrich contact.

中文简介正在准备中。当前显示原文说明。

Anil-matcha/awesome-muse-connectors13802026年10月14日 更新

查看 Anil-matcha 的全部技能

报告此技能的问题