Spanish Total.js
Italiano
Documentazione Per agenti IA
Indice

Test a device without hardware

Send readings to a new device with a simulation and check them in Sensors and on the map.

.md Sito web

Questa pagina non è ancora tradotta. Stai leggendo l’originale.

Before a device is installed, you can check the whole chain, from the driver to the map, with readings from a CSV file.

  1. Install the driver of the device in Drivers. See Drivers.
  2. Create the device and fill in its Device identifier, for example WS-0002. See Devices.
  3. Wait three minutes, or restart the stream, until the device appears on the status page of the stream.
  4. Open the Read me of the driver and note the address and the fields it expects.
  5. Write a CSV file with those fields. Put + in front of the fields that are numbers:
sn,+temperature,+humidity,+battery
WS-0002,16.2,61,60
WS-0002,16.0,62,60
WS-0002,15.8,63,59
  1. In Simulations, select Endpoints and add the address of the driver on your stream, with its token if it has one.
  2. Select Create, choose the CSV file and the endpoint, set Frequency to 1, check Launch and select SUBMIT.
  3. Open Sensors. Every minute one row arrives, and the values of the device change.
  4. Add the sensors to a zone and open the Map to see them there.

When all rows are sent, the simulation stops. See Simulations for all the options.

Fatto in Europa