--- id: subarulink version: "0.7.21" license: Apache-2.0 license_treatment: permissive maintenance: active --- # subarulink — A package for interacting with the MySubaru Connected Services API. License: permissive · Maintenance: active · Downloads: 74.4K/mo ## What it is and what it does subarulink is a Python client for Subaru's MySubaru Connected Services (formerly STARLINK), allowing programmatic access to vehicle telemetry and remote control. It wraps the undocumented MySubaru API by reverse-engineering the official Android app, so it may break without warning if Subaru changes their backend. The package supports vehicles from 2016 onward across four telematics generations, with feature availability depending on subscription tier (Safety/Companion vs. Security/Companion+) and vehicle model year. The package is designed primarily for Home Assistant integration but works as a standalone library. It uses aiohttp for async HTTP communication and provides both a CLI tool (with the `cli` extra) and a programmatic API. Feature support varies significantly by generation: older vehicles (g1, 2016–2018) offer basic lock/unlock and location, while newer ones (g2–g3, 2019–2025) add remote engine start with climate control, charging, and sensor data. The library is in Alpha and actively maintained, though g4 support (2026+) is still being characterized. Use it for: - Integrate Subaru vehicle control into Home Assistant for remote lock/unlock and climate presets - Monitor vehicle status (fuel, tire pressure, odometer) and trigger automations based on sensor data - Build a standalone app to remotely start a vehicle or sound the horn from a phone or web interface - Log vehicle telemetry over time for fuel economy tracking or maintenance scheduling - Control PHEV charging remotely and check battery status through a custom dashboard ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Interact with Subaru's MySubaru Connected Services API to retrieve vehicle status and control remote features like locks, horn, lights, and engine start on supported vehicles. Yes, if you own a compatible Subaru with an active MySubaru subscription and need programmatic vehicle control or status monitoring. The low install friction, active maintenance, and permissive license make it a reasonable choice for Home Assistant users or custom integrations. Be aware that it reverse-engineers an undocumented API (may break without warning), requires Python 3.14+, and is still in Alpha with incomplete g4 support. Not suitable if you need production-grade stability or support for vehicles outside the US/Canada. ## Install pip install subarulink uv add subarulink poetry add subarulink ## Installing subarulink Before you install: Low install friction with a single runtime dependency (aiohttp). Active maintenance with a recent release 13 days ago and ongoing commits. Marked as Alpha, so expect API changes and incomplete feature coverage across vehicle generations. License in practice: Apache-2.0 permissive license allows commercial and private use with minimal restrictions; attribution required. Quickstart: pip install subarulink import asyncio from subarulink import Controller async def get_status(): async with Controller(username, password) as conn: await conn.update(vin) # Access vehicle data via conn Requires Python 3.14 or later. Needs active MySubaru Connected Services subscription (US/Canada only) and a configured MySubaru account with a compatible vehicle. Verify before relying: - Whether the package works reliably across all advertised vehicle generations (g1–g4) or if g4 support is still experimental - Current status of Home Assistant integration compatibility with this version - Whether the known battery discharge issue from aggressive polling has been mitigated ## Package facts - License: Apache-2.0 (permissive) - Python support: capped_below_current - Install friction: low - Maintenance: active - Downloads: 74.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags subaru vehicle api integration, mysubaru connected services, remote vehicle control python, subaru telematics api, vehicle status monitoring, subaru home assistant, remote lock unlock vehicle, vehicle-api, home-assistant, async-http [View on SkillFed](https://skillfed.io/packages/subarulink) · [View on PyPI](https://pypi.org/project/subarulink/)