Devices
Create devices, give them their identifiers, configure them and send them commands.
Táto stránka ešte nie je preložená. Čítaš originál.
Na tejto stránke
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 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
- Open Devices and select Create.
- Select the driver of the device. The platform creates the device right away and opens its form.

- Fill in the form and select SUBMIT.

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 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.

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 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:
- Open the device and select Commands.
- Choose the command.
- Fill in its form and select SUBMIT.

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