mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
93 lines
2.7 KiB
JSON
93 lines
2.7 KiB
JSON
|
{
|
||
|
"smartlife.iot.common.emeter": {
|
||
|
"get_realtime": {
|
||
|
"err_code": 0,
|
||
|
"power_mw": 0,
|
||
|
"total_wh": 238
|
||
|
}
|
||
|
},
|
||
|
"smartlife.iot.smartbulb.lightingservice": {
|
||
|
"get_light_state": {
|
||
|
"dft_on_state": {
|
||
|
"brightness": 100,
|
||
|
"color_temp": 2500,
|
||
|
"hue": 255,
|
||
|
"mode": "normal",
|
||
|
"saturation": 100
|
||
|
},
|
||
|
"err_code": 0,
|
||
|
"on_off": 0
|
||
|
}
|
||
|
},
|
||
|
"system": {
|
||
|
"get_sysinfo": {
|
||
|
"active_mode": "none",
|
||
|
"alias": "Test bulb 6",
|
||
|
"ctrl_protocols": {
|
||
|
"name": "Linkie",
|
||
|
"version": "1.0"
|
||
|
},
|
||
|
"description": "Smart Wi-Fi LED Bulb with Color Changing",
|
||
|
"dev_state": "normal",
|
||
|
"deviceId": "0000000000000000000000000000000000000000",
|
||
|
"disco_ver": "1.0",
|
||
|
"err_code": 0,
|
||
|
"hwId": "00000000000000000000000000000000",
|
||
|
"hw_ver": "2.0",
|
||
|
"is_color": 1,
|
||
|
"is_dimmable": 1,
|
||
|
"is_factory": false,
|
||
|
"is_variable_color_temp": 1,
|
||
|
"latitude_i": 0,
|
||
|
"light_state": {
|
||
|
"dft_on_state": {
|
||
|
"brightness": 100,
|
||
|
"color_temp": 2500,
|
||
|
"hue": 255,
|
||
|
"mode": "normal",
|
||
|
"saturation": 100
|
||
|
},
|
||
|
"on_off": 0
|
||
|
},
|
||
|
"longitude_i": 0,
|
||
|
"mic_mac": "000000000000",
|
||
|
"mic_type": "IOT.SMARTBULB",
|
||
|
"model": "KL125(US)",
|
||
|
"oemId": "00000000000000000000000000000000",
|
||
|
"preferred_state": [
|
||
|
{
|
||
|
"brightness": 50,
|
||
|
"color_temp": 2700,
|
||
|
"hue": 0,
|
||
|
"index": 0,
|
||
|
"saturation": 0
|
||
|
},
|
||
|
{
|
||
|
"brightness": 100,
|
||
|
"color_temp": 0,
|
||
|
"hue": 0,
|
||
|
"index": 1,
|
||
|
"saturation": 100
|
||
|
},
|
||
|
{
|
||
|
"brightness": 100,
|
||
|
"color_temp": 0,
|
||
|
"hue": 120,
|
||
|
"index": 2,
|
||
|
"saturation": 100
|
||
|
},
|
||
|
{
|
||
|
"brightness": 100,
|
||
|
"color_temp": 0,
|
||
|
"hue": 240,
|
||
|
"index": 3,
|
||
|
"saturation": 100
|
||
|
}
|
||
|
],
|
||
|
"rssi": -63,
|
||
|
"status": "new",
|
||
|
"sw_ver": "1.0.7 Build 210811 Rel.171439"
|
||
|
}
|
||
|
}
|
||
|
}
|