Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/homebridge-teslemetry-same-name-major-cut.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"homebridge-teslemetry": major
---

Publish the monorepo Homebridge plugin under the same npm name as the legacy `homebridge-teslemetry` package, superseding it with a major version (1.0.0 over legacy 0.4.x). This is a hard cut, not a parallel release - there is no dual-maintenance and no rename; going forward `homebridge-teslemetry` on npm is this package.

**Breaking: the HomeKit service set has changed.** The legacy plugin registered 14 vehicle services and 7 energy services. This package registers 11 vehicle services and 6 energy services, and is subType-aware for services that previously collided under a shared HomeKit service type (e.g. `LockService`/`ChargePortService` both used `Service.LockMechanism`; several switches shared `Service.Switch`). Existing users upgrading from the legacy package should expect some HomeKit accessories/tiles to disappear, merge, or need re-pairing in the Home app after upgrade - this is expected, not a regression.
4 changes: 2 additions & 2 deletions AGENTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ typescript-teslemetry/
│ ├── api/ # Core TypeScript/JavaScript SDK
│ ├── node-red-contrib-teslemetry/ # Node-RED integration
│ ├── n8n-nodes-teslemetry/ # n8n workflow integration
│ ├── homebridge-teslemetry/ # Homebridge plugin (private, not published)
│ ├── homebridge-teslemetry/ # Homebridge plugin (published to npm)
│ └── iobroker.teslemetry/ # ioBroker adapter (published to npm)
├── pnpm-workspace.yaml # Workspace configuration
├── tsconfig.json # Root TypeScript config
Expand Down Expand Up @@ -114,7 +114,7 @@ pnpm --filter node-red-contrib-teslemetry build
### 4. `homebridge-teslemetry` - Homebridge Plugin

**Location**: `packages/homebridge-teslemetry/`
**Status**: Private (`"private": true`, not published to npm)
**Status**: Published to npm as `homebridge-teslemetry`, superseding the legacy hand-published package of the same name via a same-name major hard cut (v1.0.0 over legacy 0.4.x) - no dual-maintain, no rename.

**Purpose**: Exposes vehicles and energy sites as HomeKit accessories via `src/vehicle-services/*` and `src/energy-services/*` service classes, each a thin adapter between a HomeKit `Service`/`Characteristic` and the corresponding `@teslemetry/api` method.

Expand Down
14 changes: 7 additions & 7 deletions packages/homebridge-teslemetry/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# @teslemetry/homebridge-teslemetry
# homebridge-teslemetry

[![npm version](https://badge.fury.io/js/%40teslemetry%2Fhomebridge-teslemetry.svg)](https://badge.fury.io/js/%40teslemetry%2Fhomebridge-teslemetry)
[![npm version](https://badge.fury.io/js/homebridge-teslemetry.svg)](https://badge.fury.io/js/homebridge-teslemetry)
[![verified-by-homebridge](https://badgen.net/badge/homebridge/verified/purple)](https://github.com/homebridge/homebridge/wiki/Verified-Plugins)

Teslemetry platform plugin for Homebridge with real-time streaming for Tesla vehicles and energy site monitoring.
Expand Down Expand Up @@ -44,13 +44,13 @@ Teslemetry platform plugin for Homebridge with real-time streaming for Tesla veh
### Via Command Line

```bash
npm install -g @teslemetry/homebridge-teslemetry
npm install -g homebridge-teslemetry
```

Or if using pnpm:

```bash
pnpm add -g @teslemetry/homebridge-teslemetry
pnpm add -g homebridge-teslemetry
```

## Configuration
Expand Down Expand Up @@ -171,10 +171,10 @@ cd typescript-teslemetry
pnpm install

# Build the package
pnpm --filter @teslemetry/homebridge-teslemetry build
pnpm --filter homebridge-teslemetry build

# Watch mode for development
pnpm --filter @teslemetry/homebridge-teslemetry watch
pnpm --filter homebridge-teslemetry watch
```

### Testing Locally
Expand All @@ -186,7 +186,7 @@ pnpm link --global

# In your Homebridge directory
cd ~/.homebridge
pnpm link --global @teslemetry/homebridge-teslemetry
pnpm link --global homebridge-teslemetry

# Run Homebridge in debug mode
homebridge -D
Expand Down
5 changes: 2 additions & 3 deletions packages/homebridge-teslemetry/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "@teslemetry/homebridge-teslemetry",
"name": "homebridge-teslemetry",
"displayName": "Homebridge Teslemetry",
"version": "0.1.11",
"private": true,
"version": "1.0.0",
"description": "Teslemetry integration for Homebridge with real-time streaming support",
"author": "Teslemetry",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion packages/homebridge-teslemetry/src/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ export interface TeslemetryPlatformConfig {
* Plugin constants
*/
export const PLATFORM_NAME = "Teslemetry";
export const PLUGIN_NAME = "@teslemetry/homebridge-teslemetry";
export const PLUGIN_NAME = "homebridge-teslemetry";
Loading