mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
512 lines
10 KiB
JSON
512 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
|
|
}
|
|
]
|
|
},
|
|
"get_connect_cloud_state": {
|
|
"status": 1
|
|
},
|
|
"get_device_info": {
|
|
"at_low_battery": false,
|
|
"avatar": "",
|
|
"bind_count": 1,
|
|
"category": "subg.trigger.contact-sensor",
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_1",
|
|
"fw_ver": "1.9.0 Build 230704 Rel.154531",
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"jamming_rssi": -104,
|
|
"jamming_signal_level": 2,
|
|
"lastOnboardingTimestamp": 1727367924,
|
|
"mac": "74FECE000000",
|
|
"model": "T110",
|
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"open": false,
|
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
|
"region": "CEST",
|
|
"report_interval": 16,
|
|
"rssi": -20,
|
|
"signal_level": 3,
|
|
"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_temp_humidity_records": {
|
|
"local_time": 1727368055,
|
|
"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": "close",
|
|
"eventId": "1b85ca6d-3e97-c361-b0d0-683c1683c9e4",
|
|
"id": 4,
|
|
"timestamp": 1727368053
|
|
},
|
|
{
|
|
"event": "keepOpen",
|
|
"eventId": "8258b54b-bc4f-3e06-1a14-9b543b0c1f9e",
|
|
"id": 3,
|
|
"timestamp": 1727367990
|
|
},
|
|
{
|
|
"event": "open",
|
|
"eventId": "a3620a36-a86f-8cf5-4113-b26a86f8cf54",
|
|
"id": 2,
|
|
"timestamp": 1727367930
|
|
}
|
|
],
|
|
"start_id": 4,
|
|
"sum": 3
|
|
}
|
|
}
|