Skip to content

Commit fd707be

Browse files
authored
Merge pull request #409 from Likewindovo0830/20250611
Add clarification to the battery values for several device types.
2 parents 795a97b + 0dee262 commit fd707be

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.DS_Store

6 KB
Binary file not shown.

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1699,7 +1699,7 @@ The `body` object contains the following properties,
16991699
| deviceId | String | device ID |
17001700
| deviceType | String | device type. *Bot* |
17011701
| power | String | ON/OFF state |
1702-
| battery | Integer | the current battery level, 0-100 |
1702+
| battery | Integer | Four-segment battery level division,`<10%, shown as 9;10%~20%, shown as 19;20%~60%, shown as 59;≥60%, shown as 100`|
17031703
| version | String | the current firmware version, e.g. V6.3 |
17041704
| deviceMode | String | *pressMode*, *switchMode*, or *customizeMode* |
17051705
| hubDeviceId | String | device's parent Hub ID |
@@ -1713,7 +1713,7 @@ The `body` object contains the following properties,
17131713
| calibrate | Boolean | determines if the open position and the close position of a device have been properly calibrated or not |
17141714
| group | Boolean | determines if a Curtain is paired with or grouped with another Curtain or not |
17151715
| moving | Boolean | determines if a Curtain is moving or not |
1716-
| battery | Integer | the current battery level, 0-100 |
1716+
| battery | Integer | Four-segment battery level division,`<10%, shown as 5;10%~20%, shown as 15;20%~60%, shown as 40;≥60%, shown as 80`|
17171717
| version | String | the current firmware version, e.g. V4.2 |
17181718
| slidePosition | String | the percentage of the distance between the calibrated open position and closed position that Curtain has traversed |
17191719

@@ -1726,7 +1726,7 @@ The `body` object contains the following properties,
17261726
| calibrate | Boolean | determines if the open position and the close position of a device have been properly calibrated or not |
17271727
| group | Boolean | determines if a Curtain is paired with or grouped with another Curtain or not |
17281728
| moving | Boolean | determines if a Curtain is moving or not |
1729-
| battery | Integer | the current battery level, 0-100 |
1729+
| battery | Integer | Four-segment battery level division,`<10%, shown as 5;10%~20%, shown as 15;20%~60%, shown as 40;≥60%, shown as 80`|
17301730
| version | String | the current firmware version, e.g. V4.2 |
17311731
| slidePosition | String | the percentage of the distance between the calibrated open position and closed position that Curtain has traversed |
17321732

@@ -1738,7 +1738,7 @@ The `body` object contains the following properties,
17381738
| hubDeviceId | String | device's parent Hub ID |
17391739
| temperature | Float | temperature in celsius |
17401740
| version | String | the current firmware version, e.g. V4.2 |
1741-
| battery | Integer | the current battery level, 0-100 |
1741+
| battery | Integer | Four-segment battery level division,`<10%, shown as 10;10%~20%, shown as 20;20%~60%, shown as 60;≥60%, shown as 100`|
17421742
| humidity | Integer | humidity percentage |
17431743

17441744

@@ -1748,7 +1748,7 @@ The `body` object contains the following properties,
17481748
| deviceId | String | device ID |
17491749
| deviceType | String | device type. *MeterPlus* |
17501750
| hubDeviceId | String | device's parent Hub ID |
1751-
| battery | Integer | the current battery level, 0-100 |
1751+
| battery | Integer | Four-segment battery level division,`<10%, shown as 10;10%~20%, shown as 20;20%~60%, shown as 60;≥60%, shown as 100`|
17521752
| version | String | the current firmware version, e.g. V4.2 |
17531753
| temperature | Float | temperature in celsius |
17541754
| humidity | Integer | humidity percentage |
@@ -1759,7 +1759,7 @@ The `body` object contains the following properties,
17591759
| deviceId | String | device ID |
17601760
| deviceType | String | device type. *WoIOSensor* |
17611761
| hubDeviceId | String | device's parent Hub ID |
1762-
| battery | Integer | the current battery level, 0-100 |
1762+
| battery | Integer | Four-segment battery level division,`<10%, shown as 10;10%~20%, shown as 20;20%~60%, shown as 60;≥60%, shown as 100`|
17631763
| version | String | the current firmware version, e.g. V4.2 |
17641764
| temperature | Float | temperature in celsius |
17651765
| humidity | Integer | humidity percentage |
@@ -1796,7 +1796,7 @@ The `body` object contains the following properties,
17961796
| deviceId | String | device ID |
17971797
| deviceType | String | device type. *Smart Lock* |
17981798
| hubDeviceId | String | device's parent Hub ID |
1799-
| battery | Integer | the current battery level, 0-100 |
1799+
| battery | Integer | Four-segment battery level division,`<10%, shown as 10;10%~20%, shown as 20;20%~60%, shown as 60;≥60%, shown as 100`|
18001800
| version | String | the current firmware version, e.g. V4.2 |
18011801
| lockState | String | determines if locked or not |
18021802
| doorState | String | determines if the door is closed or not |
@@ -1837,7 +1837,7 @@ The `body` object contains the following properties,
18371837
| deviceId | String | device ID |
18381838
| deviceType | String | device type. *Motion Sensor* |
18391839
| hubDeviceId | String | device's parent Hub ID |
1840-
| battery | Integer | the current battery level, 0-100 |
1840+
| battery | Integer | Four-segment battery level division,`<10%, shown as 10;10%~20%, shown as 20;20%~60%, shown as 60;≥60%, shown as 100`|
18411841
| version | String | the current firmware version, e.g. V4.2 |
18421842
| moveDetected | Boolean | determines if motion is detected |
18431843
| brightness | String | the ambient brightness picked up by the sensor. *bright* or *dim* |
@@ -1849,7 +1849,7 @@ The `body` object contains the following properties,
18491849
| deviceId | String | device ID |
18501850
| deviceType | String | device type. *Contact Sensor* |
18511851
| hubDeviceId | String | device's parent Hub ID |
1852-
| battery | Integer | the current battery level, 0-100 |
1852+
| battery | Integer | Four-segment battery level division,`<10%, shown as 10;10%~20%, shown as 20;20%~60%, shown as 60;≥60%, shown as 100`|
18531853
| version | String | the current firmware version, e.g. V4.2 |
18541854
| moveDetected | Boolean | determines if motion is detected |
18551855
| openState | String | the open state of the sensor. *open*, *close*, or *timeOutNotClose* |

0 commit comments

Comments
 (0)