10000 Add KS225(US)_1.0_1.1.1 and L930-5(EU)_1.0_1.2.5 (#1509) · python-kasa/python-kasa@f0abc28 · GitHub
[go: up one dir, main page]

Skip to content

Commit f0abc28

Browse files
authored
Add KS225(US)_1.0_1.1.1 and L930-5(EU)_1.0_1.2.5 (#1509)
Added fixture files, one device was added directly into HomeKit, and one device was added through Matter from the obd_src. I'm not sure if that makes a difference for you, but the devices are working correctly through my plug-in with the latest python-kasa 0.10.2.
1 parent f488492 commit f0abc28

File tree

3 files changed

+834
-0
lines changed

3 files changed

+834
-0
lines changed

SUPPORTED.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,7 @@ Some newer Kasa devices require authentication. These are marked with [^1] in th
118118
- **KS225**
119119
- Hardware: 1.0 (US) / Firmware: 1.0.2[^1]
120120
- Hardware: 1.0 (US) / Firmware: 1.1.0[^1]
121+
- Hardware: 1.0 (US) / Firmware: 1.1.1[^1]
121122
- **KS230**
122123
- Hardware: 1.0 (US) / Firmware: 1.0.14
123124
- Hardware: 2.0 (US) / Firmware: 1.0.11
@@ -269,6 +270,7 @@ All Tapo devices require authentication.<br>Hub-Connected Devices may work acros
269270
- Hardware: 1.0 (US) / Firmware: 1.1.0
270271
- Hardware: 1.0 (US) / Firmware: 1.1.3
271272
- **L930-5**
273+
- Hardware: 1.0 (EU) / Firmware: 1.2.5
272274
- Hardware: 1.0 (US) / Firmware: 1.1.2
273275

274276
### Cameras
Lines changed: 304 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,304 @@
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+
D7AE {
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": "led",
54+
"ver_code": 1
55+
},
56+
{
57+
"id": "cloud_connect",
58+
"ver_code": 1
59+
},
60+
{
61+
"id": "iot_cloud",
62+
"ver_code": 1
63+
},
64+
{
65+
"id": "device_local_time",
66+
"ver_code": 1
67+
},
68+
{
69+
"id": "default_states",
70+
"ver_code": 1
71+
},
72+
{
73+
"id": "brightness",
74+
"ver_code": 1
75+
},
76+
{
77+
"id": "preset",
78+
"ver_code": 1
79+
},
80+
{
81+
"id": "on_off_gradually",
82+
"ver_code": 2
83+
},
84+
{
85+
"id": "dimmer_calibration",
86+
"ver_code": 1
87+
},
88+
{
89+
"id": "overheat_protection",
90+
"ver_code": 1
91+
},
92+
{
93+
"id": "matter",
94+
"ver_code": 2
95+
}
96+
]
97+
},
98+
"discovery_result": {
99+
"error_code": 0,
100+
"result": {
101+
"device_id": "00000000000000000000000000000000",
102+
"device_model": "KS225(US)",
103+
"device_type": "SMART.KASASWITCH",
104+
"factory_default": false,
105+
"ip": "127.0.0.123",
106+
"is_support_iot_cloud": true,
107+
"mac": "3C-52-A1-00-00-00",
108+
"mgt_encrypt_schm": {
109+
"encrypt_type": "KLAP",
110+
"http_port": 80,
111+
"is_support_https": false,
112+
"lv": 2
113+
},
114+
"obd_src": "matter",
115+
"owner": "00000000000000000000000000000000",
116+
"protocol_version": 1
117+
}
118+
},
119+
"get_antitheft_rules": {
120+
"antitheft_rule_max_count": 1,
121+
"enable": false,
122+
"rule_list": []
123+
},
124+
"get_auto_update_info": {
125+
"enable": true,
126+
"random_range": 120,
127+
"time": 180
128+
},
129+
"get_connect_cloud_state": {
130+
"status": 0
131+
},
132+
"get_countdown_rules": {
133+
"countdown_rule_max_count": 1,
134+
"enable": false,
135+
"rule_list": []
136+
},
137+
"get_device_info": {
138+
"avatar": "switch_s500d",
139+
"brightness": 25,
140+
"default_states": {
141+
"re_power_type": "always_off",
142+
"re_power_type_capability": [
143+
"last_states",
144+
"always_on",
145+
"always_off"
146+
],
147+
"type": "last_states"
148+
},
149+
"device_id": "0000000000000000000000000000000000000000",
150+
"device_on": false,
151+
"fw_id": "00000000000000000000000000000000",
152+
"fw_ver": "1.1.1 Build 240626 Rel.175125",
153+
"has_set_location_info": true,
154+
"hw_id": "00000000000000000000000000000000",
155+
"hw_ver": "1.0",
156+
"ip": "127.0.0.123",
157+
"lang": "en_US",
158+
"latitude": 0,
159+
"longitude": 0,
160+
"mac": "3C-52-A1-00-00-00",
161+
"model": "KS225",
162+
"nickname": "I01BU0tFRF9OQU1FIw==",
163+
"oem_id": "00000000000000000000000000000000",
164+
"on_time": 0,
165+
"overheat_status": "normal",
166+
"region": "America/Toronto",
167+
"rssi": -38,
168+
"signal_level": 3,
169+
"specs": "",
170+
"ssid": "I01BU0tFRF9TU0lEIw==",
171+
"time_diff": -300,
172+
"type": "SMART.KASASWITCH"
173+
},
174+
"get_device_time": {
175+
"region": "America/Toronto",
176+
"time_diff": -300,
177+
"timestamp": 1739199350
178+
},
179+
"get_device_usage": {
180+
"time_usage": {
181+
"past30": 2189,
182+
"past7": 705,
183+
"today": 0
184+
}
185+
},
186+
"get_fw_download_state": {
187+
"auto_upgrade": false,
188+
"download_progress": 0,
189+
"reboot_time": 5,
190+
"status": 0,
191+
"upgrade_time": 5
192+
},
193+
"get_inherit_info": null,
194+
"get_latest_fw": {
195+
"fw_size": 0,
196+
"fw_ver": "1.1.1 Build 240626 Rel.175125",
197+
"hw_id": "",
198+
"need_to_upgrade": false,
199+
"oem_id": "",
200+
"release_date": "",
201+
"release_note": "",
202+
"type": 0
203+
},
204+
"get_led_info": {
205+
"bri_config": {
206+
"bri_type": "overall",
207+
"overall_bri": 50
208+
},
209+
"led_rule": "always",
210+
"led_status": true,
211+
"night_mode": {
212+
"end_time": 423,
213+
"night_mode_type": "sunrise_sunset",
214+
"start_time": 1036,
215+
"sunrise_offset": 0,
216+
"sunset_offset": 0
217+
}
218+
},
219+
"get_matter_setup_info": {
220+
"setup_code": "00000000000",
221+
"setup_payload": "00:000000-000000000000"
222+
},
223+
"get_next_event": {},
224+
"get_on_off_gradually_info": {
225+
"off_state": {
226+
"duration": 3,
227+
"enable": true,
228+
"max_duration": 60
229+
},
230+
"on_state": {
231+
"duration": 3,
232+
"enable": true,
233+
"max_duration": 60
234+
}
235+
},
236+
"get_preset_rules": {
237+
"brightness": [
238+
100,
239+
75,
240+
50,
241+
25,
242+
1
243+
]
244+
},
245+
"get_schedule_rules": {
246+
"enable": false,
247+
"rule_list": [],
248+
"schedule_rule_max_count": 32,
249+
"start_index": 0,
250+
"sum": 0
251+
},
252+
"get_wireless_scan_info": {
253+
"ap_list": [
254+
{
255+
"bssid": "000000000000",
256+
"channel": 0,
257+
"cipher_type": 2,
258+
"key_type": "wpa2_psk",
259+
"signal_level": 3,
260+
"ssid": "I01BU0tFRF9TU0lEIw=="
261+
}
262+
],
263+
"start_index": 0,
264+
"sum": 19,
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": "ble_whole_setup",
279+
"ver_code": 1
280+
},
281+
{
282+
"id": "matter",
283+
"ver_code": 2
284+
},
285+
{
286+
"id": "iot_cloud",
287+
"ver_code": 1
288+
},
289+
{
290+
"id": "inherit",
291+
"ver_code": 1
292+
},
293+
{
294+
"id": "firmware",
295+
"ver_code": 2
296+
}
297+
],
298+
"extra_info": {
299+
"device_model": "KS225",
300+
"device_type": "SMART.KASASWITCH",
301+
"is_klap": true
302+
}
303+
}
304+
}

0 commit comments

Comments
 (0)
0