dan-r / HomeAssistant-NissanConnect

Unofficial Home Assistant integration for interacting with Nissan Connect vehicles 🚗
MIT License
41 stars 12 forks source link
hacs-integration home-assistant nissan nissan-leaf nissanconnect

NissanConnect for Home Assistant

An unofficial integration for interacting with NissanConnect vehicles in Europe. Based on the work of mitchellrj and tobiaswk. I have no affiliation with Nissan besides owning one of their cars.

Please note this integration is only for vehicles using the NissanConnect app, not NissanConnect EV or any other app.

If you find any bugs or would like to request a feature, please open an issue.

Tested Vehicles

This integration has been tested with the following vehicles:

Supported Regions

Currently only Nissan vehicles within Europe are supported.

North America

The API used in North America is completely separate to Europe and it appears that Nissan USA are a lot more hostile towards third-party access. Any future US support would rely on library support (such as dartnissanconnectna) or someone in North America maintaining that side of things. If you're interested, get in touch!

Installation

HACS

Open your Home Assistant instance and open a repository inside the Home Assistant Community Store.

This is the recommended installation method.

  1. Search for and install the NissanConnect [EU] integration from HACS
  2. Restart Home Assistant

Manual

  1. Download the latest release
  2. Copy the contents of custom_components into the <config directory>/custom_components directory of your Home Assistant installation
  3. Restart Home Assistant

Setup

From the Home Assistant Integrations page, search for and add the Nissan Connect integration.

Update Time

Terminology used for this integration:

Following the model of leaf2mqtt, this integration can be set to use a different update time when plugged in. When HVAC is turned on the update time drops to once per minute.

To prevent excessive 12v battery drain when plugged in but not charging for extended periods of time, the interval reverts to the standard update interval after 4 consecutive updates show the car as plugged in but not charging. This logic was added to give the benefit of quicker response times on the charging status binary sensor, which can be especially useful when charging with load-balanced or 'smart' chargers.

Translations

Translations are provided for the following languages. If you are a native speaker and spot any mistakes, please let me know.

Entities

This integration exposes the following entities. Please note that entities will only be shown if the functionality is supported by your car.