mirror of
https://github.com/python-kasa/python-kasa.git
synced 2025-04-25 08:06:25 +00:00
Add fixtures for new versions of H100, P110, and T100 devices (#1501)
Some checks failed
CI / Perform linting checks (3.13) (push) Waiting to run
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.13) (push) Blocked by required conditions
CodeQL checks / Analyze (python) (push) Has been cancelled
Some checks failed
CI / Perform linting checks (3.13) (push) Waiting to run
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, macos-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, ubuntu-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (false, windows-latest, 3.13) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.11) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.12) (push) Blocked by required conditions
CI / Python ${{ matrix.python-version}} on ${{ matrix.os }}${{ fromJSON('[" (extras)", ""]')[matrix.extras == ''] }} (true, ubuntu-latest, 3.13) (push) Blocked by required conditions
CodeQL checks / Analyze (python) (push) Has been cancelled
This commit is contained in:
parent
8b138698b8
commit
29195fa639
@ -191,6 +191,7 @@ All Tapo devices require authentication.<br>Hub-Connected Devices may work acros
|
|||||||
- Hardware: 1.0.0 (US) / Firmware: 1.3.7
|
- Hardware: 1.0.0 (US) / Firmware: 1.3.7
|
||||||
- Hardware: 1.0.0 (US) / Firmware: 1.4.0
|
- Hardware: 1.0.0 (US) / Firmware: 1.4.0
|
||||||
- **P110**
|
- **P110**
|
||||||
|
- Hardware: 1.0 (AU) / Firmware: 1.3.1
|
||||||
- Hardware: 1.0 (EU) / Firmware: 1.0.7
|
- Hardware: 1.0 (EU) / Firmware: 1.0.7
|
||||||
- Hardware: 1.0 (EU) / Firmware: 1.2.3
|
- Hardware: 1.0 (EU) / Firmware: 1.2.3
|
||||||
- Hardware: 1.0 (UK) / Firmware: 1.3.0
|
- Hardware: 1.0 (UK) / Firmware: 1.3.0
|
||||||
@ -314,6 +315,7 @@ All Tapo devices require authentication.<br>Hub-Connected Devices may work acros
|
|||||||
### Hubs
|
### Hubs
|
||||||
|
|
||||||
- **H100**
|
- **H100**
|
||||||
|
- Hardware: 1.0 (AU) / Firmware: 1.5.23
|
||||||
- Hardware: 1.0 (EU) / Firmware: 1.2.3
|
- Hardware: 1.0 (EU) / Firmware: 1.2.3
|
||||||
- Hardware: 1.0 (EU) / Firmware: 1.5.10
|
- Hardware: 1.0 (EU) / Firmware: 1.5.10
|
||||||
- Hardware: 1.0 (EU) / Firmware: 1.5.5
|
- Hardware: 1.0 (EU) / Firmware: 1.5.5
|
||||||
@ -332,6 +334,7 @@ All Tapo devices require authentication.<br>Hub-Connected Devices may work acros
|
|||||||
- Hardware: 1.0 (EU) / Firmware: 1.12.0
|
- Hardware: 1.0 (EU) / Firmware: 1.12.0
|
||||||
- **T100**
|
- **T100**
|
||||||
- Hardware: 1.0 (EU) / Firmware: 1.12.0
|
- Hardware: 1.0 (EU) / Firmware: 1.12.0
|
||||||
|
- Hardware: 1.0 (US) / Firmware: 1.12.0
|
||||||
- **T110**
|
- **T110**
|
||||||
- Hardware: 1.0 (EU) / Firmware: 1.8.0
|
- Hardware: 1.0 (EU) / Firmware: 1.8.0
|
||||||
- Hardware: 1.0 (EU) / Firmware: 1.9.0
|
- Hardware: 1.0 (EU) / Firmware: 1.9.0
|
||||||
|
513
tests/fixtures/smart/H100(AU)_1.0_1.5.23.json
vendored
Normal file
513
tests/fixtures/smart/H100(AU)_1.0_1.5.23.json
vendored
Normal file
@ -0,0 +1,513 @@
|
|||||||
|
{
|
||||||
|
"component_nego": {
|
||||||
|
"component_list": [
|
||||||
|
{
|
||||||
|
"id": "device",
|
||||||
|
"ver_code": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "firmware",
|
||||||
|
"ver_code": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "quick_setup",
|
||||||
|
"ver_code": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "inherit",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "time",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "wireless",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "account",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "synchronize",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "sunrise_sunset",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "led",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "cloud_connect",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "iot_cloud",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "child_device",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "child_quick_setup",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "child_inherit",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "control_child",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "alarm",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "device_load",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "device_local_time",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "alarm_logs",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "localSmart",
|
||||||
|
"ver_code": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "matter",
|
||||||
|
"ver_code": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "chime",
|
||||||
|
"ver_code": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"discovery_result": {
|
||||||
|
"error_code": 0,
|
||||||
|
"result": {
|
||||||
|
"device_id": "00000000000000000000000000000000",
|
||||||
|
"device_model": "H100(AU)",
|
||||||
|
"device_type": "SMART.TAPOHUB",
|
||||||
|
"factory_default": false,
|
||||||
|
"ip": "127.0.0.123",
|
||||||
|
"is_support_iot_cloud": true,
|
||||||
|
"mac": "9C-A2-F4-00-00-00",
|
||||||
|
"mgt_encrypt_schm": {
|
||||||
|
"encrypt_type": "KLAP",
|
||||||
|
"http_port": 80,
|
||||||
|
"is_support_https": false,
|
||||||
|
"lv": 2
|
||||||
|
},
|
||||||
|
"obd_src": "tplink",
|
||||||
|
"owner": "00000000000000000000000000000000",
|
||||||
|
"protocol_version": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"get_alarm_configure": {
|
||||||
|
"duration": 300,
|
||||||
|
"type": "Connection 2",
|
||||||
|
"volume": "low"
|
||||||
|
},
|
||||||
|
"get_auto_update_info": {
|
||||||
|
"enable": true,
|
||||||
|
"random_range": 120,
|
||||||
|
"time": 180
|
||||||
|
},
|
||||||
|
"get_child_device_component_list": {
|
||||||
|
"child_component_list": [
|
||||||
|
{
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_1"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"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
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_2"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"start_index": 0,
|
||||||
|
"sum": 2
|
||||||
|
},
|
||||||
|
"get_child_device_list": {
|
||||||
|
"child_device_list": [
|
||||||
|
{
|
||||||
|
"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": 19.5,
|
||||||
|
"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": -105,
|
||||||
|
"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": -57,
|
||||||
|
"signal_level": 3,
|
||||||
|
"specs": "US",
|
||||||
|
"status": "online",
|
||||||
|
"status_follow_edge": false,
|
||||||
|
"temp_unit": "celsius",
|
||||||
|
"type": "SMART.TAPOSENSOR"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"at_low_battery": false,
|
||||||
|
"avatar": "sensor",
|
||||||
|
"bind_count": 1,
|
||||||
|
"category": "subg.trigger.motion-sensor",
|
||||||
|
"detected": true,
|
||||||
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_2",
|
||||||
|
"fw_ver": "1.12.0 Build 230512 Rel.103040",
|
||||||
|
"hw_id": "00000000000000000000000000000000",
|
||||||
|
"hw_ver": "1.0",
|
||||||
|
"jamming_rssi": -115,
|
||||||
|
"jamming_signal_level": 1,
|
||||||
|
"lastOnboardingTimestamp": 1734051318,
|
||||||
|
"mac": "E4FAC4000000",
|
||||||
|
"model": "T100",
|
||||||
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
||||||
|
"oem_id": "00000000000000000000000000000000",
|
||||||
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
||||||
|
"region": "Pacific/Auckland",
|
||||||
|
"report_interval": 16,
|
||||||
|
"rssi": -59,
|
||||||
|
"signal_level": 3,
|
||||||
|
"specs": "US",
|
||||||
|
"status": "online",
|
||||||
|
"status_follow_edge": false,
|
||||||
|
"type": "SMART.TAPOSENSOR"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"start_index": 0,
|
||||||
|
"sum": 2
|
||||||
|
},
|
||||||
|
"get_connect_cloud_state": {
|
||||||
|
"status": 0
|
||||||
|
},
|
||||||
|
"get_device_info": {
|
||||||
|
"avatar": "",
|
||||||
|
"device_id": "0000000000000000000000000000000000000000",
|
||||||
|
"fw_id": "00000000000000000000000000000000",
|
||||||
|
"fw_ver": "1.5.23 Build 241106 Rel.093525",
|
||||||
|
"has_set_location_info": true,
|
||||||
|
"hw_id": "00000000000000000000000000000000",
|
||||||
|
"hw_ver": "1.0",
|
||||||
|
"in_alarm": false,
|
||||||
|
"in_alarm_source": "",
|
||||||
|
"ip": "127.0.0.123",
|
||||||
|
"lang": "en_US",
|
||||||
|
"latitude": 0,
|
||||||
|
"longitude": 0,
|
||||||
|
"mac": "9C-A2-F4-00-00-00",
|
||||||
|
"model": "H100",
|
||||||
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
||||||
|
"oem_id": "00000000000000000000000000000000",
|
||||||
|
"overheated": false,
|
||||||
|
"region": "Pacific/Auckland",
|
||||||
|
"rssi": -52,
|
||||||
|
"signal_level": 2,
|
||||||
|
"specs": "AU",
|
||||||
|
"ssid": "I01BU0tFRF9TU0lEIw==",
|
||||||
|
"time_diff": 720,
|
||||||
|
"type": "SMART.TAPOHUB"
|
||||||
|
},
|
||||||
|
"get_device_load_info": {
|
||||||
|
"cur_load_num": 3,
|
||||||
|
"load_level": "light",
|
||||||
|
"max_load_num": 64,
|
||||||
|
"total_memory": 4352,
|
||||||
|
"used_memory": 1433
|
||||||
|
},
|
||||||
|
"get_device_time": {
|
||||||
|
"region": "Pacific/Auckland",
|
||||||
|
"time_diff": 720,
|
||||||
|
"timestamp": 1739230245
|
||||||
|
},
|
||||||
|
"get_device_usage": {},
|
||||||
|
"get_fw_download_state": {
|
||||||
|
"auto_upgrade": false,
|
||||||
|
"download_progress": 0,
|
||||||
|
"reboot_time": 5,
|
||||||
|
"status": 0,
|
||||||
|
"upgrade_time": 5
|
||||||
|
},
|
||||||
|
"get_inherit_info": null,
|
||||||
|
"get_latest_fw": {
|
||||||
|
"fw_size": 0,
|
||||||
|
"fw_ver": "1.5.23 Build 241106 Rel.093525",
|
||||||
|
"hw_id": "",
|
||||||
|
"need_to_upgrade": false,
|
||||||
|
"oem_id": "",
|
||||||
|
"release_date": "",
|
||||||
|
"release_note": "",
|
||||||
|
"type": 0
|
||||||
|
},
|
||||||
|
"get_led_info": {
|
||||||
|
"bri_config": {
|
||||||
|
"bri_type": "overall",
|
||||||
|
"overall_bri": 50
|
||||||
|
},
|
||||||
|
"led_rule": "never",
|
||||||
|
"led_status": false,
|
||||||
|
"night_mode": {
|
||||||
|
"end_time": 410,
|
||||||
|
"night_mode_type": "sunrise_sunset",
|
||||||
|
"start_time": 1252,
|
||||||
|
"sunrise_offset": 0,
|
||||||
|
"sunset_offset": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"get_matter_setup_info": {
|
||||||
|
"setup_code": "00000000000",
|
||||||
|
"setup_payload": "00:0000000000000000000"
|
||||||
|
},
|
||||||
|
"get_support_alarm_type_list": {
|
||||||
|
"alarm_type_list": [
|
||||||
|
"Doorbell Ring 1",
|
||||||
|
"Doorbell Ring 2",
|
||||||
|
"Doorbell Ring 3",
|
||||||
|
"Doorbell Ring 4",
|
||||||
|
"Doorbell Ring 5",
|
||||||
|
"Doorbell Ring 6",
|
||||||
|
"Doorbell Ring 7",
|
||||||
|
"Doorbell Ring 8",
|
||||||
|
"Doorbell Ring 9",
|
||||||
|
"Doorbell Ring 10",
|
||||||
|
"Phone Ring",
|
||||||
|
"Alarm 1",
|
||||||
|
"Alarm 2",
|
||||||
|
"Alarm 3",
|
||||||
|
"Alarm 4",
|
||||||
|
"Dripping Tap",
|
||||||
|
"Alarm 5",
|
||||||
|
"Connection 1",
|
||||||
|
"Connection 2"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"get_support_child_device_category": {
|
||||||
|
"device_category_list": [
|
||||||
|
{
|
||||||
|
"category": "subg.trv"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"category": "subg.trigger"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"category": "subg.plugswitch"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"get_wireless_scan_info": {
|
||||||
|
"ap_list": [
|
||||||
|
{
|
||||||
|
"bssid": "000000000000",
|
||||||
|
"channel": 0,
|
||||||
|
"cipher_type": 2,
|
||||||
|
"key_type": "wpa2_psk",
|
||||||
|
"signal_level": 2,
|
||||||
|
"ssid": "I01BU0tFRF9TU0lEIw=="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"bssid": "000000000000",
|
||||||
|
"channel": 0,
|
||||||
|
"cipher_type": 2,
|
||||||
|
"key_type": "wpa2_psk",
|
||||||
|
"signal_level": 2,
|
||||||
|
"ssid": "I01BU0tFRF9TU0lEIw=="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"bssid": "000000000000",
|
||||||
|
"channel": 0,
|
||||||
|
"cipher_type": 2,
|
||||||
|
"key_type": "wpa2_psk",
|
||||||
|
"signal_level": 1,
|
||||||
|
"ssid": "I01BU0tFRF9TU0lEIw=="
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"start_index": 0,
|
||||||
|
"sum": 3,
|
||||||
|
"wep_supported": false
|
||||||
|
},
|
||||||
|
"qs_component_nego": {
|
||||||
|
"component_list": [
|
||||||
|
{
|
||||||
|
"id": "quick_setup",
|
||||||
|
"ver_code": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "sunrise_sunset",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "iot_cloud",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "inherit",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "firmware",
|
||||||
|
"ver_code": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "matter",
|
||||||
|
"ver_code": 3
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"extra_info": {
|
||||||
|
"device_model": "H100",
|
||||||
|
"device_type": "SMART.TAPOHUB",
|
||||||
|
"is_klap": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
460
tests/fixtures/smart/P110(AU)_1.0_1.3.1.json
vendored
Normal file
460
tests/fixtures/smart/P110(AU)_1.0_1.3.1.json
vendored
Normal file
@ -0,0 +1,460 @@
|
|||||||
|
{
|
||||||
|
"component_nego": {
|
||||||
|
"component_list": [
|
||||||
|
{
|
||||||
|
"id": "device",
|
||||||
|
"ver_code": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "firmware",
|
||||||
|
"ver_code": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "quick_setup",
|
||||||
|
"ver_code": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "time",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "wireless",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "schedule",
|
||||||
|
"ver_code": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "countdown",
|
||||||
|
"ver_code": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "antitheft",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "account",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "synchronize",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "sunrise_sunset",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "led",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "cloud_connect",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "iot_cloud",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "device_local_time",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "default_states",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "auto_off",
|
||||||
|
"ver_code": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "localSmart",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "energy_monitoring",
|
||||||
|
"ver_code": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "power_protection",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "charging_protection",
|
||||||
|
"ver_code": 2
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "current_protection",
|
||||||
|
"ver_code": 1
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"discovery_result": {
|
||||||
|
"error_code": 0,
|
||||||
|
"result": {
|
||||||
|
"device_id": "00000000000000000000000000000000",
|
||||||
|
"device_model": "P110(AU)",
|
||||||
|
"device_type": "SMART.TAPOPLUG",
|
||||||
|
"factory_default": false,
|
||||||
|
"ip": "127.0.0.123",
|
||||||
|
"is_support_iot_cloud": true,
|
||||||
|
"mac": "9C-53-22-00-00-00",
|
||||||
|
"mgt_encrypt_schm": {
|
||||||
|
"encrypt_type": "KLAP",
|
||||||
|
"http_port": 80,
|
||||||
|
"is_support_https": false,
|
||||||
|
"lv": 2
|
||||||
|
},
|
||||||
|
"obd_src": "tplink",
|
||||||
|
"owner": "00000000000000000000000000000000",
|
||||||
|
"protocol_version": 1
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"get_antitheft_rules": {
|
||||||
|
"antitheft_rule_max_count": 1,
|
||||||
|
"enable": false,
|
||||||
|
"rule_list": []
|
||||||
|
},
|
||||||
|
"get_auto_off_config": {
|
||||||
|
"delay_min": 120,
|
||||||
|
"enable": false
|
||||||
|
},
|
||||||
|
"get_auto_update_info": {
|
||||||
|
"enable": true,
|
||||||
|
"random_range": 120,
|
||||||
|
"time": 180
|
||||||
|
},
|
||||||
|
"get_connect_cloud_state": {
|
||||||
|
"status": 0
|
||||||
|
},
|
||||||
|
"get_countdown_rules": {
|
||||||
|
"countdown_rule_max_count": 1,
|
||||||
|
"enable": false,
|
||||||
|
"rule_list": []
|
||||||
|
},
|
||||||
|
"get_current_power": {
|
||||||
|
"current_power": 0
|
||||||
|
},
|
||||||
|
"get_device_info": {
|
||||||
|
"auto_off_remain_time": 0,
|
||||||
|
"auto_off_status": "off",
|
||||||
|
"avatar": "plug",
|
||||||
|
"charging_status": "normal",
|
||||||
|
"default_states": {
|
||||||
|
"state": {},
|
||||||
|
"type": "last_states"
|
||||||
|
},
|
||||||
|
"device_id": "0000000000000000000000000000000000000000",
|
||||||
|
"device_on": false,
|
||||||
|
"fw_id": "00000000000000000000000000000000",
|
||||||
|
"fw_ver": "1.3.1 Build 240621 Rel.162048",
|
||||||
|
"has_set_location_info": true,
|
||||||
|
"hw_id": "00000000000000000000000000000000",
|
||||||
|
"hw_ver": "1.0",
|
||||||
|
"ip": "127.0.0.123",
|
||||||
|
"lang": "en_US",
|
||||||
|
"latitude": 0,
|
||||||
|
"longitude": 0,
|
||||||
|
"mac": "9C-53-22-00-00-00",
|
||||||
|
"model": "P110",
|
||||||
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
||||||
|
"oem_id": "00000000000000000000000000000000",
|
||||||
|
"on_time": 0,
|
||||||
|
"overcurrent_status": "normal",
|
||||||
|
"overheat_status": "normal",
|
||||||
|
"power_protection_status": "normal",
|
||||||
|
"region": "Pacific/Auckland",
|
||||||
|
"rssi": -53,
|
||||||
|
"signal_level": 2,
|
||||||
|
"specs": "",
|
||||||
|
"ssid": "I01BU0tFRF9TU0lEIw==",
|
||||||
|
"time_diff": 720,
|
||||||
|
"type": "SMART.TAPOPLUG"
|
||||||
|
},
|
||||||
|
"get_device_time": {
|
||||||
|
"region": "Pacific/Auckland",
|
||||||
|
"time_diff": 720,
|
||||||
|
"timestamp": 1739230299
|
||||||
|
},
|
||||||
|
"get_device_usage": {
|
||||||
|
"power_usage": {
|
||||||
|
"past30": 11,
|
||||||
|
"past7": 2,
|
||||||
|
"today": 0
|
||||||
|
},
|
||||||
|
"saved_power": {
|
||||||
|
"past30": 0,
|
||||||
|
"past7": 8,
|
||||||
|
"today": 0
|
||||||
|
},
|
||||||
|
"time_usage": {
|
||||||
|
"past30": 10,
|
||||||
|
"past7": 10,
|
||||||
|
"today": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"get_electricity_price_config": {
|
||||||
|
"constant_price": 0,
|
||||||
|
"time_of_use_config": {
|
||||||
|
"summer": {
|
||||||
|
"midpeak": 0,
|
||||||
|
"offpeak": 0,
|
||||||
|
"onpeak": 0,
|
||||||
|
"period": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"weekday_config": [
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"weekend_config": [
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"winter": {
|
||||||
|
"midpeak": 0,
|
||||||
|
"offpeak": 0,
|
||||||
|
"onpeak": 0,
|
||||||
|
"period": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"weekday_config": [
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
],
|
||||||
|
"weekend_config": [
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1,
|
||||||
|
1
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"type": "constant"
|
||||||
|
},
|
||||||
|
"get_emeter_data": {
|
||||||
|
"current_ma": 0,
|
||||||
|
"energy_wh": 0,
|
||||||
|
"power_mw": 0,
|
||||||
|
"voltage_mv": 238609
|
||||||
|
},
|
||||||
|
"get_emeter_vgain_igain": {
|
||||||
|
"igain": 11437,
|
||||||
|
"vgain": 127146
|
||||||
|
},
|
||||||
|
"get_energy_usage": {
|
||||||
|
"current_power": 0,
|
||||||
|
"electricity_charge": [
|
||||||
|
0,
|
||||||
|
0,
|
||||||
|
0
|
||||||
|
],
|
||||||
|
"local_time": "2025-02-11 12:31:41",
|
||||||
|
"month_energy": 4,
|
||||||
|
"month_runtime": 10,
|
||||||
|
"today_energy": 0,
|
||||||
|
"today_runtime": 0
|
||||||
|
},
|
||||||
|
"get_fw_download_state": {
|
||||||
|
"auto_upgrade": false,
|
||||||
|
"download_progress": 0,
|
||||||
|
"reboot_time": 5,
|
||||||
|
"status": 0,
|
||||||
|
"upgrade_time": 5
|
||||||
|
},
|
||||||
|
"get_latest_fw": {
|
||||||
|
"fw_size": 0,
|
||||||
|
"fw_ver": "1.3.1 Build 240621 Rel.162048",
|
||||||
|
"hw_id": "",
|
||||||
|
"need_to_upgrade": false,
|
||||||
|
"oem_id": "",
|
||||||
|
"release_date": "",
|
||||||
|
"release_note": "",
|
||||||
|
"type": 0
|
||||||
|
},
|
||||||
|
"get_led_info": {
|
||||||
|
"bri_config": {
|
||||||
|
"bri_type": "overall",
|
||||||
|
"overall_bri": 50
|
||||||
|
},
|
||||||
|
"led_rule": "always",
|
||||||
|
"led_status": false,
|
||||||
|
"night_mode": {
|
||||||
|
"end_time": 410,
|
||||||
|
"night_mode_type": "sunrise_sunset",
|
||||||
|
"start_time": 1252,
|
||||||
|
"sunrise_offset": 0,
|
||||||
|
"sunset_offset": 0
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"get_max_power": {
|
||||||
|
"max_power": 2541
|
||||||
|
},
|
||||||
|
"get_next_event": {},
|
||||||
|
"get_protection_power": {
|
||||||
|
"enabled": false,
|
||||||
|
"protection_power": 0
|
||||||
|
},
|
||||||
|
"get_schedule_rules": {
|
||||||
|
"enable": false,
|
||||||
|
"rule_list": [],
|
||||||
|
"schedule_rule_max_count": 32,
|
||||||
|
"start_index": 0,
|
||||||
|
"sum": 0
|
||||||
|
},
|
||||||
|
"get_wireless_scan_info": {
|
||||||
|
"ap_list": [
|
||||||
|
{
|
||||||
|
"bssid": "000000000000",
|
||||||
|
"channel": 0,
|
||||||
|
"cipher_type": 2,
|
||||||
|
"key_type": "wpa2_psk",
|
||||||
|
"signal_level": 2,
|
||||||
|
"ssid": "I01BU0tFRF9TU0lEIw=="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"bssid": "000000000000",
|
||||||
|
"channel": 0,
|
||||||
|
"cipher_type": 2,
|
||||||
|
"key_type": "wpa2_psk",
|
||||||
|
"signal_level": 2,
|
||||||
|
"ssid": "I01BU0tFRF9TU0lEIw=="
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"bssid": "000000000000",
|
||||||
|
"channel": 0,
|
||||||
|
"cipher_type": 2,
|
||||||
|
"key_type": "wpa2_psk",
|
||||||
|
"signal_level": 1,
|
||||||
|
"ssid": "I01BU0tFRF9TU0lEIw=="
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"start_index": 0,
|
||||||
|
"sum": 3,
|
||||||
|
"wep_supported": false
|
||||||
|
},
|
||||||
|
"qs_component_nego": {
|
||||||
|
"component_list": [
|
||||||
|
{
|
||||||
|
"id": "quick_setup",
|
||||||
|
"ver_code": 3
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "sunrise_sunset",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "iot_cloud",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "inherit",
|
||||||
|
"ver_code": 1
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"id": "firmware",
|
||||||
|
"ver_code": 2
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"extra_info": {
|
||||||
|
"device_model": "P110",
|
||||||
|
"device_type": "SMART.TAPOPLUG",
|
||||||
|
"is_klap": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
141
tests/fixtures/smart/child/T100(US)_1.0_1.12.0.json
vendored
Normal file
141
tests/fixtures/smart/child/T100(US)_1.0_1.12.0.json
vendored
Normal file
@ -0,0 +1,141 @@
|
|||||||
|
{
|
||||||
|
"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": true,
|
||||||
|
"device_id": "SCRUBBED_CHILD_DEVICE_ID_2",
|
||||||
|
"fw_ver": "1.12.0 Build 230512 Rel.103040",
|
||||||
|
"hw_id": "00000000000000000000000000000000",
|
||||||
|
"hw_ver": "1.0",
|
||||||
|
"jamming_rssi": -115,
|
||||||
|
"jamming_signal_level": 1,
|
||||||
|
"lastOnboardingTimestamp": 1734051318,
|
||||||
|
"mac": "E4FAC4000000",
|
||||||
|
"model": "T100",
|
||||||
|
"nickname": "I01BU0tFRF9OQU1FIw==",
|
||||||
|
"oem_id": "00000000000000000000000000000000",
|
||||||
|
"parent_device_id": "0000000000000000000000000000000000000000",
|
||||||
|
"region": "Pacific/Auckland",
|
||||||
|
"report_interval": 16,
|
||||||
|
"rssi": -59,
|
||||||
|
"signal_level": 3,
|
||||||
|
"specs": "US",
|
||||||
|
"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.103040",
|
||||||
|
"hw_id": "",
|
||||||
|
"need_to_upgrade": false,
|
||||||
|
"oem_id": "",
|
||||||
|
"release_date": "",
|
||||||
|
"release_note": "",
|
||||||
|
"type": 0
|
||||||
|
},
|
||||||
|
"get_trigger_logs": {
|
||||||
|
"logs": [
|
||||||
|
{
|
||||||
|
"event": "motion",
|
||||||
|
"eventId": "51281c8e-c763-3914-0281-c8ec76339140",
|
||||||
|
"id": 24,
|
||||||
|
"timestamp": 1739230242
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"event": "motion",
|
||||||
|
"eventId": "120180c0-e874-b251-2018-0c0e874b2512",
|
||||||
|
"id": 23,
|
||||||
|
"timestamp": 1739230209
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"event": "motion",
|
||||||
|
"eventId": "752388d5-7ba4-c378-adc7-72a845b3c875",
|
||||||
|
"id": 22,
|
||||||
|
"timestamp": 1739230188
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"event": "motion",
|
||||||
|
"eventId": "efa20c53-74e7-264e-fa20-c5374e7264ef",
|
||||||
|
"id": 21,
|
||||||
|
"timestamp": 1739230153
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"event": "motion",
|
||||||
|
"eventId": "962d70de-0962-df09-62d7-0de0962df096",
|
||||||
|
"id": 20,
|
||||||
|
"timestamp": 1739230137
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"start_id": 24,
|
||||||
|
"sum": 24
|
||||||
|
}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user