Skip to content

Commit 149d3f2

Browse files
committed
* Get device status response for Relay Switch 1,1PM,2PM
* Add the `hubDeviceId` field for each device.
1 parent 0c19b94 commit 149d3f2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2145,6 +2145,7 @@ The `body` object contains the following properties,
21452145
| power | Float | the current power, measured in Watts |
21462146
| usedElectricity | Integer | daily power consumption, measured in watt-minutes |
21472147
| electricCurrent | Integer | the electrical current measured in mA |
2148+
| hubDeviceId | String | Hub ID, equivalent to device ID |
21482149

21492150
##### Relay Switch 1
21502151

@@ -2154,6 +2155,7 @@ The `body` object contains the following properties,
21542155
| deviceType | String | device type. *Relay Switch 1* |
21552156
| switchStatus | Integer | the current switch state. `0`, off; `1`, on |
21562157
| version | String | the current BLE and Wi-Fi firmware version, e.g. V3.1-6.3 |
2158+
| hubDeviceId | String | Hub ID, equivalent to device ID |
21572159

21582160
##### Relay Switch 2PM
21592161

@@ -2173,6 +2175,7 @@ The `body` object contains the following properties,
21732175
| switch2UsedElectricity | Integer | switch2 daily power consumption, measured in watt-minutes |
21742176
| switch1ElectricCurrent | Integer | the switch1 electrical current measured in mA |
21752177
| switch2ElectricCurrent | Integer | the switch2 electrical current measured in mA |
2178+
| hubDeviceId | String | Hub ID, equivalent to device ID |
21762179

21772180

21782181
##### Garage Door Opener

0 commit comments

Comments
 (0)