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

Новая страница: «The parameters of the device are set in the form of a set of pairs ''key:value'' at the beginning of the pattern. Required parameters are "device_type" and "devic…»
(Новая страница: «=== Device settings === File:Device_properties_mqtt_serial.png|650px|thumb|right|Device parameters are described in wb-mqtt-serial.schema.json (made via [http:/…»)
(Новая страница: «The parameters of the device are set in the form of a set of pairs ''key:value'' at the beginning of the pattern. Required parameters are "device_type" and "devic…»)
Строка 28: Строка 28:
[[File:Device_properties_mqtt_serial.png|650px|thumb|right|Device parameters are described in wb-mqtt-serial.schema.json (made via [http://www.bodurov.com/JsonFormatter/ Collapsible JSON Formatter])]]
[[File:Device_properties_mqtt_serial.png|650px|thumb|right|Device parameters are described in wb-mqtt-serial.schema.json (made via [http://www.bodurov.com/JsonFormatter/ Collapsible JSON Formatter])]]


В начале шаблона задаются параметры устройства в виде набора пар ''ключ:значение''.
The parameters of the device are set in the form of a set of pairs ''key:value'' at the beginning of the pattern. Required parameters are "device_type" and "device" keys.
Обязательными параметрами являются ключи "device_type" и "device".


Ключ '''device_type''' задает уникальное название типа устройства в виде строки, например:
Ключ '''device_type''' задает уникальное название типа устройства в виде строки, например:
12 063

правки