mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 03:33:35 +00:00
538 lines
11 KiB
JSON
538 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": "sensitivity",
|
|
"ver_code": 1
|
|
}
|
|
]
|
|
},
|
|
"get_connect_cloud_state": {
|
|
"status": 0
|
|
},
|
|
"get_device_info": {
|
|
"at_low_battery": false,
|
|
"avatar": "sensor",
|
|
"bind_count": 1,
|
|
"category": "subg.trigger.motion-sensor",
|
|
"detected": false,
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_3",
|
|
"fw_ver": "1.12.0 Build 230512 Rel.103011",
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"jamming_rssi": -118,
|
|
"jamming_signal_level": 1,
|
|
"lastOnboardingTimestamp": 1703860126,
|
|
"mac": "E4FAC4000000",
|
|
"model": "T100",
|
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
|
"region": "Europe/Berlin",
|
|
"report_interval": 60,
|
|
"rssi": -73,
|
|
"signal_level": 2,
|
|
"specs": "EU",
|
|
"status": "online",
|
|
"status_follow_edge": false,
|
|
"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.12.0 Build 230512 Rel.103011",
|
|
"hw_id": "",
|
|
"need_to_upgrade": false,
|
|
"oem_id": "",
|
|
"release_date": "",
|
|
"release_note": "",
|
|
"type": 0
|
|
},
|
|
"get_temp_humidity_records": {
|
|
"local_time": 1721645923,
|
|
"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": "motion",
|
|
"eventId": "f883b62c-e18f-30ef-883b-62ce18f30ef8",
|
|
"id": 28763,
|
|
"timestamp": 1721643865
|
|
},
|
|
{
|
|
"event": "motion",
|
|
"eventId": "c5157545-55d5-157d-4157-54555d5157d4",
|
|
"id": 28748,
|
|
"timestamp": 1721630821
|
|
},
|
|
{
|
|
"event": "motion",
|
|
"eventId": "1b587961-edab-08d1-b587-961edab08d1b",
|
|
"id": 28746,
|
|
"timestamp": 1721629441
|
|
},
|
|
{
|
|
"event": "motion",
|
|
"eventId": "8ac5e271-3894-c269-bc5e-2713894c269b",
|
|
"id": 28738,
|
|
"timestamp": 1721622777
|
|
},
|
|
{
|
|
"event": "motion",
|
|
"eventId": "1ef8037e-c097-bc21-ef80-37ec097bc21e",
|
|
"id": 28722,
|
|
"timestamp": 1721596432
|
|
}
|
|
],
|
|
"start_id": 28763,
|
|
"sum": 86
|
|
}
|
|
}
|