Files
gidrolock-guides/Winner/ZigBee/README_en.md

32 lines
1.0 KiB
Markdown
Raw Normal View History

2024-06-28 11:46:39 +03:00
# ZigBee2MQTT: config files
Extension files for ZigBee2MQTT; only one of the files is required for device support.
Extract the file into the `/data` folder. Add the following lines to `configuration.yaml` file in the same folder:
```
external_converters:
- Winner_ZigBee_Basic.js
```
2024-06-28 11:36:37 +03:00
2024-06-28 11:46:39 +03:00
## Winner_ZigBee_Basic.js
Basic support for Winner. Available fields:
- Valve position: open/closed
- Alarm status
- Because of the device's firmware, you cannot turn the alarm on
- Cleaning mode status
- Battery charge level
- Error code
## Winner_ZigBee_dev.js
2024-07-01 15:55:36 +03:00
Added partial support for sensors.
2024-06-28 11:46:39 +03:00
2024-07-01 15:55:36 +03:00
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.
2024-06-28 11:46:39 +03:00
E.g: any `sensor_*` DP is a 4 byte integer:
```
2024-06-28 12:18:19 +03:00
0xAA_BB_CC_DD where:
2024-06-28 11:57:20 +03:00
[AA] - command bit flags
[BB] - status bit flags
[CC] - signal strength
[DD] - battery charge
```
2024-07-01 09:44:53 +03:00
This will not be parsed accordingly right out of the box.