python-kasa 0.6.0.dev2__py3-none-any.whl → 0.6.1__py3-none-any.whl

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.
Files changed (72) hide show
  1. kasa/__init__.py +2 -2
  2. kasa/aestransport.py +154 -101
  3. kasa/cli.py +42 -23
  4. kasa/device_factory.py +4 -3
  5. kasa/deviceconfig.py +19 -10
  6. kasa/discover.py +28 -11
  7. kasa/exceptions.py +15 -1
  8. kasa/httpclient.py +113 -0
  9. kasa/iotprotocol.py +30 -26
  10. kasa/json.py +5 -1
  11. kasa/klaptransport.py +60 -75
  12. kasa/modules/emeter.py +1 -1
  13. kasa/protocol.py +61 -16
  14. kasa/smartbulb.py +2 -2
  15. kasa/smartdevice.py +11 -7
  16. kasa/smartdimmer.py +2 -2
  17. kasa/smartlightstrip.py +2 -2
  18. kasa/smartplug.py +2 -2
  19. kasa/smartprotocol.py +16 -38
  20. kasa/smartstrip.py +2 -2
  21. kasa/tapo/tapodevice.py +19 -4
  22. kasa/tapo/tapoplug.py +2 -2
  23. kasa/tests/conftest.py +24 -8
  24. kasa/tests/fixtures/HS100(UK)_1.0_1.2.6.json +28 -0
  25. kasa/tests/fixtures/HS100(UK)_4.1_1.1.0.json +3 -3
  26. kasa/tests/fixtures/HS110(EU)_1.0_1.2.5.json +11 -23
  27. kasa/tests/fixtures/HS110(EU)_4.0_1.0.4.json +40 -0
  28. kasa/tests/fixtures/HS300(US)_2.0_1.0.12.json +90 -0
  29. kasa/tests/fixtures/KL125(US)_4.0_1.0.5.json +93 -0
  30. kasa/tests/fixtures/KL130(EU)_1.0_1.8.8.json +15 -15
  31. kasa/tests/fixtures/KL430(US)_2.0_1.0.11.json +59 -0
  32. kasa/tests/fixtures/KP105(UK)_1.0_1.0.5.json +36 -0
  33. kasa/tests/fixtures/KP105(UK)_1.0_1.0.7.json +4 -4
  34. kasa/tests/fixtures/KP115(EU)_1.0_1.0.16.json +9 -9
  35. kasa/tests/fixtures/KP115(US)_1.0_1.0.21.json +42 -0
  36. kasa/tests/fixtures/KP303(UK)_1.0_1.0.3.json +9 -25
  37. kasa/tests/fixtures/smart/EP25(US)_2.6_1.0.2.json +414 -0
  38. kasa/tests/fixtures/smart/L510B(EU)_3.0_1.0.5.json +263 -0
  39. kasa/tests/fixtures/smart/L510E(US)_3.0_1.0.5.json +295 -0
  40. kasa/tests/fixtures/smart/L510E(US)_3.0_1.1.2.json +267 -0
  41. kasa/tests/fixtures/smart/L530E(EU)_3.0_1.0.6.json +19 -19
  42. kasa/tests/fixtures/smart/L530E(EU)_3.0_1.1.0.json +12 -12
  43. kasa/tests/fixtures/smart/L530E(US)_2.0_1.1.0.json +439 -0
  44. kasa/tests/fixtures/smart/L900-10(EU)_1.0_1.0.17.json +10 -10
  45. kasa/tests/fixtures/smart/L900-10(US)_1.0_1.0.11.json +428 -0
  46. kasa/tests/fixtures/smart/L900-5(EU)_1.0_1.0.17.json +98 -20
  47. kasa/tests/fixtures/smart/L900-5(EU)_1.0_1.1.0.json +390 -0
  48. kasa/tests/fixtures/smart/L920-5(US)_1.0_1.1.0.json +397 -0
  49. kasa/tests/fixtures/smart/L920-5(US)_1.0_1.1.3.json +415 -0
  50. kasa/tests/fixtures/smart/L930-5(US)_1.0_1.1.2.json +429 -0
  51. kasa/tests/fixtures/smart/P100_1.0.0_1.3.7.json +197 -0
  52. kasa/tests/fixtures/smart/P110(EU)_1.0_1.2.3.json +28 -19
  53. kasa/tests/fixtures/smart/P110(UK)_1.0_1.3.0.json +31 -31
  54. kasa/tests/fixtures/smart/P125M(US)_1.0_1.1.0.json +11 -11
  55. kasa/tests/fixtures/smart/P135(US)_1.0_1.0.5.json +317 -0
  56. kasa/tests/fixtures/smart/S500D(US)_1.0_1.0.5.json +317 -0
  57. kasa/tests/fixtures/smart/S505(US)_1.0_1.0.2.json +309 -0
  58. kasa/tests/newfakes.py +3 -0
  59. kasa/tests/test_aestransport.py +110 -22
  60. kasa/tests/test_cli.py +49 -2
  61. kasa/tests/test_device_factory.py +6 -4
  62. kasa/tests/test_deviceconfig.py +24 -9
  63. kasa/tests/test_discovery.py +126 -9
  64. kasa/tests/test_httpclient.py +100 -0
  65. kasa/tests/test_klapprotocol.py +70 -23
  66. kasa/tests/test_protocol.py +76 -2
  67. kasa/tests/test_smartprotocol.py +0 -1
  68. {python_kasa-0.6.0.dev2.dist-info → python_kasa-0.6.1.dist-info}/METADATA +37 -15
  69. {python_kasa-0.6.0.dev2.dist-info → python_kasa-0.6.1.dist-info}/RECORD +72 -49
  70. {python_kasa-0.6.0.dev2.dist-info → python_kasa-0.6.1.dist-info}/LICENSE +0 -0
  71. {python_kasa-0.6.0.dev2.dist-info → python_kasa-0.6.1.dist-info}/WHEEL +0 -0
  72. {python_kasa-0.6.0.dev2.dist-info → python_kasa-0.6.1.dist-info}/entry_points.txt +0 -0
@@ -0,0 +1,295 @@
1
+ {
2
+ "component_nego": {
3
+ "component_list": [
4
+ {
5
+ "id": "device",
6
+ "ver_code": 2
7
+ },
8
+ {
9
+ "id": "firmware",
10
+ "ver_code": 2
11
+ },
12
+ {
13
+ "id": "quick_setup",
14
+ "ver_code": 3
15
+ },
16
+ {
17
+ "id": "inherit",
18
+ "ver_code": 1
19
+ },
20
+ {
21
+ "id": "time",
22
+ "ver_code": 1
23
+ },
24
+ {
25
+ "id": "wireless",
26
+ "ver_code": 1
27
+ },
28
+ {
29
+ "id": "schedule",
30
+ "ver_code": 2
31
+ },
32
+ {
33
+ "id": "countdown",
34
+ "ver_code": 2
35
+ },
36
+ {
37
+ "id": "antitheft",
38
+ "ver_code": 1
39
+ },
40
+ {
41
+ "id": "account",
42
+ "ver_code": 1
43
+ },
44
+ {
45
+ "id": "synchronize",
46
+ "ver_code": 1
47
+ },
48
+ {
49
+ "id": "sunrise_sunset",
50
+ "ver_code": 1
51
+ },
52
+ {
53
+ "id": "brightness",
54
+ "ver_code": 1
55
+ },
56
+ {
57
+ "id": "cloud_connect",
58
+ "ver_code": 1
59
+ },
60
+ {
61
+ "id": "default_states",
62
+ "ver_code": 1
63
+ },
64
+ {
65
+ "id": "preset",
66
+ "ver_code": 1
67
+ },
68
+ {
69
+ "id": "device_local_time",
70
+ "ver_code": 1
71
+ },
72
+ {
73
+ "id": "iot_cloud",
74
+ "ver_code": 1
75
+ },
76
+ {
77
+ "id": "bulb_quick_control",
78
+ "ver_code": 1
79
+ }
80
+ ]
81
+ },
82
+ "discovery_result": {
83
+ "device_id": "00000000000000000000000000000000",
84
+ "device_model": "L510E(US)",
85
+ "device_type": "SMART.TAPOBULB",
86
+ "factory_default": false,
87
+ "ip": "127.0.0.123",
88
+ "is_support_iot_cloud": true,
89
+ "mac": "00-00-00-00-00-00",
90
+ "mgt_encrypt_schm": {
91
+ "encrypt_type": "AES",
92
+ "http_port": 80,
93
+ "is_support_https": false,
94
+ "lv": 2
95
+ },
96
+ "obd_src": "tplink",
97
+ "owner": "00000000000000000000000000000000"
98
+ },
99
+ "get_antitheft_rules": {
100
+ "antitheft_rule_max_count": 1,
101
+ "enable": false,
102
+ "rule_list": []
103
+ },
104
+ "get_auto_update_info": {
105
+ "enable": true,
106
+ "random_range": 120,
107
+ "time": 180
108
+ },
109
+ "get_connect_cloud_state": {
110
+ "status": 0
111
+ },
112
+ "get_countdown_rules": {
113
+ "countdown_rule_max_count": 1,
114
+ "enable": false,
115
+ "rule_list": []
116
+ },
117
+ "get_device_info": {
118
+ "avatar": "bulb",
119
+ "brightness": 100,
120
+ "color_temp_range": [
121
+ 2700,
122
+ 2700
123
+ ],
124
+ "default_states": {
125
+ "brightness": {
126
+ "type": "last_states",
127
+ "value": 100
128
+ },
129
+ "re_power_type": "always_on"
130
+ },
131
+ "device_id": "0000000000000000000000000000000000000000",
132
+ "device_on": true,
133
+ "fw_id": "00000000000000000000000000000000",
134
+ "fw_ver": "1.0.5 Build 230529 Rel.113426",
135
+ "has_set_location_info": true,
136
+ "hw_id": "00000000000000000000000000000000",
137
+ "hw_ver": "3.0",
138
+ "ip": "127.0.0.123",
139
+ "lang": "",
140
+ "latitude": 0,
141
+ "longitude": 0,
142
+ "mac": "00-00-00-00-00-00",
143
+ "model": "L510",
144
+ "music_rhythm_enable": false,
145
+ "music_rhythm_mode": "single_lamp",
146
+ "nickname": "I01BU0tFRF9OQU1FIw==",
147
+ "oem_id": "00000000000000000000000000000000",
148
+ "overheated": false,
149
+ "region": "Pacific/Honolulu",
150
+ "rssi": -69,
151
+ "signal_level": 2,
152
+ "specs": "",
153
+ "ssid": "I01BU0tFRF9TU0lEIw==",
154
+ "time_diff": -600,
155
+ "type": "SMART.TAPOBULB"
156
+ },
157
+ "get_device_time": {
158
+ "region": "Pacific/Honolulu",
159
+ "time_diff": -600,
160
+ "timestamp": 1706060153
161
+ },
162
+ "get_device_usage": {
163
+ "power_usage": {
164
+ "past30": 1,
165
+ "past7": 1,
166
+ "today": 1
167
+ },
168
+ "saved_power": {
169
+ "past30": 4,
170
+ "past7": 4,
171
+ "today": 4
172
+ },
173
+ "time_usage": {
174
+ "past30": 5,
175
+ "past7": 5,
176
+ "today": 5
177
+ }
178
+ },
179
+ "get_fw_download_state": {
180
+ "auto_upgrade": false,
181
+ "download_progress": 0,
182
+ "reboot_time": 5,
183
+ "status": 0,
184
+ "upgrade_time": 5
185
+ },
186
+ "get_inherit_info": null,
187
+ "get_latest_fw": {
188
+ "fw_size": 786432,
189
+ "fw_ver": "1.1.2 Build 231120 Rel.201048",
190
+ "hw_id": "00000000000000000000000000000000",
191
+ "need_to_upgrade": true,
192
+ "oem_id": "00000000000000000000000000000000",
193
+ "release_date": "2023-12-04",
194
+ "release_note": "Modifications and Bug Fixes:\n1. Added the support for setting the Fade In time manually.\n2. Optimized Wi-Fi connection stability\n3. Enhanced local communication security.\n4. Fixed some minor bugs.",
195
+ "type": 1
196
+ },
197
+ "get_next_event": {},
198
+ "get_preset_rules": {
199
+ "brightness": [
200
+ 1,
201
+ 25,
202
+ 50,
203
+ 75,
204
+ 100
205
+ ]
206
+ },
207
+ "get_schedule_rules": {
208
+ "enable": false,
209
+ "rule_list": [],
210
+ "schedule_rule_max_count": 32,
211
+ "start_index": 0,
212
+ "sum": 0
213
+ },
214
+ "get_wireless_scan_info": {
215
+ "ap_list": [
216
+ {
217
+ "bssid": "000000000000",
218
+ "channel": 0,
219
+ "cipher_type": 2,
220
+ "key_type": "wpa2_psk",
221
+ "signal_level": 3,
222
+ "ssid": "I01BU0tFRF9TU0lEIw=="
223
+ },
224
+ {
225
+ "bssid": "000000000000",
226
+ "channel": 0,
227
+ "cipher_type": 2,
228
+ "key_type": "wpa2_psk",
229
+ "signal_level": 3,
230
+ "ssid": "I01BU0tFRF9TU0lEIw=="
231
+ },
232
+ {
233
+ "bssid": "000000000000",
234
+ "channel": 0,
235
+ "cipher_type": 2,
236
+ "key_type": "wpa2_psk",
237
+ "signal_level": 2,
238
+ "ssid": "I01BU0tFRF9TU0lEIw=="
239
+ },
240
+ {
241
+ "bssid": "000000000000",
242
+ "channel": 0,
243
+ "cipher_type": 2,
244
+ "key_type": "wpa2_psk",
245
+ "signal_level": 2,
246
+ "ssid": "I01BU0tFRF9TU0lEIw=="
247
+ },
248
+ {
249
+ "bssid": "000000000000",
250
+ "channel": 0,
251
+ "cipher_type": 2,
252
+ "key_type": "wpa2_psk",
253
+ "signal_level": 2,
254
+ "ssid": "I01BU0tFRF9TU0lEIw=="
255
+ },
256
+ {
257
+ "bssid": "000000000000",
258
+ "channel": 0,
259
+ "cipher_type": 2,
260
+ "key_type": "wpa2_psk",
261
+ "signal_level": 1,
262
+ "ssid": "I01BU0tFRF9TU0lEIw=="
263
+ }
264
+ ],
265
+ "wep_supported": false
266
+ },
267
+ "qs_component_nego": {
268
+ "component_list": [
269
+ {
270
+ "id": "quick_setup",
271
+ "ver_code": 3
272
+ },
273
+ {
274
+ "id": "sunrise_sunset",
275
+ "ver_code": 1
276
+ },
277
+ {
278
+ "id": "inherit",
279
+ "ver_code": 1
280
+ },
281
+ {
282
+ "id": "iot_cloud",
283
+ "ver_code": 1
284
+ },
285
+ {
286
+ "id": "firmware",
287
+ "ver_code": 2
288
+ }
289
+ ],
290
+ "extra_info": {
291
+ "device_model": "L510",
292
+ "device_type": "SMART.TAPOBULB"
293
+ }
294
+ }
295
+ }
@@ -0,0 +1,267 @@
1
+ {
2
+ "component_nego": {
3
+ "component_list": [
4
+ {
5
+ "id": "device",
6
+ "ver_code": 2
7
+ },
8
+ {
9
+ "id": "firmware",
10
+ "ver_code": 2
11
+ },
12
+ {
13
+ "id": "quick_setup",
14
+ "ver_code": 3
15
+ },
16
+ {
17
+ "id": "inherit",
18
+ "ver_code": 1
19
+ },
20
+ {
21
+ "id": "time",
22
+ "ver_code": 1
23
+ },
24
+ {
25
+ "id": "wireless",
26
+ "ver_code": 1
27
+ },
28
+ {
29
+ "id": "schedule",
30
+ "ver_code": 2
31
+ },
32
+ {
33
+ "id": "countdown",
34
+ "ver_code": 2
35
+ },
36
+ {
37
+ "id": "antitheft",
38
+ "ver_code": 1
39
+ },
40
+ {
41
+ "id": "account",
42
+ "ver_code": 1
43
+ },
44
+ {
45
+ "id": "synchronize",
46
+ "ver_code": 1
47
+ },
48
+ {
49
+ "id": "sunrise_sunset",
50
+ "ver_code": 1
51
+ },
52
+ {
53
+ "id": "brightness",
54
+ "ver_code": 1
55
+ },
56
+ {
57
+ "id": "cloud_connect",
58
+ "ver_code": 1
59
+ },
60
+ {
61
+ "id": "default_states",
62
+ "ver_code": 1
63
+ },
64
+ {
65
+ "id": "preset",
66
+ "ver_code": 1
67
+ },
68
+ {
69
+ "id": "device_local_time",
70
+ "ver_code": 1
71
+ },
72
+ {
73
+ "id": "iot_cloud",
74
+ "ver_code": 1
75
+ },
76
+ {
77
+ "id": "bulb_quick_control",
78
+ "ver_code": 1
79
+ },
80
+ {
81
+ "id": "on_off_gradually",
82
+ "ver_code": 3
83
+ },
84
+ {
85
+ "id": "localSmart",
86
+ "ver_code": 1
87
+ }
88
+ ]
89
+ },
90
+ "discovery_result": {
91
+ "device_id": "00000000000000000000000000000000",
92
+ "device_model": "L510E(US)",
93
+ "device_type": "SMART.TAPOBULB",
94
+ "factory_default": false,
95
+ "ip": "127.0.0.123",
96
+ "is_support_iot_cloud": true,
97
+ "mac": "3C-52-A1-00-00-00",
98
+ "mgt_encrypt_schm": {
99
+ "encrypt_type": "KLAP",
100
+ "http_port": 80,
101
+ "is_support_https": false,
102
+ "lv": 2
103
+ },
104
+ "obd_src": "tplink",
105
+ "owner": "00000000000000000000000000000000"
106
+ },
107
+ "get_antitheft_rules": {
108
+ "antitheft_rule_max_count": 1,
109
+ "enable": false,
110
+ "rule_list": []
111
+ },
112
+ "get_auto_update_info": {
113
+ "enable": true,
114
+ "random_range": 120,
115
+ "time": 180
116
+ },
117
+ "get_connect_cloud_state": {
118
+ "status": 0
119
+ },
120
+ "get_countdown_rules": {
121
+ "countdown_rule_max_count": 1,
122
+ "enable": false,
123
+ "rule_list": []
124
+ },
125
+ "get_device_info": {
126
+ "avatar": "bulb",
127
+ "brightness": 100,
128
+ "color_temp_range": [
129
+ 2700,
130
+ 2700
131
+ ],
132
+ "default_states": {
133
+ "brightness": {
134
+ "type": "last_states",
135
+ "value": 100
136
+ },
137
+ "re_power_type": "always_on"
138
+ },
139
+ "device_id": "0000000000000000000000000000000000000000",
140
+ "device_on": true,
141
+ "fw_id": "00000000000000000000000000000000",
142
+ "fw_ver": "1.1.2 Build 231120 Rel.201048",
143
+ "has_set_location_info": true,
144
+ "hw_id": "00000000000000000000000000000000",
145
+ "hw_ver": "3.0",
146
+ "ip": "127.0.0.123",
147
+ "lang": "en_US",
148
+ "latitude": 0,
149
+ "longitude": 0,
150
+ "mac": "3C-52-A1-00-00-00",
151
+ "model": "L510",
152
+ "music_rhythm_enable": false,
153
+ "music_rhythm_mode": "single_lamp",
154
+ "nickname": "I01BU0tFRF9OQU1FIw==",
155
+ "oem_id": "00000000000000000000000000000000",
156
+ "overheated": false,
157
+ "region": "Pacific/Honolulu",
158
+ "rssi": -69,
159
+ "signal_level": 2,
160
+ "specs": "",
161
+ "ssid": "I01BU0tFRF9TU0lEIw==",
162
+ "time_diff": -600,
163
+ "type": "SMART.TAPOBULB"
164
+ },
165
+ "get_device_time": {
166
+ "region": "Pacific/Honolulu",
167
+ "time_diff": -600,
168
+ "timestamp": 1706060527
169
+ },
170
+ "get_device_usage": {
171
+ "power_usage": {
172
+ "past30": 1,
173
+ "past7": 1,
174
+ "today": 1
175
+ },
176
+ "saved_power": {
177
+ "past30": 9,
178
+ "past7": 9,
179
+ "today": 9
180
+ },
181
+ "time_usage": {
182
+ "past30": 10,
183
+ "past7": 10,
184
+ "today": 10
185
+ }
186
+ },
187
+ "get_fw_download_state": {
188
+ "auto_upgrade": false,
189
+ "download_progress": 0,
190
+ "reboot_time": 5,
191
+ "status": 0,
192
+ "upgrade_time": 5
193
+ },
194
+ "get_inherit_info": null,
195
+ "get_latest_fw": {
196
+ "fw_size": 0,
197
+ "fw_ver": "1.1.2 Build 231120 Rel.201048",
198
+ "hw_id": "",
199
+ "need_to_upgrade": false,
200
+ "oem_id": "",
201
+ "release_date": "",
202
+ "release_note": "",
203
+ "type": 0
204
+ },
205
+ "get_next_event": {},
206
+ "get_on_off_gradually_info": {
207
+ "off_state": {
208
+ "duration": 2,
209
+ "enable": false,
210
+ "max_duration": 60
211
+ },
212
+ "on_state": {
213
+ "duration": 2,
214
+ "enable": false,
215
+ "max_duration": 60
216
+ }
217
+ },
218
+ "get_preset_rules": {
219
+ "brightness": [
220
+ 1,
221
+ 25,
222
+ 50,
223
+ 75,
224
+ 100
225
+ ]
226
+ },
227
+ "get_schedule_rules": {
228
+ "enable": false,
229
+ "rule_list": [],
230
+ "schedule_rule_max_count": 32,
231
+ "start_index": 0,
232
+ "sum": 0
233
+ },
234
+ "get_wireless_scan_info": {
235
+ "ap_list": [],
236
+ "wep_supported": false
237
+ },
238
+ "qs_component_nego": {
239
+ "component_list": [
240
+ {
241
+ "id": "quick_setup",
242
+ "ver_code": 3
243
+ },
244
+ {
245
+ "id": "sunrise_sunset",
246
+ "ver_code": 1
247
+ },
248
+ {
249
+ "id": "inherit",
250
+ "ver_code": 1
251
+ },
252
+ {
253
+ "id": "iot_cloud",
254
+ "ver_code": 1
255
+ },
256
+ {
257
+ "id": "firmware",
258
+ "ver_code": 2
259
+ }
260
+ ],
261
+ "extra_info": {
262
+ "device_model": "L510",
263
+ "device_type": "SMART.TAPOBULB",
264
+ "is_klap": true
265
+ }
266
+ }
267
+ }
@@ -106,7 +106,7 @@
106
106
  "factory_default": false,
107
107
  "ip": "127.0.0.123",
108
108
  "is_support_iot_cloud": true,
109
- "mac": "00-00-00-00-00-00",
109
+ "mac": "5C-E9-31-00-00-00",
110
110
  "mgt_encrypt_schm": {
111
111
  "encrypt_type": "AES",
112
112
  "http_port": 80,
@@ -141,7 +141,7 @@
141
141
  "get_device_info": {
142
142
  "avatar": "bulb",
143
143
  "brightness": 100,
144
- "color_temp": 2500,
144
+ "color_temp": 6500,
145
145
  "color_temp_range": [
146
146
  2500,
147
147
  6500
@@ -150,33 +150,33 @@
150
150
  "re_power_type": "always_on",
151
151
  "state": {
152
152
  "brightness": 100,
153
- "color_temp": 2500,
154
- "hue": 31,
155
- "saturation": 88
153
+ "color_temp": 6500,
154
+ "hue": 9,
155
+ "saturation": 67
156
156
  },
157
157
  "type": "last_states"
158
158
  },
159
159
  "device_id": "0000000000000000000000000000000000000000",
160
- "device_on": false,
160
+ "device_on": true,
161
161
  "dynamic_light_effect_enable": false,
162
162
  "fw_id": "00000000000000000000000000000000",
163
163
  "fw_ver": "1.0.6 Build 230509 Rel.195312",
164
164
  "has_set_location_info": true,
165
- "hue": 31,
165
+ "hue": 9,
166
166
  "hw_id": "00000000000000000000000000000000",
167
167
  "hw_ver": "3.0",
168
168
  "ip": "127.0.0.123",
169
169
  "lang": "en_US",
170
170
  "latitude": 0,
171
171
  "longitude": 0,
172
- "mac": "00-00-00-00-00-00",
172
+ "mac": "5C-E9-31-00-00-00",
173
173
  "model": "L530",
174
174
  "nickname": "I01BU0tFRF9OQU1FIw==",
175
175
  "oem_id": "00000000000000000000000000000000",
176
176
  "overheated": false,
177
177
  "region": "Europe/Berlin",
178
178
  "rssi": -48,
179
- "saturation": 88,
179
+ "saturation": 67,
180
180
  "signal_level": 3,
181
181
  "specs": "",
182
182
  "ssid": "I01BU0tFRF9TU0lEIw==",
@@ -186,23 +186,23 @@
186
186
  "get_device_time": {
187
187
  "region": "Europe/Berlin",
188
188
  "time_diff": 60,
189
- "timestamp": 1704212283
189
+ "timestamp": 1705700000
190
190
  },
191
191
  "get_device_usage": {
192
192
  "power_usage": {
193
- "past30": 53,
194
- "past7": 12,
195
- "today": 0
193
+ "past30": 19,
194
+ "past7": 3,
195
+ "today": 3
196
196
  },
197
197
  "saved_power": {
198
- "past30": 494,
199
- "past7": 112,
200
- "today": 0
198
+ "past30": 179,
199
+ "past7": 20,
200
+ "today": 20
201
201
  },
202
202
  "time_usage": {
203
- "past30": 547,
204
- "past7": 124,
205
- "today": 0
203
+ "past30": 198,
204
+ "past7": 23,
205
+ "today": 23
206
206
  }
207
207
  },
208
208
  "get_dynamic_light_effect_rules": {