|
1 | 1 | {
|
| 2 | + "smartlife.iot.common.cloud": { |
| 3 | + "get_info": { |
| 4 | + "binded": 1, |
| 5 | + "cld_connection": 1, |
| 6 | + "err_code": 0, |
| 7 | + "fwDlPage": "", |
| 8 | + "fwNotifyType": 0, |
| 9 | + "illegalType": 0, |
| 10 | + "server": "n-devs.tplinkcloud.com", |
| 11 | + "stopConnect": 0, |
| 12 | + "tcspInfo": "", |
| 13 | + "tcspStatus": 1, |
| 14 | + "username": "#MASKED_NAME#" |
| 15 | + }, |
| 16 | + "get_intl_fw_list": { |
| 17 | + "err_code": 0, |
| 18 | + "fw_list": [ |
| 19 | + { |
| 20 | + "fwLocation": 0, |
| 21 | + "fwReleaseDate": "2019-11-27", |
| 22 | + "fwReleaseLog": "New Features/Enhancements:\n1. Added the offset feature when scheduling sunset/sunrise.\n2. Improved the overall performance of schedule feature.", |
| 23 | + "fwReleaseLogUrl": "undefined yet", |
| 24 | + "fwTitle": "Hi, a new firmware with bug fixes is available for your product.", |
| 25 | + "fwType": 0, |
| 26 | + "fwUrl": "http://download.tplinkcloud.com/firmware/smartBulb_FCC_1.8.11_Build_191113_Rel.105336__1574839035801.bin", |
| 27 | + "fwVer": "1.8.11 Build 191113 Rel.105336" |
| 28 | + } |
| 29 | + ] |
| 30 | + } |
| 31 | + }, |
2 | 32 | "smartlife.iot.common.emeter": {
|
3 | 33 | "get_realtime": {
|
4 | 34 | "err_code": 0,
|
5 |
| - "power_mw": 2500 |
| 35 | + "power_mw": 10800 |
| 36 | + } |
| 37 | + }, |
| 38 | + "smartlife.iot.common.schedule": { |
| 39 | + "get_next_action": { |
| 40 | + "err_code": 0, |
| 41 | + "type": -1 |
| 42 | + }, |
| 43 | + "get_rules": { |
| 44 | + "enable": 1, |
| 45 | + "err_code": 0, |
| 46 | + "rule_list": [] |
6 | 47 | }
|
7 | 48 | },
|
8 | 49 | "smartlife.iot.smartbulb.lightingservice": {
|
| 50 | + "get_default_behavior": { |
| 51 | + "err_code": 0, |
| 52 | + "hard_on": { |
| 53 | + "mode": "circadian" |
| 54 | + }, |
| 55 | + "soft_on": { |
| 56 | + "brightness": 50, |
| 57 | + "color_temp": 2700, |
| 58 | + "hue": 0, |
| 59 | + "index": 0, |
| 60 | + "mode": "customize_preset", |
| 61 | + "saturation": 0 |
| 62 | + } |
| 63 | + }, |
| 64 | + "get_light_details": { |
| 65 | + "color_rendering_index": 80, |
| 66 | + "err_code": 0, |
| 67 | + "incandescent_equivalent": 60, |
| 68 | + "lamp_beam_angle": 150, |
| 69 | + "max_lumens": 800, |
| 70 | + "max_voltage": 120, |
| 71 | + "min_voltage": 110, |
| 72 | + "wattage": 10 |
| 73 | + }, |
9 | 74 | "get_light_state": {
|
10 |
| - "brightness": 17, |
11 |
| - "color_temp": 2500, |
| 75 | + "brightness": 100, |
| 76 | + "color_temp": 2700, |
12 | 77 | "err_code": 0,
|
13 | 78 | "hue": 0,
|
14 | 79 | "mode": "normal",
|
|
29 | 94 | "deviceId": "0000000000000000000000000000000000000000",
|
30 | 95 | "disco_ver": "1.0",
|
31 | 96 | "err_code": 0,
|
32 |
| - "heapsize": 334708, |
| 97 | + "heapsize": 308144, |
33 | 98 | "hwId": "00000000000000000000000000000000",
|
34 | 99 | "hw_ver": "1.0",
|
35 | 100 | "is_color": 1,
|
36 | 101 | "is_dimmable": 1,
|
37 | 102 | "is_factory": false,
|
38 | 103 | "is_variable_color_temp": 1,
|
39 | 104 | "light_state": {
|
40 |
| - "brightness": 17, |
41 |
| - "color_temp": 2500, |
| 105 | + "brightness": 100, |
| 106 | + "color_temp": 2700, |
42 | 107 | "hue": 0,
|
43 | 108 | "mode": "normal",
|
44 | 109 | "on_off": 1,
|
|
51 | 116 | "preferred_state": [
|
52 | 117 | {
|
53 | 118 | "brightness": 50,
|
54 |
| - "color_temp": 2500, |
| 119 | + "color_temp": 2700, |
55 | 120 | "hue": 0,
|
56 | 121 | "index": 0,
|
57 | 122 | "saturation": 0
|
58 | 123 | },
|
59 | 124 | {
|
60 |
| - "brightness": 100, |
| 125 | + "brightness": 20, |
61 | 126 | "color_temp": 0,
|
62 |
| - "hue": 299, |
| 127 | + "hue": 0, |
63 | 128 | "index": 1,
|
64 |
| - "saturation": 95 |
| 129 | + "saturation": 75 |
65 | 130 | },
|
66 | 131 | {
|
67 | 132 | "brightness": 100,
|
|
0 commit comments