Spanish Total.js
English
Documentation For AI agents
Contents

Devices

Create devices, give them their identifiers, configure them and send them commands.

.md Website
On this page

A device is one piece of hardware, such as a weather station in a park. Each device uses one driver, and the platform creates one sensor for every value the driver measures.

The Devices screen with two weather stations

The Devices screen lists all devices with their driver, name, serial number, reference, locality, position and online status. Use the Filter row under the column names to search.

Create a device

  1. Open Devices and select Create.
  2. Select the driver of the device. The platform creates the device right away and opens its form.

Select a driver: the list of installed drivers

  1. Fill in the form and select SUBMIT.

The device form with Name, Device identifier and the locality

The most important field is Device identifier. It is the serial number or another code that the device sends with its data, and the driver uses it to find the device that a reading belongs to. Write it exactly as the device sends it.

The other fields:

  • Name: the name people see everywhere in the app.
  • Temporarily disabled: the stream ignores the device until you clear the box.
  • Publish a value to an API endpoint: makes the device and its sensors available as JSON. See Open data API.
  • Note and Custom attributes: your own information. Custom attributes are key and value pairs that also appear in the open data.
  • Reference, Color and Icon: your own reference code and the look of the device.
  • Place, Latitude and Longitude: where the device is. The map uses the position when it shows devices.

The stream starts to accept data for a new device within three minutes.

The device detail

Select a device in the list to open its detail. It shows the basic information, the locality, the driver and the list of sensors with their status, last value and time.

The detail of a device with three online sensors

The buttons at the top:

  • Refresh reloads the values.
  • Commands sends a command to the device. It is available when the driver defines commands.
  • Options opens Readme, Edit, Configure and Remove.

The Options menu of a device

Change the sensors of one device

Select the cog icon of a sensor in the device detail:

  • Rename gives the sensor another name for this device.
  • Hide sensor hides a sensor that the device does not use.
  • Enable timeline keeps every received value, not only the statistics. The sensor gets an orange background.
  • Publish to API endpoint makes the sensor available as JSON. The address appears under the sensor.
  • Stats chooses how often the history is summarised: Minutely stats, Hourly stats or Daily stats. You can also select the stats name next to the value.

Configure a device

Some drivers have settings for each device, for example a correction for a temperature sensor. Select Options and Configure, change the values and select APPLY.

The settings of one device with a temperature correction

The stream uses the new configuration within three minutes.

Send a command

When the driver defines commands, for example to change how often the device measures:

  1. Open the device and select Commands.
  2. Choose the command.
  3. Fill in its form and select SUBMIT.

The form of the Change interval command

The app confirms that the command is sent. The stream picks up new commands every five seconds and passes them to the driver.

Made in Europe