История
1 февраля 2021
11 июня 2019
Нет описания правки
+3
Нет описания правки
+3
Нет описания правки
+4
Нет описания правки
Нет описания правки
Нет описания правки
+4
Нет описания правки
+5
Нет описания правки
+2
Нет описания правки
−2
Новая страница: «=== Information resources === This article describes the basic rules for creating device templates for Wiren Board controllers. The information changes and is upd…»
−303
Новая страница: «The types of variables used in the templates are listed in the following table: {| class="wikitable" ! Designation !! Type |- | s16 || Signed 16-bit integer |- |…»
−71
Новая страница: «Here you should pay attention to the fact that the address of the register can be set in hexadecimal form:''' "address": "0x1224" ''', the real scaling factor can…»
−376
Новая страница: «What is so important in this template? First of all, we specify in the device parameters that no more than 60 registers should be read at the same time, so as no…»
−261
Новая страница: «WB-MAP3H — three-channel electricity meter. It measures a large number of electrical network parameters. Since it can take quite a l…»
−342
Новая страница: «Another important parameter — setup-section, array <syntaxhighlight lang="JSON"> "setup": [ { "title": "IODIR", "address": 100…»
−365
Новая страница: « For example, substituting the values of shift and stride in the formula: <syntaxhighlight lang="C++">Shift = ((( 1 - 1) % 4) + 1) * 500 + 1000 = (0 + 1) * 500 +…»
−84
Новая страница: « Shift = (((SlaveId.Secondary - 1) % 4) + 1) * DeviceConfig()->Stride + DeviceConfig()->Shift; Here stride — DeviceConfig()->Stride, a shift — DeviceConfig()-…»
−54
Нет описания правки
+2
Новая страница: «Option '''''protocol'': ''modbus_io''''' indicates that the device connects to the extension module via special protocol. The parameters '''"stride": 1000''' and…»
−164
Новая страница: «In this template, you should pay attention to the following device settings. <syntaxhighlight lang="JSON"> "protocol": "modbus_io", "stride": 1000, "s…»
−64
Новая страница: «==== WBIO-DO-R10A-8 ==== Устройство WBIO-DO-R10A-8 — is a relay side module that connects directly to the controller's…»
−257
Новая страница: «The serial number of the device (channel "Serial NO") is read as an unsigned 32-bit integer: <syntaxhighlight lang="JSON">"format": "u32"</syntaxhighlight>»
−61
Новая страница: «The white channel is controlled separately, <syntaxhighlight lang="JSON"> { "name": "White", "reg_type": "holding", "address": 3,…»
−135
Новая страница: «<div class="mw-collapsible mw-collapsed" style="width:500px; overflow: hidden;" > <syntaxhighlight lang="JSON" highlight="8-25"> { "device_type": "WB-MRGBW-D…»
−121
Новая страница: «==== WB-MRGBW-D ==== WB-MRGBW-D is a four channel dimmer to control the led strip. Can control RGB+W tape or four single color tapes independently.…»
−352
Новая страница: «There is an interesting parameter in the settings of the device: <syntaxhighlight lang="JSON"> "max_read_registers": 0,</syntaxhighlight> This parameter descri…»
−678
Новая страница: «The WB-MS-THLS device is a universal combined Modbus sensor for temperature, humidity, light and sound pressure. The device provides a…»
−322
Новая страница: «The following are sample template files for some Wiren Board devices, covering a basic list of options used when creating templates.»
−141
Новая страница: «=== Examples of device templates===»
−23
Новая страница: «In the simplest case, the fields "name", "reg_type", "address" and "type"are sufficient. Descriptions of other parameter types are fully listed in the wb-mqtt-ser…»
−76
Новая страница: «* '''name''' — имя канала, уникальное для устройство имя канала * '''reg_type''' — тип Modbus-регистра,…»
+647
Новая страница: «File:Vartype_properties_mqtt_serial.png|450px|thumb|right|the format of data representation in Modbus-registers is described in wb-mqtt-serial.schema.json (made…»
−55
Новая страница: «The structure contains the following set of fields.»
−26
Новая страница: «<syntaxhighlight lang="JSON"> "channels": [ { "name": "Channel name1", ... }, { "name": "Channel name2…»
−16
Новая страница: «=== Device channels === File:Channel_properties_mqtt_serial.png|450px|thumb|right|Channel parameters are described in wb-mqtt-serial.schema.json (made in app […»
−105
Новая страница: «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…»
−194
Нет описания правки
+10
Новая страница: «* '''channels''' — is the list of device channels, is set as <code>[...]</code>, each element is a description of a separate channel.»
−128
Новая страница: «* '''id''' — is the unique identifier of the device to MQTT. Each item in devices must have a unique id. mqtt-topic related to this device in MQTT have a common…»
−191
Новая страница: «* '''name''' — is the displayed name of the device. Published as<code> .../meta/name in mqtt</code>. The device name is used when displaying the web-interface,…»
−134
Новая страница: «The '''device''' key value is a composite structure that describes specific device parameters:»
−74
Новая страница: «The '''device_type''' key specifies a unique name for the device type as a string, for example: <syntaxhighlight lang="JSON">"device_type":"WB-MAP12H", </syntaxhi…»
−56
Новая страница: «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…»
−85
Новая страница: «=== Device settings === File:Device_properties_mqtt_serial.png|650px|thumb|right|Device parameters are described in wb-mqtt-serial.schema.json (made via [http:/…»
−83
Новая страница: «'''Device''' is a device connected to the controller, '''channel''' is a data source: usually it is a Modbus register with a description of the data type, polling…»
−420
Новая страница: «The general structure of the device template is as follows: <syntaxhighlight lang="JSON"> //Device template { "device": { "Device1 parameter":"value",…»
−167
Новая страница: «A device template file is a [https://en.wikipedia.org/wiki/JSON JSON] structure that describes device parameters. The template allows comments. The JSON structure…»
−228
Новая страница: «=== The general structure of the device template ===»
−20
Новая страница: «WB-mqtt-serial driver: examples of template writing»
+36 263