mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-06-11 04:35:40 +00:00

Some checks failed
CI / Perform linting checks (3.13) (push) Has been cancelled
CodeQL checks / Analyze (python) (push) Has been cancelled
CI / Python 3.11 on macos-latest (push) Has been cancelled
CI / Python 3.12 on macos-latest (push) Has been cancelled
CI / Python 3.13 on macos-latest (push) Has been cancelled
CI / Python 3.11 on ubuntu-latest (push) Has been cancelled
CI / Python 3.12 on ubuntu-latest (push) Has been cancelled
CI / Python 3.13 on ubuntu-latest (push) Has been cancelled
CI / Python 3.11 on windows-latest (push) Has been cancelled
CI / Python 3.12 on windows-latest (push) Has been cancelled
CI / Python 3.13 on windows-latest (push) Has been cancelled
Stale / stale (push) Has been cancelled
The LB100 was already in the device_fixtures.py for tests, but was not listed in the supported devices nor did it have a fixture file.
136 lines
3.8 KiB
JSON
136 lines
3.8 KiB
JSON
{
|
|
"smartlife.iot.common.cloud": {
|
|
"get_info": {
|
|
"binded": 1,
|
|
"cld_connection": 1,
|
|
"err_code": 0,
|
|
"fwDlPage": "",
|
|
"fwNotifyType": 0,
|
|
"illegalType": 0,
|
|
"server": "n-devs.tplinkcloud.com",
|
|
"stopConnect": 0,
|
|
"tcspInfo": "",
|
|
"tcspStatus": 1,
|
|
"username": "user@example.com"
|
|
},
|
|
"get_intl_fw_list": {
|
|
"err_code": 0,
|
|
"fw_list": []
|
|
}
|
|
},
|
|
"smartlife.iot.common.emeter": {
|
|
"get_realtime": {
|
|
"err_code": 0,
|
|
"power_mw": 4400
|
|
}
|
|
},
|
|
"smartlife.iot.common.schedule": {
|
|
"get_next_action": {
|
|
"err_code": 0,
|
|
"type": -1
|
|
},
|
|
"get_rules": {
|
|
"enable": 1,
|
|
"err_code": 0,
|
|
"rule_list": [],
|
|
"version": 2
|
|
}
|
|
},
|
|
"smartlife.iot.smartbulb.lightingservice": {
|
|
"get_default_behavior": {
|
|
"err_code": 0,
|
|
"hard_on": {
|
|
"mode": "last_status"
|
|
},
|
|
"soft_on": {
|
|
"mode": "last_status"
|
|
}
|
|
},
|
|
"get_light_details": {
|
|
"color_rendering_index": 80,
|
|
"err_code": 0,
|
|
"incandescent_equivalent": 50,
|
|
"lamp_beam_angle": 270,
|
|
"max_lumens": 600,
|
|
"max_voltage": 120,
|
|
"min_voltage": 110,
|
|
"wattage": 7
|
|
},
|
|
"get_light_state": {
|
|
"brightness": 50,
|
|
"color_temp": 2700,
|
|
"err_code": 0,
|
|
"hue": 0,
|
|
"mode": "normal",
|
|
"on_off": 1,
|
|
"saturation": 0
|
|
}
|
|
},
|
|
"system": {
|
|
"get_sysinfo": {
|
|
"active_mode": "none",
|
|
"alias": "#MASKED_NAME#",
|
|
"ctrl_protocols": {
|
|
"name": "Linkie",
|
|
"version": "1.0"
|
|
},
|
|
"description": "Smart Wi-Fi LED Bulb with Dimmable Light",
|
|
"dev_state": "normal",
|
|
"deviceId": "0000000000000000000000000000000000000000",
|
|
"disco_ver": "1.0",
|
|
"err_code": 0,
|
|
"heapsize": 291960,
|
|
"hwId": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"is_color": 0,
|
|
"is_dimmable": 1,
|
|
"is_factory": false,
|
|
"is_variable_color_temp": 0,
|
|
"light_state": {
|
|
"brightness": 50,
|
|
"color_temp": 2700,
|
|
"hue": 0,
|
|
"mode": "normal",
|
|
"on_off": 1,
|
|
"saturation": 0
|
|
},
|
|
"mic_mac": "50C7BF000000",
|
|
"mic_type": "IOT.SMARTBULB",
|
|
"model": "LB100(US)",
|
|
"oemId": "00000000000000000000000000000000",
|
|
"preferred_state": [
|
|
{
|
|
"brightness": 100,
|
|
"color_temp": 2700,
|
|
"hue": 0,
|
|
"index": 0,
|
|
"saturation": 0
|
|
},
|
|
{
|
|
"brightness": 75,
|
|
"color_temp": 2700,
|
|
"hue": 0,
|
|
"index": 1,
|
|
"saturation": 0
|
|
},
|
|
{
|
|
"brightness": 25,
|
|
"color_temp": 2700,
|
|
"hue": 0,
|
|
"index": 2,
|
|
"saturation": 0
|
|
},
|
|
{
|
|
"brightness": 1,
|
|
"color_temp": 2700,
|
|
"hue": 0,
|
|
"index": 3,
|
|
"saturation": 0
|
|
}
|
|
],
|
|
"rssi": -46,
|
|
"sw_ver": "1.8.11 Build 191113 Rel.105336"
|
|
}
|
|
}
|
|
}
|