mirror of
https://github.com/python-kasa/python-kasa.git
synced 2024-12-23 11:43:34 +00:00
527 lines
11 KiB
JSON
527 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
|
|
}
|
|
]
|
|
},
|
|
"get_connect_cloud_state": {
|
|
"status": 0
|
|
},
|
|
"get_device_info": {
|
|
"at_low_battery": false,
|
|
"avatar": "sensor_t110",
|
|
"bind_count": 1,
|
|
"category": "subg.trigger.contact-sensor",
|
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_2",
|
|
"fw_ver": "1.8.0 Build 220728 Rel.160024",
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"hw_ver": "1.0",
|
|
"jamming_rssi": -113,
|
|
"jamming_signal_level": 1,
|
|
"lastOnboardingTimestamp": 1714661626,
|
|
"mac": "E4FAC4000000",
|
|
"model": "T110",
|
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"open": false,
|
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
|
"region": "Europe/Berlin",
|
|
"report_interval": 16,
|
|
"rssi": -54,
|
|
"signal_level": 3,
|
|
"specs": "EU",
|
|
"status": "online",
|
|
"status_follow_edge": false,
|
|
"type": "SMART.TAPOSENSOR"
|
|
},
|
|
"get_fw_download_state": {
|
|
"cloud_cache_seconds": 1,
|
|
"download_progress": 30,
|
|
"reboot_time": 5,
|
|
"status": 4,
|
|
"upgrade_time": 5
|
|
},
|
|
"get_latest_fw": {
|
|
"fw_ver": "1.9.0 Build 230704 Rel.154531",
|
|
"hw_id": "00000000000000000000000000000000",
|
|
"need_to_upgrade": true,
|
|
"oem_id": "00000000000000000000000000000000",
|
|
"release_date": "2023-10-30",
|
|
"release_note": "Modifications and Bug Fixes:\n1. Reduced power consumption.\n2. Fixed some minor bugs.",
|
|
"type": 2
|
|
},
|
|
"get_temp_humidity_records": {
|
|
"local_time": 1714681046,
|
|
"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": "8140289c-c66b-bdd6-63b9-542299442299",
|
|
"id": 4,
|
|
"timestamp": 1714661714
|
|
},
|
|
{
|
|
"event": "open",
|
|
"eventId": "fb4e1439-2f2c-a5e1-c35a-9e7c0d35a1e3",
|
|
"id": 3,
|
|
"timestamp": 1714661710
|
|
},
|
|
{
|
|
"event": "close",
|
|
"eventId": "ddee7733-1180-48ac-56a3-512018048ac5",
|
|
"id": 2,
|
|
"timestamp": 1714661657
|
|
},
|
|
{
|
|
"event": "open",
|
|
"eventId": "ab80951f-da38-49f9-21c5-bf025c7b606d",
|
|
"id": 1,
|
|
"timestamp": 1714661638
|
|
}
|
|
],
|
|
"start_id": 4,
|
|
"sum": 4
|
|
}
|
|
}
|