mirror of
				https://github.com/python-kasa/python-kasa.git
				synced 2025-11-04 06:32:07 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			172 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			172 lines
		
	
	
		
			4.3 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "component_nego": {
 | 
						|
        "component_list": [
 | 
						|
            {
 | 
						|
                "id": "device",
 | 
						|
                "ver_code": 2
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "quick_setup",
 | 
						|
                "ver_code": 3
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "time",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "device_local_time",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "schedule",
 | 
						|
                "ver_code": 2
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "countdown",
 | 
						|
                "ver_code": 2
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "account",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "synchronize",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "sunrise_sunset",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "cloud_connect",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "iot_cloud",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "frost_protection",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "child_protection",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "temperature",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "temp_control",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "remove_scale",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "shutdown_mode",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "progress_calibration",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "early_start",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "temp_record",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "screen_setting",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "night_mode",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "smart_control_schedule",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "firmware",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "battery_detect",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "temperature_correction",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "window_open_detect",
 | 
						|
                "ver_code": 2
 | 
						|
            }
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "get_connect_cloud_state": {
 | 
						|
        "status": 0
 | 
						|
    },
 | 
						|
    "get_device_info": {
 | 
						|
        "at_low_battery": false,
 | 
						|
        "avatar": "kasa_trv",
 | 
						|
        "battery_percentage": 100,
 | 
						|
        "bind_count": 1,
 | 
						|
        "category": "subg.trv",
 | 
						|
        "child_protection": false,
 | 
						|
        "current_temp": 19.2,
 | 
						|
        "device_id": "SCRUBBED_CHILD_DEVICE_ID_7",
 | 
						|
        "frost_protection_on": false,
 | 
						|
        "fw_ver": "2.8.0 Build 240202 Rel.135229",
 | 
						|
        "hw_id": "00000000000000000000000000000000",
 | 
						|
        "hw_ver": "1.0",
 | 
						|
        "jamming_rssi": -121,
 | 
						|
        "jamming_signal_level": 1,
 | 
						|
        "lastOnboardingTimestamp": 1705684116,
 | 
						|
        "location": "",
 | 
						|
        "mac": "F0A731000000",
 | 
						|
        "max_control_temp": 30,
 | 
						|
        "min_control_temp": 5,
 | 
						|
        "model": "KE100",
 | 
						|
        "nickname": "I01BU0tFRF9OQU1FIw==",
 | 
						|
        "oem_id": "00000000000000000000000000000000",
 | 
						|
        "parent_device_id": "0000000000000000000000000000000000000000",
 | 
						|
        "region": "Europe/London",
 | 
						|
        "rssi": -73,
 | 
						|
        "signal_level": 2,
 | 
						|
        "specs": "EU",
 | 
						|
        "status": "online",
 | 
						|
        "target_temp": 21.0,
 | 
						|
        "temp_offset": 0,
 | 
						|
        "temp_unit": "celsius",
 | 
						|
        "trv_states": [
 | 
						|
            "heating"
 | 
						|
        ],
 | 
						|
        "type": "SMART.KASAENERGY"
 | 
						|
    },
 | 
						|
    "get_fw_download_state": {
 | 
						|
        "cloud_cache_seconds": 1,
 | 
						|
        "download_progress": 0,
 | 
						|
        "reboot_time": 5,
 | 
						|
        "status": 0,
 | 
						|
        "upgrade_time": 5
 | 
						|
    },
 | 
						|
    "get_latest_fw": {
 | 
						|
        "fw_size": 0,
 | 
						|
        "fw_ver": "2.8.0 Build 240202 Rel.135229",
 | 
						|
        "hw_id": "",
 | 
						|
        "need_to_upgrade": false,
 | 
						|
        "oem_id": "",
 | 
						|
        "release_date": "",
 | 
						|
        "release_note": "",
 | 
						|
        "type": 0
 | 
						|
    }
 | 
						|
}
 |