mirror of
				https://github.com/python-kasa/python-kasa.git
				synced 2025-10-30 20:21:54 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			91 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			91 lines
		
	
	
		
			2.8 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "emeter": {
 | |
|         "get_realtime": {
 | |
|             "current_ma": 0,
 | |
|             "err_code": 0,
 | |
|             "power_mw": 0,
 | |
|             "slot_id": 0,
 | |
|             "total_wh": 0,
 | |
|             "voltage_mv": 121302
 | |
|         }
 | |
|     },
 | |
|     "system": {
 | |
|         "get_sysinfo": {
 | |
|             "alias": "TP-LINK_Power Strip_5C33",
 | |
|             "child_num": 6,
 | |
|             "children": [
 | |
|                 {
 | |
|                     "alias": "Plug 1",
 | |
|                     "id": "8006AF35494E7DB13DDE9B8F40BF2E001E77031900",
 | |
|                     "next_action": {
 | |
|                         "type": -1
 | |
|                     },
 | |
|                     "on_time": 0,
 | |
|                     "state": 0
 | |
|                 },
 | |
|                 {
 | |
|                     "alias": "Plug 2",
 | |
|                     "id": "8006AF35494E7DB13DDE9B8F40BF2E001E77031901",
 | |
|                     "next_action": {
 | |
|                         "type": -1
 | |
|                     },
 | |
|                     "on_time": 0,
 | |
|                     "state": 0
 | |
|                 },
 | |
|                 {
 | |
|                     "alias": "Plug 3",
 | |
|                     "id": "8006AF35494E7DB13DDE9B8F40BF2E001E77031902",
 | |
|                     "next_action": {
 | |
|                         "type": -1
 | |
|                     },
 | |
|                     "on_time": 0,
 | |
|                     "state": 0
 | |
|                 },
 | |
|                 {
 | |
|                     "alias": "Plug 4",
 | |
|                     "id": "8006AF35494E7DB13DDE9B8F40BF2E001E77031903",
 | |
|                     "next_action": {
 | |
|                         "type": -1
 | |
|                     },
 | |
|                     "on_time": 0,
 | |
|                     "state": 0
 | |
|                 },
 | |
|                 {
 | |
|                     "alias": "Plug 5",
 | |
|                     "id": "8006AF35494E7DB13DDE9B8F40BF2E001E77031904",
 | |
|                     "next_action": {
 | |
|                         "type": -1
 | |
|                     },
 | |
|                     "on_time": 0,
 | |
|                     "state": 0
 | |
|                 },
 | |
|                 {
 | |
|                     "alias": "Plug 6",
 | |
|                     "id": "8006AF35494E7DB13DDE9B8F40BF2E001E77031905",
 | |
|                     "next_action": {
 | |
|                         "type": -1
 | |
|                     },
 | |
|                     "on_time": 0,
 | |
|                     "state": 0
 | |
|                 }
 | |
|             ],
 | |
|             "deviceId": "0000000000000000000000000000000000000000",
 | |
|             "err_code": 0,
 | |
|             "feature": "TIM:ENE",
 | |
|             "hwId": "00000000000000000000000000000000",
 | |
|             "hw_ver": "2.0",
 | |
|             "latitude_i": 0,
 | |
|             "led_off": 0,
 | |
|             "longitude_i": 0,
 | |
|             "mac": "00:00:00:00:00:00",
 | |
|             "mic_type": "IOT.SMARTPLUGSWITCH",
 | |
|             "model": "HS300(US)",
 | |
|             "oemId": "00000000000000000000000000000000",
 | |
|             "rssi": -55,
 | |
|             "status": "new",
 | |
|             "sw_ver": "1.0.3 Build 201203 Rel.165457",
 | |
|             "updating": 0
 | |
|         }
 | |
|     }
 | |
| }
 | 
