Spanish Total.js
Français
Documentation Pour les agents IA
Sommaire

Drivers

Install, configure, read and remove the drivers that describe your devices.

.md Site web

Cette page n’est pas encore traduite. Tu lis l’original.

Sur cette page

A driver describes one kind of device: its name and manufacturer, the values it measures, the settings each device needs and the address where the stream receives its data. You need a driver before you can create a device of that kind.

The Drivers screen with drivers and extensions

The Drivers screen groups the installed drivers in two lists:

  • Drivers describe devices. You choose one of them when you create a device.
  • Extensions run once for the whole platform. An extension usually receives data for many devices at one address and passes each reading to the right device.

Install a driver

A driver is a single file. The drivers folder of the installation package contains examples, and the developers of your devices or your own team can write new ones (see Drivers for developers).

  1. Open Drivers and select Create. An editor opens with a template.
  2. Replace the whole template with the content of the driver file.
  3. Select SUBMIT.

The editor with the source code of a driver

The driver appears in the list. If the code has an error, the editor shows it and keeps the driver unsaved.

The stream starts to use a new or changed driver within three minutes.

The driver menu

Select ... on a driver to open its menu:

The menu of a driver with Settings, Read me, Edit source-code and Remove

  • Settings opens the options of the driver, for example a token that devices must send. The options apply to every device of this driver.
  • Read me shows the description that the author wrote, usually with the format of the data the driver accepts.
  • Edit source-code opens the editor. When you save a new version, the platform keeps the values you set in Settings.
  • Remove deletes the driver.

The Read me of a driver

Set the options of a driver

  1. Select ... on the driver and then Settings.
  2. Fill in the options.
  3. Select APPLY.

The settings of a driver with a Token field

The stream uses the new values within three minutes.

Fabriqué en Europe