jampez77 / DVLA-Vehicle-Enquiry-Service

A custom component for connecting to the DVLAs Vehicle Enquiry Service API.
MIT License
22 stars 5 forks source link

What Data Does This Service Expose in Home Assistant? #2

Closed Garywoo closed 9 months ago

Garywoo commented 9 months ago

Please could you update the readme with some information about the data that this service can expose in Home Assistant? Some screenshots of the sensor(s) would be great 😄

aaronburt commented 9 months ago

I just installed it myself to test it. Here are the attributes it exposes per registration number.

RegistrationNumber TaxStatus TaxDueDate MotStatus Make YearOfManufacture EngineCapacity Co2Emissions FuelType MarkedForExport Colour TypeApproval DateOfLastV5CIssued MotExpiryDate Wheelplan MonthOfFirstRegistration

Seems you could do automations for alerting you to when the car is untaxed and when its mot'd.

jampez77 commented 9 months ago

Thanks @aaronburt, the following are also available looking at the response data here.

It's also worth mentioning that some data won't be returned if it doesn't apply to the specific vehicle.

jampez77 commented 9 months ago

Fixed aI've updated the readme to include this information