{ "component_nego": { "component_list": [ { "id": "device", "ver_code": 1 }, { "id": "firmware", "ver_code": 1 }, { "id": "quick_setup", "ver_code": 1 }, { "id": "time", "ver_code": 1 }, { "id": "wireless", "ver_code": 1 }, { "id": "schedule", "ver_code": 1 }, { "id": "countdown", "ver_code": 1 }, { "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 } ] }, "discovery_result": { "error_code": 0, "result": { "device_id": "00000000000000000000000000000000", "device_model": "P100", "device_type": "SMART.TAPOPLUG", "factory_default": false, "ip": "127.0.0.123", "mac": "1C-3B-F3-00-00-00", "mgt_encrypt_schm": { "encrypt_type": "AES", "http_port": 80, "is_support_https": false }, "owner": "00000000000000000000000000000000" } }, "get_antitheft_rules": { "antitheft_rule_max_count": 1, "enable": false, "rule_list": [] }, "get_connect_cloud_state": { "status": -1001 }, "get_countdown_rules": { "countdown_rule_max_count": 1, "enable": false, "rule_list": [] }, "get_device_info": { "avatar": "plug", "device_id": "0000000000000000000000000000000000000000", "device_on": true, "fw_id": "00000000000000000000000000000000", "fw_ver": "1.1.3 Build 20191017 Rel. 57937", "has_set_location_info": true, "hw_id": "00000000000000000000000000000000", "hw_ver": "1.0.0", "ip": "127.0.0.123", "latitude": 0, "location": "#MASKED_NAME#", "longitude": 0, "mac": "1C-3B-F3-00-00-00", "model": "P100", "nickname": "I01BU0tFRF9OQU1FIw==", "oem_id": "00000000000000000000000000000000", "on_time": 6868, "overheated": false, "signal_level": 2, "specs": "US", "ssid": "I01BU0tFRF9TU0lEIw==", "time_usage_past30": 114, "time_usage_past7": 114, "time_usage_today": 114, "type": "SMART.TAPOPLUG" }, "get_device_time": { "region": "Europe/London", "time_diff": 0, "timestamp": 1707905077 }, "get_fw_download_state": { "download_progress": 0, "reboot_time": 10, "status": 0, "upgrade_time": 0 }, "get_latest_fw": { "fw_size": 786432, "fw_ver": "1.3.7 Build 20230711 Rel.61904", "hw_id": "00000000000000000000000000000000", "need_to_upgrade": true, "oem_id": "00000000000000000000000000000000", "release_date": "2023-07-26", "release_note": "Modifications and Bug fixes:\nEnhanced device security.", "type": 3 }, "get_led_info": { "led_rule": "always", "led_status": true }, "get_next_event": { "action": -1, "e_time": 0, "id": "0", "s_time": 0, "type": 0 }, "get_schedule_rules": { "enable": false, "rule_list": [], "schedule_rule_max_count": 20, "start_index": 0, "sum": 0 }, "get_wireless_scan_info": { "ap_list": [], "start_index": 0, "sum": 0, "wep_supported": false }, "qs_component_nego": { "component_list": [ { "id": "quick_setup", "ver_code": 1 }, { "id": "sunrise_sunset", "ver_code": 1 } ], "extra_info": { "device_model": "P100", "device_type": "SMART.TAPOPLUG" } } }