Wb-mqtt-serial templates/en: различия между версиями

Новая страница: «Other device parameters are either added to the section when the template is included in the wb-mqtt-serial general configuration, or default values are used. The…»
(Новая страница: «Other device parameters are either added to the section when the template is included in the wb-mqtt-serial general configuration, or default values are used. The…»)
Строка 53: Строка 53:
* '''channels''' — is the list of device channels, is set as <code>[...]</code>, each element represents a description of a particular channel.
* '''channels''' — is the list of device channels, is set as <code>[...]</code>, each element represents a description of a particular channel.


Остальные параметры устройства либо добавляются в раздел при включении шаблона в общую конфигурацию wb-mqtt-serial, либо используются значения по умолчанию. Полный список можно найти в файле  [https://github.com/contactless/wb-mqtt-serial/blob/master/wb-mqtt-serial.schema.json wb-mqtt-serial.schema.json] (его копия также хранится на контроллере: <code>/usr/share/wb-mqtt-confed/schemas/wb-mqtt-serial.schema.json</code>). Смотрите свойства объекта <code>"device" -> "properties"</code>.
Other device parameters are either added to the section when the template is included in the wb-mqtt-serial general configuration, or default values are used. The full list can be found in the [https://github.com/contactless/wb-mqtt-serial/blob/master/wb-mqtt-serial.schema.json wb-mqtt-serial.schema.json] file (a copy is also stored on the controller: <code>/usr/share/wb-mqtt-confed/schemas/wb-mqtt-serial.schema.json</code>). See "device" object properties: <code>"device" -> "properties"</code>.


=== Каналы устройства ===
=== Каналы устройства ===
12 063

правки