npm install node-red-contrib-dvla-api
This dvla-api node can be used to obtain vehicle information from regiration plates from United Kingdom, and Northern Ireland.
You have the availability of built-in modules which can be used to peridocially trigger the dvla-control
module.
The node red module allows you to add a list of number plates, set up through the configuration node and queries each of these for you.
The node also takes the users API Key to query the DVLA API via a configuration node.
Dashboard Node - Generates a dashboard with your preset regirstrations and allows you to setup a route and a port. Error handling is poor on this at the moment so if it fails then select a new port and restart NodeRed
The output from the node module returns an array of JSON objects like the below example:
{
"artEndDate": "2025-02-28",
"co2Emissions" : 135
"colour" : "BLUE"
"engineCapacity": 2494,
"fuelType" : "PETROL"
"make" : "ROVER"
"markedForExport" : false
"monthOfFirstRegistration" : "2004-12"
"motStatus" : "No details held by DVLA"
"registrationNumber" : "ABC1234"
"revenueWeight" : 1640
"taxDueDate" : "2007-01-01"
"taxStatus" : "Untaxed"
"typeApproval" : "N1"
"wheelplan" : "NON STANDARD"
"yearOfManufacture" : 2004
"euroStatus": "EURO 6 AD"
"realDrivingEmissions": "1"
"dateOfLastV5CIssued": "2016-12-25"
}