tsvesync 1.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +227 -0
- package/api/vesync/VeSync.yaml +33 -0
- package/api/vesyncbulb/ESL100.yaml +74 -0
- package/api/vesyncbulb/ESL100CW.yaml +123 -0
- package/api/vesyncbulb/ESL100MC.yaml +169 -0
- package/api/vesyncbulb/XYD0001.yaml +193 -0
- package/api/vesyncfan/Classic200S.yaml +280 -0
- package/api/vesyncfan/Classic300S.yaml +278 -0
- package/api/vesyncfan/Core200S.yaml +256 -0
- package/api/vesyncfan/Core300S.yaml +281 -0
- package/api/vesyncfan/Core400S.yaml +281 -0
- package/api/vesyncfan/Core600S.yaml +281 -0
- package/api/vesyncfan/Dual200S.yaml +278 -0
- package/api/vesyncfan/LAP-C201S-AUSR.yaml +256 -0
- package/api/vesyncfan/LAP-C202S-WUSR.yaml +256 -0
- package/api/vesyncfan/LAP-C301S-WAAA.yaml +281 -0
- package/api/vesyncfan/LAP-C301S-WJP.yaml +281 -0
- package/api/vesyncfan/LAP-C302S-WUSB.yaml +281 -0
- package/api/vesyncfan/LAP-C401S-WAAA.yaml +281 -0
- package/api/vesyncfan/LAP-C401S-WJP.yaml +281 -0
- package/api/vesyncfan/LAP-C401S-WUSR.yaml +281 -0
- package/api/vesyncfan/LAP-C601S-WEU.yaml +281 -0
- package/api/vesyncfan/LAP-C601S-WUS.yaml +281 -0
- package/api/vesyncfan/LAP-C601S-WUSR.yaml +281 -0
- package/api/vesyncfan/LAP-EL551S-AEUR.yaml +167 -0
- package/api/vesyncfan/LAP-EL551S-AUS.yaml +167 -0
- package/api/vesyncfan/LAP-EL551S-WEU.yaml +167 -0
- package/api/vesyncfan/LAP-EL551S-WUS.yaml +167 -0
- package/api/vesyncfan/LAP-V102S-AASR.yaml +167 -0
- package/api/vesyncfan/LAP-V102S-AUSR.yaml +167 -0
- package/api/vesyncfan/LAP-V102S-WEU.yaml +167 -0
- package/api/vesyncfan/LAP-V102S-WJP.yaml +167 -0
- package/api/vesyncfan/LAP-V102S-WUS.yaml +167 -0
- package/api/vesyncfan/LAP-V201-AUSR.yaml +167 -0
- package/api/vesyncfan/LAP-V201S-AASR.yaml +167 -0
- package/api/vesyncfan/LAP-V201S-AEUR.yaml +167 -0
- package/api/vesyncfan/LAP-V201S-AUSR.yaml +167 -0
- package/api/vesyncfan/LAP-V201S-WEU.yaml +167 -0
- package/api/vesyncfan/LAP-V201S-WJP.yaml +167 -0
- package/api/vesyncfan/LAP-V201S-WUS.yaml +167 -0
- package/api/vesyncfan/LEH-S601S-WUS.yaml +303 -0
- package/api/vesyncfan/LEH-S601S-WUSR.yaml +82 -0
- package/api/vesyncfan/LTF-F422S-KEU.yaml +165 -0
- package/api/vesyncfan/LTF-F422S-WUS.yaml +165 -0
- package/api/vesyncfan/LTF-F422S-WUSR.yaml +167 -0
- package/api/vesyncfan/LTF-F422_WJP.yaml +165 -0
- package/api/vesyncfan/LUH-A601S-AUSW.yaml +82 -0
- package/api/vesyncfan/LUH-A601S-WUSB.yaml +305 -0
- package/api/vesyncfan/LUH-A602S-WEU.yaml +305 -0
- package/api/vesyncfan/LUH-A602S-WEUR.yaml +305 -0
- package/api/vesyncfan/LUH-A602S-WJP.yaml +305 -0
- package/api/vesyncfan/LUH-A602S-WUS.yaml +305 -0
- package/api/vesyncfan/LUH-A602S-WUSC.yaml +305 -0
- package/api/vesyncfan/LUH-A602S-WUSR.yaml +305 -0
- package/api/vesyncfan/LUH-D301S-WEU.yaml +305 -0
- package/api/vesyncfan/LUH-D301S-WJP.yaml +305 -0
- package/api/vesyncfan/LUH-D301S-WUSR.yaml +305 -0
- package/api/vesyncfan/LUH-M101S-WUS.yaml +278 -0
- package/api/vesyncfan/LUH-O451S-WEU.yaml +278 -0
- package/api/vesyncfan/LUH-O451S-WUS.yaml +278 -0
- package/api/vesyncfan/LUH-O451S-WUSR.yaml +305 -0
- package/api/vesyncfan/LUH-O601S-KUS.yaml +305 -0
- package/api/vesyncfan/LUH-O601S-WUS.yaml +305 -0
- package/api/vesyncfan/LV-PUR131S.yaml +108 -0
- package/api/vesyncfan/LV-RH131S.yaml +108 -0
- package/api/vesyncoutlet/ESO15-TB.yaml +124 -0
- package/api/vesyncoutlet/ESW01-EU.yaml +122 -0
- package/api/vesyncoutlet/ESW03-USA.yaml +122 -0
- package/api/vesyncoutlet/ESW15-USA.yaml +156 -0
- package/api/vesyncoutlet/wifi-switch-1.3.yaml +60 -0
- package/api/vesyncswitch/ESWD16.yaml +128 -0
- package/api/vesyncswitch/ESWL01.yaml +56 -0
- package/api/vesyncswitch/ESWL03.yaml +56 -0
- package/dist/lib/helpers.d.ts +87 -0
- package/dist/lib/helpers.js +222 -0
- package/dist/lib/helpers.js.map +1 -0
- package/dist/lib/vesync.d.ts +47 -0
- package/dist/lib/vesync.js +309 -0
- package/dist/lib/vesync.js.map +1 -0
- package/dist/lib/vesyncBaseDevice.d.ts +68 -0
- package/dist/lib/vesyncBaseDevice.js +116 -0
- package/dist/lib/vesyncBaseDevice.js.map +1 -0
- package/dist/lib/vesyncBulb.d.ts +0 -0
- package/dist/lib/vesyncBulb.js +2 -0
- package/dist/lib/vesyncBulb.js.map +1 -0
- package/dist/lib/vesyncFan.d.ts +92 -0
- package/dist/lib/vesyncFan.js +265 -0
- package/dist/lib/vesyncFan.js.map +1 -0
- package/dist/lib/vesyncKitchen.d.ts +0 -0
- package/dist/lib/vesyncKitchen.js +2 -0
- package/dist/lib/vesyncKitchen.js.map +1 -0
- package/dist/lib/vesyncOutlet.d.ts +0 -0
- package/dist/lib/vesyncOutlet.js +2 -0
- package/dist/lib/vesyncOutlet.js.map +1 -0
- package/dist/lib/vesyncSwitch.d.ts +0 -0
- package/dist/lib/vesyncSwitch.js +2 -0
- package/dist/lib/vesyncSwitch.js.map +1 -0
- package/dist/src/lib/helpers.d.ts +88 -0
- package/dist/src/lib/helpers.js +244 -0
- package/dist/src/lib/vesync.d.ts +89 -0
- package/dist/src/lib/vesync.js +430 -0
- package/dist/src/lib/vesyncBaseDevice.d.ts +43 -0
- package/dist/src/lib/vesyncBaseDevice.js +87 -0
- package/dist/src/lib/vesyncBulb.d.ts +79 -0
- package/dist/src/lib/vesyncBulb.js +198 -0
- package/dist/src/lib/vesyncBulbImpl.d.ts +38 -0
- package/dist/src/lib/vesyncBulbImpl.js +161 -0
- package/dist/src/lib/vesyncFan.d.ts +80 -0
- package/dist/src/lib/vesyncFan.js +406 -0
- package/dist/src/lib/vesyncFanImpl.d.ts +137 -0
- package/dist/src/lib/vesyncFanImpl.js +643 -0
- package/dist/src/lib/vesyncOutlet.d.ts +53 -0
- package/dist/src/lib/vesyncOutlet.js +98 -0
- package/dist/src/lib/vesyncOutletImpl.d.ts +70 -0
- package/dist/src/lib/vesyncOutletImpl.js +206 -0
- package/dist/src/lib/vesyncSwitch.d.ts +169 -0
- package/dist/src/lib/vesyncSwitch.js +414 -0
- package/dist/src/lib/vesyncSwitchImpl.d.ts +82 -0
- package/dist/src/lib/vesyncSwitchImpl.js +290 -0
- package/dist/test/testFeatures.d.ts +4 -0
- package/dist/test/testFeatures.js +394 -0
- package/dist/test/testService.d.ts +62 -0
- package/dist/test/testService.js +540 -0
- package/dist/test/testSpecial.d.ts +5 -0
- package/dist/test/testSpecial.js +227 -0
- package/package.json +53 -0
- package/src/lib/helpers.ts +290 -0
- package/src/lib/vesync.ts +530 -0
- package/src/lib/vesyncBaseDevice.ts +114 -0
- package/src/lib/vesyncBulb.ts +252 -0
- package/src/lib/vesyncBulbImpl.ts +215 -0
- package/src/lib/vesyncFan.ts +447 -0
- package/src/lib/vesyncFanImpl.ts +848 -0
- package/src/lib/vesyncOutlet.ts +148 -0
- package/src/lib/vesyncOutletImpl.ts +284 -0
- package/src/lib/vesyncSwitch.ts +546 -0
- package/src/lib/vesyncSwitchImpl.ts +408 -0
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
change_fan_speed:
|
|
2
|
+
headers:
|
|
3
|
+
accept-language: en
|
|
4
|
+
accountId: sample_id
|
|
5
|
+
appVersion: 2.8.6
|
|
6
|
+
content-type: application/json
|
|
7
|
+
tk: sample_tk
|
|
8
|
+
tz: America/New_York
|
|
9
|
+
json_object:
|
|
10
|
+
acceptLanguage: en
|
|
11
|
+
accountID: sample_id
|
|
12
|
+
level: 3
|
|
13
|
+
timeZone: America/New_York
|
|
14
|
+
token: sample_tk
|
|
15
|
+
uuid: LV-PUR131S-UUID
|
|
16
|
+
method: put
|
|
17
|
+
url: /131airPurifier/v1/device/updateSpeed
|
|
18
|
+
manual_mode:
|
|
19
|
+
headers:
|
|
20
|
+
accept-language: en
|
|
21
|
+
accountId: sample_id
|
|
22
|
+
appVersion: 2.8.6
|
|
23
|
+
content-type: application/json
|
|
24
|
+
tk: sample_tk
|
|
25
|
+
tz: America/New_York
|
|
26
|
+
json_object:
|
|
27
|
+
acceptLanguage: en
|
|
28
|
+
accountID: sample_id
|
|
29
|
+
level: 1
|
|
30
|
+
mode: manual
|
|
31
|
+
timeZone: America/New_York
|
|
32
|
+
token: sample_tk
|
|
33
|
+
uuid: LV-PUR131S-UUID
|
|
34
|
+
method: put
|
|
35
|
+
url: /131airPurifier/v1/device/updateMode
|
|
36
|
+
sleep_mode:
|
|
37
|
+
headers:
|
|
38
|
+
accept-language: en
|
|
39
|
+
accountId: sample_id
|
|
40
|
+
appVersion: 2.8.6
|
|
41
|
+
content-type: application/json
|
|
42
|
+
tk: sample_tk
|
|
43
|
+
tz: America/New_York
|
|
44
|
+
json_object:
|
|
45
|
+
acceptLanguage: en
|
|
46
|
+
accountID: sample_id
|
|
47
|
+
mode: sleep
|
|
48
|
+
timeZone: America/New_York
|
|
49
|
+
token: sample_tk
|
|
50
|
+
uuid: LV-PUR131S-UUID
|
|
51
|
+
method: put
|
|
52
|
+
url: /131airPurifier/v1/device/updateMode
|
|
53
|
+
turn_off:
|
|
54
|
+
headers:
|
|
55
|
+
accept-language: en
|
|
56
|
+
accountId: sample_id
|
|
57
|
+
appVersion: 2.8.6
|
|
58
|
+
content-type: application/json
|
|
59
|
+
tk: sample_tk
|
|
60
|
+
tz: America/New_York
|
|
61
|
+
json_object:
|
|
62
|
+
acceptLanguage: en
|
|
63
|
+
accountID: sample_id
|
|
64
|
+
status: 'off'
|
|
65
|
+
timeZone: America/New_York
|
|
66
|
+
token: sample_tk
|
|
67
|
+
uuid: LV-PUR131S-UUID
|
|
68
|
+
method: put
|
|
69
|
+
url: /131airPurifier/v1/device/deviceStatus
|
|
70
|
+
turn_on:
|
|
71
|
+
headers:
|
|
72
|
+
accept-language: en
|
|
73
|
+
accountId: sample_id
|
|
74
|
+
appVersion: 2.8.6
|
|
75
|
+
content-type: application/json
|
|
76
|
+
tk: sample_tk
|
|
77
|
+
tz: America/New_York
|
|
78
|
+
json_object:
|
|
79
|
+
acceptLanguage: en
|
|
80
|
+
accountID: sample_id
|
|
81
|
+
status: 'on'
|
|
82
|
+
timeZone: America/New_York
|
|
83
|
+
token: sample_tk
|
|
84
|
+
uuid: LV-PUR131S-UUID
|
|
85
|
+
method: put
|
|
86
|
+
url: /131airPurifier/v1/device/deviceStatus
|
|
87
|
+
update:
|
|
88
|
+
headers:
|
|
89
|
+
accept-language: en
|
|
90
|
+
accountId: sample_id
|
|
91
|
+
appVersion: 2.8.6
|
|
92
|
+
content-type: application/json
|
|
93
|
+
tk: sample_tk
|
|
94
|
+
tz: America/New_York
|
|
95
|
+
json_object:
|
|
96
|
+
acceptLanguage: en
|
|
97
|
+
accountID: sample_id
|
|
98
|
+
appVersion: 2.8.6
|
|
99
|
+
method: devicedetail
|
|
100
|
+
mobileId: '1234567890123456'
|
|
101
|
+
phoneBrand: SM N9005
|
|
102
|
+
phoneOS: Android
|
|
103
|
+
timeZone: America/New_York
|
|
104
|
+
token: sample_tk
|
|
105
|
+
traceId: TRACE_ID
|
|
106
|
+
uuid: LV-PUR131S-UUID
|
|
107
|
+
method: post
|
|
108
|
+
url: /131airPurifier/v1/device/deviceDetail
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
get_monthly_energy:
|
|
2
|
+
headers:
|
|
3
|
+
accept-language: en
|
|
4
|
+
accountId: sample_id
|
|
5
|
+
appVersion: 2.8.6
|
|
6
|
+
content-type: application/json
|
|
7
|
+
tk: sample_tk
|
|
8
|
+
tz: America/New_York
|
|
9
|
+
json_object:
|
|
10
|
+
acceptLanguage: en
|
|
11
|
+
accountID: sample_id
|
|
12
|
+
appVersion: 2.8.6
|
|
13
|
+
method: energymonth
|
|
14
|
+
mobileId: '1234567890123456'
|
|
15
|
+
phoneBrand: SM N9005
|
|
16
|
+
phoneOS: Android
|
|
17
|
+
timeZone: America/New_York
|
|
18
|
+
token: sample_tk
|
|
19
|
+
traceId: TRACE_ID
|
|
20
|
+
uuid: ESO15-TB-UUID
|
|
21
|
+
method: post
|
|
22
|
+
url: /outdoorsocket15a/v1/device/energymonth
|
|
23
|
+
get_weekly_energy:
|
|
24
|
+
headers:
|
|
25
|
+
accept-language: en
|
|
26
|
+
accountId: sample_id
|
|
27
|
+
appVersion: 2.8.6
|
|
28
|
+
content-type: application/json
|
|
29
|
+
tk: sample_tk
|
|
30
|
+
tz: America/New_York
|
|
31
|
+
json_object:
|
|
32
|
+
acceptLanguage: en
|
|
33
|
+
accountID: sample_id
|
|
34
|
+
appVersion: 2.8.6
|
|
35
|
+
method: energyweek
|
|
36
|
+
mobileId: '1234567890123456'
|
|
37
|
+
phoneBrand: SM N9005
|
|
38
|
+
phoneOS: Android
|
|
39
|
+
timeZone: America/New_York
|
|
40
|
+
token: sample_tk
|
|
41
|
+
traceId: TRACE_ID
|
|
42
|
+
uuid: ESO15-TB-UUID
|
|
43
|
+
method: post
|
|
44
|
+
url: /outdoorsocket15a/v1/device/energyweek
|
|
45
|
+
get_yearly_energy:
|
|
46
|
+
headers:
|
|
47
|
+
accept-language: en
|
|
48
|
+
accountId: sample_id
|
|
49
|
+
appVersion: 2.8.6
|
|
50
|
+
content-type: application/json
|
|
51
|
+
tk: sample_tk
|
|
52
|
+
tz: America/New_York
|
|
53
|
+
json_object:
|
|
54
|
+
acceptLanguage: en
|
|
55
|
+
accountID: sample_id
|
|
56
|
+
appVersion: 2.8.6
|
|
57
|
+
method: energyyear
|
|
58
|
+
mobileId: '1234567890123456'
|
|
59
|
+
phoneBrand: SM N9005
|
|
60
|
+
phoneOS: Android
|
|
61
|
+
timeZone: America/New_York
|
|
62
|
+
token: sample_tk
|
|
63
|
+
traceId: TRACE_ID
|
|
64
|
+
uuid: ESO15-TB-UUID
|
|
65
|
+
method: post
|
|
66
|
+
url: /outdoorsocket15a/v1/device/energyyear
|
|
67
|
+
turn_off:
|
|
68
|
+
headers:
|
|
69
|
+
accept-language: en
|
|
70
|
+
accountId: sample_id
|
|
71
|
+
appVersion: 2.8.6
|
|
72
|
+
content-type: application/json
|
|
73
|
+
tk: sample_tk
|
|
74
|
+
tz: America/New_York
|
|
75
|
+
json_object:
|
|
76
|
+
acceptLanguage: en
|
|
77
|
+
accountID: sample_id
|
|
78
|
+
status: 'off'
|
|
79
|
+
switchNo: 1
|
|
80
|
+
timeZone: America/New_York
|
|
81
|
+
token: sample_tk
|
|
82
|
+
uuid: ESO15-TB-UUID
|
|
83
|
+
method: put
|
|
84
|
+
url: /outdoorsocket15a/v1/device/devicestatus
|
|
85
|
+
turn_on:
|
|
86
|
+
headers:
|
|
87
|
+
accept-language: en
|
|
88
|
+
accountId: sample_id
|
|
89
|
+
appVersion: 2.8.6
|
|
90
|
+
content-type: application/json
|
|
91
|
+
tk: sample_tk
|
|
92
|
+
tz: America/New_York
|
|
93
|
+
json_object:
|
|
94
|
+
acceptLanguage: en
|
|
95
|
+
accountID: sample_id
|
|
96
|
+
status: 'on'
|
|
97
|
+
switchNo: 1
|
|
98
|
+
timeZone: America/New_York
|
|
99
|
+
token: sample_tk
|
|
100
|
+
uuid: ESO15-TB-UUID
|
|
101
|
+
method: put
|
|
102
|
+
url: /outdoorsocket15a/v1/device/devicestatus
|
|
103
|
+
update:
|
|
104
|
+
headers:
|
|
105
|
+
accept-language: en
|
|
106
|
+
accountId: sample_id
|
|
107
|
+
appVersion: 2.8.6
|
|
108
|
+
content-type: application/json
|
|
109
|
+
tk: sample_tk
|
|
110
|
+
tz: America/New_York
|
|
111
|
+
json_object:
|
|
112
|
+
acceptLanguage: en
|
|
113
|
+
accountID: sample_id
|
|
114
|
+
appVersion: 2.8.6
|
|
115
|
+
method: devicedetail
|
|
116
|
+
mobileId: '1234567890123456'
|
|
117
|
+
phoneBrand: SM N9005
|
|
118
|
+
phoneOS: Android
|
|
119
|
+
timeZone: America/New_York
|
|
120
|
+
token: sample_tk
|
|
121
|
+
traceId: TRACE_ID
|
|
122
|
+
uuid: ESO15-TB-UUID
|
|
123
|
+
method: post
|
|
124
|
+
url: /outdoorsocket15a/v1/device/devicedetail
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
get_monthly_energy:
|
|
2
|
+
headers:
|
|
3
|
+
accept-language: en
|
|
4
|
+
accountId: sample_id
|
|
5
|
+
appVersion: 2.8.6
|
|
6
|
+
content-type: application/json
|
|
7
|
+
tk: sample_tk
|
|
8
|
+
tz: America/New_York
|
|
9
|
+
json_object:
|
|
10
|
+
acceptLanguage: en
|
|
11
|
+
accountID: sample_id
|
|
12
|
+
appVersion: 2.8.6
|
|
13
|
+
method: energymonth
|
|
14
|
+
mobileId: '1234567890123456'
|
|
15
|
+
phoneBrand: SM N9005
|
|
16
|
+
phoneOS: Android
|
|
17
|
+
timeZone: America/New_York
|
|
18
|
+
token: sample_tk
|
|
19
|
+
traceId: TRACE_ID
|
|
20
|
+
uuid: ESW01-EU-UUID
|
|
21
|
+
method: post
|
|
22
|
+
url: /10a/v1/device/energymonth
|
|
23
|
+
get_weekly_energy:
|
|
24
|
+
headers:
|
|
25
|
+
accept-language: en
|
|
26
|
+
accountId: sample_id
|
|
27
|
+
appVersion: 2.8.6
|
|
28
|
+
content-type: application/json
|
|
29
|
+
tk: sample_tk
|
|
30
|
+
tz: America/New_York
|
|
31
|
+
json_object:
|
|
32
|
+
acceptLanguage: en
|
|
33
|
+
accountID: sample_id
|
|
34
|
+
appVersion: 2.8.6
|
|
35
|
+
method: energyweek
|
|
36
|
+
mobileId: '1234567890123456'
|
|
37
|
+
phoneBrand: SM N9005
|
|
38
|
+
phoneOS: Android
|
|
39
|
+
timeZone: America/New_York
|
|
40
|
+
token: sample_tk
|
|
41
|
+
traceId: TRACE_ID
|
|
42
|
+
uuid: ESW01-EU-UUID
|
|
43
|
+
method: post
|
|
44
|
+
url: /10a/v1/device/energyweek
|
|
45
|
+
get_yearly_energy:
|
|
46
|
+
headers:
|
|
47
|
+
accept-language: en
|
|
48
|
+
accountId: sample_id
|
|
49
|
+
appVersion: 2.8.6
|
|
50
|
+
content-type: application/json
|
|
51
|
+
tk: sample_tk
|
|
52
|
+
tz: America/New_York
|
|
53
|
+
json_object:
|
|
54
|
+
acceptLanguage: en
|
|
55
|
+
accountID: sample_id
|
|
56
|
+
appVersion: 2.8.6
|
|
57
|
+
method: energyyear
|
|
58
|
+
mobileId: '1234567890123456'
|
|
59
|
+
phoneBrand: SM N9005
|
|
60
|
+
phoneOS: Android
|
|
61
|
+
timeZone: America/New_York
|
|
62
|
+
token: sample_tk
|
|
63
|
+
traceId: TRACE_ID
|
|
64
|
+
uuid: ESW01-EU-UUID
|
|
65
|
+
method: post
|
|
66
|
+
url: /10a/v1/device/energyyear
|
|
67
|
+
turn_off:
|
|
68
|
+
headers:
|
|
69
|
+
accept-language: en
|
|
70
|
+
accountId: sample_id
|
|
71
|
+
appVersion: 2.8.6
|
|
72
|
+
content-type: application/json
|
|
73
|
+
tk: sample_tk
|
|
74
|
+
tz: America/New_York
|
|
75
|
+
json_object:
|
|
76
|
+
acceptLanguage: en
|
|
77
|
+
accountID: sample_id
|
|
78
|
+
status: 'off'
|
|
79
|
+
timeZone: America/New_York
|
|
80
|
+
token: sample_tk
|
|
81
|
+
uuid: ESW01-EU-UUID
|
|
82
|
+
method: put
|
|
83
|
+
url: /10a/v1/device/devicestatus
|
|
84
|
+
turn_on:
|
|
85
|
+
headers:
|
|
86
|
+
accept-language: en
|
|
87
|
+
accountId: sample_id
|
|
88
|
+
appVersion: 2.8.6
|
|
89
|
+
content-type: application/json
|
|
90
|
+
tk: sample_tk
|
|
91
|
+
tz: America/New_York
|
|
92
|
+
json_object:
|
|
93
|
+
acceptLanguage: en
|
|
94
|
+
accountID: sample_id
|
|
95
|
+
status: 'on'
|
|
96
|
+
timeZone: America/New_York
|
|
97
|
+
token: sample_tk
|
|
98
|
+
uuid: ESW01-EU-UUID
|
|
99
|
+
method: put
|
|
100
|
+
url: /10a/v1/device/devicestatus
|
|
101
|
+
update:
|
|
102
|
+
headers:
|
|
103
|
+
accept-language: en
|
|
104
|
+
accountId: sample_id
|
|
105
|
+
appVersion: 2.8.6
|
|
106
|
+
content-type: application/json
|
|
107
|
+
tk: sample_tk
|
|
108
|
+
tz: America/New_York
|
|
109
|
+
json_object:
|
|
110
|
+
acceptLanguage: en
|
|
111
|
+
accountID: sample_id
|
|
112
|
+
appVersion: 2.8.6
|
|
113
|
+
method: devicedetail
|
|
114
|
+
mobileId: '1234567890123456'
|
|
115
|
+
phoneBrand: SM N9005
|
|
116
|
+
phoneOS: Android
|
|
117
|
+
timeZone: America/New_York
|
|
118
|
+
token: sample_tk
|
|
119
|
+
traceId: TRACE_ID
|
|
120
|
+
uuid: ESW01-EU-UUID
|
|
121
|
+
method: post
|
|
122
|
+
url: /10a/v1/device/devicedetail
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
get_monthly_energy:
|
|
2
|
+
headers:
|
|
3
|
+
accept-language: en
|
|
4
|
+
accountId: sample_id
|
|
5
|
+
appVersion: 2.8.6
|
|
6
|
+
content-type: application/json
|
|
7
|
+
tk: sample_tk
|
|
8
|
+
tz: America/New_York
|
|
9
|
+
json_object:
|
|
10
|
+
acceptLanguage: en
|
|
11
|
+
accountID: sample_id
|
|
12
|
+
appVersion: 2.8.6
|
|
13
|
+
method: energymonth
|
|
14
|
+
mobileId: '1234567890123456'
|
|
15
|
+
phoneBrand: SM N9005
|
|
16
|
+
phoneOS: Android
|
|
17
|
+
timeZone: America/New_York
|
|
18
|
+
token: sample_tk
|
|
19
|
+
traceId: TRACE_ID
|
|
20
|
+
uuid: ESW03-USA-UUID
|
|
21
|
+
method: post
|
|
22
|
+
url: /10a/v1/device/energymonth
|
|
23
|
+
get_weekly_energy:
|
|
24
|
+
headers:
|
|
25
|
+
accept-language: en
|
|
26
|
+
accountId: sample_id
|
|
27
|
+
appVersion: 2.8.6
|
|
28
|
+
content-type: application/json
|
|
29
|
+
tk: sample_tk
|
|
30
|
+
tz: America/New_York
|
|
31
|
+
json_object:
|
|
32
|
+
acceptLanguage: en
|
|
33
|
+
accountID: sample_id
|
|
34
|
+
appVersion: 2.8.6
|
|
35
|
+
method: energyweek
|
|
36
|
+
mobileId: '1234567890123456'
|
|
37
|
+
phoneBrand: SM N9005
|
|
38
|
+
phoneOS: Android
|
|
39
|
+
timeZone: America/New_York
|
|
40
|
+
token: sample_tk
|
|
41
|
+
traceId: TRACE_ID
|
|
42
|
+
uuid: ESW03-USA-UUID
|
|
43
|
+
method: post
|
|
44
|
+
url: /10a/v1/device/energyweek
|
|
45
|
+
get_yearly_energy:
|
|
46
|
+
headers:
|
|
47
|
+
accept-language: en
|
|
48
|
+
accountId: sample_id
|
|
49
|
+
appVersion: 2.8.6
|
|
50
|
+
content-type: application/json
|
|
51
|
+
tk: sample_tk
|
|
52
|
+
tz: America/New_York
|
|
53
|
+
json_object:
|
|
54
|
+
acceptLanguage: en
|
|
55
|
+
accountID: sample_id
|
|
56
|
+
appVersion: 2.8.6
|
|
57
|
+
method: energyyear
|
|
58
|
+
mobileId: '1234567890123456'
|
|
59
|
+
phoneBrand: SM N9005
|
|
60
|
+
phoneOS: Android
|
|
61
|
+
timeZone: America/New_York
|
|
62
|
+
token: sample_tk
|
|
63
|
+
traceId: TRACE_ID
|
|
64
|
+
uuid: ESW03-USA-UUID
|
|
65
|
+
method: post
|
|
66
|
+
url: /10a/v1/device/energyyear
|
|
67
|
+
turn_off:
|
|
68
|
+
headers:
|
|
69
|
+
accept-language: en
|
|
70
|
+
accountId: sample_id
|
|
71
|
+
appVersion: 2.8.6
|
|
72
|
+
content-type: application/json
|
|
73
|
+
tk: sample_tk
|
|
74
|
+
tz: America/New_York
|
|
75
|
+
json_object:
|
|
76
|
+
acceptLanguage: en
|
|
77
|
+
accountID: sample_id
|
|
78
|
+
status: 'off'
|
|
79
|
+
timeZone: America/New_York
|
|
80
|
+
token: sample_tk
|
|
81
|
+
uuid: ESW03-USA-UUID
|
|
82
|
+
method: put
|
|
83
|
+
url: /10a/v1/device/devicestatus
|
|
84
|
+
turn_on:
|
|
85
|
+
headers:
|
|
86
|
+
accept-language: en
|
|
87
|
+
accountId: sample_id
|
|
88
|
+
appVersion: 2.8.6
|
|
89
|
+
content-type: application/json
|
|
90
|
+
tk: sample_tk
|
|
91
|
+
tz: America/New_York
|
|
92
|
+
json_object:
|
|
93
|
+
acceptLanguage: en
|
|
94
|
+
accountID: sample_id
|
|
95
|
+
status: 'on'
|
|
96
|
+
timeZone: America/New_York
|
|
97
|
+
token: sample_tk
|
|
98
|
+
uuid: ESW03-USA-UUID
|
|
99
|
+
method: put
|
|
100
|
+
url: /10a/v1/device/devicestatus
|
|
101
|
+
update:
|
|
102
|
+
headers:
|
|
103
|
+
accept-language: en
|
|
104
|
+
accountId: sample_id
|
|
105
|
+
appVersion: 2.8.6
|
|
106
|
+
content-type: application/json
|
|
107
|
+
tk: sample_tk
|
|
108
|
+
tz: America/New_York
|
|
109
|
+
json_object:
|
|
110
|
+
acceptLanguage: en
|
|
111
|
+
accountID: sample_id
|
|
112
|
+
appVersion: 2.8.6
|
|
113
|
+
method: devicedetail
|
|
114
|
+
mobileId: '1234567890123456'
|
|
115
|
+
phoneBrand: SM N9005
|
|
116
|
+
phoneOS: Android
|
|
117
|
+
timeZone: America/New_York
|
|
118
|
+
token: sample_tk
|
|
119
|
+
traceId: TRACE_ID
|
|
120
|
+
uuid: ESW03-USA-UUID
|
|
121
|
+
method: post
|
|
122
|
+
url: /10a/v1/device/devicedetail
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
get_monthly_energy:
|
|
2
|
+
headers:
|
|
3
|
+
accept-language: en
|
|
4
|
+
accountId: sample_id
|
|
5
|
+
appVersion: 2.8.6
|
|
6
|
+
content-type: application/json
|
|
7
|
+
tk: sample_tk
|
|
8
|
+
tz: America/New_York
|
|
9
|
+
json_object:
|
|
10
|
+
acceptLanguage: en
|
|
11
|
+
accountID: sample_id
|
|
12
|
+
appVersion: 2.8.6
|
|
13
|
+
method: energymonth
|
|
14
|
+
mobileId: '1234567890123456'
|
|
15
|
+
phoneBrand: SM N9005
|
|
16
|
+
phoneOS: Android
|
|
17
|
+
timeZone: America/New_York
|
|
18
|
+
token: sample_tk
|
|
19
|
+
traceId: TRACE_ID
|
|
20
|
+
uuid: ESW15-USA-UUID
|
|
21
|
+
method: post
|
|
22
|
+
url: /15a/v1/device/energymonth
|
|
23
|
+
get_weekly_energy:
|
|
24
|
+
headers:
|
|
25
|
+
accept-language: en
|
|
26
|
+
accountId: sample_id
|
|
27
|
+
appVersion: 2.8.6
|
|
28
|
+
content-type: application/json
|
|
29
|
+
tk: sample_tk
|
|
30
|
+
tz: America/New_York
|
|
31
|
+
json_object:
|
|
32
|
+
acceptLanguage: en
|
|
33
|
+
accountID: sample_id
|
|
34
|
+
appVersion: 2.8.6
|
|
35
|
+
method: energyweek
|
|
36
|
+
mobileId: '1234567890123456'
|
|
37
|
+
phoneBrand: SM N9005
|
|
38
|
+
phoneOS: Android
|
|
39
|
+
timeZone: America/New_York
|
|
40
|
+
token: sample_tk
|
|
41
|
+
traceId: TRACE_ID
|
|
42
|
+
uuid: ESW15-USA-UUID
|
|
43
|
+
method: post
|
|
44
|
+
url: /15a/v1/device/energyweek
|
|
45
|
+
get_yearly_energy:
|
|
46
|
+
headers:
|
|
47
|
+
accept-language: en
|
|
48
|
+
accountId: sample_id
|
|
49
|
+
appVersion: 2.8.6
|
|
50
|
+
content-type: application/json
|
|
51
|
+
tk: sample_tk
|
|
52
|
+
tz: America/New_York
|
|
53
|
+
json_object:
|
|
54
|
+
acceptLanguage: en
|
|
55
|
+
accountID: sample_id
|
|
56
|
+
appVersion: 2.8.6
|
|
57
|
+
method: energyyear
|
|
58
|
+
mobileId: '1234567890123456'
|
|
59
|
+
phoneBrand: SM N9005
|
|
60
|
+
phoneOS: Android
|
|
61
|
+
timeZone: America/New_York
|
|
62
|
+
token: sample_tk
|
|
63
|
+
traceId: TRACE_ID
|
|
64
|
+
uuid: ESW15-USA-UUID
|
|
65
|
+
method: post
|
|
66
|
+
url: /15a/v1/device/energyyear
|
|
67
|
+
turn_off:
|
|
68
|
+
headers:
|
|
69
|
+
accept-language: en
|
|
70
|
+
accountId: sample_id
|
|
71
|
+
appVersion: 2.8.6
|
|
72
|
+
content-type: application/json
|
|
73
|
+
tk: sample_tk
|
|
74
|
+
tz: America/New_York
|
|
75
|
+
json_object:
|
|
76
|
+
acceptLanguage: en
|
|
77
|
+
accountID: sample_id
|
|
78
|
+
status: 'off'
|
|
79
|
+
timeZone: America/New_York
|
|
80
|
+
token: sample_tk
|
|
81
|
+
uuid: ESW15-USA-UUID
|
|
82
|
+
method: put
|
|
83
|
+
url: /15a/v1/device/devicestatus
|
|
84
|
+
turn_off_nightlight:
|
|
85
|
+
headers:
|
|
86
|
+
accept-language: en
|
|
87
|
+
accountId: sample_id
|
|
88
|
+
appVersion: 2.8.6
|
|
89
|
+
content-type: application/json
|
|
90
|
+
tk: sample_tk
|
|
91
|
+
tz: America/New_York
|
|
92
|
+
json_object:
|
|
93
|
+
acceptLanguage: en
|
|
94
|
+
accountID: sample_id
|
|
95
|
+
mode: manual
|
|
96
|
+
timeZone: America/New_York
|
|
97
|
+
token: sample_tk
|
|
98
|
+
uuid: ESW15-USA-UUID
|
|
99
|
+
method: put
|
|
100
|
+
url: /15a/v1/device/nightlightstatus
|
|
101
|
+
turn_on:
|
|
102
|
+
headers:
|
|
103
|
+
accept-language: en
|
|
104
|
+
accountId: sample_id
|
|
105
|
+
appVersion: 2.8.6
|
|
106
|
+
content-type: application/json
|
|
107
|
+
tk: sample_tk
|
|
108
|
+
tz: America/New_York
|
|
109
|
+
json_object:
|
|
110
|
+
acceptLanguage: en
|
|
111
|
+
accountID: sample_id
|
|
112
|
+
status: 'on'
|
|
113
|
+
timeZone: America/New_York
|
|
114
|
+
token: sample_tk
|
|
115
|
+
uuid: ESW15-USA-UUID
|
|
116
|
+
method: put
|
|
117
|
+
url: /15a/v1/device/devicestatus
|
|
118
|
+
turn_on_nightlight:
|
|
119
|
+
headers:
|
|
120
|
+
accept-language: en
|
|
121
|
+
accountId: sample_id
|
|
122
|
+
appVersion: 2.8.6
|
|
123
|
+
content-type: application/json
|
|
124
|
+
tk: sample_tk
|
|
125
|
+
tz: America/New_York
|
|
126
|
+
json_object:
|
|
127
|
+
acceptLanguage: en
|
|
128
|
+
accountID: sample_id
|
|
129
|
+
mode: auto
|
|
130
|
+
timeZone: America/New_York
|
|
131
|
+
token: sample_tk
|
|
132
|
+
uuid: ESW15-USA-UUID
|
|
133
|
+
method: put
|
|
134
|
+
url: /15a/v1/device/nightlightstatus
|
|
135
|
+
update:
|
|
136
|
+
headers:
|
|
137
|
+
accept-language: en
|
|
138
|
+
accountId: sample_id
|
|
139
|
+
appVersion: 2.8.6
|
|
140
|
+
content-type: application/json
|
|
141
|
+
tk: sample_tk
|
|
142
|
+
tz: America/New_York
|
|
143
|
+
json_object:
|
|
144
|
+
acceptLanguage: en
|
|
145
|
+
accountID: sample_id
|
|
146
|
+
appVersion: 2.8.6
|
|
147
|
+
method: devicedetail
|
|
148
|
+
mobileId: '1234567890123456'
|
|
149
|
+
phoneBrand: SM N9005
|
|
150
|
+
phoneOS: Android
|
|
151
|
+
timeZone: America/New_York
|
|
152
|
+
token: sample_tk
|
|
153
|
+
traceId: TRACE_ID
|
|
154
|
+
uuid: ESW15-USA-UUID
|
|
155
|
+
method: post
|
|
156
|
+
url: /15a/v1/device/devicedetail
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
get_monthly_energy:
|
|
2
|
+
headers:
|
|
3
|
+
accept-language: en
|
|
4
|
+
accountId: sample_id
|
|
5
|
+
appVersion: 2.8.6
|
|
6
|
+
content-type: application/json
|
|
7
|
+
tk: sample_tk
|
|
8
|
+
tz: America/New_York
|
|
9
|
+
method: get
|
|
10
|
+
url: /v1/device/wifi-switch-1.3-CID/energy/month
|
|
11
|
+
get_weekly_energy:
|
|
12
|
+
headers:
|
|
13
|
+
accept-language: en
|
|
14
|
+
accountId: sample_id
|
|
15
|
+
appVersion: 2.8.6
|
|
16
|
+
content-type: application/json
|
|
17
|
+
tk: sample_tk
|
|
18
|
+
tz: America/New_York
|
|
19
|
+
method: get
|
|
20
|
+
url: /v1/device/wifi-switch-1.3-CID/energy/week
|
|
21
|
+
get_yearly_energy:
|
|
22
|
+
headers:
|
|
23
|
+
accept-language: en
|
|
24
|
+
accountId: sample_id
|
|
25
|
+
appVersion: 2.8.6
|
|
26
|
+
content-type: application/json
|
|
27
|
+
tk: sample_tk
|
|
28
|
+
tz: America/New_York
|
|
29
|
+
method: get
|
|
30
|
+
url: /v1/device/wifi-switch-1.3-CID/energy/year
|
|
31
|
+
turn_off:
|
|
32
|
+
headers:
|
|
33
|
+
accept-language: en
|
|
34
|
+
accountId: sample_id
|
|
35
|
+
appVersion: 2.8.6
|
|
36
|
+
content-type: application/json
|
|
37
|
+
tk: sample_tk
|
|
38
|
+
tz: America/New_York
|
|
39
|
+
method: put
|
|
40
|
+
url: /v1/wifi-switch-1.3/wifi-switch-1.3-CID/status/off
|
|
41
|
+
turn_on:
|
|
42
|
+
headers:
|
|
43
|
+
accept-language: en
|
|
44
|
+
accountId: sample_id
|
|
45
|
+
appVersion: 2.8.6
|
|
46
|
+
content-type: application/json
|
|
47
|
+
tk: sample_tk
|
|
48
|
+
tz: America/New_York
|
|
49
|
+
method: put
|
|
50
|
+
url: /v1/wifi-switch-1.3/wifi-switch-1.3-CID/status/on
|
|
51
|
+
update:
|
|
52
|
+
headers:
|
|
53
|
+
accept-language: en
|
|
54
|
+
accountId: sample_id
|
|
55
|
+
appVersion: 2.8.6
|
|
56
|
+
content-type: application/json
|
|
57
|
+
tk: sample_tk
|
|
58
|
+
tz: America/New_York
|
|
59
|
+
method: get
|
|
60
|
+
url: /v1/device/wifi-switch-1.3-CID/detail
|