Skip to content

Instantly share code, notes, and snippets.

View ngardiner's full-sized avatar

Nathan Gardiner ngardiner

  • Melbourne, Australia
View GitHub Profile
@ngardiner
ngardiner / TeslaMateMQTT.md
Last active May 21, 2023 21:46
Using TeslaMate MQTT Topics in HomeAssistant

TeslaMate MQTT Integration - HomeAssistant

Introduction

This documents the process of replacing the official HomeAssistant Tesla component with MQTT interactions with TeslaMate.

Benefits

TeslaMate is better at polling the Tesla API, through the use of a better implemented polling mechanism with appropriate back-offs to allow Tesla vehicles to sleep.

It is also extremely useful to have running in parallel with HomeAssistant, offering a logical split between monitoring and visualisation (teslamate) and automation (HomeAssistant). Given HomeAssistant can talk via a common bus to other smart home components such as Garage Doors, Charger systems etc, it would not make sense to re-implement automation externally to HomeAssistant where it can be avoided.