mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +00:00
6616d68d42
Starts structuring the documentation library usage into Tutorials, Guides, Explanations and Reference. Continues migrating new docs from rst to markdown. Extends the test framework discovery mocks to allow easy writing and testing of code examples.
77 lines
2.1 KiB
JSON
77 lines
2.1 KiB
JSON
{
|
|
"emeter": {
|
|
"get_realtime": {
|
|
"err_code": -1,
|
|
"err_msg": "module not support"
|
|
}
|
|
},
|
|
"smartlife.iot.common.emeter": {
|
|
"err_code": -1,
|
|
"err_msg": "module not support"
|
|
},
|
|
"smartlife.iot.dimmer": {
|
|
"get_dimmer_parameters": {
|
|
"bulb_type": 1,
|
|
"err_code": 0,
|
|
"fadeOffTime": 1000,
|
|
"fadeOnTime": 1000,
|
|
"gentleOffTime": 10000,
|
|
"gentleOnTime": 3000,
|
|
"minThreshold": 0,
|
|
"rampRate": 30
|
|
}
|
|
},
|
|
"smartlife.iot.smartbulb.lightingservice": {
|
|
"err_code": -1,
|
|
"err_msg": "module not support"
|
|
},
|
|
"system": {
|
|
"get_sysinfo": {
|
|
"active_mode": "none",
|
|
"alias": "Living Room Dimmer Switch",
|
|
"brightness": 25,
|
|
"dev_name": "Smart Wi-Fi Dimmer",
|
|
"deviceId": "000000000000000000000000000000000000000",
|
|
"err_code": 0,
|
|
"feature": "TIM",
|
|
"fwId": "00000000000000000000000000000000",
|
|
"hwId": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"icon_hash": "",
|
|
"latitude_i": 11.6210,
|
|
"led_off": 0,
|
|
"longitude_i": 42.2074,
|
|
"mac": "00:00:00:00:00:00",
|
|
"mic_type": "IOT.SMARTPLUGSWITCH",
|
|
"model": "HS220(US)",
|
|
"next_action": {
|
|
"type": -1
|
|
},
|
|
"oemId": "00000000000000000000000000000000",
|
|
"on_time": 0,
|
|
"preferred_state": [
|
|
{
|
|
"brightness": 100,
|
|
"index": 0
|
|
},
|
|
{
|
|
"brightness": 75,
|
|
"index": 1
|
|
},
|
|
{
|
|
"brightness": 50,
|
|
"index": 2
|
|
},
|
|
{
|
|
"brightness": 25,
|
|
"index": 3
|
|
}
|
|
],
|
|
"relay_state": 0,
|
|
"rssi": -35,
|
|
"sw_ver": "1.5.7 Build 180912 Rel.104837",
|
|
"updating": 0
|
|
}
|
|
}
|
|
}
|