readme update
This commit is contained in:
@@ -18,4 +18,5 @@ external_converters:
|
|||||||
- Код ошибки
|
- Код ошибки
|
||||||
|
|
||||||
## `win.dev.js`
|
## `win.dev.js`
|
||||||
Версия с полным списком всех DP устройства. Отображает информацию со всех датчиков. В поле `device_cmd` можно отправить команду на добавление новых радиодатчиков: `16777216`. Удаление датчиков пока что в разработке.
|
Версия с полным списком всех DP устройства. Отображает информацию со всех датчиков. В поле `device_cmd` можно отправить команду на добавление новых радиодатчиков: `16777216`.
|
||||||
|
|
||||||
|
|||||||
@@ -3,10 +3,10 @@ Extension files for ZigBee2MQTT; only one of the files is required for device su
|
|||||||
Extract the file into the `/data` folder. Add the following lines to `configuration.yaml` file in the same folder:
|
Extract the file into the `/data` folder. Add the following lines to `configuration.yaml` file in the same folder:
|
||||||
```
|
```
|
||||||
external_converters:
|
external_converters:
|
||||||
- Winner_ZigBee_Basic.js
|
- win.basic.js
|
||||||
```
|
```
|
||||||
|
|
||||||
## Winner_ZigBee_Basic.js
|
## win.basic.js
|
||||||
Basic support for Winner. Available fields:
|
Basic support for Winner. Available fields:
|
||||||
- Valve position: open/closed
|
- Valve position: open/closed
|
||||||
- Alarm status
|
- Alarm status
|
||||||
@@ -15,17 +15,5 @@ Basic support for Winner. Available fields:
|
|||||||
- Battery charge level
|
- Battery charge level
|
||||||
- Error code
|
- Error code
|
||||||
|
|
||||||
## Winner_ZigBee_dev.js
|
## win.dev.js
|
||||||
Added partial support for sensors.
|
A version with the full list of the device DPs. See commented out areas inside the file for more info on commands.
|
||||||
|
|
||||||
A version with the full list of the device DPs. Additional DPs will not work with Z2MQTT out of the box because of their non-standard implementation: they need extra code to properly parse the incoming data.
|
|
||||||
|
|
||||||
E.g: any `sensor_*` DP is a 4 byte integer:
|
|
||||||
```
|
|
||||||
0xAA_BB_CC_DD where:
|
|
||||||
[AA] - command bit flags
|
|
||||||
[BB] - status bit flags
|
|
||||||
[CC] - signal strength
|
|
||||||
[DD] - battery charge
|
|
||||||
```
|
|
||||||
This will not be parsed accordingly right out of the box.
|
|
||||||
Reference in New Issue
Block a user