mirror of
				https://github.com/python-kasa/python-kasa.git
				synced 2025-11-03 22:22:06 +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 ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.11) (push) Has been cancelled
				
			CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.12) (push) Has been cancelled
				
			CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.13) (push) Has been cancelled
				
			CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.11) (push) Has been cancelled
				
			CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.12) (push) Has been cancelled
				
			CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.13) (push) Has been cancelled
				
			CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.11) (push) Has been cancelled
				
			CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.12) (push) Has been cancelled
				
			CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.13) (push) Has been cancelled
				
			CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.11) (push) Has been cancelled
				
			CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.12) (push) Has been cancelled
				
			CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.13) (push) Has been cancelled
				
			Stale / stale (push) Has been cancelled
				
			Co-authored-by: Steven B <51370195+sdb9696@users.noreply.github.com>
		
			
				
	
	
		
			531 lines
		
	
	
		
			10 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			531 lines
		
	
	
		
			10 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
{
 | 
						|
    "component_nego": {
 | 
						|
        "component_list": [
 | 
						|
            {
 | 
						|
                "id": "device",
 | 
						|
                "ver_code": 2
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "quick_setup",
 | 
						|
                "ver_code": 3
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "trigger_log",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "time",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "device_local_time",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "account",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "synchronize",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "cloud_connect",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "iot_cloud",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "firmware",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "localSmart",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "battery_detect",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "temperature",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "humidity",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "temp_humidity_record",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "comfort_temperature",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "comfort_humidity",
 | 
						|
                "ver_code": 1
 | 
						|
            },
 | 
						|
            {
 | 
						|
                "id": "report_mode",
 | 
						|
                "ver_code": 1
 | 
						|
            }
 | 
						|
        ]
 | 
						|
    },
 | 
						|
    "get_connect_cloud_state": {
 | 
						|
        "status": 0
 | 
						|
    },
 | 
						|
    "get_device_info": {
 | 
						|
        "at_low_battery": false,
 | 
						|
        "avatar": "sensor_t310",
 | 
						|
        "bind_count": 1,
 | 
						|
        "category": "subg.trigger.temp-hmdt-sensor",
 | 
						|
        "current_humidity": 61,
 | 
						|
        "current_humidity_exception": 1,
 | 
						|
        "current_temp": 21.0,
 | 
						|
        "current_temp_exception": 0,
 | 
						|
        "device_id": "SCRUBBED_CHILD_DEVICE_ID_1",
 | 
						|
        "fw_ver": "1.5.0",
 | 
						|
        "hw_id": "00000000000000000000000000000000",
 | 
						|
        "hw_ver": "1.0",
 | 
						|
        "jamming_rssi": -108,
 | 
						|
        "jamming_signal_level": 2,
 | 
						|
        "lastOnboardingTimestamp": 1690859014,
 | 
						|
        "mac": "788CB5000000",
 | 
						|
        "model": "T310",
 | 
						|
        "nickname": "I01BU0tFRF9OQU1FIw==",
 | 
						|
        "oem_id": "00000000000000000000000000000000",
 | 
						|
        "parent_device_id": "0000000000000000000000000000000000000000",
 | 
						|
        "region": "Pacific/Auckland",
 | 
						|
        "report_interval": 8,
 | 
						|
        "rssi": -56,
 | 
						|
        "signal_level": 3,
 | 
						|
        "specs": "US",
 | 
						|
        "status": "online",
 | 
						|
        "status_follow_edge": false,
 | 
						|
        "temp_unit": "celsius",
 | 
						|
        "type": "SMART.TAPOSENSOR"
 | 
						|
    },
 | 
						|
    "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": "1.5.0",
 | 
						|
        "hw_id": "",
 | 
						|
        "need_to_upgrade": false,
 | 
						|
        "oem_id": "",
 | 
						|
        "release_date": "",
 | 
						|
        "release_note": "",
 | 
						|
        "type": 0
 | 
						|
    },
 | 
						|
    "get_temp_humidity_records": {
 | 
						|
        "local_time": 1739107441,
 | 
						|
        "past24h_humidity": [
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            58,
 | 
						|
            57,
 | 
						|
            57,
 | 
						|
            57,
 | 
						|
            56,
 | 
						|
            56,
 | 
						|
            55,
 | 
						|
            55,
 | 
						|
            55,
 | 
						|
            55,
 | 
						|
            54,
 | 
						|
            54,
 | 
						|
            55,
 | 
						|
            56,
 | 
						|
            57,
 | 
						|
            57,
 | 
						|
            58,
 | 
						|
            58,
 | 
						|
            58,
 | 
						|
            58,
 | 
						|
            59,
 | 
						|
            59,
 | 
						|
            59,
 | 
						|
            59,
 | 
						|
            59,
 | 
						|
            59,
 | 
						|
            59,
 | 
						|
            59,
 | 
						|
            59,
 | 
						|
            60,
 | 
						|
            60,
 | 
						|
            60,
 | 
						|
            60,
 | 
						|
            60,
 | 
						|
            60,
 | 
						|
            60,
 | 
						|
            60,
 | 
						|
            61,
 | 
						|
            82,
 | 
						|
            59,
 | 
						|
            60,
 | 
						|
            61,
 | 
						|
            61,
 | 
						|
            61,
 | 
						|
            61
 | 
						|
        ],
 | 
						|
        "past24h_humidity_exception": [
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            22,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            1,
 | 
						|
            1,
 | 
						|
            1,
 | 
						|
            1
 | 
						|
        ],
 | 
						|
        "past24h_temp": [
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            213,
 | 
						|
            213,
 | 
						|
            212,
 | 
						|
            211,
 | 
						|
            210,
 | 
						|
            208,
 | 
						|
            207,
 | 
						|
            206,
 | 
						|
            205,
 | 
						|
            204,
 | 
						|
            203,
 | 
						|
            202,
 | 
						|
            201,
 | 
						|
            202,
 | 
						|
            203,
 | 
						|
            205,
 | 
						|
            206,
 | 
						|
            208,
 | 
						|
            209,
 | 
						|
            210,
 | 
						|
            210,
 | 
						|
            211,
 | 
						|
            211,
 | 
						|
            212,
 | 
						|
            212,
 | 
						|
            212,
 | 
						|
            212,
 | 
						|
            212,
 | 
						|
            212,
 | 
						|
            212,
 | 
						|
            213,
 | 
						|
            213,
 | 
						|
            213,
 | 
						|
            213,
 | 
						|
            213,
 | 
						|
            213,
 | 
						|
            213,
 | 
						|
            215,
 | 
						|
            254,
 | 
						|
            221,
 | 
						|
            214,
 | 
						|
            212,
 | 
						|
            211,
 | 
						|
            210,
 | 
						|
            210
 | 
						|
        ],
 | 
						|
        "past24h_temp_exception": [
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            -1000,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            4,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0,
 | 
						|
            0
 | 
						|
        ],
 | 
						|
        "temp_unit": "celsius"
 | 
						|
    },
 | 
						|
    "get_trigger_logs": {
 | 
						|
        "logs": [],
 | 
						|
        "start_id": 0,
 | 
						|
        "sum": 0
 | 
						|
    }
 | 
						|
}
 |