homebridge-tsvesync 1.0.1 → 1.0.2
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/dist/platform.d.ts +5 -1
- package/dist/platform.d.ts.map +1 -1
- package/dist/platform.js +34 -16
- package/dist/platform.js.map +1 -1
- package/dist/platformAccessory.d.ts +8 -15
- package/dist/platformAccessory.d.ts.map +1 -1
- package/dist/platformAccessory.js +82 -50
- package/dist/platformAccessory.js.map +1 -1
- package/package/LICENSE +21 -0
- package/package/README.md +227 -0
- package/package/api/vesync/VeSync.yaml +33 -0
- package/package/api/vesyncbulb/ESL100.yaml +74 -0
- package/package/api/vesyncbulb/ESL100CW.yaml +123 -0
- package/package/api/vesyncbulb/ESL100MC.yaml +169 -0
- package/package/api/vesyncbulb/XYD0001.yaml +193 -0
- package/package/api/vesyncfan/Classic200S.yaml +280 -0
- package/package/api/vesyncfan/Classic300S.yaml +278 -0
- package/package/api/vesyncfan/Core200S.yaml +256 -0
- package/package/api/vesyncfan/Core300S.yaml +281 -0
- package/package/api/vesyncfan/Core400S.yaml +281 -0
- package/package/api/vesyncfan/Core600S.yaml +281 -0
- package/package/api/vesyncfan/Dual200S.yaml +278 -0
- package/package/api/vesyncfan/LAP-C201S-AUSR.yaml +256 -0
- package/package/api/vesyncfan/LAP-C202S-WUSR.yaml +256 -0
- package/package/api/vesyncfan/LAP-C301S-WAAA.yaml +281 -0
- package/package/api/vesyncfan/LAP-C301S-WJP.yaml +281 -0
- package/package/api/vesyncfan/LAP-C302S-WUSB.yaml +281 -0
- package/package/api/vesyncfan/LAP-C401S-WAAA.yaml +281 -0
- package/package/api/vesyncfan/LAP-C401S-WJP.yaml +281 -0
- package/package/api/vesyncfan/LAP-C401S-WUSR.yaml +281 -0
- package/package/api/vesyncfan/LAP-C601S-WEU.yaml +281 -0
- package/package/api/vesyncfan/LAP-C601S-WUS.yaml +281 -0
- package/package/api/vesyncfan/LAP-C601S-WUSR.yaml +281 -0
- package/package/api/vesyncfan/LAP-EL551S-AEUR.yaml +167 -0
- package/package/api/vesyncfan/LAP-EL551S-AUS.yaml +167 -0
- package/package/api/vesyncfan/LAP-EL551S-WEU.yaml +167 -0
- package/package/api/vesyncfan/LAP-EL551S-WUS.yaml +167 -0
- package/package/api/vesyncfan/LAP-V102S-AASR.yaml +167 -0
- package/package/api/vesyncfan/LAP-V102S-AUSR.yaml +167 -0
- package/package/api/vesyncfan/LAP-V102S-WEU.yaml +167 -0
- package/package/api/vesyncfan/LAP-V102S-WJP.yaml +167 -0
- package/package/api/vesyncfan/LAP-V102S-WUS.yaml +167 -0
- package/package/api/vesyncfan/LAP-V201-AUSR.yaml +167 -0
- package/package/api/vesyncfan/LAP-V201S-AASR.yaml +167 -0
- package/package/api/vesyncfan/LAP-V201S-AEUR.yaml +167 -0
- package/package/api/vesyncfan/LAP-V201S-AUSR.yaml +167 -0
- package/package/api/vesyncfan/LAP-V201S-WEU.yaml +167 -0
- package/package/api/vesyncfan/LAP-V201S-WJP.yaml +167 -0
- package/package/api/vesyncfan/LAP-V201S-WUS.yaml +167 -0
- package/package/api/vesyncfan/LEH-S601S-WUS.yaml +303 -0
- package/package/api/vesyncfan/LEH-S601S-WUSR.yaml +82 -0
- package/package/api/vesyncfan/LTF-F422S-KEU.yaml +165 -0
- package/package/api/vesyncfan/LTF-F422S-WUS.yaml +165 -0
- package/package/api/vesyncfan/LTF-F422S-WUSR.yaml +167 -0
- package/package/api/vesyncfan/LTF-F422_WJP.yaml +165 -0
- package/package/api/vesyncfan/LUH-A601S-AUSW.yaml +82 -0
- package/package/api/vesyncfan/LUH-A601S-WUSB.yaml +305 -0
- package/package/api/vesyncfan/LUH-A602S-WEU.yaml +305 -0
- package/package/api/vesyncfan/LUH-A602S-WEUR.yaml +305 -0
- package/package/api/vesyncfan/LUH-A602S-WJP.yaml +305 -0
- package/package/api/vesyncfan/LUH-A602S-WUS.yaml +305 -0
- package/package/api/vesyncfan/LUH-A602S-WUSC.yaml +305 -0
- package/package/api/vesyncfan/LUH-A602S-WUSR.yaml +305 -0
- package/package/api/vesyncfan/LUH-D301S-WEU.yaml +305 -0
- package/package/api/vesyncfan/LUH-D301S-WJP.yaml +305 -0
- package/package/api/vesyncfan/LUH-D301S-WUSR.yaml +305 -0
- package/package/api/vesyncfan/LUH-M101S-WUS.yaml +278 -0
- package/package/api/vesyncfan/LUH-O451S-WEU.yaml +278 -0
- package/package/api/vesyncfan/LUH-O451S-WUS.yaml +278 -0
- package/package/api/vesyncfan/LUH-O451S-WUSR.yaml +305 -0
- package/package/api/vesyncfan/LUH-O601S-KUS.yaml +305 -0
- package/package/api/vesyncfan/LUH-O601S-WUS.yaml +305 -0
- package/package/api/vesyncfan/LV-PUR131S.yaml +108 -0
- package/package/api/vesyncfan/LV-RH131S.yaml +108 -0
- package/package/api/vesyncoutlet/ESO15-TB.yaml +124 -0
- package/package/api/vesyncoutlet/ESW01-EU.yaml +122 -0
- package/package/api/vesyncoutlet/ESW03-USA.yaml +122 -0
- package/package/api/vesyncoutlet/ESW15-USA.yaml +156 -0
- package/package/api/vesyncoutlet/wifi-switch-1.3.yaml +60 -0
- package/package/api/vesyncswitch/ESWD16.yaml +128 -0
- package/package/api/vesyncswitch/ESWL01.yaml +56 -0
- package/package/api/vesyncswitch/ESWL03.yaml +56 -0
- package/package/package.json +53 -0
- package/package/src/lib/helpers.ts +290 -0
- package/package/src/lib/vesync.ts +530 -0
- package/package/src/lib/vesyncBaseDevice.ts +114 -0
- package/package/src/lib/vesyncBulb.ts +252 -0
- package/package/src/lib/vesyncBulbImpl.ts +215 -0
- package/package/src/lib/vesyncFan.ts +447 -0
- package/package/src/lib/vesyncFanImpl.ts +848 -0
- package/package/src/lib/vesyncOutlet.ts +148 -0
- package/package/src/lib/vesyncOutletImpl.ts +284 -0
- package/package/src/lib/vesyncSwitch.ts +546 -0
- package/package/src/lib/vesyncSwitchImpl.ts +408 -0
- package/package.json +6 -5
- package/src/platform.ts +45 -17
- package/src/platformAccessory.ts +104 -51
- package/tsvesync-1.0.11.tgz +0 -0
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
get_devices:
|
|
2
|
+
headers:
|
|
3
|
+
Content-Type: application/json; charset=UTF-8
|
|
4
|
+
User-Agent: okhttp/3.12.1
|
|
5
|
+
json_object:
|
|
6
|
+
acceptLanguage: en
|
|
7
|
+
accountID: sample_id
|
|
8
|
+
appVersion: 2.8.6
|
|
9
|
+
method: devices
|
|
10
|
+
pageNo: '1'
|
|
11
|
+
pageSize: '100'
|
|
12
|
+
phoneBrand: SM N9005
|
|
13
|
+
phoneOS: Android
|
|
14
|
+
timeZone: America/New_York
|
|
15
|
+
token: sample_tk
|
|
16
|
+
traceId: TRACE_ID
|
|
17
|
+
method: post
|
|
18
|
+
url: /cloud/v1/deviceManaged/devices
|
|
19
|
+
login:
|
|
20
|
+
json_object:
|
|
21
|
+
acceptLanguage: en
|
|
22
|
+
appVersion: 2.8.6
|
|
23
|
+
devToken: ''
|
|
24
|
+
email: EMAIL
|
|
25
|
+
method: login
|
|
26
|
+
password: PASSWORD
|
|
27
|
+
phoneBrand: SM N9005
|
|
28
|
+
phoneOS: Android
|
|
29
|
+
timeZone: America/New_York
|
|
30
|
+
traceId: TRACE_ID
|
|
31
|
+
userType: '1'
|
|
32
|
+
method: post
|
|
33
|
+
url: /cloud/v1/user/login
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
set_brightness:
|
|
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
|
+
brightNess: '50'
|
|
13
|
+
status: 'on'
|
|
14
|
+
timeZone: America/New_York
|
|
15
|
+
token: sample_tk
|
|
16
|
+
uuid: ESL100-UUID
|
|
17
|
+
method: put
|
|
18
|
+
url: /SmartBulb/v1/device/updateBrightness
|
|
19
|
+
turn_off:
|
|
20
|
+
headers:
|
|
21
|
+
accept-language: en
|
|
22
|
+
accountId: sample_id
|
|
23
|
+
appVersion: 2.8.6
|
|
24
|
+
content-type: application/json
|
|
25
|
+
tk: sample_tk
|
|
26
|
+
tz: America/New_York
|
|
27
|
+
json_object:
|
|
28
|
+
acceptLanguage: en
|
|
29
|
+
accountID: sample_id
|
|
30
|
+
status: 'off'
|
|
31
|
+
timeZone: America/New_York
|
|
32
|
+
token: sample_tk
|
|
33
|
+
uuid: ESL100-UUID
|
|
34
|
+
method: put
|
|
35
|
+
url: /SmartBulb/v1/device/devicestatus
|
|
36
|
+
turn_on:
|
|
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
|
+
status: 'on'
|
|
48
|
+
timeZone: America/New_York
|
|
49
|
+
token: sample_tk
|
|
50
|
+
uuid: ESL100-UUID
|
|
51
|
+
method: put
|
|
52
|
+
url: /SmartBulb/v1/device/devicestatus
|
|
53
|
+
update:
|
|
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
|
+
appVersion: 2.8.6
|
|
65
|
+
method: devicedetail
|
|
66
|
+
mobileId: '1234567890123456'
|
|
67
|
+
phoneBrand: SM N9005
|
|
68
|
+
phoneOS: Android
|
|
69
|
+
timeZone: America/New_York
|
|
70
|
+
token: sample_tk
|
|
71
|
+
traceId: TRACE_ID
|
|
72
|
+
uuid: ESL100-UUID
|
|
73
|
+
method: post
|
|
74
|
+
url: /SmartBulb/v1/device/devicedetail
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
set_brightness:
|
|
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
|
+
cid: ESL100CW-CID
|
|
14
|
+
configModule: ConfigModule
|
|
15
|
+
jsonCmd:
|
|
16
|
+
light:
|
|
17
|
+
brightness: 50
|
|
18
|
+
method: bypass
|
|
19
|
+
phoneBrand: SM N9005
|
|
20
|
+
phoneOS: Android
|
|
21
|
+
timeZone: America/New_York
|
|
22
|
+
token: sample_tk
|
|
23
|
+
traceId: TRACE_ID
|
|
24
|
+
method: post
|
|
25
|
+
url: /cloud/v1/deviceManaged/bypass
|
|
26
|
+
set_color_temp:
|
|
27
|
+
headers:
|
|
28
|
+
accept-language: en
|
|
29
|
+
accountId: sample_id
|
|
30
|
+
appVersion: 2.8.6
|
|
31
|
+
content-type: application/json
|
|
32
|
+
tk: sample_tk
|
|
33
|
+
tz: America/New_York
|
|
34
|
+
json_object:
|
|
35
|
+
acceptLanguage: en
|
|
36
|
+
accountID: sample_id
|
|
37
|
+
appVersion: 2.8.6
|
|
38
|
+
cid: ESL100CW-CID
|
|
39
|
+
jsonCmd:
|
|
40
|
+
light:
|
|
41
|
+
colorTempe: 50
|
|
42
|
+
method: bypass
|
|
43
|
+
phoneBrand: SM N9005
|
|
44
|
+
phoneOS: Android
|
|
45
|
+
timeZone: America/New_York
|
|
46
|
+
token: sample_tk
|
|
47
|
+
traceId: TRACE_ID
|
|
48
|
+
method: post
|
|
49
|
+
url: /cloud/v1/deviceManaged/bypass
|
|
50
|
+
turn_off:
|
|
51
|
+
headers:
|
|
52
|
+
accept-language: en
|
|
53
|
+
accountId: sample_id
|
|
54
|
+
appVersion: 2.8.6
|
|
55
|
+
content-type: application/json
|
|
56
|
+
tk: sample_tk
|
|
57
|
+
tz: America/New_York
|
|
58
|
+
json_object:
|
|
59
|
+
acceptLanguage: en
|
|
60
|
+
accountID: sample_id
|
|
61
|
+
appVersion: 2.8.6
|
|
62
|
+
cid: ESL100CW-CID
|
|
63
|
+
configModule: ConfigModule
|
|
64
|
+
jsonCmd:
|
|
65
|
+
light:
|
|
66
|
+
action: 'off'
|
|
67
|
+
method: bypass
|
|
68
|
+
phoneBrand: SM N9005
|
|
69
|
+
phoneOS: Android
|
|
70
|
+
timeZone: America/New_York
|
|
71
|
+
token: sample_tk
|
|
72
|
+
traceId: TRACE_ID
|
|
73
|
+
method: post
|
|
74
|
+
url: /cloud/v1/deviceManaged/bypass
|
|
75
|
+
turn_on:
|
|
76
|
+
headers:
|
|
77
|
+
accept-language: en
|
|
78
|
+
accountId: sample_id
|
|
79
|
+
appVersion: 2.8.6
|
|
80
|
+
content-type: application/json
|
|
81
|
+
tk: sample_tk
|
|
82
|
+
tz: America/New_York
|
|
83
|
+
json_object:
|
|
84
|
+
acceptLanguage: en
|
|
85
|
+
accountID: sample_id
|
|
86
|
+
appVersion: 2.8.6
|
|
87
|
+
cid: ESL100CW-CID
|
|
88
|
+
configModule: ConfigModule
|
|
89
|
+
jsonCmd:
|
|
90
|
+
light:
|
|
91
|
+
action: 'on'
|
|
92
|
+
method: bypass
|
|
93
|
+
phoneBrand: SM N9005
|
|
94
|
+
phoneOS: Android
|
|
95
|
+
timeZone: America/New_York
|
|
96
|
+
token: sample_tk
|
|
97
|
+
traceId: TRACE_ID
|
|
98
|
+
method: post
|
|
99
|
+
url: /cloud/v1/deviceManaged/bypass
|
|
100
|
+
update:
|
|
101
|
+
headers:
|
|
102
|
+
accept-language: en
|
|
103
|
+
accountId: sample_id
|
|
104
|
+
appVersion: 2.8.6
|
|
105
|
+
content-type: application/json
|
|
106
|
+
tk: sample_tk
|
|
107
|
+
tz: America/New_York
|
|
108
|
+
json_object:
|
|
109
|
+
acceptLanguage: en
|
|
110
|
+
accountID: sample_id
|
|
111
|
+
appVersion: 2.8.6
|
|
112
|
+
cid: ESL100CW-CID
|
|
113
|
+
configModule: ConfigModule
|
|
114
|
+
jsonCmd:
|
|
115
|
+
getLightStatus: get
|
|
116
|
+
method: bypass
|
|
117
|
+
phoneBrand: SM N9005
|
|
118
|
+
phoneOS: Android
|
|
119
|
+
timeZone: America/New_York
|
|
120
|
+
token: sample_tk
|
|
121
|
+
traceId: TRACE_ID
|
|
122
|
+
method: post
|
|
123
|
+
url: /cloud/v1/deviceManaged/bypass
|
|
@@ -0,0 +1,169 @@
|
|
|
1
|
+
enable_white_mode:
|
|
2
|
+
headers:
|
|
3
|
+
Content-Type: application/json; charset=UTF-8
|
|
4
|
+
User-Agent: okhttp/3.12.1
|
|
5
|
+
json_object:
|
|
6
|
+
acceptLanguage: en
|
|
7
|
+
accountID: sample_id
|
|
8
|
+
appVersion: 2.8.6
|
|
9
|
+
cid: ESL100MC-CID
|
|
10
|
+
configModule: ConfigModule
|
|
11
|
+
debugMode: false
|
|
12
|
+
deviceRegion: US
|
|
13
|
+
method: bypassV2
|
|
14
|
+
payload:
|
|
15
|
+
data:
|
|
16
|
+
action: 'on'
|
|
17
|
+
blue: 0
|
|
18
|
+
brightness: 100
|
|
19
|
+
colorMode: white
|
|
20
|
+
green: 0
|
|
21
|
+
red: 0
|
|
22
|
+
speed: 0
|
|
23
|
+
method: setLightStatus
|
|
24
|
+
source: APP
|
|
25
|
+
phoneBrand: SM N9005
|
|
26
|
+
phoneOS: Android
|
|
27
|
+
timeZone: America/New_York
|
|
28
|
+
token: sample_tk
|
|
29
|
+
traceId: TRACE_ID
|
|
30
|
+
method: post
|
|
31
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
32
|
+
set_brightness:
|
|
33
|
+
headers:
|
|
34
|
+
Content-Type: application/json; charset=UTF-8
|
|
35
|
+
User-Agent: okhttp/3.12.1
|
|
36
|
+
json_object:
|
|
37
|
+
acceptLanguage: en
|
|
38
|
+
accountID: sample_id
|
|
39
|
+
appVersion: 2.8.6
|
|
40
|
+
cid: ESL100MC-CID
|
|
41
|
+
configModule: ConfigModule
|
|
42
|
+
debugMode: false
|
|
43
|
+
deviceRegion: US
|
|
44
|
+
method: bypassV2
|
|
45
|
+
payload:
|
|
46
|
+
data:
|
|
47
|
+
action: 'on'
|
|
48
|
+
blue: 0
|
|
49
|
+
brightness: 50
|
|
50
|
+
colorMode: white
|
|
51
|
+
green: 0
|
|
52
|
+
red: 0
|
|
53
|
+
speed: 0
|
|
54
|
+
method: setLightStatus
|
|
55
|
+
source: APP
|
|
56
|
+
phoneBrand: SM N9005
|
|
57
|
+
phoneOS: Android
|
|
58
|
+
timeZone: America/New_York
|
|
59
|
+
token: sample_tk
|
|
60
|
+
traceId: TRACE_ID
|
|
61
|
+
method: post
|
|
62
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
63
|
+
set_rgb:
|
|
64
|
+
headers:
|
|
65
|
+
Content-Type: application/json; charset=UTF-8
|
|
66
|
+
User-Agent: okhttp/3.12.1
|
|
67
|
+
json_object:
|
|
68
|
+
acceptLanguage: en
|
|
69
|
+
accountID: sample_id
|
|
70
|
+
appVersion: 2.8.6
|
|
71
|
+
cid: ESL100MC-CID
|
|
72
|
+
configModule: ConfigModule
|
|
73
|
+
debugMode: false
|
|
74
|
+
deviceRegion: US
|
|
75
|
+
method: bypassV2
|
|
76
|
+
payload:
|
|
77
|
+
data:
|
|
78
|
+
action: 'on'
|
|
79
|
+
blue: 255
|
|
80
|
+
brightness: 100
|
|
81
|
+
colorMode: color
|
|
82
|
+
green: 200
|
|
83
|
+
red: 50
|
|
84
|
+
speed: 0
|
|
85
|
+
method: setLightStatus
|
|
86
|
+
source: APP
|
|
87
|
+
phoneBrand: SM N9005
|
|
88
|
+
phoneOS: Android
|
|
89
|
+
timeZone: America/New_York
|
|
90
|
+
token: sample_tk
|
|
91
|
+
traceId: TRACE_ID
|
|
92
|
+
method: post
|
|
93
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
94
|
+
turn_off:
|
|
95
|
+
headers:
|
|
96
|
+
Content-Type: application/json; charset=UTF-8
|
|
97
|
+
User-Agent: okhttp/3.12.1
|
|
98
|
+
json_object:
|
|
99
|
+
acceptLanguage: en
|
|
100
|
+
accountID: sample_id
|
|
101
|
+
appVersion: 2.8.6
|
|
102
|
+
cid: ESL100MC-CID
|
|
103
|
+
configModule: ConfigModule
|
|
104
|
+
debugMode: false
|
|
105
|
+
deviceRegion: US
|
|
106
|
+
method: bypassV2
|
|
107
|
+
payload:
|
|
108
|
+
data:
|
|
109
|
+
enabled: false
|
|
110
|
+
id: 0
|
|
111
|
+
method: setSwitch
|
|
112
|
+
source: APP
|
|
113
|
+
phoneBrand: SM N9005
|
|
114
|
+
phoneOS: Android
|
|
115
|
+
timeZone: America/New_York
|
|
116
|
+
token: sample_tk
|
|
117
|
+
traceId: TRACE_ID
|
|
118
|
+
method: post
|
|
119
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
120
|
+
turn_on:
|
|
121
|
+
headers:
|
|
122
|
+
Content-Type: application/json; charset=UTF-8
|
|
123
|
+
User-Agent: okhttp/3.12.1
|
|
124
|
+
json_object:
|
|
125
|
+
acceptLanguage: en
|
|
126
|
+
accountID: sample_id
|
|
127
|
+
appVersion: 2.8.6
|
|
128
|
+
cid: ESL100MC-CID
|
|
129
|
+
configModule: ConfigModule
|
|
130
|
+
debugMode: false
|
|
131
|
+
deviceRegion: US
|
|
132
|
+
method: bypassV2
|
|
133
|
+
payload:
|
|
134
|
+
data:
|
|
135
|
+
enabled: true
|
|
136
|
+
id: 0
|
|
137
|
+
method: setSwitch
|
|
138
|
+
source: APP
|
|
139
|
+
phoneBrand: SM N9005
|
|
140
|
+
phoneOS: Android
|
|
141
|
+
timeZone: America/New_York
|
|
142
|
+
token: sample_tk
|
|
143
|
+
traceId: TRACE_ID
|
|
144
|
+
method: post
|
|
145
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
146
|
+
update:
|
|
147
|
+
headers:
|
|
148
|
+
Content-Type: application/json; charset=UTF-8
|
|
149
|
+
User-Agent: okhttp/3.12.1
|
|
150
|
+
json_object:
|
|
151
|
+
acceptLanguage: en
|
|
152
|
+
accountID: sample_id
|
|
153
|
+
appVersion: 2.8.6
|
|
154
|
+
cid: ESL100MC-CID
|
|
155
|
+
configModule: ConfigModule
|
|
156
|
+
debugMode: false
|
|
157
|
+
deviceRegion: US
|
|
158
|
+
method: bypassV2
|
|
159
|
+
payload:
|
|
160
|
+
data: {}
|
|
161
|
+
method: getLightStatus
|
|
162
|
+
source: APP
|
|
163
|
+
phoneBrand: SM N9005
|
|
164
|
+
phoneOS: Android
|
|
165
|
+
timeZone: America/New_York
|
|
166
|
+
token: sample_tk
|
|
167
|
+
traceId: TRACE_ID
|
|
168
|
+
method: post
|
|
169
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
enable_white_mode:
|
|
2
|
+
headers:
|
|
3
|
+
Content-Type: application/json; charset=UTF-8
|
|
4
|
+
User-Agent: okhttp/3.12.1
|
|
5
|
+
json_object:
|
|
6
|
+
acceptLanguage: en
|
|
7
|
+
accountID: sample_id
|
|
8
|
+
appVersion: 2.8.6
|
|
9
|
+
cid: XYD0001-CID
|
|
10
|
+
configModule: ConfigModule
|
|
11
|
+
deviceRegion: US
|
|
12
|
+
method: bypassV2
|
|
13
|
+
payload:
|
|
14
|
+
data:
|
|
15
|
+
brightness: ''
|
|
16
|
+
colorMode: white
|
|
17
|
+
colorTemp: ''
|
|
18
|
+
force: 1
|
|
19
|
+
hue: ''
|
|
20
|
+
saturation: ''
|
|
21
|
+
value: ''
|
|
22
|
+
method: setLightStatusV2
|
|
23
|
+
source: APP
|
|
24
|
+
phoneBrand: SM N9005
|
|
25
|
+
phoneOS: Android
|
|
26
|
+
timeZone: America/New_York
|
|
27
|
+
token: sample_tk
|
|
28
|
+
traceId: TRACE_ID
|
|
29
|
+
method: post
|
|
30
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
31
|
+
set_brightness:
|
|
32
|
+
headers:
|
|
33
|
+
Content-Type: application/json; charset=UTF-8
|
|
34
|
+
User-Agent: okhttp/3.12.1
|
|
35
|
+
json_object:
|
|
36
|
+
acceptLanguage: en
|
|
37
|
+
accountID: sample_id
|
|
38
|
+
appVersion: 2.8.6
|
|
39
|
+
cid: XYD0001-CID
|
|
40
|
+
configModule: ConfigModule
|
|
41
|
+
deviceRegion: US
|
|
42
|
+
method: bypassV2
|
|
43
|
+
payload:
|
|
44
|
+
data:
|
|
45
|
+
brightness: 50
|
|
46
|
+
colorMode: ''
|
|
47
|
+
colorTemp: ''
|
|
48
|
+
force: 0
|
|
49
|
+
hue: ''
|
|
50
|
+
saturation: ''
|
|
51
|
+
value: ''
|
|
52
|
+
method: setLightStatusV2
|
|
53
|
+
source: APP
|
|
54
|
+
phoneBrand: SM N9005
|
|
55
|
+
phoneOS: Android
|
|
56
|
+
timeZone: America/New_York
|
|
57
|
+
token: sample_tk
|
|
58
|
+
traceId: TRACE_ID
|
|
59
|
+
method: post
|
|
60
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
61
|
+
set_color_temp:
|
|
62
|
+
headers:
|
|
63
|
+
Content-Type: application/json; charset=UTF-8
|
|
64
|
+
User-Agent: okhttp/3.12.1
|
|
65
|
+
json_object:
|
|
66
|
+
acceptLanguage: en
|
|
67
|
+
accountID: sample_id
|
|
68
|
+
appVersion: 2.8.6
|
|
69
|
+
cid: XYD0001-CID
|
|
70
|
+
configModule: ConfigModule
|
|
71
|
+
deviceRegion: US
|
|
72
|
+
method: bypassV2
|
|
73
|
+
payload:
|
|
74
|
+
data:
|
|
75
|
+
brightness: ''
|
|
76
|
+
colorMode: white
|
|
77
|
+
colorTemp: 50
|
|
78
|
+
force: 1
|
|
79
|
+
hue: ''
|
|
80
|
+
saturation: ''
|
|
81
|
+
value: ''
|
|
82
|
+
method: setLightStatusV2
|
|
83
|
+
source: APP
|
|
84
|
+
phoneBrand: SM N9005
|
|
85
|
+
phoneOS: Android
|
|
86
|
+
timeZone: America/New_York
|
|
87
|
+
token: sample_tk
|
|
88
|
+
traceId: TRACE_ID
|
|
89
|
+
method: post
|
|
90
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
91
|
+
set_hsv:
|
|
92
|
+
headers:
|
|
93
|
+
Content-Type: application/json; charset=UTF-8
|
|
94
|
+
User-Agent: okhttp/3.12.1
|
|
95
|
+
json_object:
|
|
96
|
+
acceptLanguage: en
|
|
97
|
+
accountID: sample_id
|
|
98
|
+
appVersion: 2.8.6
|
|
99
|
+
cid: XYD0001-CID
|
|
100
|
+
configModule: ConfigModule
|
|
101
|
+
deviceRegion: US
|
|
102
|
+
method: bypassV2
|
|
103
|
+
payload:
|
|
104
|
+
data:
|
|
105
|
+
brightness: 100
|
|
106
|
+
colorMode: hsv
|
|
107
|
+
colorTemp: ''
|
|
108
|
+
force: 1
|
|
109
|
+
hue: 5556
|
|
110
|
+
saturation: 5000
|
|
111
|
+
value: ''
|
|
112
|
+
method: setLightStatusV2
|
|
113
|
+
source: APP
|
|
114
|
+
phoneBrand: SM N9005
|
|
115
|
+
phoneOS: Android
|
|
116
|
+
timeZone: America/New_York
|
|
117
|
+
token: sample_tk
|
|
118
|
+
traceId: TRACE_ID
|
|
119
|
+
method: post
|
|
120
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
121
|
+
turn_off:
|
|
122
|
+
headers:
|
|
123
|
+
Content-Type: application/json; charset=UTF-8
|
|
124
|
+
User-Agent: okhttp/3.12.1
|
|
125
|
+
json_object:
|
|
126
|
+
acceptLanguage: en
|
|
127
|
+
accountID: sample_id
|
|
128
|
+
appVersion: 2.8.6
|
|
129
|
+
cid: XYD0001-CID
|
|
130
|
+
configModule: ConfigModule
|
|
131
|
+
deviceRegion: US
|
|
132
|
+
method: bypassV2
|
|
133
|
+
payload:
|
|
134
|
+
data:
|
|
135
|
+
enabled: false
|
|
136
|
+
id: 0
|
|
137
|
+
method: setSwitch
|
|
138
|
+
source: APP
|
|
139
|
+
phoneBrand: SM N9005
|
|
140
|
+
phoneOS: Android
|
|
141
|
+
timeZone: America/New_York
|
|
142
|
+
token: sample_tk
|
|
143
|
+
traceId: TRACE_ID
|
|
144
|
+
method: post
|
|
145
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
146
|
+
turn_on:
|
|
147
|
+
headers:
|
|
148
|
+
Content-Type: application/json; charset=UTF-8
|
|
149
|
+
User-Agent: okhttp/3.12.1
|
|
150
|
+
json_object:
|
|
151
|
+
acceptLanguage: en
|
|
152
|
+
accountID: sample_id
|
|
153
|
+
appVersion: 2.8.6
|
|
154
|
+
cid: XYD0001-CID
|
|
155
|
+
configModule: ConfigModule
|
|
156
|
+
deviceRegion: US
|
|
157
|
+
method: bypassV2
|
|
158
|
+
payload:
|
|
159
|
+
data:
|
|
160
|
+
enabled: true
|
|
161
|
+
id: 0
|
|
162
|
+
method: setSwitch
|
|
163
|
+
source: APP
|
|
164
|
+
phoneBrand: SM N9005
|
|
165
|
+
phoneOS: Android
|
|
166
|
+
timeZone: America/New_York
|
|
167
|
+
token: sample_tk
|
|
168
|
+
traceId: TRACE_ID
|
|
169
|
+
method: post
|
|
170
|
+
url: /cloud/v2/deviceManaged/bypassV2
|
|
171
|
+
update:
|
|
172
|
+
headers:
|
|
173
|
+
Content-Type: application/json; charset=UTF-8
|
|
174
|
+
User-Agent: okhttp/3.12.1
|
|
175
|
+
json_object:
|
|
176
|
+
acceptLanguage: en
|
|
177
|
+
accountID: sample_id
|
|
178
|
+
appVersion: 2.8.6
|
|
179
|
+
cid: XYD0001-CID
|
|
180
|
+
configModule: ConfigModule
|
|
181
|
+
deviceRegion: US
|
|
182
|
+
method: bypassV2
|
|
183
|
+
payload:
|
|
184
|
+
data: {}
|
|
185
|
+
method: getLightStatusV2
|
|
186
|
+
source: APP
|
|
187
|
+
phoneBrand: SM N9005
|
|
188
|
+
phoneOS: Android
|
|
189
|
+
timeZone: America/New_York
|
|
190
|
+
token: sample_tk
|
|
191
|
+
traceId: TRACE_ID
|
|
192
|
+
method: post
|
|
193
|
+
url: /cloud/v2/deviceManaged/bypassV2
|