gadget-tesla
Skill2.6k starsChanged 24 days agoApache-2.0View on GitHub
Read Tesla status, drive and charge history, and efficiency analytics from an existing self-hosted TeslaMate and Fleet Telemetry stack on the home network using Muse Home Link. If a setup layer is missing, guide the user through that layer's setup instead of guessing. Read-only by default; vehicle commands only on explicit user request through the owner's existing command path. Not an official Tesla integration or a Tesla-account sign-in.
Trending
More talk lately.thin dataabout the whole repository
Who's talking about facebookincubator/muse-gadget-sdk
- @j4ck.xyz“I still wouldn't trust Meta with my personal context for agents, but what they're doing with Muse is pretty …”Bluesky · Oct 2, 2026 · 7 likes
- A Hacker News story“Open source SDK to build Muse gadgets”Hacker News · Oct 3, 2026 · 2 points
- ComBba/muse-gadget-sdk“CI preflight: wait for the installer serial close before SDK token setup”GitHub · Oct 17, 2026 · 1 reactions
- @sarubot.bsky.social“muse-gadget-sdk — Metaが放つ、ESP32やラズパイをAIガジェットへ変貌させるSDK。今週スター急増中の注目作! …”Bluesky · Oct 7, 2026 · 1 likes
- aegisfleet/tool-survey-report“feat: add survey report for Muse Gadget SDK”GitHub · Nov 9, 2026
The biggest 5 of 14 mentions linking to the repository that our crawl found. Each line is their own headline.
See all 14
Talked about on GitHub, Bluesky and Hacker News (14 times).
On GitHub · 11
- Oct 17, 2026CI preflight: wait for the installer serial close before SDK token setup — ComBba/muse-gadget-sdk1 reaction · 2 comments
- Nov 9, 2026feat: add survey report for Muse Gadget SDK — aegisfleet/tool-survey-report0 reactions · 4 comments
- Oct 14, 2026Fix S3-2.06 ES7210 microphone and native USB serial console — polygoku/waveshare-amoled-206-debug0 reactions · 5 comments
- Oct 12, 2026Integration blocker: native Muse gadget command invocation — 1chris2many/muse-portal-kit0 reactions
- Oct 12, 2026Integration blocker: authoritative per-device reply correlation — 1chris2many/muse-portal-kit0 reactions · 2 comments
6 more on GitHub
- Oct 11, 2026[fork CI preflight] #181 candidate a6fd89c — ComBba/muse-gadget-sdk0 reactions · 1 comment
- Oct 11, 2026[fork CI] #179 Use the custom avatar in the UI simulator — ComBba/muse-gadget-sdk0 reactions · 1 comment
- Oct 11, 2026[fork CI] #181 Add validated avatar restore and host status — ComBba/muse-gadget-sdk0 reactions · 1 comment
- Oct 11, 2026[fork CI] #180 Validate avatar candidates before replacing the current renderer — ComBba/muse-gadget-sdk0 reactions · 1 comment
- Oct 11, 2026[fork CI] #174 Reject incomplete bench screenshots without padding pixels — ComBba/muse-gadget-sdk0 reactions · 1 comment
- Oct 11, 2026[fork CI] #177 Abort bench screenshots when USB console output stalls — ComBba/muse-gadget-sdk0 reactions · 1 comment
On Bluesky · 2
- Oct 2, 2026I still wouldn't trust Meta with my personal context for agents, but what they're doing with Muse is pretty cool & fun icl… — @j4ck.xyz7 likes and reposts
- Oct 7, 2026muse-gadget-sdk — Metaが放つ、ESP32やラズパイをAIガジェットへ変貌させるSDK。今週スター急増中の注目作! ・C言語製のESP32/Linux用SDK。センサーやオーディオをMuseエコシステムに即統合 ・AIエージェント「Muse… — @sarubot.bsky.social1 likes and repost
On Hacker News · 1
- Oct 3, 2026Open source SDK to build Muse gadgets2 points
In this repository48 other files it gives its agents.
- esp32/AGENTS.mdAGENTS.md
- linux/AGENTS.mdAGENTS.md
- gadget-apple-homepod-miniSkill
- gadget-apple-tv-4kSkill
- gadget-brother-printersSkill
- gadget-dyson-pure-hot-cool-hp04Skill
- gadget-ecowitt-gatewaysSkill
- gadget-elgato-key-lightSkill
- gadget-epson-printersSkill
- gadget-esphome-devicesSkill
- gadget-espsomfy-rtsSkill
- gadget-eufy-robovac-tuyaSkill
- gadget-freebox-player-popSkill
- gadget-google-castSkill
- gadget-google-home-maxSkill
- gadget-google-home-speakerSkill
- gadget-google-nest-audioSkill
- gadget-google-nest-hub-maxSkill
- gadget-google-nest-hubSkill
- gadget-google-nest-miniSkill
- gadget-google-nest-thermostatsSkill
- gadget-google-pixel-tabletSkill
- gadget-google-tv-streamerSkill
- gadget-hp-color-laserjet-pro-m254dwSkill
- gadget-irobot-roomba-braavaSkill
- gadget-lg-webos-tvsSkill
- gadget-logitech-squeezeboxSkill
- gadget-lutron-smart-bridgesSkill
- gadget-meross-smart-plugsSkill
- gadget-miele-g7566-dishwasherSkill
- gadget-moonraker-3d-printersSkill
- gadget-philips-hue-bridgesSkill
- gadget-ratgdo-v32-garage-doorSkill
- gadget-roborock-vacuumsSkill
- gadget-roku-tvs-and-playersSkill
- gadget-samsung-tizen-tvsSkill
- gadget-shelly-plugsSkill
- gadget-sonoff-rf-bridgeSkill
- gadget-sonos-speakersSkill
- gadget-tplink-kasa-ep10Skill
- gadget-tplink-kasa-ep25Skill
- gadget-tuya-wifi-devicesSkill
- gadget-unifi-network-consolesSkill
- gadget-velux-klf200Skill
- gadget-vizio-d40f-g9Skill
- gadget-wyze-rtsp-camerasSkill
- gadget-yi-hack-camerasSkill
- gadget-zigbee2mqtt-gatewaysSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 11 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈11
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 13
Use this skill when the home runs (or wants to run) a self-hosted Tesla data stack — typically a Raspberry Pi or home server with …
- Distinctive: line 30
Run this check the first time the skill is used, and whenever a layer turns out to be missing.
- Distinctive: line 34
Developer account and Fleet API app: Create an account at developer.tesla.com and register an application.
- Very specific: line 47
Fleet Telemetry (optional, recommended): Run Tesla's open-source fleet-telemetry server with a restart policy (for example unless-stopped), …
- Very specific: line 58
Read and follow the Home Link networking and safety rules in ~/docs/devices/home_link.md.
- Distinctive: line 62
Read-only credentials for the local databases and MQTT broker, stored by the host, never pasted into chat.
- Distinctive: line 78
Only when local data cannot answer and the user asks: make a live Fleet API read.
- Distinctive: line 79
Never wake the vehicle to satisfy curiosity.
- Distinctive: line 87
If analytics suddenly go stale, check that the telemetry container is running before suspecting the vehicle.
- Distinctive: line 92
No vehicle commands (locks, climate, charge start/stop, sentry) unless the user explicitly requests one and an owner-controlled command …
- Distinctive: line 94
Never send Fleet API commands directly from a skill session.
- Distinctive: line 95
Never change TeslaMate polling or suspend settings, telemetry field subscriptions, or Fleet API scopes as a side effect of answering a …
- Distinctive: line 99
Keep exact-time automations (scheduled pre-cooling, charge-complete alerts) in the local automation layer, not in Muse — they must fire …
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Tesla — Fleet API, TeslaMate and Fleet Telemetry (Self-Hosted)
Use this skill when the home runs (or wants to run) a self-hosted Tesla data stack — typically a Raspberry Pi or home server with TeslaMate, optionally Tesla's Fleet Telemetry server publishing to a local MQTT broker and analytics database — and the user asks about the car: charge state, recent drives, efficiency, self-driving share, or charging cost.
Identify the Setup
- Inventory the layers before querying anything: Fleet API registration, TeslaMate (API, MQTT broker, Postgres), and, if present, the fleet-telemetry server and the analytics store it feeds. State which layers exist; the analytics below degrade gracefully without telemetry.
- Identify the vehicle from the local stack (TeslaMate car id, VIN suffix), never from a Tesla account lookup. With more than one car, confirm which car the question is about.
Guided Setup Check
Run this check the first time the skill is used, and whenever a layer turns out to be missing. For each missing layer, stop and give the user these steps — do not improvise installations, registrations, or commands on their behalf.
- Developer account and Fleet API app. Create an account at developer.tesla.com and
register an application. Generate a key pair and host the public key at
https://<their-domain>/.well-known/appspecific/com.tesla.3p.public-key.pem, then register the partner account for that domain. Tesla includes a monthly free credit (currently $10); typical reads cost fractions of a cent beyond it. - Virtual key on the vehicle. Enroll the app's virtual key on the car when Tesla
prompts for it (Tesla app or in-car). Note: the key pair from step 1 is also the
signing key for vehicle commands. The fleet-telemetry server's TLS key is a different
key — reusing it for commands returns
InvalidSignature. - TeslaMate. Install TeslaMate (Docker is typical) and sign in with owner tokens.
In car settings, use the sleep-friendly configuration: streaming API off,
suspend_min12,suspend_after_idle_min10, and the LFP flag set if the pack is LFP. Polling-only plus telemetry push gives rich data while letting the car sleep. - Fleet Telemetry (optional, recommended). Run Tesla's open-source fleet-telemetry
server with a restart policy (for example
unless-stopped), register a telemetry configuration for the vehicle via the Fleet API, and point its records at the local MQTT broker. Fields worth subscribing to:Soc,Odometer,EnergyRemaining,VehicleSpeed,Gear,Location, andSelfDrivingMilesSinceReset. The vehicle streams only while awake and stops when it sleeps, so telemetry costs effectively no vampire drain. - Label TeslaMate geofences (home, work) now — every later analysis gets easier.
Prerequisites
Read and follow the Home Link networking and safety rules in ~/docs/devices/home_link.md.
- The guided setup check passes, or the user accepts answers limited to the layers that exist.
- Read-only credentials for the local databases and MQTT broker, stored by the host, never pasted into chat.
Workflow
- Answer from local data first. Current state (SoC, plugged in, asleep) comes from
TeslaMate's API or MQTT topics (
teslamate/cars/<id>/...); drives and charges from its database; 10-second telemetry from the telemetry store. - Efficiency: compute per-drive Wh/mi from energy used and distance, and compare with the vehicle's EPA rating. Self-driving share comes from the delta of the telemetry self-driving-miles counter across a drive, divided by drive distance.
- Vampire drain: measure SoC change across parked, unplugged, asleep periods only; exclude charging and the first minutes after parking, and label the result an estimate.
- Charging: report session start/end, SoC delta, kWh added, and whether the session overlapped the household's peak time-of-use window.
- Only when local data cannot answer and the user asks: make a live Fleet API read. Never wake the vehicle to satisfy curiosity.
Verify the Result
- Cross-check headline numbers against a second local source (TeslaMate UI vs database, telemetry vs drive record). State the source and observation time for every number; the layers update on different cadences and will disagree slightly.
- A database record is history, not current state — say how fresh it is.
- If analytics suddenly go stale, check that the telemetry container is running before suspecting the vehicle.
Limits
- No vehicle commands (locks, climate, charge start/stop, sentry) unless the user explicitly requests one and an owner-controlled command proxy is already deployed. Never send Fleet API commands directly from a skill session.
- Never change TeslaMate polling or suspend settings, telemetry field subscriptions, or Fleet API scopes as a side effect of answering a question.
- Drive routes and location history are sensitive household data: report aggregates by default, exact locations only when the user asks.
- Keep exact-time automations (scheduled pre-cooling, charge-complete alerts) in the local automation layer, not in Muse — they must fire even if the model is down.
- Community pattern, not an official integration; Tesla can change Fleet API pricing, scopes, or telemetry fields at any time.
Sources
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

