jampez77 / DVLA-Vehicle-Enquiry-Service

A custom component for connecting to the DVLAs Vehicle Enquiry Service API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo DVLA Vehicle Enquiry Service for Home Assistant

This component provides vehicle details of a specified vehicle into and adds a sensor to Home Assistant which can be used in your own automations.


GitHub Release License hacs_badge Project Maintenance

Enjoying this? Help me out with a 🍻 or ☕!

coffee

Installation through HACS

You can install the DVLA Vehicle Enquiry Service integration by searching for it there in HA instance.

Manual Installation

Use this route only if you do not want to use HACS and love the pain of manually installing regular updates.

  • Add the dvla folder in your custom_components folder

Usage

Before you can configure this sensor, you must register and obtain and API key at VES API Registration.

As the integration only queries the API twice a day you can put 62 for Estimated monthly enquiry volumes. You will need to multiple this by the number of vehicles you wish to query.

Also make sure to select no for Testing otherwise you won't have access to any live data.


Data

The following attributes can be expose as attributes in HA. It's also worth mentioning that some data won't be returned if it doesn't apply to the specific vehicle.

  • registrationNumber
  • taxStatus
  • taxDueDate
  • motStatus
  • make
  • yearOfManufacture
  • engineCapacity
  • co2Emissions
  • fuelType
  • markedForExport
  • colour
  • typeApproval
  • dateOfLastV5CIssued
  • motExpiryDate
  • wheelplan
  • monthOfFirstRegistration
  • artEndDate
  • revenueWeight
  • euroStatus
  • realDrivingEmissions

About

A custom component for connecting to the DVLAs Vehicle Enquiry Service API.

License:MIT License


Languages

Language:Python 100.0%