Skip to content

Commit

Permalink
Merge pull request #2 from Gautomax/Greenpower3_support
Browse files Browse the repository at this point in the history
Greenpower3 support
  • Loading branch information
Gautomax authored Aug 21, 2023
2 parents 30c08b9 + a737842 commit 57dbe0f
Show file tree
Hide file tree
Showing 12 changed files with 272 additions and 48 deletions.
9 changes: 4 additions & 5 deletions docs/devices/ZG-102ZL.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pageClass: device-page
| | |
|-----|-----|
| Model | ZG-102ZL |
| Vendor | [TuYa](/supported-devices/#v=TuYa) |
| Vendor | TuYa |
| Description | Luminance door sensor |
| Exposes | contact, illuminance, battery, linkquality |
| Picture | ![TuYa ZG-102ZL](https://www.zigbee2mqtt.io/images/devices/ZG-102ZL.jpg) |
Expand All @@ -33,14 +33,13 @@ pairing process is in progress.




## Exposes

### Contact (binary)
Indicates if the contact is closed (= true) or open (= false).
Indicates whether the device detected occupancy.
Value can be found in the published state on the `contact` property.
It's not possible to read (`/get`) or write (`/set`) this value.
If value equals `false` contact is ON, if `true` OFF.
If value equals `true` occupancy is ON, if `false` OFF.

### Illuminance (numeric)
Raw measured illuminance.
Expand All @@ -49,7 +48,7 @@ It's not possible to read (`/get`) or write (`/set`) this value.
The unit of this value is `lx`.

### Battery (numeric)
Remaining battery in %, can take up to 24 hours before reported..
Remaining battery in %.
Value can be found in the published state on the `battery` property.
It's not possible to read (`/get`) or write (`/set`) this value.
The minimal value is `0` and the maximum value is `100`.
Expand Down
108 changes: 108 additions & 0 deletions docs/devices/ZG-205Z-A.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,108 @@
---
title: "TuYa ZG-205Z control via MQTT"
description: "Integrate your TuYa ZG-205Z via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway."
addedAt: 2023-08-19T9:25:00
pageClass: device-page
---

<!-- !!!! -->
<!-- ATTENTION: This file is auto-generated through docgen! -->
<!-- You can only edit the "Notes"-Section between the two comment lines "Notes BEGIN" and "Notes END". -->
<!-- Do not use h1 or h2 heading within "## Notes"-Section. -->
<!-- !!!! -->

# TuYa ZG-205Z/A

| | |
|-----|-----|
| Model | ZG-205Z/A |
| Vendor | TuYa |
| Description | Mini 24Ghz human presence sensor |
| Exposes | Presence, illuminance, Motion state, Large motion detection distance,Large motion detection sensitivity, Small motion detection distance,Small motion detection sensitivity,Static detection distance,Static detection sensitivity,Fading_time,indicator,linkquality |
| Picture | ![TuYa ZG-205Z/A](https://www.zigbee2mqtt.io/images/devices/ZG-205Z-A.jpg) |


<!-- Notes BEGIN: You can edit here. Add "## Notes" headline if not already present. -->
## Notes

### Pairing
To start pairing, press the button (pinhole on the side of the device) using a
pin/paperclip for approx. 5 seconds. The led will turn on, then start blinking while the
pairing process is in progress.
<!-- Notes END: Do not edit below this line -->



## Exposes

### Presence (binary)
Indicates whether the device detected presence.
Value can be found in the published state on the `presence` property.
It's not possible to read (`/get`) or write (`/set`) this value.
If value equals `true` presence is ON, if `false` OFF.

### Motion state (enum)
Indicates the motion state detected by the device (large movements, small movements, static).
Value can be found in the published state on the `Motion state` property.
It's not possible to read (`/get`) or write (`/set`) this value.
If value equals 0:'none', 1:'large', 2:'small', 3:'static'

### Illuminance (numeric)
Raw measured illuminance.
Value can be found in the published state on the `illuminance` property.
It's not possible to read (`/get`) or write (`/set`) this value.
The unit of this value is `lx`.

### Large motion detection distance (numeric)
Value can be found in the published state on the `large_motion_detection_distance` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"large_motion_detection_distance": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `10`.
The unit of this value is `m`.

### Large motion detection sensitivity (numeric)
Value can be found in the published state on the `large_motion_detection_sensitivity` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"large_motion_detection_sensitivity": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `9`.The higher the value, the more sensitive it is.

### Small motion detection distance (numeric)
Value can be found in the published state on the `small_motion_detection_distance` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{small_motion_detection_distance": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `6`.
The unit of this value is `m`.

### Small motion detection sensitivity (numeric)
Value can be found in the published state on the `small_motion_detection_sensitivity` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"small_motion_detection_sensitivity": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `9`. The higher the value, the more sensitive it is.

### Static detection distance (numeric)
Value can be found in the published state on the `static_motion_detection_distance` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"static_motion_detection_distance": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `6`.
The unit of this value is `m`.

### Static detection sensitivity (numeric)
Value can be found in the published state on the `static_detection_sensitivity` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"static_detection_sensitivity": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `9`. The higher the value, the more sensitive it is.


### Fading_time (numeric)
Fading time.
Value can be found in the published state on the `fading_time` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"fading_time": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `3600`.
The unit of this value is `s`.

### Indicator (binary)
You can turn the indicator on or off
Value can be found in the published state on the `indicator` property.
It's possible to read (`/get`) or write (`/set`) this value.
If value equals `true` presence is ON, if `false` OFF.

### Linkquality (numeric)
Link quality (signal strength).
Value can be found in the published state on the `linkquality` property.
It's not possible to read (`/get`) or write (`/set`) this value.
The minimal value is `0` and the maximum value is `255`.
The unit of this value is `lqi`.
125 changes: 125 additions & 0 deletions docs/devices/ZG-205ZL.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,125 @@
---
title: "TuYa ZG-205ZL control via MQTT"
description: "Integrate your TuYa ZG-205ZL via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway."
addedAt: 2023-08-19T9:25:00
pageClass: device-page
---

<!-- !!!! -->
<!-- ATTENTION: This file is auto-generated through docgen! -->
<!-- You can only edit the "Notes"-Section between the two comment lines "Notes BEGIN" and "Notes END". -->
<!-- Do not use h1 or h2 heading within "## Notes"-Section. -->
<!-- !!!! -->

# TuYa ZG-205ZL

| | |
|-----|-----|
| Model | ZG-205ZL |
| Vendor | TuYa |
| Description |24Ghz human presence sensor |
| Exposes | Presence, illuminance, Motion state, Large motion detection distance,Large motion detection sensitivity, Small motion detection distance,Small motion detection sensitivity,Static detection distance,Static detection sensitivity,Fading_time,indicator,linkquality |
| Picture | ![TuYa ZG-205ZL](https://www.zigbee2mqtt.io/images/devices/ZG-205ZL.jpg) |


<!-- Notes BEGIN: You can edit here. Add "## Notes" headline if not already present. -->
## Notes

### Pairing
To start pairing, press the button (pinhole on the side of the device) using a
pin/paperclip for approx. 5 seconds. The led will turn on, then start blinking while the
pairing process is in progress.
<!-- Notes END: Do not edit below this line -->



## Exposes

### Presence (binary)
Indicates whether the device detected presence.
Value can be found in the published state on the `presence` property.
It's not possible to read (`/get`) or write (`/set`) this value.
If value equals `true` presence is ON, if `false` OFF.

### Motion state (enum)
Indicates the motion state detected by the device (large movements, small movements, static).
Value can be found in the published state on the `Motion state` property.
It's not possible to read (`/get`) or write (`/set`) this value.
If value equals 0:'none', 1:'large', 2:'small', 3:'static'

### Illuminance (numeric)
Raw measured illuminance.
Value can be found in the published state on the `illuminance` property.
It's not possible to read (`/get`) or write (`/set`) this value.
The unit of this value is `lx`.

### Large motion detection distance (numeric)
Value can be found in the published state on the `large_motion_detection_distance` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"large_motion_detection_distance": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `10`.
The unit of this value is `m`.

### Large motion detection sensitivity (numeric)
Value can be found in the published state on the `large_motion_detection_sensitivity` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"large_motion_detection_sensitivity": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `9`.The higher the value, the more sensitive it is.

### Small motion detection distance (numeric)
Value can be found in the published state on the `small_motion_detection_distance` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{small_motion_detection_distance": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `6`.
The unit of this value is `m`.

### Small motion detection sensitivity (numeric)
Value can be found in the published state on the `small_motion_detection_sensitivity` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"small_motion_detection_sensitivity": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `9`. The higher the value, the more sensitive it is.

### Static detection distance (numeric)
Value can be found in the published state on the `static_motion_detection_distance` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"static_motion_detection_distance": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `6`.
The unit of this value is `m`.

### Static detection sensitivity (numeric)
Value can be found in the published state on the `static_detection_sensitivity` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"static_detection_sensitivity": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `9`. The higher the value, the more sensitive it is.


### Fading_time (numeric)
Fading time.
Value can be found in the published state on the `fading_time` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"fading_time": NEW_VALUE}`.
The minimal value is `0` and the maximum value is `3600`.
The unit of this value is `s`.

### Working mode (enum)
Indicates the working mode by the device (arm, off, alarm,doorbell).
Value can be found in the published state on the `Working mode` property.
It's possible to read (`/get`) or write (`/set`) this value.
If value equals 0:'arm', 1:'off', 2:'alarm', 3:'doorbell'


### Alarm Volume (enum)
Value can be found in the published state on the `alarm_volume` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"alarm_volume": NEW_VALUE}`.
value equals 0:'low', 1:'medium', 2:'high', 3:'mute'

### Alarm time (enum)
Value can be found in the published state on the `alarm_time` property.
To write (`/set`) a value publish a message to topic `zigbee2mqtt/FRIENDLY_NAME/set` with payload `{"alarm_time": NEW_VALUE}`.
The unit of this value is `minute`.

### Light mode (binary)
You can turn the indicator on or off
Value can be found in the published state on the `light_mode` property.
It's possible to read (`/get`) or write (`/set`) this value.
If value equals `true` presence is ON, if `false` OFF.

### Linkquality (numeric)
Link quality (signal strength).
Value can be found in the published state on the `linkquality` property.
It's not possible to read (`/get`) or write (`/set`) this value.
The minimal value is `0` and the maximum value is `255`.
The unit of this value is `lqi`.
27 changes: 8 additions & 19 deletions docs/devices/ZG-225Z.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "TuYa ZG-225Z control via MQTT"
description: "Integrate your TuYa ZG-225Z via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway."
description: "Integrate your TuYa ZG-227ZL via Zigbee2MQTT with whatever smart home infrastructure you are using without the vendor's bridge or gateway."
addedAt: 2022-11-09T12:35:00Z
pageClass: device-page
---
Expand All @@ -16,9 +16,9 @@ pageClass: device-page
| | |
|-----|-----|
| Model | ZG-225Z |
| Vendor | [TuYa](/supported-devices/#v=TuYa) |
| Description | Gas sensor |
| Exposes | gas, gas_value, linkquality |
| Vendor | TuYa |
| Description | Gas detection sensor |
| Exposes | gas, gas_value |
| Picture | ![TuYa ZG-225Z](https://www.zigbee2mqtt.io/images/devices/ZG-225Z.jpg) |


Expand All @@ -32,26 +32,15 @@ pairing process is in progress.
<!-- Notes END: Do not edit below this line -->


## Options



## Exposes

### Gas (binary)
### Gas (boolean)
Indicates whether the device detected gas.
Value can be found in the published state on the `gas` property.
It's not possible to read (`/get`) or write (`/set`) this value.
If value equals `true` gas is ON, if `false` OFF.

### Gas_value (numeric)
Measured gas concentration.
Value can be found in the published state on the `gas_value` property.
It's not possible to read (`/get`) or write (`/set`) this value.
The unit of this value is `ppm`.

### Linkquality (numeric)
Link quality (signal strength).
Value can be found in the published state on the `linkquality` property.
It's not possible to read (`/get`) or write (`/set`) this value.
The minimal value is `0` and the maximum value is `255`.
The unit of this value is `lqi`.

0~1000ppm
Loading

0 comments on commit 57dbe0f

Please sign in to comment.