Adding KP303 to supported devices (#25)

* Adding KP303(UK)_1.0.json

Adding the result file for the KP303 from kasa dump-discover

* Update readme to include KP303 as a supported device
This commit is contained in:
Alex Cragg 2020-01-28 13:58:20 +00:00 committed by Teemu R
parent 3337c574ce
commit 15b0c8c0e6
2 changed files with 71 additions and 0 deletions

View File

@ -16,6 +16,7 @@ Python Library to control TPLink smart plugs/switches and smart bulbs.
* HS110
* Power Strips
* HS300
* KP303
* Wall switches
* HS200
* HS210

70
kasa/tests/fixtures/KP303(UK)_1.0.json vendored Normal file
View File

@ -0,0 +1,70 @@
{
"emeter": {
"err_code": -1,
"err_msg": "module not support"
},
"smartlife.iot.common.emeter": {
"err_code": -1,
"err_msg": "module not support"
},
"smartlife.iot.dimmer": {
"err_code": -1,
"err_msg": "module not support"
},
"smartlife.iot.smartbulb.lightingservice": {
"err_code": -1,
"err_msg": "module not support"
},
"system": {
"get_sysinfo": {
"alias": "TP-LINK_Power Strip_CF69",
"child_num": 3,
"children": [
{
"alias": "Plug 1",
"id": "00",
"next_action": {
"type": -1
},
"on_time": 302,
"state": 1
},
{
"alias": "Plug 2",
"id": "01",
"next_action": {
"type": -1
},
"on_time": 0,
"state": 0
},
{
"alias": "Plug 3",
"id": "02",
"next_action": {
"type": -1
},
"on_time": 0,
"state": 0
}
],
"deviceId": "0000000000000000000000000000000000000000",
"err_code": 0,
"feature": "TIM",
"hwId": "00000000000000000000000000000000",
"hw_ver": "1.0",
"latitude_i": 0,
"led_off": 0,
"longitude_i": 0,
"mac": "00:00:00:00:00:00",
"mic_type": "IOT.SMARTPLUGSWITCH",
"model": "KP303(UK)",
"ntc_state": 0,
"oemId": "00000000000000000000000000000000",
"rssi": -63,
"status": "new",
"sw_ver": "1.0.3 Build 191105 Rel.113122",
"updating": 0
}
}
}