mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-22 19:23:34 +00:00
541 lines
11 KiB
JSON
541 lines
11 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": "sensor_alarm",
|
|
"ver_code": 1
|
|
}
|
|
]
|
|
},
|
|
"get_connect_cloud_state": {
|
|
"status": 0
|
|
},
|
|
"get_device_info": {
|
|
"at_low_battery": false,
|
|
"avatar": "sensor_t300",
|
|
"battery_percentage": 100,
|
|
"bind_count": 1,
|
|
"category": "subg.trigger.water-leak-sensor",
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_6",
|
|
"fw_ver": "1.7.0 Build 230628 Rel.194748",
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"in_alarm": false,
|
|
"jamming_rssi": -119,
|
|
"jamming_signal_level": 1,
|
|
"lastOnboardingTimestamp": 1728470353,
|
|
"mac": "A86E84000000",
|
|
"model": "T300",
|
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
|
"region": "CEST",
|
|
"report_interval": 16,
|
|
"rssi": -44,
|
|
"signal_level": 3,
|
|
"specs": "EU",
|
|
"status": "online",
|
|
"status_follow_edge": false,
|
|
"trigger_timestamp": 1728480717,
|
|
"type": "SMART.TAPOSENSOR",
|
|
"water_leak_status": "water_dry"
|
|
},
|
|
"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.7.0 Build 230628 Rel.194748",
|
|
"hw_id": "",
|
|
"need_to_upgrade": false,
|
|
"oem_id": "",
|
|
"release_date": "",
|
|
"release_note": "",
|
|
"type": 0
|
|
},
|
|
"get_temp_humidity_records": {
|
|
"local_time": 1729248928,
|
|
"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,
|
|
-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
|
|
],
|
|
"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,
|
|
-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
|
|
],
|
|
"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,
|
|
-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
|
|
],
|
|
"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,
|
|
-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
|
|
],
|
|
"temp_unit": "celsius"
|
|
},
|
|
"get_trigger_logs": {
|
|
"logs": [
|
|
{
|
|
"event": "waterDry",
|
|
"eventId": "d595356d-4953-5654-d59d-b92b6aca9ab2",
|
|
"id": 114,
|
|
"timestamp": 1728480717
|
|
},
|
|
{
|
|
"event": "waterLeak",
|
|
"eventId": "c43fc234-4ff2-ac03-d4bf-0254ff2ac03d",
|
|
"id": 113,
|
|
"timestamp": 1728480714
|
|
},
|
|
{
|
|
"event": "waterDry",
|
|
"eventId": "3e68c39e-b027-e405-7d41-d714fd81bfa8",
|
|
"id": 112,
|
|
"timestamp": 1728471129
|
|
},
|
|
{
|
|
"event": "waterLeak",
|
|
"eventId": "0e8743a9-d46a-bdde-67bb-d562b9542219",
|
|
"id": 111,
|
|
"timestamp": 1728471123
|
|
},
|
|
{
|
|
"event": "waterDry",
|
|
"eventId": "97708bf6-4817-b06b-0ebc-ed45917b06b0",
|
|
"id": 110,
|
|
"timestamp": 1728471106
|
|
}
|
|
],
|
|
"start_id": 114,
|
|
"sum": 14
|
|
}
|
|
}
|