For the complete documentation index, see llms.txt. This page is also available as Markdown.

Node-RED Integration

Connecting Node-RED to eChook Live Data

This section assumes that Node-RED is already installed and running.

  1. Create an account for your car at live.echook.uk and go to settings > API and copy the Get Live Data (polling) url that is provided and includes your unique car ID.

  2. In the Omni app, select upload to eChook Private Live Data enter your login details.

  3. For Node-RED setup, download the JSON file below and import it to your Node-RED dashboard by right-clicking on the background > insert > import, then selecting the downloaded file.

You should now have a dashboard that looks like this:

Double click the http request block, and enter the URL you copied in step 1, then deploy the changes.

How it works

Every 2 seconds the inject block on the left triggers the HTTP request. This asks the server for the latest data from the car, which is formatted into a JSON object by the JSON block, and then split out into separate flows in the 'eChook Data Split' block. Mouse over the output connectors to see what data each provides. The output data is in the format of '{name:xyz, value:123}, so is accessible in later blocks using msg.payload.value and msg.payload.name.

Last updated