Last active
January 24, 2022 15:37
-
-
Save Martinnygaard/058444cbeb7609fc4d6e0a1e0c9a3388 to your computer and use it in GitHub Desktop.
Home Assistant Reolink Integration debug
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2022-01-24 16:26:51 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration eloverblik which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration samsungtv_tizen which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration sonarr_upcoming_media which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration webrtc which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration google_keep which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration localtuya which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration spotcast which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_3) [homeassistant.loader] We found a custom integration husqvarna_automower which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration wavinsentio which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration nordpool which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration scheduler which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration files which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_2) [homeassistant.loader] We found a custom integration reolink_dev which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_5) [homeassistant.loader] We found a custom integration samsungtv_smart which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration garbage_collection which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_6) [homeassistant.loader] We found a custom integration sonoff which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:26:51 WARNING (SyncWorker_1) [homeassistant.loader] We found a custom integration alarmo which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant | |
2022-01-24 16:27:12 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 8530a798ddeae56b1a6771b3b55987563ed734cd2b456951ded60d74cc6fbeb6 from cloud | |
2022-01-24 16:27:12 ERROR (MainThread) [homeassistant.components.filter.sensor] Could not convert state: (<class 'str'>) to number | |
2022-01-24 16:27:12 ERROR (MainThread) [homeassistant.components.filter.sensor] Could not convert state: (<class 'str'>) to number | |
2022-01-24 16:27:17 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.32:443 trying to login with user HomeAssistant | |
2022-01-24 16:27:17 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.34:443 trying to login with user HomeAssistant | |
2022-01-24 16:27:17 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.33:443 trying to login with user HomeAssistant | |
2022-01-24 16:27:17 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.30:443 trying to login with user HomeAssistant | |
2022-01-24 16:27:17 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.31:443 trying to login with user HomeAssistant | |
2022-01-24 16:27:17 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.35:443 trying to login with user HomeAssistant | |
2022-01-24 16:27:19 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 0e0577364b5008676cb4340901f792b62144e59ddc5b834e4d5ab8a074ce7a30 from 192.168.1.103 | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'} | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}] | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Login", | |
"code" : 0, | |
"value" : { | |
"Token" : { | |
"leaseTime" : 3600, | |
"name" : "d6e3b01f3c046a0" | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.30: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': 'd6e3b01f3c046a0'}}}] | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.30. Leasetime 24-01-2022 17:27, token d6e3b01f3c046a0 | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'} | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}] | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Login", | |
"code" : 0, | |
"value" : { | |
"Token" : { | |
"leaseTime" : 3600, | |
"name" : "08cde494fc64bb6" | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.34: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': '08cde494fc64bb6'}}}] | |
2022-01-24 16:27:20 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.34. Leasetime 24-01-2022 17:27, token 08cde494fc64bb6 | |
2022-01-24 16:27:20 ERROR (MainThread) [homeassistant.components.octoprint] Unable to retrieve printer information: Printer offline | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'} | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Login", | |
"code" : 0, | |
"value" : { | |
"Token" : { | |
"leaseTime" : 3600, | |
"name" : "927acc547fdb153" | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.33: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': '927acc547fdb153'}}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.33. Leasetime 24-01-2022 17:27, token 927acc547fdb153 | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'} | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Login", | |
"code" : 0, | |
"value" : { | |
"Token" : { | |
"leaseTime" : 3600, | |
"name" : "876163438d4316c" | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.31: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': '876163438d4316c'}}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.31. Leasetime 24-01-2022 17:27, token 876163438d4316c | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'd6e3b01f3c046a0'} | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetDevInfo', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetLocalLink', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetNetPort', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetUser', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetOsd', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAbility', 'action': 1, 'param': {'User': {'userName': 'HomeAssistant'}}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetNtp', 'action': 0, 'param': {}}, {'cmd': 'GetTime', 'action': 0, 'param': {}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetDevInfo", | |
"code" : 0, | |
"value" : { | |
"DevInfo" : { | |
"B485" : 0, | |
"IOInputNum" : 0, | |
"IOOutputNum" : 0, | |
"audioNum" : 1, | |
"buildDay" : "build 20121100", | |
"cfgVer" : "v3.0.0.0", | |
"channelNum" : 1, | |
"detail" : "IPC_51516M5MS10E1W01100000001", | |
"diskNum" : 1, | |
"firmVer" : "v3.0.0.136_20121100", | |
"frameworkVer" : 1, | |
"hardVer" : "IPC_51516M5M", | |
"model" : "RLC-410-5MP", | |
"name" : "Garden - West", | |
"pakSuffix" : "pak,paks", | |
"serial" : "00000000065536", | |
"type" : "IPC", | |
"wifi" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetLocalLink", | |
"code" : 0, | |
"initial" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.0.1", | |
"dns2" : "192.168.0.1" | |
}, | |
"mac" : "EC:71:DB:7E:6A:10", | |
"static" : { | |
"gateway" : "192.168.0.1", | |
"ip" : "192.168.0.100", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
}, | |
"range" : { | |
"LocalLink" : { | |
"dns" : { | |
"auto" : "boolean", | |
"dns1" : { | |
"maxLen" : 15 | |
}, | |
"dns2" : { | |
"maxLen" : 15 | |
} | |
}, | |
"static" : { | |
"gateway" : { | |
"maxLen" : 15 | |
}, | |
"ip" : { | |
"maxLen" : 15 | |
}, | |
"mask" : { | |
"maxLen" : 15 | |
} | |
}, | |
"type" : [ "DHCP", "Static" ] | |
} | |
}, | |
"value" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.1.1", | |
"dns2" : "" | |
}, | |
"mac" : "ec:71:db:32:98:e7", | |
"static" : { | |
"gateway" : "192.168.1.1", | |
"ip" : "192.168.1.30", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetNetPort", | |
"code" : 0, | |
"initial" : { | |
"NetPort" : { | |
"httpPort" : 80, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifPort" : 8000, | |
"rtmpPort" : 1935, | |
"rtspPort" : 554 | |
} | |
}, | |
"range" : { | |
"NetPort" : { | |
"httpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"httpsPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"mediaPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"onvifPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtmpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtspPort" : { | |
"max" : 65535, | |
"min" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"NetPort" : { | |
"httpPort" : 80, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifPort" : 8000, | |
"rtmpPort" : 1935, | |
"rtspPort" : 554 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetUser", | |
"code" : 0, | |
"initial" : { | |
"User" : { | |
"level" : "guest" | |
} | |
}, | |
"range" : { | |
"User" : { | |
"level" : [ "guest", "admin" ], | |
"password" : { | |
"maxLen" : 31, | |
"minLen" : 6 | |
}, | |
"userName" : { | |
"maxLen" : 31, | |
"minLen" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"User" : [ | |
{ | |
"level" : "admin", | |
"userName" : "admin" | |
}, | |
{ | |
"level" : "guest", | |
"userName" : "Smarthome" | |
}, | |
{ | |
"level" : "admin", | |
"userName" : "HomeAssistant" | |
}, | |
{ | |
"level" : "admin", | |
"userName" : "Martin" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetOsd", | |
"code" : 0, | |
"initial" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 1, | |
"name" : "Camera1", | |
"pos" : "Lower Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 1 | |
} | |
}, | |
"range" : { | |
"Osd" : { | |
"bgcolor" : "boolean", | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : "boolean", | |
"name" : { | |
"maxLen" : 31 | |
}, | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"osdTime" : { | |
"enable" : "boolean", | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"watermark" : "boolean" | |
} | |
}, | |
"value" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 1, | |
"name" : "Garden - West", | |
"pos" : "Upper Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAbility", | |
"code" : 0, | |
"value" : { | |
"Ability" : { | |
"3g" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"abilityChn" : [ | |
{ | |
"alarmAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmIoIn" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmIoOut" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmMd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmRf" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"batAnalysis" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"battery" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"cameraMode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"enc" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"floodLight" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"ftp" : { | |
"permit" : 6, | |
"ver" : 6 | |
}, | |
"image" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"indicatorLight" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"isp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"isp3Dnr" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispAntiFlick" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispBackLight" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispBright" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispContrast" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispDayNight" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispExposureMode" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispFlip" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispHue" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispMirror" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSatruation" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSharpen" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispWhiteBalance" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"ledControl" : { | |
"permit" : 5, | |
"ver" : 2 | |
}, | |
"live" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"mainEncType" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"mask" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mdTriggerAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdTriggerRecord" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdWithPir" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"osd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"powerLed" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzCtrl" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzDirection" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ptzPatrol" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzPreset" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzTattern" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzType" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"recCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recDownload" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recReplay" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recSchedule" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"shelterCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"snap" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"waterMark" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"white_balance" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
], | |
"alarmAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmDisconnet" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddErr" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddFull" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmIpConflict" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"auth" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"autoMaint" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"cloudStorage" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"customAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"dateFormat" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ddns" : { | |
"permit" : 6, | |
"ver" : 9 | |
}, | |
"ddnsCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"devInfo" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"devName" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"disk" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"display" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"email" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"emailInterval" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"emailSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"exportCfg" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"ftpAutoDir" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"ftpExtStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpPic" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ftpSubStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"hourFmt" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"http" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"httpFlv" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"https" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"importCfg" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ipcManager" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ledControl" : { | |
"permit" : 5, | |
"ver" : 2 | |
}, | |
"localLink" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"log" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mediaPort" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ntp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"online" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"onvif" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"p2p" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"performance" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"pppoe" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"push" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"pushSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"reboot" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"recExtensionTimeList" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recOverWrite" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recPackDuration" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"recPreRecord" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"restore" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"rtmp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"rtsp" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"scheduleVersion" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"sdCard" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"showQrCode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"simMoudule" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"talk" : { | |
"permit" : 4, | |
"ver" : 0 | |
}, | |
"time" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"tvSystem" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"upgrade" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"upnp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"user" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"wifi" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"wifiTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetNtp", | |
"code" : 0, | |
"value" : { | |
"Ntp" : { | |
"enable" : 1, | |
"interval" : 1440, | |
"port" : 123, | |
"server" : "pool.ntp.org" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetTime", | |
"code" : 0, | |
"value" : { | |
"Dst" : { | |
"enable" : 1, | |
"endHour" : 2, | |
"endMin" : 0, | |
"endMon" : 10, | |
"endSec" : 0, | |
"endWeek" : 4, | |
"endWeekday" : 0, | |
"offset" : 1, | |
"startHour" : 3, | |
"startMin" : 0, | |
"startMon" : 3, | |
"startSec" : 0, | |
"startWeek" : 4, | |
"startWeekday" : 0 | |
}, | |
"Time" : { | |
"day" : 24, | |
"hour" : 16, | |
"hourFmt" : 0, | |
"min" : 27, | |
"mon" : 1, | |
"sec" : 21, | |
"timeFmt" : "DD/MM/YYYY", | |
"timeZone" : -3600, | |
"year" : 2022 | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '08cde494fc64bb6'} | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetDevInfo', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetLocalLink', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetNetPort', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetUser', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetOsd', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAbility', 'action': 1, 'param': {'User': {'userName': 'HomeAssistant'}}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetNtp', 'action': 0, 'param': {}}, {'cmd': 'GetTime', 'action': 0, 'param': {}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetDevInfo", | |
"code" : 0, | |
"value" : { | |
"DevInfo" : { | |
"B485" : 0, | |
"IOInputNum" : 0, | |
"IOOutputNum" : 0, | |
"audioNum" : 1, | |
"buildDay" : "build 20121100", | |
"cfgVer" : "v3.0.0.0", | |
"channelNum" : 1, | |
"detail" : "IPC_51516M5MS10E1W01100000001", | |
"diskNum" : 1, | |
"firmVer" : "v3.0.0.136_20121100", | |
"frameworkVer" : 1, | |
"hardVer" : "IPC_51516M5M", | |
"model" : "RLC-410-5MP", | |
"name" : "Driveway - East", | |
"pakSuffix" : "pak,paks", | |
"serial" : "00000000065536", | |
"type" : "IPC", | |
"wifi" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetLocalLink", | |
"code" : 0, | |
"initial" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.0.1", | |
"dns2" : "192.168.0.1" | |
}, | |
"mac" : "EC:71:DB:29:B4:A2", | |
"static" : { | |
"gateway" : "192.168.0.1", | |
"ip" : "192.168.0.100", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
}, | |
"range" : { | |
"LocalLink" : { | |
"dns" : { | |
"auto" : "boolean", | |
"dns1" : { | |
"maxLen" : 15 | |
}, | |
"dns2" : { | |
"maxLen" : 15 | |
} | |
}, | |
"static" : { | |
"gateway" : { | |
"maxLen" : 15 | |
}, | |
"ip" : { | |
"maxLen" : 15 | |
}, | |
"mask" : { | |
"maxLen" : 15 | |
} | |
}, | |
"type" : [ "DHCP", "Static" ] | |
} | |
}, | |
"value" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.1.1", | |
"dns2" : "" | |
}, | |
"mac" : "ec:71:db:f5:66:4b", | |
"static" : { | |
"gateway" : "192.168.1.1", | |
"ip" : "192.168.1.34", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetNetPort", | |
"code" : 0, | |
"initial" : { | |
"NetPort" : { | |
"httpPort" : 80, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifPort" : 8000, | |
"rtmpPort" : 1935, | |
"rtspPort" : 554 | |
} | |
}, | |
"range" : { | |
"NetPort" : { | |
"httpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"httpsPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"mediaPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"onvifPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtmpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtspPort" : { | |
"max" : 65535, | |
"min" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"NetPort" : { | |
"httpPort" : 80, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifPort" : 8000, | |
"rtmpPort" : 1935, | |
"rtspPort" : 554 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetUser", | |
"code" : 0, | |
"initial" : { | |
"User" : { | |
"level" : "guest" | |
} | |
}, | |
"range" : { | |
"User" : { | |
"level" : [ "guest", "admin" ], | |
"password" : { | |
"maxLen" : 31, | |
"minLen" : 6 | |
}, | |
"userName" : { | |
"maxLen" : 31, | |
"minLen" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"User" : [ | |
{ | |
"level" : "admin", | |
"userName" : "admin" | |
}, | |
{ | |
"level" : "guest", | |
"userName" : "Smarthome" | |
}, | |
{ | |
"level" : "admin", | |
"userName" : "HomeAssistant" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetOsd", | |
"code" : 0, | |
"initial" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 1, | |
"name" : "Camera1", | |
"pos" : "Lower Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 1 | |
} | |
}, | |
"range" : { | |
"Osd" : { | |
"bgcolor" : "boolean", | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : "boolean", | |
"name" : { | |
"maxLen" : 31 | |
}, | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"osdTime" : { | |
"enable" : "boolean", | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"watermark" : "boolean" | |
} | |
}, | |
"value" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 0, | |
"name" : "Driveway - East", | |
"pos" : "Lower Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAbility", | |
"code" : 0, | |
"value" : { | |
"Ability" : { | |
"3g" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"abilityChn" : [ | |
{ | |
"alarmAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmIoIn" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmIoOut" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmMd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmRf" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"batAnalysis" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"battery" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"cameraMode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"enc" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"floodLight" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"ftp" : { | |
"permit" : 6, | |
"ver" : 6 | |
}, | |
"image" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"indicatorLight" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"isp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"isp3Dnr" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispAntiFlick" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispBackLight" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispBright" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispContrast" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispDayNight" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispExposureMode" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispFlip" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispHue" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispMirror" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSatruation" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSharpen" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispWhiteBalance" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"ledControl" : { | |
"permit" : 5, | |
"ver" : 2 | |
}, | |
"live" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"mainEncType" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"mask" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mdTriggerAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdTriggerRecord" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdWithPir" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"osd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"powerLed" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzCtrl" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzDirection" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ptzPatrol" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzPreset" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzTattern" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzType" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"recCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recDownload" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recReplay" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recSchedule" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"shelterCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"snap" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"waterMark" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"white_balance" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
], | |
"alarmAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmDisconnet" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddErr" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddFull" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmIpConflict" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"auth" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"autoMaint" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"cloudStorage" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"customAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"dateFormat" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ddns" : { | |
"permit" : 6, | |
"ver" : 9 | |
}, | |
"ddnsCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"devInfo" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"devName" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"disk" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"display" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"email" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"emailInterval" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"emailSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"exportCfg" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"ftpAutoDir" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"ftpExtStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpPic" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ftpSubStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"hourFmt" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"http" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"httpFlv" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"https" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"importCfg" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ipcManager" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ledControl" : { | |
"permit" : 5, | |
"ver" : 2 | |
}, | |
"localLink" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"log" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mediaPort" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ntp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"online" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"onvif" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"p2p" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"performance" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"pppoe" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"push" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"pushSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"reboot" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"recExtensionTimeList" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recOverWrite" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recPackDuration" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"recPreRecord" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"restore" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"rtmp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"rtsp" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"scheduleVersion" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"sdCard" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"showQrCode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"simMoudule" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"talk" : { | |
"permit" : 4, | |
"ver" : 0 | |
}, | |
"time" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"tvSystem" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"upgrade" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"upnp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"user" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"wifi" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"wifiTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetNtp", | |
"code" : 0, | |
"value" : { | |
"Ntp" : { | |
"enable" : 1, | |
"interval" : 1440, | |
"port" : 123, | |
"server" : "pool.ntp.org" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetTime", | |
"code" : 0, | |
"value" : { | |
"Dst" : { | |
"enable" : 1, | |
"endHour" : 2, | |
"endMin" : 0, | |
"endMon" : 10, | |
"endSec" : 0, | |
"endWeek" : 3, | |
"endWeekday" : 0, | |
"offset" : 1, | |
"startHour" : 3, | |
"startMin" : 0, | |
"startMon" : 3, | |
"startSec" : 0, | |
"startWeek" : 3, | |
"startWeekday" : 0 | |
}, | |
"Time" : { | |
"day" : 24, | |
"hour" : 16, | |
"hourFmt" : 0, | |
"min" : 27, | |
"mon" : 1, | |
"sec" : 21, | |
"timeFmt" : "DD/MM/YYYY", | |
"timeZone" : -3600, | |
"year" : 2022 | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:21 ERROR (MainThread) [homeassistant.components.octoprint.sensor] Printer appears to be offline, skipping temperature sensors | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'} | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Login", | |
"code" : 0, | |
"value" : { | |
"Token" : { | |
"leaseTime" : 3600, | |
"name" : "0eadd309ba47209" | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.32: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': '0eadd309ba47209'}}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.32. Leasetime 24-01-2022 17:27, token 0eadd309ba47209 | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'} | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Login", | |
"code" : 0, | |
"value" : { | |
"Token" : { | |
"leaseTime" : 3600, | |
"name" : "e5c6dcc8ebc1d6d" | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.35: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': 'e5c6dcc8ebc1d6d'}}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.35. Leasetime 24-01-2022 17:27, token e5c6dcc8ebc1d6d | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '927acc547fdb153'} | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetDevInfo', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetLocalLink', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetNetPort', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetUser', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetOsd', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAbility', 'action': 1, 'param': {'User': {'userName': 'HomeAssistant'}}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetNtp', 'action': 0, 'param': {}}, {'cmd': 'GetTime', 'action': 0, 'param': {}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetDevInfo", | |
"code" : 0, | |
"value" : { | |
"DevInfo" : { | |
"B485" : 0, | |
"IOInputNum" : 0, | |
"IOOutputNum" : 0, | |
"audioNum" : 1, | |
"buildDay" : "build 20121100", | |
"cfgVer" : "v3.0.0.0", | |
"channelNum" : 1, | |
"detail" : "IPC_51516M5MS10E1W01100000001", | |
"diskNum" : 1, | |
"firmVer" : "v3.0.0.136_20121100", | |
"frameworkVer" : 1, | |
"hardVer" : "IPC_51516M5M", | |
"model" : "RLC-410-5MP", | |
"name" : "Yard - Front", | |
"pakSuffix" : "pak,paks", | |
"serial" : "00000000065536", | |
"type" : "IPC", | |
"wifi" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetLocalLink", | |
"code" : 0, | |
"initial" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.0.1", | |
"dns2" : "192.168.0.1" | |
}, | |
"mac" : "EC:71:DB:DA:02:DF", | |
"static" : { | |
"gateway" : "192.168.0.1", | |
"ip" : "192.168.0.100", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
}, | |
"range" : { | |
"LocalLink" : { | |
"dns" : { | |
"auto" : "boolean", | |
"dns1" : { | |
"maxLen" : 15 | |
}, | |
"dns2" : { | |
"maxLen" : 15 | |
} | |
}, | |
"static" : { | |
"gateway" : { | |
"maxLen" : 15 | |
}, | |
"ip" : { | |
"maxLen" : 15 | |
}, | |
"mask" : { | |
"maxLen" : 15 | |
} | |
}, | |
"type" : [ "DHCP", "Static" ] | |
} | |
}, | |
"value" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.1.1", | |
"dns2" : "" | |
}, | |
"mac" : "ec:71:db:9d:fb:fd", | |
"static" : { | |
"gateway" : "192.168.1.1", | |
"ip" : "192.168.1.33", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetNetPort", | |
"code" : 0, | |
"initial" : { | |
"NetPort" : { | |
"httpPort" : 80, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifPort" : 8000, | |
"rtmpPort" : 1935, | |
"rtspPort" : 554 | |
} | |
}, | |
"range" : { | |
"NetPort" : { | |
"httpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"httpsPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"mediaPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"onvifPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtmpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtspPort" : { | |
"max" : 65535, | |
"min" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"NetPort" : { | |
"httpPort" : 80, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifPort" : 8000, | |
"rtmpPort" : 1935, | |
"rtspPort" : 554 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetUser", | |
"code" : 0, | |
"initial" : { | |
"User" : { | |
"level" : "guest" | |
} | |
}, | |
"range" : { | |
"User" : { | |
"level" : [ "guest", "admin" ], | |
"password" : { | |
"maxLen" : 31, | |
"minLen" : 6 | |
}, | |
"userName" : { | |
"maxLen" : 31, | |
"minLen" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"User" : [ | |
{ | |
"level" : "admin", | |
"userName" : "admin" | |
}, | |
{ | |
"level" : "guest", | |
"userName" : "Smarthome" | |
}, | |
{ | |
"level" : "admin", | |
"userName" : "HomeAssistant" | |
}, | |
{ | |
"level" : "admin", | |
"userName" : "Martin" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetOsd", | |
"code" : 0, | |
"initial" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 1, | |
"name" : "Camera1", | |
"pos" : "Lower Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 1 | |
} | |
}, | |
"range" : { | |
"Osd" : { | |
"bgcolor" : "boolean", | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : "boolean", | |
"name" : { | |
"maxLen" : 31 | |
}, | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"osdTime" : { | |
"enable" : "boolean", | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"watermark" : "boolean" | |
} | |
}, | |
"value" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 1, | |
"name" : "Yard - Front", | |
"pos" : "Upper Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAbility", | |
"code" : 0, | |
"value" : { | |
"Ability" : { | |
"3g" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"abilityChn" : [ | |
{ | |
"alarmAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmIoIn" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmIoOut" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmMd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmRf" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"batAnalysis" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"battery" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"cameraMode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"enc" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"floodLight" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"ftp" : { | |
"permit" : 6, | |
"ver" : 6 | |
}, | |
"image" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"indicatorLight" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"isp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"isp3Dnr" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispAntiFlick" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispBackLight" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispBright" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispContrast" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispDayNight" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispExposureMode" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispFlip" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispHue" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispMirror" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSatruation" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSharpen" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispWhiteBalance" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"ledControl" : { | |
"permit" : 5, | |
"ver" : 2 | |
}, | |
"live" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"mainEncType" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"mask" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mdTriggerAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdTriggerRecord" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdWithPir" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"osd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"powerLed" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzCtrl" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzDirection" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ptzPatrol" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzPreset" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzTattern" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzType" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"recCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recDownload" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recReplay" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recSchedule" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"shelterCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"snap" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"waterMark" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"white_balance" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
], | |
"alarmAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmDisconnet" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddErr" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddFull" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmIpConflict" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"auth" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"autoMaint" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"cloudStorage" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"customAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"dateFormat" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ddns" : { | |
"permit" : 6, | |
"ver" : 9 | |
}, | |
"ddnsCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"devInfo" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"devName" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"disk" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"display" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"email" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"emailInterval" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"emailSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"exportCfg" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"ftpAutoDir" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"ftpExtStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpPic" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ftpSubStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"hourFmt" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"http" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"httpFlv" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"https" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"importCfg" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ipcManager" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ledControl" : { | |
"permit" : 5, | |
"ver" : 2 | |
}, | |
"localLink" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"log" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mediaPort" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ntp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"online" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"onvif" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"p2p" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"performance" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"pppoe" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"push" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"pushSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"reboot" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"recExtensionTimeList" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recOverWrite" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recPackDuration" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"recPreRecord" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"restore" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"rtmp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"rtsp" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"scheduleVersion" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"sdCard" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"showQrCode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"simMoudule" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"talk" : { | |
"permit" : 4, | |
"ver" : 0 | |
}, | |
"time" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"tvSystem" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"upgrade" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"upnp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"user" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"wifi" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"wifiTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetNtp", | |
"code" : 0, | |
"value" : { | |
"Ntp" : { | |
"enable" : 1, | |
"interval" : 1440, | |
"port" : 123, | |
"server" : "pool.ntp.org" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetTime", | |
"code" : 0, | |
"value" : { | |
"Dst" : { | |
"enable" : 1, | |
"endHour" : 2, | |
"endMin" : 0, | |
"endMon" : 10, | |
"endSec" : 0, | |
"endWeek" : 4, | |
"endWeekday" : 0, | |
"offset" : 1, | |
"startHour" : 3, | |
"startMin" : 0, | |
"startMon" : 3, | |
"startSec" : 0, | |
"startWeek" : 4, | |
"startWeekday" : 0 | |
}, | |
"Time" : { | |
"day" : 24, | |
"hour" : 16, | |
"hourFmt" : 0, | |
"min" : 27, | |
"mon" : 1, | |
"sec" : 21, | |
"timeFmt" : "DD/MM/YYYY", | |
"timeZone" : -3600, | |
"year" : 2022 | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '876163438d4316c'} | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetDevInfo', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetLocalLink', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetNetPort', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetUser', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetOsd', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAbility', 'action': 1, 'param': {'User': {'userName': 'HomeAssistant'}}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetNtp', 'action': 0, 'param': {}}, {'cmd': 'GetTime', 'action': 0, 'param': {}}] | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:21 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetDevInfo", | |
"code" : 0, | |
"value" : { | |
"DevInfo" : { | |
"B485" : 0, | |
"IOInputNum" : 0, | |
"IOOutputNum" : 0, | |
"audioNum" : 1, | |
"buildDay" : "build 20121100", | |
"cfgVer" : "v3.0.0.0", | |
"channelNum" : 1, | |
"detail" : "IPC_51516M5MS10E1W01100000001", | |
"diskNum" : 1, | |
"firmVer" : "v3.0.0.136_20121100", | |
"frameworkVer" : 1, | |
"hardVer" : "IPC_51516M5M", | |
"model" : "RLC-410-5MP", | |
"name" : "Yard - Rear", | |
"pakSuffix" : "pak,paks", | |
"serial" : "00000000065536", | |
"type" : "IPC", | |
"wifi" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetLocalLink", | |
"code" : 0, | |
"initial" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.0.1", | |
"dns2" : "192.168.0.1" | |
}, | |
"mac" : "EC:71:DB:EB:7E:AE", | |
"static" : { | |
"gateway" : "192.168.0.1", | |
"ip" : "192.168.0.100", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
}, | |
"range" : { | |
"LocalLink" : { | |
"dns" : { | |
"auto" : "boolean", | |
"dns1" : { | |
"maxLen" : 15 | |
}, | |
"dns2" : { | |
"maxLen" : 15 | |
} | |
}, | |
"static" : { | |
"gateway" : { | |
"maxLen" : 15 | |
}, | |
"ip" : { | |
"maxLen" : 15 | |
}, | |
"mask" : { | |
"maxLen" : 15 | |
} | |
}, | |
"type" : [ "DHCP", "Static" ] | |
} | |
}, | |
"value" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.1.1", | |
"dns2" : "" | |
}, | |
"mac" : "ec:71:db:e6:47:c7", | |
"static" : { | |
"gateway" : "192.168.1.1", | |
"ip" : "192.168.1.31", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetNetPort", | |
"code" : 0, | |
"initial" : { | |
"NetPort" : { | |
"httpPort" : 80, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifPort" : 8000, | |
"rtmpPort" : 1935, | |
"rtspPort" : 554 | |
} | |
}, | |
"range" : { | |
"NetPort" : { | |
"httpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"httpsPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"mediaPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"onvifPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtmpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtspPort" : { | |
"max" : 65535, | |
"min" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"NetPort" : { | |
"httpPort" : 80, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifPort" : 8000, | |
"rtmpPort" : 1935, | |
"rtspPort" : 554 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetUser", | |
"code" : 0, | |
"initial" : { | |
"User" : { | |
"level" : "guest" | |
} | |
}, | |
"range" : { | |
"User" : { | |
"level" : [ "guest", "admin" ], | |
"password" : { | |
"maxLen" : 31, | |
"minLen" : 6 | |
}, | |
"userName" : { | |
"maxLen" : 31, | |
"minLen" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"User" : [ | |
{ | |
"level" : "admin", | |
"userName" : "admin" | |
}, | |
{ | |
"level" : "guest", | |
"userName" : "Smarthome" | |
}, | |
{ | |
"level" : "admin", | |
"userName" : "HomeAssistant" | |
}, | |
{ | |
"level" : "admin", | |
"userName" : "Martin" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetOsd", | |
"code" : 0, | |
"initial" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 1, | |
"name" : "Camera1", | |
"pos" : "Lower Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 1 | |
} | |
}, | |
"range" : { | |
"Osd" : { | |
"bgcolor" : "boolean", | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : "boolean", | |
"name" : { | |
"maxLen" : 31 | |
}, | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"osdTime" : { | |
"enable" : "boolean", | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"watermark" : "boolean" | |
} | |
}, | |
"value" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 1, | |
"name" : "Yard - Rear", | |
"pos" : "Upper Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAbility", | |
"code" : 0, | |
"value" : { | |
"Ability" : { | |
"3g" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"abilityChn" : [ | |
{ | |
"alarmAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmIoIn" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmIoOut" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmMd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmRf" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"batAnalysis" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"battery" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"cameraMode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"enc" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"floodLight" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"ftp" : { | |
"permit" : 6, | |
"ver" : 6 | |
}, | |
"image" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"indicatorLight" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"isp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"isp3Dnr" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispAntiFlick" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispBackLight" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispBright" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispContrast" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispDayNight" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispExposureMode" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispFlip" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispHue" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispMirror" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSatruation" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSharpen" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispWhiteBalance" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"ledControl" : { | |
"permit" : 5, | |
"ver" : 2 | |
}, | |
"live" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"mainEncType" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"mask" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mdTriggerAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdTriggerRecord" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdWithPir" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"osd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"powerLed" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzCtrl" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzDirection" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ptzPatrol" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzPreset" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzTattern" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzType" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"recCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recDownload" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recReplay" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recSchedule" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"shelterCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"snap" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"waterMark" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"white_balance" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
], | |
"alarmAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmDisconnet" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddErr" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddFull" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmIpConflict" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"auth" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"autoMaint" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"cloudStorage" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"customAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"dateFormat" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ddns" : { | |
"permit" : 6, | |
"ver" : 9 | |
}, | |
"ddnsCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"devInfo" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"devName" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"disk" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"display" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"email" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"emailInterval" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"emailSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"exportCfg" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"ftpAutoDir" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"ftpExtStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpPic" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ftpSubStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"hourFmt" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"http" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"httpFlv" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"https" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"importCfg" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ipcManager" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ledControl" : { | |
"permit" : 5, | |
"ver" : 2 | |
}, | |
"localLink" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"log" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mediaPort" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ntp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"online" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"onvif" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"p2p" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"performance" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"pppoe" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"push" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"pushSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"reboot" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"recExtensionTimeList" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recOverWrite" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recPackDuration" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"recPreRecord" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"restore" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"rtmp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"rtsp" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"scheduleVersion" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"sdCard" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"showQrCode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"simMoudule" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"talk" : { | |
"permit" : 4, | |
"ver" : 0 | |
}, | |
"time" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"tvSystem" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"upgrade" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"upnp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"user" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"wifi" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"wifiTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetNtp", | |
"code" : 0, | |
"value" : { | |
"Ntp" : { | |
"enable" : 1, | |
"interval" : 1440, | |
"port" : 123, | |
"server" : "pool.ntp.org" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetTime", | |
"code" : 0, | |
"value" : { | |
"Dst" : { | |
"enable" : 1, | |
"endHour" : 2, | |
"endMin" : 0, | |
"endMon" : 10, | |
"endSec" : 0, | |
"endWeek" : 4, | |
"endWeekday" : 0, | |
"offset" : 1, | |
"startHour" : 3, | |
"startMin" : 0, | |
"startMon" : 3, | |
"startSec" : 0, | |
"startWeek" : 4, | |
"startWeekday" : 0 | |
}, | |
"Time" : { | |
"day" : 24, | |
"hour" : 16, | |
"hourFmt" : 0, | |
"min" : 27, | |
"mon" : 1, | |
"sec" : 21, | |
"timeFmt" : "DD/MM/YYYY", | |
"timeZone" : -3600, | |
"year" : 2022 | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:22 WARNING (MainThread) [homeassistant.components.light] Platform netatmo not ready yet: None; Retrying in background in 30 seconds | |
2022-01-24 16:27:22 WARNING (MainThread) [homeassistant.components.select] Platform netatmo not ready yet: None; Retrying in background in 30 seconds | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '08cde494fc64bb6'} | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
} | |
] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'd6e3b01f3c046a0'} | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
} | |
] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '0eadd309ba47209'} | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetDevInfo', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetLocalLink', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetNetPort', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetUser', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetOsd', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAbility', 'action': 1, 'param': {'User': {'userName': 'HomeAssistant'}}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetNtp', 'action': 0, 'param': {}}, {'cmd': 'GetTime', 'action': 0, 'param': {}}] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetDevInfo", | |
"code" : 0, | |
"value" : { | |
"DevInfo" : { | |
"B485" : 0, | |
"IOInputNum" : 0, | |
"IOOutputNum" : 0, | |
"audioNum" : 1, | |
"buildDay" : "build 21121705", | |
"cfgVer" : "v3.1.0.0", | |
"channelNum" : 1, | |
"detail" : "IPC_523128M12MPS18E1W0110000000", | |
"diskNum" : 1, | |
"exactType" : "IPC", | |
"firmVer" : "v3.1.0.764_21121705", | |
"frameworkVer" : 1, | |
"hardVer" : "IPC_523128M12MP", | |
"model" : "RLC-1220A", | |
"name" : "Driveway - West", | |
"pakSuffix" : "pak,paks", | |
"serial" : "00000000983040", | |
"type" : "IPC", | |
"wifi" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetLocalLink", | |
"code" : 0, | |
"initial" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.0.1", | |
"dns2" : "192.168.0.1" | |
}, | |
"mac" : "EC:71:DB:66:BD:38", | |
"static" : { | |
"gateway" : "192.168.0.1", | |
"ip" : "192.168.0.100", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
}, | |
"range" : { | |
"LocalLink" : { | |
"dns" : { | |
"auto" : "boolean", | |
"dns1" : { | |
"maxLen" : 15 | |
}, | |
"dns2" : { | |
"maxLen" : 15 | |
} | |
}, | |
"static" : { | |
"gateway" : { | |
"maxLen" : 15 | |
}, | |
"ip" : { | |
"maxLen" : 15 | |
}, | |
"mask" : { | |
"maxLen" : 15 | |
} | |
}, | |
"type" : [ "DHCP", "Static" ] | |
} | |
}, | |
"value" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.1.1", | |
"dns2" : "192.168.1.1" | |
}, | |
"mac" : "ec:71:db:66:bd:38", | |
"static" : { | |
"gateway" : "192.168.1.1", | |
"ip" : "192.168.1.32", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetNetPort", | |
"code" : 0, | |
"initial" : { | |
"NetPort" : { | |
"httpPort" : 80, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifPort" : 8000, | |
"rtmpPort" : 1935, | |
"rtspPort" : 554 | |
} | |
}, | |
"range" : { | |
"NetPort" : { | |
"httpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"httpsPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"mediaPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"onvifPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtmpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtspPort" : { | |
"max" : 65535, | |
"min" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"NetPort" : { | |
"httpEnable" : 1, | |
"httpPort" : 80, | |
"httpsEnable" : 1, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifEnable" : 1, | |
"onvifPort" : 8000, | |
"rtmpEnable" : 1, | |
"rtmpPort" : 1935, | |
"rtspEnable" : 1, | |
"rtspPort" : 554 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetUser", | |
"code" : 0, | |
"initial" : { | |
"User" : { | |
"level" : "guest" | |
} | |
}, | |
"range" : { | |
"User" : { | |
"level" : [ "guest", "admin" ], | |
"password" : { | |
"maxLen" : 31, | |
"minLen" : 6 | |
}, | |
"userName" : { | |
"maxLen" : 31, | |
"minLen" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"User" : [ | |
{ | |
"level" : "admin", | |
"userName" : "admin" | |
}, | |
{ | |
"level" : "admin", | |
"userName" : "HomeAssistant" | |
}, | |
{ | |
"level" : "admin", | |
"userName" : "Martin" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetOsd", | |
"code" : 0, | |
"initial" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 1, | |
"name" : "Camera1", | |
"pos" : "Lower Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 1 | |
} | |
}, | |
"range" : { | |
"Osd" : { | |
"bgcolor" : "boolean", | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : "boolean", | |
"name" : { | |
"maxLen" : 31 | |
}, | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"osdTime" : { | |
"enable" : "boolean", | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"watermark" : "boolean" | |
} | |
}, | |
"value" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 0, | |
"name" : "Driveway - West", | |
"pos" : "Lower Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAbility", | |
"code" : 0, | |
"value" : { | |
"Ability" : { | |
"3g" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"abilityChn" : [ | |
{ | |
"aiTrack" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmIoIn" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmIoOut" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmMd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmRf" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"batAnalysis" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"battery" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"cameraMode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"enc" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"floodLight" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ftp" : { | |
"permit" : 6, | |
"ver" : 6 | |
}, | |
"image" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"indicatorLight" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"isp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"isp3Dnr" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ispAntiFlick" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispBackLight" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ispBright" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispContrast" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispDayNight" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispExposureMode" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ispFlip" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispHue" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ispMirror" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSatruation" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSharpen" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispWhiteBalance" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"ledControl" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"live" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"mainEncType" : { | |
"permit" : 0, | |
"ver" : 1 | |
}, | |
"mask" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mdTriggerAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdTriggerRecord" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdWithPir" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"osd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"powerLed" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzCtrl" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzDirection" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ptzPatrol" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzPreset" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzTattern" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzType" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"recCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recDownload" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recReplay" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recSchedule" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"shelterCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"snap" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAi" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiAnimal" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportAiDetectConfig" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiDogCat" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiFace" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportAiPeople" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiSensitivity" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiStayTime" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiTargetSize" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiTrackClassify" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportAiVehicle" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAoAdjust" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportFLBrightness" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportFLIntelligent" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportFLKeepOn" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportFLSchedule" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportFLswitch" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportGop" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportPtzCheck" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportThresholdAdjust" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportWhiteDark" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"waterMark" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"white_balance" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
], | |
"alarmAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmDisconnet" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddErr" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddFull" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmIpConflict" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"auth" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"autoMaint" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"cloudStorage" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"customAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"dateFormat" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ddns" : { | |
"permit" : 6, | |
"ver" : 9 | |
}, | |
"ddnsCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"devInfo" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"devName" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"disk" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"display" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"email" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"emailInterval" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"emailSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"exportCfg" : { | |
"permit" : 4, | |
"ver" : 0 | |
}, | |
"ftpAutoDir" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpExtStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpPic" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ftpSubStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"hourFmt" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"http" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"httpFlv" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"https" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"importCfg" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ipcManager" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ledControl" : { | |
"permit" : 7, | |
"ver" : 1 | |
}, | |
"localLink" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"log" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mediaPort" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ntp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"online" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"onvif" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"p2p" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"performance" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"pppoe" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"push" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"pushSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"reboot" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"recExtensionTimeList" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recOverWrite" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recPackDuration" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"recPreRecord" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"restore" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"rtmp" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"rtsp" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"scheduleVersion" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"sdCard" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"showQrCode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"simMoudule" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"supportAudioAlarm" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportAudioAlarmEnable" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportAudioAlarmSchedule" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportAudioAlarmTaskEnable" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportBuzzer" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportBuzzerEnable" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportBuzzerTask" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportBuzzerTaskEnable" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportEmailEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportEmailTaskEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpCoverPicture" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpCoverVideo" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpDirYM" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpPicCaptureMode" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpPicResoCustom" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"supportFtpPictureSwap" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpTask" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpTaskEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpVideoSwap" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpsEncrypt" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportHttpEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportHttpsEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportOnvifEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportPushInterval" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportRecScheduleEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportRecordEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportRtmpEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportRtspEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"talk" : { | |
"permit" : 4, | |
"ver" : 0 | |
}, | |
"time" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"tvSystem" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"upgrade" : { | |
"permit" : 1, | |
"ver" : 2 | |
}, | |
"upnp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"user" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"wifi" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"wifiTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAiState", | |
"code" : 0, | |
"value" : { | |
"channel" : 0, | |
"dog_cat" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
}, | |
"face" : { | |
"alarm_state" : 0, | |
"support" : 0 | |
}, | |
"people" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
}, | |
"vehicle" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetNtp", | |
"code" : 0, | |
"value" : { | |
"Ntp" : { | |
"enable" : 1, | |
"interval" : 1440, | |
"port" : 123, | |
"server" : "pool.ntp.org" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetTime", | |
"code" : 0, | |
"value" : { | |
"Dst" : { | |
"enable" : 1, | |
"endHour" : 2, | |
"endMin" : 59, | |
"endMon" : 10, | |
"endSec" : 0, | |
"endWeek" : 5, | |
"endWeekday" : 0, | |
"offset" : 1, | |
"startHour" : 1, | |
"startMin" : 59, | |
"startMon" : 3, | |
"startSec" : 0, | |
"startWeek" : 4, | |
"startWeekday" : 0 | |
}, | |
"Time" : { | |
"day" : 24, | |
"hour" : 16, | |
"hourFmt" : 0, | |
"min" : 27, | |
"mon" : 1, | |
"sec" : 23, | |
"timeFmt" : "YYYY/MM/DD", | |
"timeZone" : -3600, | |
"year" : 2022 | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e5c6dcc8ebc1d6d'} | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetDevInfo', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetLocalLink', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetNetPort', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetUser', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetOsd', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAbility', 'action': 1, 'param': {'User': {'userName': 'HomeAssistant'}}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetNtp', 'action': 0, 'param': {}}, {'cmd': 'GetTime', 'action': 0, 'param': {}}] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetDevInfo", | |
"code" : 0, | |
"value" : { | |
"DevInfo" : { | |
"B485" : 0, | |
"IOInputNum" : 0, | |
"IOOutputNum" : 0, | |
"audioNum" : 1, | |
"buildDay" : "build 22011511", | |
"cfgVer" : "v3.1.0.0", | |
"channelNum" : 1, | |
"detail" : "IPC_523128M8MPS16CE1W0110000000", | |
"diskNum" : 1, | |
"exactType" : "IPC", | |
"firmVer" : "v3.1.0.804_22011511_v1.0.0.30", | |
"frameworkVer" : 1, | |
"hardVer" : "IPC_523128M8MP", | |
"model" : "RLC-823A", | |
"name" : "Garden Rear", | |
"pakSuffix" : "pak,paks", | |
"serial" : "00000000000000", | |
"type" : "IPC", | |
"wifi" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetLocalLink", | |
"code" : 0, | |
"initial" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.0.1", | |
"dns2" : "192.168.0.1" | |
}, | |
"mac" : "EC:71:DB:1F:7A:A0", | |
"static" : { | |
"gateway" : "192.168.0.1", | |
"ip" : "192.168.0.100", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
}, | |
"range" : { | |
"LocalLink" : { | |
"dns" : { | |
"auto" : "boolean", | |
"dns1" : { | |
"maxLen" : 15 | |
}, | |
"dns2" : { | |
"maxLen" : 15 | |
} | |
}, | |
"static" : { | |
"gateway" : { | |
"maxLen" : 15 | |
}, | |
"ip" : { | |
"maxLen" : 15 | |
}, | |
"mask" : { | |
"maxLen" : 15 | |
} | |
}, | |
"type" : [ "DHCP", "Static" ] | |
} | |
}, | |
"value" : { | |
"LocalLink" : { | |
"activeLink" : "LAN", | |
"dns" : { | |
"auto" : 1, | |
"dns1" : "192.168.1.1", | |
"dns2" : "192.168.1.1" | |
}, | |
"mac" : "ec:71:db:c8:f4:54", | |
"static" : { | |
"gateway" : "192.168.1.1", | |
"ip" : "192.168.1.35", | |
"mask" : "255.255.255.0" | |
}, | |
"type" : "DHCP" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetNetPort", | |
"code" : 0, | |
"initial" : { | |
"NetPort" : { | |
"httpPort" : 80, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifPort" : 8000, | |
"rtmpPort" : 1935, | |
"rtspPort" : 554 | |
} | |
}, | |
"range" : { | |
"NetPort" : { | |
"httpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"httpsPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"mediaPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"onvifPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtmpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"rtspPort" : { | |
"max" : 65535, | |
"min" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"NetPort" : { | |
"httpEnable" : 1, | |
"httpPort" : 80, | |
"httpsEnable" : 1, | |
"httpsPort" : 443, | |
"mediaPort" : 9000, | |
"onvifEnable" : 1, | |
"onvifPort" : 8000, | |
"rtmpEnable" : 1, | |
"rtmpPort" : 1935, | |
"rtspEnable" : 1, | |
"rtspPort" : 554 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetUser", | |
"code" : 0, | |
"initial" : { | |
"User" : { | |
"level" : "guest" | |
} | |
}, | |
"range" : { | |
"User" : { | |
"level" : [ "guest", "admin" ], | |
"password" : { | |
"maxLen" : 31, | |
"minLen" : 6 | |
}, | |
"userName" : { | |
"maxLen" : 31, | |
"minLen" : 1 | |
} | |
} | |
}, | |
"value" : { | |
"User" : [ | |
{ | |
"level" : "admin", | |
"userName" : "admin" | |
}, | |
{ | |
"level" : "admin", | |
"userName" : "Martin" | |
}, | |
{ | |
"level" : "admin", | |
"userName" : "HomeAssistant" | |
}, | |
{ | |
"level" : "guest", | |
"userName" : "Smarthome" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetOsd", | |
"code" : 0, | |
"initial" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 1, | |
"name" : "Camera1", | |
"pos" : "Lower Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 1 | |
} | |
}, | |
"range" : { | |
"Osd" : { | |
"bgcolor" : "boolean", | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : "boolean", | |
"name" : { | |
"maxLen" : 31 | |
}, | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"osdTime" : { | |
"enable" : "boolean", | |
"pos" : [ | |
"Upper Left", | |
"Top Center", | |
"Upper Right", | |
"Lower Left", | |
"Bottom Center", | |
"Lower Right" | |
] | |
}, | |
"watermark" : "boolean" | |
} | |
}, | |
"value" : { | |
"Osd" : { | |
"bgcolor" : 0, | |
"channel" : 0, | |
"osdChannel" : { | |
"enable" : 1, | |
"name" : "Garden Rear", | |
"pos" : "Lower Right" | |
}, | |
"osdTime" : { | |
"enable" : 1, | |
"pos" : "Top Center" | |
}, | |
"watermark" : 0 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAbility", | |
"code" : 0, | |
"value" : { | |
"Ability" : { | |
"3g" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"abilityChn" : [ | |
{ | |
"aiTrack" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmAudio" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmIoIn" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmIoOut" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"alarmMd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmRf" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"batAnalysis" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"battery" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"cameraMode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"enc" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"floodLight" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ftp" : { | |
"permit" : 6, | |
"ver" : 6 | |
}, | |
"image" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"indicatorLight" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"isp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"isp3Dnr" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ispAntiFlick" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispBackLight" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ispBright" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispContrast" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispDayNight" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispExposureMode" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ispFlip" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispHue" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ispMirror" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSatruation" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispSharpen" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ispWhiteBalance" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"ledControl" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"live" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"mainEncType" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mask" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mdTriggerAudio" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdTriggerRecord" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"mdWithPir" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"osd" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"powerLed" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ptzCtrl" : { | |
"permit" : 7, | |
"ver" : 2 | |
}, | |
"ptzDirection" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ptzPatrol" : { | |
"permit" : 7, | |
"ver" : 1 | |
}, | |
"ptzPreset" : { | |
"permit" : 7, | |
"ver" : 1 | |
}, | |
"ptzTattern" : { | |
"permit" : 7, | |
"ver" : 0 | |
}, | |
"ptzType" : { | |
"permit" : 0, | |
"ver" : 2 | |
}, | |
"recCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recDownload" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recReplay" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recSchedule" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"shelterCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"snap" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAi" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiAnimal" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportAiDetectConfig" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiDogCat" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiFace" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportAiPeople" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiSensitivity" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiStayTime" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiTargetSize" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiTrackClassify" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAiVehicle" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAoAdjust" : { | |
"permit" : 0, | |
"ver" : 1 | |
}, | |
"supportFLBrightness" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFLIntelligent" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFLKeepOn" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportFLSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFLswitch" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportGop" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportPtzCheck" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"supportThresholdAdjust" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportWhiteDark" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"waterMark" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"white_balance" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
], | |
"alarmAudio" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmDisconnet" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddErr" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmHddFull" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"alarmIpConflict" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"auth" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"autoMaint" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"cloudStorage" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"customAudio" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"dateFormat" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ddns" : { | |
"permit" : 6, | |
"ver" : 9 | |
}, | |
"ddnsCfg" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"devInfo" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"devName" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"disableAutoFocus" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"disk" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"display" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"email" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"emailInterval" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"emailSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"exportCfg" : { | |
"permit" : 4, | |
"ver" : 0 | |
}, | |
"ftpAutoDir" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpExtStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpPic" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"ftpSubStream" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ftpTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"hourFmt" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"http" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"httpFlv" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"https" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"importCfg" : { | |
"permit" : 1, | |
"ver" : 0 | |
}, | |
"ipcManager" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ledControl" : { | |
"permit" : 7, | |
"ver" : 1 | |
}, | |
"localLink" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"log" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"mediaPort" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"ntp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"online" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"onvif" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"p2p" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"performance" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"pppoe" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"push" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"pushSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"reboot" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"recExtensionTimeList" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recOverWrite" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"recPackDuration" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"recPreRecord" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"restore" : { | |
"permit" : 1, | |
"ver" : 1 | |
}, | |
"rtmp" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"rtsp" : { | |
"permit" : 6, | |
"ver" : 3 | |
}, | |
"scheduleVersion" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"sdCard" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"showQrCode" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"simMoudule" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"supportAudioAlarm" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAudioAlarmEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAudioAlarmSchedule" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportAudioAlarmTaskEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportBuzzer" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportBuzzerEnable" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportBuzzerTask" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportBuzzerTaskEnable" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"supportEmailEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportEmailTaskEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpCoverPicture" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpCoverVideo" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpDirYM" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpPicCaptureMode" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpPicResoCustom" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"supportFtpPictureSwap" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpTask" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpTaskEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpVideoSwap" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportFtpsEncrypt" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportHttpEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportHttpsEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportOnvifEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportPushInterval" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportRecScheduleEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportRecordEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportRtmpEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"supportRtspEnable" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"talk" : { | |
"permit" : 4, | |
"ver" : 1 | |
}, | |
"time" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"tvSystem" : { | |
"permit" : 6, | |
"ver" : 0 | |
}, | |
"upgrade" : { | |
"permit" : 1, | |
"ver" : 2 | |
}, | |
"upnp" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"user" : { | |
"permit" : 6, | |
"ver" : 1 | |
}, | |
"videoClip" : { | |
"permit" : 6, | |
"ver" : 2 | |
}, | |
"wifi" : { | |
"permit" : 0, | |
"ver" : 0 | |
}, | |
"wifiTest" : { | |
"permit" : 6, | |
"ver" : 0 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAiState", | |
"code" : 0, | |
"value" : { | |
"channel" : 0, | |
"dog_cat" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
}, | |
"face" : { | |
"alarm_state" : 0, | |
"support" : 0 | |
}, | |
"people" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
}, | |
"vehicle" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetNtp", | |
"code" : 0, | |
"value" : { | |
"Ntp" : { | |
"enable" : 1, | |
"interval" : 1440, | |
"port" : 123, | |
"server" : "pool.ntp.org" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetTime", | |
"code" : 0, | |
"value" : { | |
"Dst" : { | |
"enable" : 1, | |
"endHour" : 3, | |
"endMin" : 0, | |
"endMon" : 10, | |
"endSec" : 0, | |
"endWeek" : 5, | |
"endWeekday" : 0, | |
"offset" : 1, | |
"startHour" : 2, | |
"startMin" : 0, | |
"startMon" : 3, | |
"startSec" : 0, | |
"startWeek" : 4, | |
"startWeekday" : 0 | |
}, | |
"Time" : { | |
"day" : 24, | |
"hour" : 16, | |
"hourFmt" : 0, | |
"min" : 27, | |
"mon" : 1, | |
"sec" : 23, | |
"timeFmt" : "DD/MM/YYYY", | |
"timeZone" : -3600, | |
"year" : 2022 | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '876163438d4316c'} | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
} | |
] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '927acc547fdb153'} | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
} | |
] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '0eadd309ba47209'} | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtpV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRecV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarmV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetPushV20", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtpV20", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 1, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 2160, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 3840, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"autoDir" : [ 0, 1, 2, 3 ], | |
"bpicSingle" : [ 0, 1, 2 ], | |
"bvideoSingle" : [ 0, 1, 2 ], | |
"enable" : "boolean", | |
"interval" : [ 5, 10, 15, 30, 60 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"picCaptureMode" : [ 0, 1, 2, 3 ], | |
"picHeight" : { | |
"max" : 3072, | |
"min" : 360 | |
}, | |
"picInterval" : [ 2, 5, 10, 15, 30, 60, 300, 600, 1800 ], | |
"picName" : { | |
"maxLen" : 127 | |
}, | |
"picWidth" : { | |
"max" : 4512, | |
"min" : 640 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"TIMING" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 6, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
}, | |
"videoName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 1, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 2160, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 3840, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRecV20", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"enable" : "boolean", | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "boolean", | |
"AI_PEOPLE" : "boolean", | |
"AI_VEHICLE" : "boolean", | |
"MD" : "boolean", | |
"TIMING" : "boolean" | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"packTime" : "", | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarmV20", | |
"code" : 0, | |
"initial" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Audio" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e5c6dcc8ebc1d6d'} | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtpV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRecV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarmV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetPushV20", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtpV20", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 1296, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 2304, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"autoDir" : [ 0, 1, 2, 3 ], | |
"bpicSingle" : [ 0, 1, 2 ], | |
"bvideoSingle" : [ 0, 1, 2 ], | |
"enable" : "boolean", | |
"interval" : [ 5, 10, 15, 30, 60 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"picCaptureMode" : [ 0, 1, 2, 3 ], | |
"picHeight" : { | |
"max" : 3072, | |
"min" : 360 | |
}, | |
"picInterval" : [ 2, 5, 10, 15, 30, 60, 300, 600, 1800 ], | |
"picName" : { | |
"maxLen" : 127 | |
}, | |
"picWidth" : { | |
"max" : 4512, | |
"min" : 640 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"TIMING" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 6, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
}, | |
"videoName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 1296, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 2304, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRecV20", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"enable" : "boolean", | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "boolean", | |
"AI_PEOPLE" : "boolean", | |
"AI_VEHICLE" : "boolean", | |
"MD" : "boolean", | |
"TIMING" : "boolean" | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"packTime" : "", | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarmV20", | |
"code" : 0, | |
"initial" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Audio" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'd6e3b01f3c046a0'} | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 41, | |
"size" : "2560*1440", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1536, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 32, | |
"size" : "2048*1536", | |
"width" : 2048 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 34, | |
"size" : "2304*1296", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 10, | |
"height" : 480, | |
"profile" : "High", | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEmail", | |
"code" : 0, | |
"initial" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Email" : { | |
"addr1" : { | |
"maxLen" : 127 | |
}, | |
"addr2" : { | |
"maxLen" : 127 | |
}, | |
"addr3" : { | |
"maxLen" : 127 | |
}, | |
"attachmentType" : 1, | |
"interval" : [ "30 Seconds", "1 Minute", "5 Minutes", "10 Minutes", "30 Minutes" ], | |
"nickName" : { | |
"maxLen" : 127 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"smtpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"smtpServer" : { | |
"maxLen" : 127 | |
}, | |
"ssl" : "boolean", | |
"textType" : 1, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"supportTextType" : 1, | |
"supportVideo" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "GetAlarm", | |
"code" : 0, | |
"initial" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"range" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : "boolean", | |
"push" : "boolean", | |
"recChannel" : [ 0 ] | |
}, | |
"channel" : 0, | |
"enable" : "boolean", | |
"schedule" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"scope" : { | |
"cols" : { | |
"max" : 80, | |
"min" : 80 | |
}, | |
"rows" : { | |
"max" : 60, | |
"min" : 60 | |
}, | |
"table" : { | |
"maxLen" : 8159 | |
} | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 0, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 1, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 2, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 3, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"value" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111111111111111111111111111111111111111111111111110000111111111111111111111111111111111111111100000000000000010000111111111111110000001111111111111111111111111111000000000000000000000000000000000000100000000000000011111111111111111110000000000000000000000000000000000000000000000000000000000000001111111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111111000000000000000000000000000000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000000000000000001111111111000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000011111111110000000000000000000000000000000000000000000000000000000000000000000000011111111110000000000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000000000000000000000000000000000000000000000000000000001111111111000000000000001000001111111111111111111111111111100000000000000000000" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"id" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"id" : 1, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"id" : 2, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"id" : 3, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPush", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRec", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"enable" : "boolean" | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarm", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
} | |
] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '08cde494fc64bb6'} | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:22 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 41, | |
"size" : "2560*1440", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1536, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 32, | |
"size" : "2048*1536", | |
"width" : 2048 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 34, | |
"size" : "2304*1296", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 10, | |
"height" : 480, | |
"profile" : "High", | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEmail", | |
"code" : 0, | |
"initial" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Email" : { | |
"addr1" : { | |
"maxLen" : 127 | |
}, | |
"addr2" : { | |
"maxLen" : 127 | |
}, | |
"addr3" : { | |
"maxLen" : 127 | |
}, | |
"attachmentType" : 1, | |
"interval" : [ "30 Seconds", "1 Minute", "5 Minutes", "10 Minutes", "30 Minutes" ], | |
"nickName" : { | |
"maxLen" : 127 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"smtpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"smtpServer" : { | |
"maxLen" : 127 | |
}, | |
"ssl" : "boolean", | |
"textType" : 1, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"supportTextType" : 1, | |
"supportVideo" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "GetAlarm", | |
"code" : 0, | |
"initial" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"range" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : "boolean", | |
"push" : "boolean", | |
"recChannel" : [ 0 ] | |
}, | |
"channel" : 0, | |
"enable" : "boolean", | |
"schedule" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"scope" : { | |
"cols" : { | |
"max" : 80, | |
"min" : 80 | |
}, | |
"rows" : { | |
"max" : 60, | |
"min" : 60 | |
}, | |
"table" : { | |
"maxLen" : 8159 | |
} | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 0, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 1, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 2, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 3, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"value" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111111111111111111111111111111111111111111111000000000000111111111111111111111111111111111111111111111111111111111111111111110000000000001111111111111111111111111111111111111111111111111111111111111111111100000000000011111111111111111111111111111111111111111111111111100001111111111111000000000000011111100011111111111111111111111111111111111111111000011111111111110000000000000001111000001111111111111111111111111111111111111110000111111111111100000000000000000000000000011111111111111111111111111111111111100001111111111111000000000000000000000000000000011111111111111111111111111111111000011111111110000000000000000000000000000000000000000111111111111111111111111110000111111111100000000000000000000000000000000000000000001111111111111111111111100001111111110000000000000000000000000000000000000000000000011111111111111111111000011111111100000000000000000000000000000000000000000000000000111111111111111110000111111111000000000000000000000000000000000000000000000000000000011111111111100001111111110000000000000000000000000000000000000000000000000000000000011111111000011111111100000000000000000000000000000000000000000000000000000000000000011110001111111111000000000000000000000000000000000000000000000000000000000000000000000011111111110000000000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000001111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"id" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"id" : 1, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"id" : 2, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"id" : 3, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPush", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRec", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"enable" : "boolean" | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarm", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
} | |
] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e5c6dcc8ebc1d6d'} | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtpV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRecV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarmV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2, | |
"height" : 2160, | |
"profile" : "High", | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4, | |
"height" : 360, | |
"profile" : "High", | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 2160, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 360, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2560*1440", | |
"vType" : "h264", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 360, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2304*1296", | |
"vType" : "h264", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 360, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2, | |
"height" : 1296, | |
"profile" : "High", | |
"size" : "2304*1296", | |
"vType" : "h264", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4, | |
"height" : 360, | |
"profile" : "High", | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_led_color" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"bd_day" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"bd_led_color" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"bd_night" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"dayNightThreshold" : { | |
"max" : 100, | |
"min" : 0 | |
}, | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_led_color" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetWhiteLed", | |
"code" : 0, | |
"initial" : { | |
"WhiteLed" : { | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
}, | |
"range" : { | |
"AiDetectType" : { | |
"dog_cat" : "boolean", | |
"people" : "boolean", | |
"vehicle" : "boolean" | |
}, | |
"WhiteLed" : { | |
"bright" : { | |
"max" : 100, | |
"min" : 0 | |
} | |
} | |
}, | |
"value" : { | |
"WhiteLed" : { | |
"LightingSchedule" : { | |
"EndHour" : 23, | |
"EndMin" : 59, | |
"StartHour" : 0, | |
"StartMin" : 0 | |
}, | |
"bright" : 100, | |
"channel" : 0, | |
"mode" : 1, | |
"state" : 0, | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 0, | |
"initial" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 1, | |
"name" : "Main House" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 2, | |
"name" : "Road Entry" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 3, | |
"name" : "Driveway" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 4, | |
"name" : "Greenhouse" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 20, | |
"name" : "Langelund" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
}, | |
"range" : { | |
"PtzPreset" : { | |
"channel" : 0, | |
"enable" : "boolean", | |
"id" : { | |
"max" : 64, | |
"min" : 1 | |
}, | |
"name" : { | |
"maxLen" : 31 | |
} | |
} | |
}, | |
"value" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 1, | |
"name" : "Main House" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 2, | |
"name" : "Road Entry" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 3, | |
"name" : "Driveway" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 4, | |
"name" : "Greenhouse" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 20, | |
"name" : "Langelund" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPushV20", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtpV20", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 1296, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 2304, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"autoDir" : [ 0, 1, 2, 3 ], | |
"bpicSingle" : [ 0, 1, 2 ], | |
"bvideoSingle" : [ 0, 1, 2 ], | |
"enable" : "boolean", | |
"interval" : [ 5, 10, 15, 30, 60 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"picCaptureMode" : [ 0, 1, 2, 3 ], | |
"picHeight" : { | |
"max" : 3072, | |
"min" : 360 | |
}, | |
"picInterval" : [ 2, 5, 10, 15, 30, 60, 300, 600, 1800 ], | |
"picName" : { | |
"maxLen" : 127 | |
}, | |
"picWidth" : { | |
"max" : 4512, | |
"min" : 640 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"TIMING" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 6, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
}, | |
"videoName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 1296, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 2304, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRecV20", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"enable" : "boolean", | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "boolean", | |
"AI_PEOPLE" : "boolean", | |
"AI_VEHICLE" : "boolean", | |
"MD" : "boolean", | |
"TIMING" : "boolean" | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"packTime" : "", | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarmV20", | |
"code" : 0, | |
"initial" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Audio" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '0eadd309ba47209'} | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtpV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRecV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarmV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 20, | |
"gop" : 2, | |
"height" : 3072, | |
"profile" : "High", | |
"size" : "4096*3072", | |
"vType" : "h265", | |
"width" : 4096 | |
}, | |
"subStream" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 3072, 4096, 5120, 6144, 7168, 8192, 9216, 10240 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 20, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 3072, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "4096*3072", | |
"vType" : "h265", | |
"width" : 4096 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 2160, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2560*1440", | |
"vType" : "h264", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2304*1296", | |
"vType" : "h264", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2, | |
"height" : 2160, | |
"profile" : "High", | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 15, | |
"gop" : 4, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"bd_day" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"bd_night" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"dayNightThreshold" : { | |
"max" : 100, | |
"min" : 0 | |
}, | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetWhiteLed", | |
"code" : 0, | |
"initial" : { | |
"WhiteLed" : { | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
}, | |
"range" : { | |
"AiDetectType" : { | |
"dog_cat" : "boolean", | |
"people" : "boolean", | |
"vehicle" : "boolean" | |
}, | |
"WhiteLed" : { | |
"bright" : { | |
"max" : 100, | |
"min" : 0 | |
} | |
} | |
}, | |
"value" : { | |
"WhiteLed" : { | |
"LightingSchedule" : { | |
"EndHour" : 6, | |
"EndMin" : 0, | |
"StartHour" : 18, | |
"StartMin" : 0 | |
}, | |
"bright" : 85, | |
"channel" : 0, | |
"mode" : 1, | |
"state" : 0, | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 0, | |
"initial" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 1, | |
"name" : "pos1" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 2, | |
"name" : "pos2" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 3, | |
"name" : "pos3" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 4, | |
"name" : "pos4" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 20, | |
"name" : "pos20" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
}, | |
"range" : { | |
"PtzPreset" : { | |
"channel" : 0, | |
"enable" : "boolean", | |
"id" : { | |
"max" : 64, | |
"min" : 1 | |
}, | |
"name" : { | |
"maxLen" : 31 | |
} | |
} | |
}, | |
"value" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 1, | |
"name" : "pos1" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 2, | |
"name" : "pos2" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 3, | |
"name" : "pos3" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 4, | |
"name" : "pos4" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 20, | |
"name" : "pos20" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPushV20", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtpV20", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 1, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 2160, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 3840, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"autoDir" : [ 0, 1, 2, 3 ], | |
"bpicSingle" : [ 0, 1, 2 ], | |
"bvideoSingle" : [ 0, 1, 2 ], | |
"enable" : "boolean", | |
"interval" : [ 5, 10, 15, 30, 60 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"picCaptureMode" : [ 0, 1, 2, 3 ], | |
"picHeight" : { | |
"max" : 3072, | |
"min" : 360 | |
}, | |
"picInterval" : [ 2, 5, 10, 15, 30, 60, 300, 600, 1800 ], | |
"picName" : { | |
"maxLen" : 127 | |
}, | |
"picWidth" : { | |
"max" : 4512, | |
"min" : 640 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"TIMING" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 6, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
}, | |
"videoName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 1, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 2160, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 3840, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRecV20", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"enable" : "boolean", | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "boolean", | |
"AI_PEOPLE" : "boolean", | |
"AI_VEHICLE" : "boolean", | |
"MD" : "boolean", | |
"TIMING" : "boolean" | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"packTime" : "", | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarmV20", | |
"code" : 0, | |
"initial" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Audio" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'd6e3b01f3c046a0'} | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
} | |
] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] User HomeAssistant has authorisation level admin | |
2022-01-24 16:27:23 DEBUG (MainThread) [custom_components.reolink_dev.base] Registering webhook for event ID reolink_dev-event-ec71db3298e7 | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.30 (Subscription) request data: | |
<soap:Envelope xmlns:add="http://www.w3.org/2005/08/addressing" xmlns:b="http://docs.oasis-open.org/wsn/b-2" xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> | |
<soap:Header><wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" | |
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<wsse:UsernameToken wsu:Id="UsernameToken-e7a0d397-f8a8-4a89-9694-0d184f73dcac"> | |
<wsse:Username>HomeAssistant</wsse:Username> | |
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">YpZVtxM3bdymT0I9fUP6rx63if4=</wsse:Password> | |
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">KCSTJh5KSAaFEpWpoCDSvQ==</wsse:Nonce> | |
<wsu:Created>2022-01-24T15:27:23.000Z</wsu:Created> | |
</wsse:UsernameToken> | |
</wsse:Security> | |
</soap:Header> | |
<soap:Body> | |
<b:Subscribe> | |
<b:ConsumerReference> | |
<add:Address>http://192.168.1.41:8123/api/webhook/1ceeeea8aa8a5162c1f86d6ff9759c54c358725e83d0a6f5858fcbdbff6cb36b</add:Address> | |
</b:ConsumerReference> | |
<b:InitialTerminationTime>PT15M</b:InitialTerminationTime> | |
</b:Subscribe> | |
</soap:Body> | |
</soap:Envelope> | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '08cde494fc64bb6'} | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
} | |
] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] User HomeAssistant has authorisation level admin | |
2022-01-24 16:27:23 DEBUG (MainThread) [custom_components.reolink_dev.base] Registering webhook for event ID reolink_dev-event-ec71dbf5664b | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.34 (Subscription) request data: | |
<soap:Envelope xmlns:add="http://www.w3.org/2005/08/addressing" xmlns:b="http://docs.oasis-open.org/wsn/b-2" xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> | |
<soap:Header><wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" | |
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<wsse:UsernameToken wsu:Id="UsernameToken-3786d8b6-1d55-41dc-a7da-4fc8d0b95e49"> | |
<wsse:Username>HomeAssistant</wsse:Username> | |
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">LaQNRhe4Kx5ft3t5P8Hh9MIcmUY=</wsse:Password> | |
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">e/6klaAKTxquO/dn9ZekEw==</wsse:Nonce> | |
<wsu:Created>2022-01-24T15:27:23.000Z</wsu:Created> | |
</wsse:UsernameToken> | |
</wsse:Security> | |
</soap:Header> | |
<soap:Body> | |
<b:Subscribe> | |
<b:ConsumerReference> | |
<add:Address>http://192.168.1.41:8123/api/webhook/f79b3017b96ab2b8ea6459d50ea01177a92ca217bc860b744d65d4635a365ba4</add:Address> | |
</b:ConsumerReference> | |
<b:InitialTerminationTime>PT15M</b:InitialTerminationTime> | |
</b:Subscribe> | |
</soap:Body> | |
</soap:Envelope> | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '0eadd309ba47209'} | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetAiState", | |
"code" : 0, | |
"value" : { | |
"channel" : 0, | |
"dog_cat" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
}, | |
"face" : { | |
"alarm_state" : 0, | |
"support" : 0 | |
}, | |
"people" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
}, | |
"vehicle" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] User HomeAssistant has authorisation level admin | |
2022-01-24 16:27:23 DEBUG (MainThread) [custom_components.reolink_dev.base] Registering webhook for event ID reolink_dev-event-ec71db66bd38 | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.32 (Subscription) request data: | |
<soap:Envelope xmlns:add="http://www.w3.org/2005/08/addressing" xmlns:b="http://docs.oasis-open.org/wsn/b-2" xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> | |
<soap:Header><wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" | |
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<wsse:UsernameToken wsu:Id="UsernameToken-45c99c4b-f9d1-447b-b79b-40e99ae0950e"> | |
<wsse:Username>HomeAssistant</wsse:Username> | |
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">fZu9UAdzxIYjEIl6eaL+zJkjoKI=</wsse:Password> | |
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">I3yT2nnNQS+dX6EAfdHEbw==</wsse:Nonce> | |
<wsu:Created>2022-01-24T15:27:23.000Z</wsu:Created> | |
</wsse:UsernameToken> | |
</wsse:Security> | |
</soap:Header> | |
<soap:Body> | |
<b:Subscribe> | |
<b:ConsumerReference> | |
<add:Address>http://192.168.1.41:8123/api/webhook/714f0c80051e64823cca086b98545727b8b84d0c3754c8d9adc1c1e4525d8d34</add:Address> | |
</b:ConsumerReference> | |
<b:InitialTerminationTime>PT15M</b:InitialTerminationTime> | |
</b:Subscribe> | |
</soap:Body> | |
</soap:Envelope> | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e5c6dcc8ebc1d6d'} | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetAiState", | |
"code" : 0, | |
"value" : { | |
"channel" : 0, | |
"dog_cat" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
}, | |
"face" : { | |
"alarm_state" : 0, | |
"support" : 0 | |
}, | |
"people" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
}, | |
"vehicle" : { | |
"alarm_state" : 0, | |
"support" : 1 | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] User HomeAssistant has authorisation level admin | |
2022-01-24 16:27:23 DEBUG (MainThread) [custom_components.reolink_dev.base] Registering webhook for event ID reolink_dev-event-ec71dbc8f454 | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.35 (Subscription) request data: | |
<soap:Envelope xmlns:add="http://www.w3.org/2005/08/addressing" xmlns:b="http://docs.oasis-open.org/wsn/b-2" xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> | |
<soap:Header><wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" | |
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<wsse:UsernameToken wsu:Id="UsernameToken-0c801df0-f4a1-49a2-a830-0e47269e68f7"> | |
<wsse:Username>HomeAssistant</wsse:Username> | |
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">Wmm4HJ2R1U48n2ipvvRl/gHChbw=</wsse:Password> | |
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">o9plYShDSPK9leOB5u7e9Q==</wsse:Nonce> | |
<wsu:Created>2022-01-24T15:27:23.000Z</wsu:Created> | |
</wsse:UsernameToken> | |
</wsse:Security> | |
</soap:Header> | |
<soap:Body> | |
<b:Subscribe> | |
<b:ConsumerReference> | |
<add:Address>http://192.168.1.41:8123/api/webhook/ea53e3f4fa6fb0dcb3de1ae981c968b07914211dff025252098b24e75503a642</add:Address> | |
</b:ConsumerReference> | |
<b:InitialTerminationTime>PT15M</b:InitialTerminationTime> | |
</b:Subscribe> | |
</soap:Body> | |
</soap:Envelope> | |
2022-01-24 16:27:23 WARNING (MainThread) [homeassistant.components.camera] Platform netatmo not ready yet: None; Retrying in background in 30 seconds | |
2022-01-24 16:27:23 WARNING (MainThread) [homeassistant.components.climate] Platform netatmo not ready yet: None; Retrying in background in 30 seconds | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '927acc547fdb153'} | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 41, | |
"size" : "2560*1440", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1536, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 32, | |
"size" : "2048*1536", | |
"width" : 2048 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 34, | |
"size" : "2304*1296", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 10, | |
"height" : 480, | |
"profile" : "High", | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEmail", | |
"code" : 0, | |
"initial" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Email" : { | |
"addr1" : { | |
"maxLen" : 127 | |
}, | |
"addr2" : { | |
"maxLen" : 127 | |
}, | |
"addr3" : { | |
"maxLen" : 127 | |
}, | |
"attachmentType" : 1, | |
"interval" : [ "30 Seconds", "1 Minute", "5 Minutes", "10 Minutes", "30 Minutes" ], | |
"nickName" : { | |
"maxLen" : 127 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"smtpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"smtpServer" : { | |
"maxLen" : 127 | |
}, | |
"ssl" : "boolean", | |
"textType" : 1, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Email" : { | |
"addr1" : "mm.nygaard@gmail.com", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "Gammelbyvej27", | |
"password" : "***********", | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"supportTextType" : 1, | |
"supportVideo" : 1, | |
"textType" : 1, | |
"userName" : "gammelbyvej27langelund@gmail.com" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "GetAlarm", | |
"code" : 0, | |
"initial" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"range" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : "boolean", | |
"push" : "boolean", | |
"recChannel" : [ 0 ] | |
}, | |
"channel" : 0, | |
"enable" : "boolean", | |
"schedule" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"scope" : { | |
"cols" : { | |
"max" : 80, | |
"min" : 80 | |
}, | |
"rows" : { | |
"max" : 60, | |
"min" : 60 | |
}, | |
"table" : { | |
"maxLen" : 8159 | |
} | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 0, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 1, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 2, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 3, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"value" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000001111111111111100011111111111111100000111111111111111111111111000000000000000000011111111000000000000000000000000000001111111111111111110000000000000000000000000111111110000000000000000000000000000011111111111111111100000000000011111111110001110000000000000000000000000000000000111111111111111110000000000000000011000000000000000000000000000000000000000000001111111111111111100000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"id" : 0, | |
"sensitivity" : 26 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"id" : 1, | |
"sensitivity" : 26 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"id" : 2, | |
"sensitivity" : 26 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"id" : 3, | |
"sensitivity" : 26 | |
} | |
], | |
"type" : "md" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPush", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRec", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"enable" : "boolean" | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarm", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
} | |
] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '876163438d4316c'} | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 41, | |
"size" : "2560*1440", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1536, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 32, | |
"size" : "2048*1536", | |
"width" : 2048 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 34, | |
"size" : "2304*1296", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 10, | |
"height" : 480, | |
"profile" : "High", | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEmail", | |
"code" : 0, | |
"initial" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Email" : { | |
"addr1" : { | |
"maxLen" : 127 | |
}, | |
"addr2" : { | |
"maxLen" : 127 | |
}, | |
"addr3" : { | |
"maxLen" : 127 | |
}, | |
"attachmentType" : 1, | |
"interval" : [ "30 Seconds", "1 Minute", "5 Minutes", "10 Minutes", "30 Minutes" ], | |
"nickName" : { | |
"maxLen" : 127 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"smtpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"smtpServer" : { | |
"maxLen" : 127 | |
}, | |
"ssl" : "boolean", | |
"textType" : 1, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"supportTextType" : 1, | |
"supportVideo" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "GetAlarm", | |
"code" : 0, | |
"initial" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"range" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : "boolean", | |
"push" : "boolean", | |
"recChannel" : [ 0 ] | |
}, | |
"channel" : 0, | |
"enable" : "boolean", | |
"schedule" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"scope" : { | |
"cols" : { | |
"max" : 80, | |
"min" : 80 | |
}, | |
"rows" : { | |
"max" : 60, | |
"min" : 60 | |
}, | |
"table" : { | |
"maxLen" : 8159 | |
} | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 0, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 1, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 2, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 3, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"value" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000111111111111111111111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111111111111111111111111111111111111111111111100000000000000000100000000000000000000000111111111111111111111111111111111111100100000000000000000000000000000000000000000000111111111111111111111111111111100000000000000000000000000000000000000000000000000001111111111111111111111111100000000000000000000000000000000000000000000000000000111111111111111111111111000000000000000000000000000000000000000000000000000000001111111111111111111111000000000000000000000000000000000000000000000000000000000111111111111111111111000000000000000000000000000000000000000000000000000000000001111111111111111111000000000000000000000000000000000000000000000000000000000000111111111111111111100000000000000000000000000000000000000000000000000000000000001111111111111111110000000000000000000000000000000000000000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000000001111111111000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"id" : 0, | |
"sensitivity" : 11 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"id" : 1, | |
"sensitivity" : 1 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"id" : 2, | |
"sensitivity" : 7 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"id" : 3, | |
"sensitivity" : 11 | |
} | |
], | |
"type" : "md" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPush", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRec", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"enable" : "boolean" | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarm", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
} | |
] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.30 (Subscription) got response status: 200. Payload: <?xml version="1.0" encoding="UTF-8"?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:ns10="http://www.onvif.org/ver10/events/wsdl/PullPointBinding" xmlns:ns11="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding" xmlns:ns12="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding" xmlns:ns13="http://www.onvif.org/ver10/network/wsdl/RemoteDiscoveryBinding" xmlns:ns14="http://www.onvif.org/ver10/network/wsdl/DiscoveryLookupBinding" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:ns3="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding" xmlns:ns4="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:ns5="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:ns6="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:ns7="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:ns8="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:ns9="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding" xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:SubscribeResponse><wsnt:SubscriptionReference><wsa5:Address>http://192.168.1.30:8000/onvif/Notification?Idx=00_1</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2022-01-24T15:27:23Z</wsnt:CurrentTime><wsnt:TerminationTime>2022-01-24T15:42:23Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Local time: 2022-01-24 15:27, camera time: 2022-01-24 15:27 (difference: -0.09063911437988281), termination time: 2022-01-24 15:42 | |
2022-01-24 16:27:23 INFO (MainThread) [custom_components.reolink_dev.base] Host 192.168.1.30 subscribed successfully to webhook http://192.168.1.41:8123/api/webhook/1ceeeea8aa8a5162c1f86d6ff9759c54c358725e83d0a6f5858fcbdbff6cb36b | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.30 should renew in: 899 seconds... | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.34 (Subscription) got response status: 200. Payload: <?xml version="1.0" encoding="UTF-8"?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:ns10="http://www.onvif.org/ver10/events/wsdl/PullPointBinding" xmlns:ns11="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding" xmlns:ns12="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding" xmlns:ns13="http://www.onvif.org/ver10/network/wsdl/RemoteDiscoveryBinding" xmlns:ns14="http://www.onvif.org/ver10/network/wsdl/DiscoveryLookupBinding" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:ns3="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding" xmlns:ns4="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:ns5="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:ns6="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:ns7="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:ns8="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:ns9="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding" xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:SubscribeResponse><wsnt:SubscriptionReference><wsa5:Address>http://192.168.1.34:8000/onvif/Notification?Idx=00_1</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2022-01-24T15:27:23Z</wsnt:CurrentTime><wsnt:TerminationTime>2022-01-24T15:42:23Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '927acc547fdb153'} | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
} | |
] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] User HomeAssistant has authorisation level admin | |
2022-01-24 16:27:23 DEBUG (MainThread) [custom_components.reolink_dev.base] Registering webhook for event ID reolink_dev-event-ec71db9dfbfd | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.33 (Subscription) request data: | |
<soap:Envelope xmlns:add="http://www.w3.org/2005/08/addressing" xmlns:b="http://docs.oasis-open.org/wsn/b-2" xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> | |
<soap:Header><wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" | |
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<wsse:UsernameToken wsu:Id="UsernameToken-ed2645b7-6dff-4c41-95c2-97439e400b55"> | |
<wsse:Username>HomeAssistant</wsse:Username> | |
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">jTMFfRhmjbq6AGl6dInhvETcFnU=</wsse:Password> | |
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">7Uk0UJ8eQi+8gn8XVeOjmA==</wsse:Nonce> | |
<wsu:Created>2022-01-24T15:27:23.000Z</wsu:Created> | |
</wsse:UsernameToken> | |
</wsse:Security> | |
</soap:Header> | |
<soap:Body> | |
<b:Subscribe> | |
<b:ConsumerReference> | |
<add:Address>http://192.168.1.41:8123/api/webhook/020512bfb82763d1210252c0a8a3888ba8f9f6338477cbe12bbce4b248c88930</add:Address> | |
</b:ConsumerReference> | |
<b:InitialTerminationTime>PT15M</b:InitialTerminationTime> | |
</b:Subscribe> | |
</soap:Body> | |
</soap:Envelope> | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Local time: 2022-01-24 15:27, camera time: 2022-01-24 15:27 (difference: -0.11793708801269531), termination time: 2022-01-24 15:42 | |
2022-01-24 16:27:23 INFO (MainThread) [custom_components.reolink_dev.base] Host 192.168.1.34 subscribed successfully to webhook http://192.168.1.41:8123/api/webhook/f79b3017b96ab2b8ea6459d50ea01177a92ca217bc860b744d65d4635a365ba4 | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.34 should renew in: 899 seconds... | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '876163438d4316c'} | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
} | |
] | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.camera_api] User HomeAssistant has authorisation level admin | |
2022-01-24 16:27:23 DEBUG (MainThread) [custom_components.reolink_dev.base] Registering webhook for event ID reolink_dev-event-ec71dbe647c7 | |
2022-01-24 16:27:23 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.31 (Subscription) request data: | |
<soap:Envelope xmlns:add="http://www.w3.org/2005/08/addressing" xmlns:b="http://docs.oasis-open.org/wsn/b-2" xmlns:soap="http://www.w3.org/2003/05/soap-envelope"> | |
<soap:Header><wsse:Security soap:mustUnderstand="true" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" | |
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"> | |
<wsse:UsernameToken wsu:Id="UsernameToken-2a064b5d-e754-4801-b197-4c86e1fbaaf4"> | |
<wsse:Username>HomeAssistant</wsse:Username> | |
<wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordDigest">kpYalcWHEBRc2sOI6wCFf8TT+9Y=</wsse:Password> | |
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">6YLDE6vUQRObT3hCcC6KOA==</wsse:Nonce> | |
<wsu:Created>2022-01-24T15:27:23.000Z</wsu:Created> | |
</wsse:UsernameToken> | |
</wsse:Security> | |
</soap:Header> | |
<soap:Body> | |
<b:Subscribe> | |
<b:ConsumerReference> | |
<add:Address>http://192.168.1.41:8123/api/webhook/0b935605f9c6fd4f5cbc3bece0c8b2eedaac868e9c67cc23d90b4ea35a08fc12</add:Address> | |
</b:ConsumerReference> | |
<b:InitialTerminationTime>PT15M</b:InitialTerminationTime> | |
</b:Subscribe> | |
</soap:Body> | |
</soap:Envelope> | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.32 (Subscription) got response status: 200. Payload: <?xml version="1.0" encoding="UTF-8"?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:ns10="http://www.onvif.org/ver10/events/wsdl/PullPointBinding" xmlns:ns11="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding" xmlns:ns12="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding" xmlns:ns13="http://www.onvif.org/ver10/network/wsdl/RemoteDiscoveryBinding" xmlns:ns14="http://www.onvif.org/ver10/network/wsdl/DiscoveryLookupBinding" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:ns3="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding" xmlns:ns4="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:ns5="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:ns6="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:ns7="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:ns8="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:ns9="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding" xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:SubscribeResponse><wsnt:SubscriptionReference><wsa5:Address>http://192.168.1.32:8000/onvif/Notification?Idx=00_1</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2022-01-24T15:27:25Z</wsnt:CurrentTime><wsnt:TerminationTime>2022-01-24T15:42:25Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.35 (Subscription) got response status: 200. Payload: <?xml version="1.0" encoding="UTF-8"?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:ns10="http://www.onvif.org/ver10/events/wsdl/PullPointBinding" xmlns:ns11="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding" xmlns:ns12="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding" xmlns:ns13="http://www.onvif.org/ver10/network/wsdl/RemoteDiscoveryBinding" xmlns:ns14="http://www.onvif.org/ver10/network/wsdl/DiscoveryLookupBinding" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:ns3="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding" xmlns:ns4="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:ns5="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:ns6="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:ns7="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:ns8="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:ns9="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding" xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:SubscribeResponse><wsnt:SubscriptionReference><wsa5:Address>http://192.168.1.35:8000/onvif/Notification?Idx=00_2</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2022-01-24T15:27:25Z</wsnt:CurrentTime><wsnt:TerminationTime>2022-01-24T15:42:25Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Local time: 2022-01-24 15:27, camera time: 2022-01-24 15:27 (difference: 1.7863390445709229), termination time: 2022-01-24 15:42 | |
2022-01-24 16:27:24 INFO (MainThread) [custom_components.reolink_dev.base] Host 192.168.1.32 subscribed successfully to webhook http://192.168.1.41:8123/api/webhook/714f0c80051e64823cca086b98545727b8b84d0c3754c8d9adc1c1e4525d8d34 | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.32 should renew in: 899 seconds... | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Local time: 2022-01-24 15:27, camera time: 2022-01-24 15:27 (difference: 1.7702879905700684), termination time: 2022-01-24 15:42 | |
2022-01-24 16:27:24 INFO (MainThread) [custom_components.reolink_dev.base] Host 192.168.1.35 subscribed successfully to webhook http://192.168.1.41:8123/api/webhook/ea53e3f4fa6fb0dcb3de1ae981c968b07914211dff025252098b24e75503a642 | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.35 should renew in: 899 seconds... | |
2022-01-24 16:27:24 ERROR (MainThread) [homeassistant.components.switch] Error while setting up synology_dsm platform for switch | |
Traceback (most recent call last): | |
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 249, in _async_setup_platform | |
await asyncio.shield(task) | |
File "/usr/src/homeassistant/homeassistant/components/synology_dsm/switch.py", line 39, in async_setup_entry | |
info = await hass.async_add_executor_job(api.dsm.surveillance_station.get_info) | |
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run | |
result = self.fn(*self.args, **self.kwargs) | |
File "/usr/local/lib/python3.9/site-packages/synology_dsm/api/surveillance_station/__init__.py", line 53, in get_info | |
return self._dsm.get(self.INFO_API_KEY, "GetInfo") | |
File "/usr/local/lib/python3.9/site-packages/synology_dsm/synology_dsm.py", line 214, in get | |
return self._request("GET", api, method, params, **kwargs) | |
File "/usr/local/lib/python3.9/site-packages/synology_dsm/synology_dsm.py", line 281, in _request | |
raise SynologyDSMAPIErrorException( | |
synology_dsm.exceptions.SynologyDSMAPIErrorException: {'api': 'SYNO.SurveillanceStation.Info', 'code': 105, 'reason': 'Insufficient user privilege', 'details': None} | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'd6e3b01f3c046a0'} | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 41, | |
"size" : "2560*1440", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1536, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 32, | |
"size" : "2048*1536", | |
"width" : 2048 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 34, | |
"size" : "2304*1296", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 10, | |
"height" : 480, | |
"profile" : "High", | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEmail", | |
"code" : 0, | |
"initial" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Email" : { | |
"addr1" : { | |
"maxLen" : 127 | |
}, | |
"addr2" : { | |
"maxLen" : 127 | |
}, | |
"addr3" : { | |
"maxLen" : 127 | |
}, | |
"attachmentType" : 1, | |
"interval" : [ "30 Seconds", "1 Minute", "5 Minutes", "10 Minutes", "30 Minutes" ], | |
"nickName" : { | |
"maxLen" : 127 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"smtpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"smtpServer" : { | |
"maxLen" : 127 | |
}, | |
"ssl" : "boolean", | |
"textType" : 1, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"supportTextType" : 1, | |
"supportVideo" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "GetAlarm", | |
"code" : 0, | |
"initial" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"range" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : "boolean", | |
"push" : "boolean", | |
"recChannel" : [ 0 ] | |
}, | |
"channel" : 0, | |
"enable" : "boolean", | |
"schedule" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"scope" : { | |
"cols" : { | |
"max" : 80, | |
"min" : 80 | |
}, | |
"rows" : { | |
"max" : 60, | |
"min" : 60 | |
}, | |
"table" : { | |
"maxLen" : 8159 | |
} | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 0, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 1, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 2, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 3, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"value" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111100011111111111111111111111111111111111111111111111111111111111111111111111111110000111111111111111111111111111111111111111100000000000000010000111111111111110000001111111111111111111111111111000000000000000000000000000000000000100000000000000011111111111111111110000000000000000000000000000000000000000000000000000000000000001111111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111111000000000000000000000000000000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000000000000000001111111111000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000000000000000000000000000000000000000000000000000000000111110000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000011111111000000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000111111111000000000000000000000000000000000000000000000000000000000000000000000011111111110000000000000000000000000000000000000000000000000000000000000000000000011111111110000000000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000000000000000000000000000000000000000000000000000000001111111111000000000000001000001111111111111111111111111111100000000000000000000" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"id" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"id" : 1, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"id" : 2, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"id" : 3, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPush", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRec", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"enable" : "boolean" | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarm", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
} | |
] | |
2022-01-24 16:27:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden - West data in 0.811 seconds (success: True) | |
2022-01-24 16:27:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden - West.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.33 (Subscription) got response status: 200. Payload: <?xml version="1.0" encoding="UTF-8"?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:ns10="http://www.onvif.org/ver10/events/wsdl/PullPointBinding" xmlns:ns11="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding" xmlns:ns12="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding" xmlns:ns13="http://www.onvif.org/ver10/network/wsdl/RemoteDiscoveryBinding" xmlns:ns14="http://www.onvif.org/ver10/network/wsdl/DiscoveryLookupBinding" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:ns3="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding" xmlns:ns4="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:ns5="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:ns6="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:ns7="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:ns8="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:ns9="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding" xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:SubscribeResponse><wsnt:SubscriptionReference><wsa5:Address>http://192.168.1.33:8000/onvif/Notification?Idx=00_1</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2022-01-24T15:27:24Z</wsnt:CurrentTime><wsnt:TerminationTime>2022-01-24T15:42:24Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e5c6dcc8ebc1d6d'} | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtpV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRecV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarmV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2, | |
"height" : 2160, | |
"profile" : "High", | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4, | |
"height" : 360, | |
"profile" : "High", | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 2160, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 360, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2560*1440", | |
"vType" : "h264", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 360, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2304*1296", | |
"vType" : "h264", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 360, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2, | |
"height" : 1296, | |
"profile" : "High", | |
"size" : "2304*1296", | |
"vType" : "h264", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4, | |
"height" : 360, | |
"profile" : "High", | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_led_color" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"bd_day" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"bd_led_color" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"bd_night" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"dayNightThreshold" : { | |
"max" : 100, | |
"min" : 0 | |
}, | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_led_color" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetWhiteLed", | |
"code" : 0, | |
"initial" : { | |
"WhiteLed" : { | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
}, | |
"range" : { | |
"AiDetectType" : { | |
"dog_cat" : "boolean", | |
"people" : "boolean", | |
"vehicle" : "boolean" | |
}, | |
"WhiteLed" : { | |
"bright" : { | |
"max" : 100, | |
"min" : 0 | |
} | |
} | |
}, | |
"value" : { | |
"WhiteLed" : { | |
"LightingSchedule" : { | |
"EndHour" : 23, | |
"EndMin" : 59, | |
"StartHour" : 0, | |
"StartMin" : 0 | |
}, | |
"bright" : 100, | |
"channel" : 0, | |
"mode" : 1, | |
"state" : 0, | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 0, | |
"initial" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 1, | |
"name" : "Main House" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 2, | |
"name" : "Road Entry" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 3, | |
"name" : "Driveway" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 4, | |
"name" : "Greenhouse" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 20, | |
"name" : "Langelund" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
}, | |
"range" : { | |
"PtzPreset" : { | |
"channel" : 0, | |
"enable" : "boolean", | |
"id" : { | |
"max" : 64, | |
"min" : 1 | |
}, | |
"name" : { | |
"maxLen" : 31 | |
} | |
} | |
}, | |
"value" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 1, | |
"name" : "Main House" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 2, | |
"name" : "Road Entry" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 3, | |
"name" : "Driveway" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 4, | |
"name" : "Greenhouse" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 20, | |
"name" : "Langelund" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPushV20", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtpV20", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 1296, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 2304, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"autoDir" : [ 0, 1, 2, 3 ], | |
"bpicSingle" : [ 0, 1, 2 ], | |
"bvideoSingle" : [ 0, 1, 2 ], | |
"enable" : "boolean", | |
"interval" : [ 5, 10, 15, 30, 60 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"picCaptureMode" : [ 0, 1, 2, 3 ], | |
"picHeight" : { | |
"max" : 3072, | |
"min" : 360 | |
}, | |
"picInterval" : [ 2, 5, 10, 15, 30, 60, 300, 600, 1800 ], | |
"picName" : { | |
"maxLen" : 127 | |
}, | |
"picWidth" : { | |
"max" : 4512, | |
"min" : 640 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"TIMING" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 6, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
}, | |
"videoName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 1296, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 2304, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRecV20", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"enable" : "boolean", | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "boolean", | |
"AI_PEOPLE" : "boolean", | |
"AI_VEHICLE" : "boolean", | |
"MD" : "boolean", | |
"TIMING" : "boolean" | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"packTime" : "", | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarmV20", | |
"code" : 0, | |
"initial" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Audio" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden Rear data in 0.465 seconds (success: True) | |
2022-01-24 16:27:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden Rear.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '0eadd309ba47209'} | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtpV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRecV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarmV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 20, | |
"gop" : 2, | |
"height" : 3072, | |
"profile" : "High", | |
"size" : "4096*3072", | |
"vType" : "h265", | |
"width" : 4096 | |
}, | |
"subStream" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 3072, 4096, 5120, 6144, 7168, 8192, 9216, 10240 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 20, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 3072, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "4096*3072", | |
"vType" : "h265", | |
"width" : 4096 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 2160, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2560*1440", | |
"vType" : "h264", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2304*1296", | |
"vType" : "h264", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2, | |
"height" : 2160, | |
"profile" : "High", | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 15, | |
"gop" : 4, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"bd_day" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"bd_night" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"dayNightThreshold" : { | |
"max" : 100, | |
"min" : 0 | |
}, | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetWhiteLed", | |
"code" : 0, | |
"initial" : { | |
"WhiteLed" : { | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
}, | |
"range" : { | |
"AiDetectType" : { | |
"dog_cat" : "boolean", | |
"people" : "boolean", | |
"vehicle" : "boolean" | |
}, | |
"WhiteLed" : { | |
"bright" : { | |
"max" : 100, | |
"min" : 0 | |
} | |
} | |
}, | |
"value" : { | |
"WhiteLed" : { | |
"LightingSchedule" : { | |
"EndHour" : 6, | |
"EndMin" : 0, | |
"StartHour" : 18, | |
"StartMin" : 0 | |
}, | |
"bright" : 85, | |
"channel" : 0, | |
"mode" : 1, | |
"state" : 0, | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 0, | |
"initial" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 1, | |
"name" : "pos1" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 2, | |
"name" : "pos2" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 3, | |
"name" : "pos3" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 4, | |
"name" : "pos4" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 20, | |
"name" : "pos20" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
}, | |
"range" : { | |
"PtzPreset" : { | |
"channel" : 0, | |
"enable" : "boolean", | |
"id" : { | |
"max" : 64, | |
"min" : 1 | |
}, | |
"name" : { | |
"maxLen" : 31 | |
} | |
} | |
}, | |
"value" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 1, | |
"name" : "pos1" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 2, | |
"name" : "pos2" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 3, | |
"name" : "pos3" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 4, | |
"name" : "pos4" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 20, | |
"name" : "pos20" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPushV20", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtpV20", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 1, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 2160, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 3840, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"autoDir" : [ 0, 1, 2, 3 ], | |
"bpicSingle" : [ 0, 1, 2 ], | |
"bvideoSingle" : [ 0, 1, 2 ], | |
"enable" : "boolean", | |
"interval" : [ 5, 10, 15, 30, 60 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"picCaptureMode" : [ 0, 1, 2, 3 ], | |
"picHeight" : { | |
"max" : 3072, | |
"min" : 360 | |
}, | |
"picInterval" : [ 2, 5, 10, 15, 30, 60, 300, 600, 1800 ], | |
"picName" : { | |
"maxLen" : 127 | |
}, | |
"picWidth" : { | |
"max" : 4512, | |
"min" : 640 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"TIMING" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 6, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
}, | |
"videoName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 1, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 2160, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 3840, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRecV20", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"enable" : "boolean", | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "boolean", | |
"AI_PEOPLE" : "boolean", | |
"AI_VEHICLE" : "boolean", | |
"MD" : "boolean", | |
"TIMING" : "boolean" | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"packTime" : "", | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarmV20", | |
"code" : 0, | |
"initial" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Audio" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
} | |
} | |
] | |
2022-01-24 16:27:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - West data in 0.481 seconds (success: True) | |
2022-01-24 16:27:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - West.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Local time: 2022-01-24 15:27, camera time: 2022-01-24 15:27 (difference: 0.13685297966003418), termination time: 2022-01-24 15:42 | |
2022-01-24 16:27:24 INFO (MainThread) [custom_components.reolink_dev.base] Host 192.168.1.33 subscribed successfully to webhook http://192.168.1.41:8123/api/webhook/020512bfb82763d1210252c0a8a3888ba8f9f6338477cbe12bbce4b248c88930 | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.33 should renew in: 899 seconds... | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '08cde494fc64bb6'} | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 41, | |
"size" : "2560*1440", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1536, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 32, | |
"size" : "2048*1536", | |
"width" : 2048 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 34, | |
"size" : "2304*1296", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 10, | |
"height" : 480, | |
"profile" : "High", | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEmail", | |
"code" : 0, | |
"initial" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Email" : { | |
"addr1" : { | |
"maxLen" : 127 | |
}, | |
"addr2" : { | |
"maxLen" : 127 | |
}, | |
"addr3" : { | |
"maxLen" : 127 | |
}, | |
"attachmentType" : 1, | |
"interval" : [ "30 Seconds", "1 Minute", "5 Minutes", "10 Minutes", "30 Minutes" ], | |
"nickName" : { | |
"maxLen" : 127 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"smtpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"smtpServer" : { | |
"maxLen" : 127 | |
}, | |
"ssl" : "boolean", | |
"textType" : 1, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"supportTextType" : 1, | |
"supportVideo" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "GetAlarm", | |
"code" : 0, | |
"initial" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"range" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : "boolean", | |
"push" : "boolean", | |
"recChannel" : [ 0 ] | |
}, | |
"channel" : 0, | |
"enable" : "boolean", | |
"schedule" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"scope" : { | |
"cols" : { | |
"max" : 80, | |
"min" : 80 | |
}, | |
"rows" : { | |
"max" : 60, | |
"min" : 60 | |
}, | |
"table" : { | |
"maxLen" : 8159 | |
} | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 0, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 1, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 2, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 3, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"value" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111111111111111111111111111111111111111111111000000000000111111111111111111111111111111111111111111111111111111111111111111110000000000001111111111111111111111111111111111111111111111111111111111111111111100000000000011111111111111111111111111111111111111111111111111100001111111111111000000000000011111100011111111111111111111111111111111111111111000011111111111110000000000000001111000001111111111111111111111111111111111111110000111111111111100000000000000000000000000011111111111111111111111111111111111100001111111111111000000000000000000000000000000011111111111111111111111111111111000011111111110000000000000000000000000000000000000000111111111111111111111111110000111111111100000000000000000000000000000000000000000001111111111111111111111100001111111110000000000000000000000000000000000000000000000011111111111111111111000011111111100000000000000000000000000000000000000000000000000111111111111111110000111111111000000000000000000000000000000000000000000000000000000011111111111100001111111110000000000000000000000000000000000000000000000000000000000011111111000011111111100000000000000000000000000000000000000000000000000000000000000011110001111111111000000000000000000000000000000000000000000000000000000000000000000000011111111110000000000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000001111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"id" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"id" : 1, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"id" : 2, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"id" : 3, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPush", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRec", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"enable" : "boolean" | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarm", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
} | |
] | |
2022-01-24 16:27:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - East data in 0.896 seconds (success: True) | |
2022-01-24 16:27:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - East.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Reolink host 192.168.1.31 (Subscription) got response status: 200. Payload: <?xml version="1.0" encoding="UTF-8"?> | |
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://www.w3.org/2003/05/soap-envelope" xmlns:SOAP-ENC="http://www.w3.org/2003/05/soap-encoding" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" xmlns:wsdd="http://schemas.xmlsoap.org/ws/2005/04/discovery" xmlns:wsa5="http://www.w3.org/2005/08/addressing" xmlns:xmime="http://tempuri.org/xmime.xsd" xmlns:xmime5="http://www.w3.org/2005/05/xmlmime" xmlns:xop="http://www.w3.org/2004/08/xop/include" xmlns:wsrfbf="http://docs.oasis-open.org/wsrf/bf-2" xmlns:tt="http://www.onvif.org/ver10/schema" xmlns:wstop="http://docs.oasis-open.org/wsn/t-1" xmlns:wsrfr="http://docs.oasis-open.org/wsrf/r-2" xmlns:ns1="http://www.onvif.org/ver10/actionengine/wsdl" xmlns:tev="http://www.onvif.org/ver10/events/wsdl" xmlns:ns10="http://www.onvif.org/ver10/events/wsdl/PullPointBinding" xmlns:ns11="http://www.onvif.org/ver10/events/wsdl/CreatePullPointBinding" xmlns:ns12="http://www.onvif.org/ver10/events/wsdl/PausableSubscriptionManagerBinding" xmlns:ns13="http://www.onvif.org/ver10/network/wsdl/RemoteDiscoveryBinding" xmlns:ns14="http://www.onvif.org/ver10/network/wsdl/DiscoveryLookupBinding" xmlns:tdn="http://www.onvif.org/ver10/network/wsdl" xmlns:ns3="http://www.onvif.org/ver20/analytics/wsdl/RuleEngineBinding" xmlns:ns4="http://www.onvif.org/ver20/analytics/wsdl/AnalyticsEngineBinding" xmlns:tan="http://www.onvif.org/ver20/analytics/wsdl" xmlns:ns5="http://www.onvif.org/ver10/events/wsdl/PullPointSubscriptionBinding" xmlns:ns6="http://www.onvif.org/ver10/events/wsdl/EventBinding" xmlns:ns7="http://www.onvif.org/ver10/events/wsdl/SubscriptionManagerBinding" xmlns:ns8="http://www.onvif.org/ver10/events/wsdl/NotificationProducerBinding" xmlns:wsnt="http://docs.oasis-open.org/wsn/b-2" xmlns:ns9="http://www.onvif.org/ver10/events/wsdl/NotificationConsumerBinding" xmlns:tad="http://www.onvif.org/ver10/analyticsdevice/wsdl" xmlns:tds="http://www.onvif.org/ver10/device/wsdl" xmlns:timg="http://www.onvif.org/ver20/imaging/wsdl" xmlns:tls="http://www.onvif.org/ver10/display/wsdl" xmlns:tmd="http://www.onvif.org/ver10/deviceIO/wsdl" xmlns:tptz="http://www.onvif.org/ver20/ptz/wsdl" xmlns:trc="http://www.onvif.org/ver10/recording/wsdl" xmlns:trp="http://www.onvif.org/ver10/replay/wsdl" xmlns:trt="http://www.onvif.org/ver10/media/wsdl" xmlns:trv="http://www.onvif.org/ver10/receiver/wsdl" xmlns:tse="http://www.onvif.org/ver10/search/wsdl" xmlns:ter="http://www.onvif.org/ver10/error" xmlns:tns1="http://www.onvif.org/ver10/topics" xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"><SOAP-ENV:Header></SOAP-ENV:Header><SOAP-ENV:Body><wsnt:SubscribeResponse><wsnt:SubscriptionReference><wsa5:Address>http://192.168.1.31:8000/onvif/Notification?Idx=00_1</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2022-01-24T15:27:24Z</wsnt:CurrentTime><wsnt:TerminationTime>2022-01-24T15:42:24Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope> | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Local time: 2022-01-24 15:27, camera time: 2022-01-24 15:27 (difference: 0.06266999244689941), termination time: 2022-01-24 15:42 | |
2022-01-24 16:27:24 INFO (MainThread) [custom_components.reolink_dev.base] Host 192.168.1.31 subscribed successfully to webhook http://192.168.1.41:8123/api/webhook/0b935605f9c6fd4f5cbc3bece0c8b2eedaac868e9c67cc23d90b4ea35a08fc12 | |
2022-01-24 16:27:24 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.31 should renew in: 899 seconds... | |
2022-01-24 16:27:25 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '927acc547fdb153'} | |
2022-01-24 16:27:25 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:25 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:25 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 41, | |
"size" : "2560*1440", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1536, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 32, | |
"size" : "2048*1536", | |
"width" : 2048 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 34, | |
"size" : "2304*1296", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 10, | |
"height" : 480, | |
"profile" : "High", | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEmail", | |
"code" : 0, | |
"initial" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Email" : { | |
"addr1" : { | |
"maxLen" : 127 | |
}, | |
"addr2" : { | |
"maxLen" : 127 | |
}, | |
"addr3" : { | |
"maxLen" : 127 | |
}, | |
"attachmentType" : 1, | |
"interval" : [ "30 Seconds", "1 Minute", "5 Minutes", "10 Minutes", "30 Minutes" ], | |
"nickName" : { | |
"maxLen" : 127 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"smtpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"smtpServer" : { | |
"maxLen" : 127 | |
}, | |
"ssl" : "boolean", | |
"textType" : 1, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Email" : { | |
"addr1" : "mm.nygaard@gmail.com", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "Gammelbyvej27", | |
"password" : "***********", | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"supportTextType" : 1, | |
"supportVideo" : 1, | |
"textType" : 1, | |
"userName" : "gammelbyvej27langelund@gmail.com" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "GetAlarm", | |
"code" : 0, | |
"initial" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"range" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : "boolean", | |
"push" : "boolean", | |
"recChannel" : [ 0 ] | |
}, | |
"channel" : 0, | |
"enable" : "boolean", | |
"schedule" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"scope" : { | |
"cols" : { | |
"max" : 80, | |
"min" : 80 | |
}, | |
"rows" : { | |
"max" : 60, | |
"min" : 60 | |
}, | |
"table" : { | |
"maxLen" : 8159 | |
} | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 0, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 1, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 2, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 3, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"value" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000001111111111111100011111111111111100000111111111111111111111111000000000000000000011111111000000000000000000000000000001111111111111111110000000000000000000000000111111110000000000000000000000000000011111111111111111100000000000011111111110001110000000000000000000000000000000000111111111111111110000000000000000011000000000000000000000000000000000000000000001111111111111111100000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"id" : 0, | |
"sensitivity" : 26 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"id" : 1, | |
"sensitivity" : 26 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"id" : 2, | |
"sensitivity" : 26 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"id" : 3, | |
"sensitivity" : 26 | |
} | |
], | |
"type" : "md" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPush", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRec", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"enable" : "boolean" | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarm", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
} | |
] | |
2022-01-24 16:27:25 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Front data in 0.699 seconds (success: True) | |
2022-01-24 16:27:25 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Front.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:25 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '876163438d4316c'} | |
2022-01-24 16:27:25 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:27:25 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:27:25 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 41, | |
"size" : "2560*1440", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1536, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 32, | |
"size" : "2048*1536", | |
"width" : 2048 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 34, | |
"size" : "2304*1296", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 10, | |
"height" : 480, | |
"profile" : "High", | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEmail", | |
"code" : 0, | |
"initial" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Email" : { | |
"addr1" : { | |
"maxLen" : 127 | |
}, | |
"addr2" : { | |
"maxLen" : 127 | |
}, | |
"addr3" : { | |
"maxLen" : 127 | |
}, | |
"attachmentType" : 1, | |
"interval" : [ "30 Seconds", "1 Minute", "5 Minutes", "10 Minutes", "30 Minutes" ], | |
"nickName" : { | |
"maxLen" : 127 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"smtpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"smtpServer" : { | |
"maxLen" : 127 | |
}, | |
"ssl" : "boolean", | |
"textType" : 1, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"supportTextType" : 1, | |
"supportVideo" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "GetAlarm", | |
"code" : 0, | |
"initial" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"range" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : "boolean", | |
"push" : "boolean", | |
"recChannel" : [ 0 ] | |
}, | |
"channel" : 0, | |
"enable" : "boolean", | |
"schedule" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"scope" : { | |
"cols" : { | |
"max" : 80, | |
"min" : 80 | |
}, | |
"rows" : { | |
"max" : 60, | |
"min" : 60 | |
}, | |
"table" : { | |
"maxLen" : 8159 | |
} | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 0, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 1, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 2, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 3, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"value" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000111111111111111111111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111111111111111111111111111111111111111111111100000000000000000100000000000000000000000111111111111111111111111111111111111100100000000000000000000000000000000000000000000111111111111111111111111111111100000000000000000000000000000000000000000000000000001111111111111111111111111100000000000000000000000000000000000000000000000000000111111111111111111111111000000000000000000000000000000000000000000000000000000001111111111111111111111000000000000000000000000000000000000000000000000000000000111111111111111111111000000000000000000000000000000000000000000000000000000000001111111111111111111000000000000000000000000000000000000000000000000000000000000111111111111111111100000000000000000000000000000000000000000000000000000000000001111111111111111110000000000000000000000000000000000000000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000000001111111111000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"id" : 0, | |
"sensitivity" : 11 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"id" : 1, | |
"sensitivity" : 1 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"id" : 2, | |
"sensitivity" : 7 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"id" : 3, | |
"sensitivity" : 11 | |
} | |
], | |
"type" : "md" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPush", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRec", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"enable" : "boolean" | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarm", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
} | |
] | |
2022-01-24 16:27:25 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Rear data in 0.682 seconds (success: True) | |
2022-01-24 16:27:25 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Rear.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:25 DEBUG (MainThread) [custom_components.reolink_dev.media_source] Creating REOLink Media Source | |
2022-01-24 16:27:25 DEBUG (MainThread) [custom_components.reolink_dev.binary_sensor] Camera 'Garden Rear' model 'RLC-823A' is AI enabled so object detection sensors will be created | |
2022-01-24 16:27:25 DEBUG (MainThread) [custom_components.reolink_dev.binary_sensor] Camera 'Driveway - West' model 'RLC-1220A' is AI enabled so object detection sensors will be created | |
2022-01-24 16:27:27 WARNING (MainThread) [homeassistant.components.calendar] Setup of calendar platform google is taking over 10 seconds. | |
2022-01-24 16:27:41 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing '3D Printer - Notifications' trigger: In 'numeric_state' condition: unknown entity sensor.ender_5_plus_job_percentage | |
2022-01-24 16:27:41 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing '3D Printer - Notifications' trigger: In 'numeric_state' condition: unknown entity sensor.ender_5_plus_time_remaining | |
2022-01-24 16:27:41 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Boiler - Silo Notification' trigger: In 'numeric_state' condition: unknown entity sensor.boiler_505_magazine_filllevel | |
2022-01-24 16:27:41 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Makerspace Heating - Control' trigger: In 'numeric_state' condition: unknown entity sensor.boiler_501_boiler_temp | |
2022-01-24 16:27:41 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Makerspace Heating - Control' trigger: In 'numeric_state' condition: unknown entity sensor.boiler_501_boiler_temp | |
2022-01-24 16:27:41 WARNING (MainThread) [homeassistant.components.homeassistant.triggers.numeric_state] Error initializing 'Boiler - Alarm Notification' trigger: In 'numeric_state' condition: unknown entity sensor.boiler_506_lux_sensor | |
2022-01-24 16:27:41 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved | |
Traceback (most recent call last): | |
File "/usr/src/homeassistant/homeassistant/helpers/discovery_flow.py", line 74, in _async_process_pending_flows | |
await gather_with_concurrency( | |
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 170, in gather_with_concurrency | |
return await gather( | |
File "/usr/src/homeassistant/homeassistant/util/async_.py", line 168, in sem_task | |
return await task | |
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 203, in async_init | |
flow, result = await task | |
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 230, in _async_init | |
result = await self._async_handle_step(flow, flow.init_step, data, init_done) | |
File "/usr/src/homeassistant/homeassistant/data_entry_flow.py", line 325, in _async_handle_step | |
result: FlowResult = await getattr(flow, method)(user_input) | |
File "/usr/src/homeassistant/homeassistant/components/octoprint/config_flow.py", line 146, in async_step_zeroconf | |
uuid = discovery_info.properties["uuid"] | |
KeyError: 'uuid' | |
2022-01-24 16:27:52 WARNING (MainThread) [hass_nabucasa.cloud_api] Fetched https://remotestate.nabucasa.com/request_sync (500) | |
2022-01-24 16:27:55 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Rear.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:55 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Front.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:55 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - West.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:55 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - East.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:55 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden Rear.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:55 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden - West.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:27:56 ERROR (stream_worker) [homeassistant.components.stream] Error from stream worker: Error opening stream rtmp://192.168.1.32:1935/bcs/channel0_main.bcs?channel=0&stream=0&user=HomeAssistant&password=Simpsonshome123! | |
2022-01-24 16:27:58 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook a334ec8425605371fbfb95cbaee34a4087b699429b2095199e6e8e5f62141935 from 192.168.1.30 | |
2022-01-24 16:27:58 DEBUG (MainThread) [custom_components.reolink_dev.base] Webhook called | |
2022-01-24 16:27:58 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4b0682446fd9834dc5c4f64e5b3a0615cc22baada2d36f48daf6422bfd3e80e2 from 192.168.1.30 | |
2022-01-24 16:28:01 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook a334ec8425605371fbfb95cbaee34a4087b699429b2095199e6e8e5f62141935 from 192.168.1.30 | |
2022-01-24 16:28:01 DEBUG (MainThread) [custom_components.reolink_dev.base] Webhook called | |
2022-01-24 16:28:01 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 4b0682446fd9834dc5c4f64e5b3a0615cc22baada2d36f48daf6422bfd3e80e2 from 192.168.1.30 | |
2022-01-24 16:28:08 ERROR (MainThread) [custom_components.samsungtv_smart.media_player] media_player.livingroom_tv - Error refreshing from SmartThings. Check connection status with TV on the phone App | |
2022-01-24 16:28:25 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - West.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:28:25 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - East.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:28:25 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Front.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:28:25 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden - West.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:28:25 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden Rear.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:28:25 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.33 should renew in: 838 seconds... | |
2022-01-24 16:28:25 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.31 should renew in: 838 seconds... | |
2022-01-24 16:28:25 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.34 should renew in: 838 seconds... | |
2022-01-24 16:28:25 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Rear.motion_states data in 0.000 seconds (success: True) | |
2022-01-24 16:28:25 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.32 should renew in: 838 seconds... | |
2022-01-24 16:28:25 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.35 should renew in: 838 seconds... | |
2022-01-24 16:28:25 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.30 should renew in: 838 seconds... | |
2022-01-24 16:28:25 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '0eadd309ba47209'} | |
2022-01-24 16:28:25 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtpV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRecV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarmV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:28:25 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:28:25 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 20, | |
"gop" : 2, | |
"height" : 3072, | |
"profile" : "High", | |
"size" : "4096*3072", | |
"vType" : "h265", | |
"width" : 4096 | |
}, | |
"subStream" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 3072, 4096, 5120, 6144, 7168, 8192, 9216, 10240 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 20, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 3072, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "4096*3072", | |
"vType" : "h265", | |
"width" : 4096 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 2160, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2560*1440", | |
"vType" : "h264", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2304*1296", | |
"vType" : "h264", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"gop" : 2, | |
"height" : 2160, | |
"profile" : "High", | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 15, | |
"gop" : 4, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"bd_day" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"bd_night" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"dayNightThreshold" : { | |
"max" : 100, | |
"min" : 0 | |
}, | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetWhiteLed", | |
"code" : 0, | |
"initial" : { | |
"WhiteLed" : { | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
}, | |
"range" : { | |
"AiDetectType" : { | |
"dog_cat" : "boolean", | |
"people" : "boolean", | |
"vehicle" : "boolean" | |
}, | |
"WhiteLed" : { | |
"bright" : { | |
"max" : 100, | |
"min" : 0 | |
} | |
} | |
}, | |
"value" : { | |
"WhiteLed" : { | |
"LightingSchedule" : { | |
"EndHour" : 6, | |
"EndMin" : 0, | |
"StartHour" : 18, | |
"StartMin" : 0 | |
}, | |
"bright" : 85, | |
"channel" : 0, | |
"mode" : 1, | |
"state" : 0, | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 0, | |
"initial" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 1, | |
"name" : "pos1" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 2, | |
"name" : "pos2" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 3, | |
"name" : "pos3" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 4, | |
"name" : "pos4" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 20, | |
"name" : "pos20" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
}, | |
"range" : { | |
"PtzPreset" : { | |
"channel" : 0, | |
"enable" : "boolean", | |
"id" : { | |
"max" : 64, | |
"min" : 1 | |
}, | |
"name" : { | |
"maxLen" : 31 | |
} | |
} | |
}, | |
"value" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 1, | |
"name" : "pos1" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 2, | |
"name" : "pos2" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 3, | |
"name" : "pos3" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 4, | |
"name" : "pos4" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 20, | |
"name" : "pos20" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPushV20", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtpV20", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 1, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 2160, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 3840, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"autoDir" : [ 0, 1, 2, 3 ], | |
"bpicSingle" : [ 0, 1, 2 ], | |
"bvideoSingle" : [ 0, 1, 2 ], | |
"enable" : "boolean", | |
"interval" : [ 5, 10, 15, 30, 60 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"picCaptureMode" : [ 0, 1, 2, 3 ], | |
"picHeight" : { | |
"max" : 3072, | |
"min" : 360 | |
}, | |
"picInterval" : [ 2, 5, 10, 15, 30, 60, 300, 600, 1800 ], | |
"picName" : { | |
"maxLen" : 127 | |
}, | |
"picWidth" : { | |
"max" : 4512, | |
"min" : 640 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"TIMING" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 6, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
}, | |
"videoName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 1, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 2160, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 3840, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRecV20", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"enable" : "boolean", | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "boolean", | |
"AI_PEOPLE" : "boolean", | |
"AI_VEHICLE" : "boolean", | |
"MD" : "boolean", | |
"TIMING" : "boolean" | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"packTime" : "", | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarmV20", | |
"code" : 0, | |
"initial" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Audio" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
} | |
} | |
] | |
2022-01-24 16:28:25 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - West data in 0.961 seconds (success: True) | |
2022-01-24 16:28:26 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e5c6dcc8ebc1d6d'} | |
2022-01-24 16:28:26 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtpV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRecV20', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarmV20', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:28:26 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:28:26 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2, | |
"height" : 2160, | |
"profile" : "High", | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4, | |
"height" : 360, | |
"profile" : "High", | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 2160, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "3840*2160", | |
"vType" : "h265", | |
"width" : 3840 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 360, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2560*1440", | |
"vType" : "h264", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 360, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2 | |
}, | |
"frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "2304*1296", | |
"vType" : "h264", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"gop" : { | |
"max" : 4, | |
"min" : 1 | |
}, | |
"height" : 360, | |
"profile" : [ "Base", "Main", "High" ], | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 25, | |
"gop" : 2, | |
"height" : 1296, | |
"profile" : "High", | |
"size" : "2304*1296", | |
"vType" : "h264", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : 256, | |
"frameRate" : 10, | |
"gop" : 4, | |
"height" : 360, | |
"profile" : "High", | |
"size" : "640*360", | |
"vType" : "h264", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_led_color" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"bd_day" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"bd_led_color" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"bd_night" : { | |
"bright" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"dark" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"mode" : [ "Auto", "Manual" ] | |
}, | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"dayNightThreshold" : { | |
"max" : 100, | |
"min" : 0 | |
}, | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"bd_day" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_led_color" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"bd_night" : { | |
"bright" : 128, | |
"dark" : 128, | |
"mode" : "Auto" | |
}, | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"dayNightThreshold" : 50, | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetWhiteLed", | |
"code" : 0, | |
"initial" : { | |
"WhiteLed" : { | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
}, | |
"range" : { | |
"AiDetectType" : { | |
"dog_cat" : "boolean", | |
"people" : "boolean", | |
"vehicle" : "boolean" | |
}, | |
"WhiteLed" : { | |
"bright" : { | |
"max" : 100, | |
"min" : 0 | |
} | |
} | |
}, | |
"value" : { | |
"WhiteLed" : { | |
"LightingSchedule" : { | |
"EndHour" : 23, | |
"EndMin" : 59, | |
"StartHour" : 0, | |
"StartMin" : 0 | |
}, | |
"bright" : 100, | |
"channel" : 0, | |
"mode" : 1, | |
"state" : 0, | |
"wlAiDetectType" : { | |
"dog_cat" : 1, | |
"people" : 1, | |
"vehicle" : 1 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 0, | |
"initial" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 1, | |
"name" : "Main House" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 2, | |
"name" : "Road Entry" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 3, | |
"name" : "Driveway" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 4, | |
"name" : "Greenhouse" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 20, | |
"name" : "Langelund" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
}, | |
"range" : { | |
"PtzPreset" : { | |
"channel" : 0, | |
"enable" : "boolean", | |
"id" : { | |
"max" : 64, | |
"min" : 1 | |
}, | |
"name" : { | |
"maxLen" : 31 | |
} | |
} | |
}, | |
"value" : { | |
"PtzPreset" : [ | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 1, | |
"name" : "Main House" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 2, | |
"name" : "Road Entry" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 3, | |
"name" : "Driveway" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 4, | |
"name" : "Greenhouse" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 5, | |
"name" : "pos5" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 6, | |
"name" : "pos6" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 7, | |
"name" : "pos7" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 8, | |
"name" : "pos8" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 9, | |
"name" : "pos9" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 10, | |
"name" : "pos10" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 11, | |
"name" : "pos11" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 12, | |
"name" : "pos12" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 13, | |
"name" : "pos13" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 14, | |
"name" : "pos14" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 15, | |
"name" : "pos15" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 16, | |
"name" : "pos16" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 17, | |
"name" : "pos17" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 18, | |
"name" : "pos18" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 19, | |
"name" : "pos19" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 20, | |
"name" : "Langelund" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 1, | |
"id" : 21, | |
"name" : "pos21" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 22, | |
"name" : "pos22" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 23, | |
"name" : "pos23" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 24, | |
"name" : "pos24" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 25, | |
"name" : "pos25" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 26, | |
"name" : "pos26" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 27, | |
"name" : "pos27" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 28, | |
"name" : "pos28" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 29, | |
"name" : "pos29" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 30, | |
"name" : "pos30" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 31, | |
"name" : "pos31" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 32, | |
"name" : "pos32" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 33, | |
"name" : "pos33" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 34, | |
"name" : "pos34" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 35, | |
"name" : "pos35" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 36, | |
"name" : "pos36" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 37, | |
"name" : "pos37" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 38, | |
"name" : "pos38" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 39, | |
"name" : "pos39" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 40, | |
"name" : "pos40" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 41, | |
"name" : "pos41" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 42, | |
"name" : "pos42" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 43, | |
"name" : "pos43" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 44, | |
"name" : "pos44" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 45, | |
"name" : "pos45" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 46, | |
"name" : "pos46" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 47, | |
"name" : "pos47" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 48, | |
"name" : "pos48" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 49, | |
"name" : "pos49" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 50, | |
"name" : "pos50" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 51, | |
"name" : "pos51" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 52, | |
"name" : "pos52" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 53, | |
"name" : "pos53" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 54, | |
"name" : "pos54" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 55, | |
"name" : "pos55" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 56, | |
"name" : "pos56" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 57, | |
"name" : "pos57" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 58, | |
"name" : "pos58" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 59, | |
"name" : "pos59" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 60, | |
"name" : "pos60" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 61, | |
"name" : "pos61" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 62, | |
"name" : "pos62" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 63, | |
"name" : "pos63" | |
}, | |
{ | |
"channel" : 0, | |
"enable" : 0, | |
"id" : 64, | |
"name" : "pos64" | |
} | |
] | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPushV20", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"enable" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtpV20", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 1296, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 2304, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"autoDir" : [ 0, 1, 2, 3 ], | |
"bpicSingle" : [ 0, 1, 2 ], | |
"bvideoSingle" : [ 0, 1, 2 ], | |
"enable" : "boolean", | |
"interval" : [ 5, 10, 15, 30, 60 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"picCaptureMode" : [ 0, 1, 2, 3 ], | |
"picHeight" : { | |
"max" : 3072, | |
"min" : 360 | |
}, | |
"picInterval" : [ 2, 5, 10, 15, 30, 60, 300, 600, 1800 ], | |
"picName" : { | |
"maxLen" : 127 | |
}, | |
"picWidth" : { | |
"max" : 4512, | |
"min" : 640 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"TIMING" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 6, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
}, | |
"videoName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"autoDir" : 1, | |
"bpicSingle" : 0, | |
"bvideoSingle" : 0, | |
"enable" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"onlyFtps" : 0, | |
"password" : "", | |
"picCaptureMode" : 0, | |
"picHeight" : 1296, | |
"picInterval" : 60, | |
"picName" : "", | |
"picWidth" : 2304, | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_VEHICLE" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "", | |
"videoName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRecV20", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"enable" : "boolean", | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "boolean", | |
"AI_PEOPLE" : "boolean", | |
"AI_VEHICLE" : "boolean", | |
"MD" : "boolean", | |
"TIMING" : "boolean" | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"enable" : 1, | |
"overwrite" : 1, | |
"packTime" : "", | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"TIMING" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarmV20", | |
"code" : 0, | |
"initial" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
"range" : { | |
"Audio" : { | |
"enable" : "boolean", | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_PEOPLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"AI_VEHICLE" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"MD" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Audio" : { | |
"enable" : 0, | |
"schedule" : { | |
"channel" : 0, | |
"table" : { | |
"AI_DOG_CAT" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000", | |
"AI_PEOPLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"AI_VEHICLE" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111", | |
"MD" : "000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
} | |
} | |
} | |
} | |
} | |
] | |
2022-01-24 16:28:26 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden Rear data in 1.101 seconds (success: True) | |
2022-01-24 16:28:27 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '08cde494fc64bb6'} | |
2022-01-24 16:28:27 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:28:27 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:28:27 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 41, | |
"size" : "2560*1440", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1536, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 32, | |
"size" : "2048*1536", | |
"width" : 2048 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 34, | |
"size" : "2304*1296", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 10, | |
"height" : 480, | |
"profile" : "High", | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEmail", | |
"code" : 0, | |
"initial" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Email" : { | |
"addr1" : { | |
"maxLen" : 127 | |
}, | |
"addr2" : { | |
"maxLen" : 127 | |
}, | |
"addr3" : { | |
"maxLen" : 127 | |
}, | |
"attachmentType" : 1, | |
"interval" : [ "30 Seconds", "1 Minute", "5 Minutes", "10 Minutes", "30 Minutes" ], | |
"nickName" : { | |
"maxLen" : 127 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"smtpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"smtpServer" : { | |
"maxLen" : 127 | |
}, | |
"ssl" : "boolean", | |
"textType" : 1, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"supportTextType" : 1, | |
"supportVideo" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "GetAlarm", | |
"code" : 0, | |
"initial" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"range" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : "boolean", | |
"push" : "boolean", | |
"recChannel" : [ 0 ] | |
}, | |
"channel" : 0, | |
"enable" : "boolean", | |
"schedule" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"scope" : { | |
"cols" : { | |
"max" : 80, | |
"min" : 80 | |
}, | |
"rows" : { | |
"max" : 60, | |
"min" : 60 | |
}, | |
"table" : { | |
"maxLen" : 8159 | |
} | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 0, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 1, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 2, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 3, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"value" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000000001111111111111111111111111111111111111111111111111111111111111111111111110000000011111111111111111111111111111111111111111111111111111111111111111111000000000000111111111111111111111111111111111111111111111111111111111111111111110000000000001111111111111111111111111111111111111111111111111111111111111111111100000000000011111111111111111111111111111111111111111111111111100001111111111111000000000000011111100011111111111111111111111111111111111111111000011111111111110000000000000001111000001111111111111111111111111111111111111110000111111111111100000000000000000000000000011111111111111111111111111111111111100001111111111111000000000000000000000000000000011111111111111111111111111111111000011111111110000000000000000000000000000000000000000111111111111111111111111110000111111111100000000000000000000000000000000000000000001111111111111111111111100001111111110000000000000000000000000000000000000000000000011111111111111111111000011111111100000000000000000000000000000000000000000000000000111111111111111110000111111111000000000000000000000000000000000000000000000000000000011111111111100001111111110000000000000000000000000000000000000000000000000000000000011111111000011111111100000000000000000000000000000000000000000000000000000000000000011110001111111111000000000000000000000000000000000000000000000000000000000000000000000011111111110000000000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000001111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"id" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"id" : 1, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"id" : 2, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"id" : 3, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPush", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRec", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"enable" : "boolean" | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarm", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
} | |
] | |
2022-01-24 16:28:27 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - East data in 2.481 seconds (success: True) | |
2022-01-24 16:28:27 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '876163438d4316c'} | |
2022-01-24 16:28:27 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:28:27 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:28:27 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 41, | |
"size" : "2560*1440", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1536, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 32, | |
"size" : "2048*1536", | |
"width" : 2048 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 34, | |
"size" : "2304*1296", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 10, | |
"height" : 480, | |
"profile" : "High", | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEmail", | |
"code" : 0, | |
"initial" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Email" : { | |
"addr1" : { | |
"maxLen" : 127 | |
}, | |
"addr2" : { | |
"maxLen" : 127 | |
}, | |
"addr3" : { | |
"maxLen" : 127 | |
}, | |
"attachmentType" : 1, | |
"interval" : [ "30 Seconds", "1 Minute", "5 Minutes", "10 Minutes", "30 Minutes" ], | |
"nickName" : { | |
"maxLen" : 127 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"smtpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"smtpServer" : { | |
"maxLen" : 127 | |
}, | |
"ssl" : "boolean", | |
"textType" : 1, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"supportTextType" : 1, | |
"supportVideo" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "GetAlarm", | |
"code" : 0, | |
"initial" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"range" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : "boolean", | |
"push" : "boolean", | |
"recChannel" : [ 0 ] | |
}, | |
"channel" : 0, | |
"enable" : "boolean", | |
"schedule" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"scope" : { | |
"cols" : { | |
"max" : 80, | |
"min" : 80 | |
}, | |
"rows" : { | |
"max" : 60, | |
"min" : 60 | |
}, | |
"table" : { | |
"maxLen" : 8159 | |
} | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 0, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 1, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 2, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 3, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"value" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111000111111111111111111111111111111111111111111111111111111111111111111111111000000000111111111111111111111111111111111111111111111111111111111111111111111100000000000000000100000000000000000000000111111111111111111111111111111111111100100000000000000000000000000000000000000000000111111111111111111111111111111100000000000000000000000000000000000000000000000000001111111111111111111111111100000000000000000000000000000000000000000000000000000111111111111111111111111000000000000000000000000000000000000000000000000000000001111111111111111111111000000000000000000000000000000000000000000000000000000000111111111111111111111000000000000000000000000000000000000000000000000000000000001111111111111111111000000000000000000000000000000000000000000000000000000000000111111111111111111100000000000000000000000000000000000000000000000000000000000001111111111111111110000000000000000000000000000000000000000000000000000000000000111111111111111110000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111110000000000000000000000000000000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000111111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111110000000000000000000000000000000000000000000000000000000000000000011111111111111100000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000000001111111111000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000000001111100000000000000000000000000000000000000000000000000000000000000000000000000000111000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"id" : 0, | |
"sensitivity" : 11 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"id" : 1, | |
"sensitivity" : 1 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"id" : 2, | |
"sensitivity" : 7 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"id" : 3, | |
"sensitivity" : 11 | |
} | |
], | |
"type" : "md" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPush", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRec", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"enable" : "boolean" | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarm", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
} | |
] | |
2022-01-24 16:28:27 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Rear data in 2.675 seconds (success: True) | |
2022-01-24 16:28:27 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '927acc547fdb153'} | |
2022-01-24 16:28:27 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:28:28 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:28:28 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1440, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 41, | |
"size" : "2560*1440", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1536, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 32, | |
"size" : "2048*1536", | |
"width" : 2048 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
}, | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1296, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 34, | |
"size" : "2304*1296", | |
"width" : 2304 | |
}, | |
"subStream" : { | |
"bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], | |
"default" : { | |
"bitRate" : 160, | |
"frameRate" : 7 | |
}, | |
"frameRate" : [ 15, 10, 7, 4 ], | |
"height" : 480, | |
"profile" : [ "Base", "Main", "High" ], | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
] | |
}, | |
"value" : { | |
"Enc" : { | |
"audio" : 1, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 8192, | |
"frameRate" : 25, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 512, | |
"frameRate" : 10, | |
"height" : 480, | |
"profile" : "High", | |
"resolution" : 28, | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEmail", | |
"code" : 0, | |
"initial" : { | |
"Email" : { | |
"addr1" : "", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "", | |
"password" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"textType" : 1, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Email" : { | |
"addr1" : { | |
"maxLen" : 127 | |
}, | |
"addr2" : { | |
"maxLen" : 127 | |
}, | |
"addr3" : { | |
"maxLen" : 127 | |
}, | |
"attachmentType" : 1, | |
"interval" : [ "30 Seconds", "1 Minute", "5 Minutes", "10 Minutes", "30 Minutes" ], | |
"nickName" : { | |
"maxLen" : 127 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"smtpPort" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"smtpServer" : { | |
"maxLen" : 127 | |
}, | |
"ssl" : "boolean", | |
"textType" : 1, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Email" : { | |
"addr1" : "mm.nygaard@gmail.com", | |
"addr2" : "", | |
"addr3" : "", | |
"attachmentType" : 1, | |
"interval" : "5 Minutes", | |
"nickName" : "Gammelbyvej27", | |
"password" : "***********", | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"smtpPort" : 465, | |
"smtpServer" : "smtp.gmail.com", | |
"ssl" : 1, | |
"supportTextType" : 1, | |
"supportVideo" : 1, | |
"textType" : 1, | |
"userName" : "gammelbyvej27langelund@gmail.com" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIsp", | |
"code" : 0, | |
"initial" : { | |
"Isp" : { | |
"antiFlicker" : "Off", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
}, | |
"range" : { | |
"Isp" : { | |
"antiFlicker" : [ "Outdoor", "50HZ", "60HZ", "Off" ], | |
"backLight" : [ "Off", "BackLightControl", "DynamicRangeControl" ], | |
"blc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"blueGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"channel" : 0, | |
"dayNight" : [ "Auto", "Color", "Black&White" ], | |
"drc" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"exposure" : [ "Auto", "LowNoise", "Anti-Smearing", "Manual" ], | |
"gain" : { | |
"max" : 100, | |
"min" : 1 | |
}, | |
"mirroring" : "boolean", | |
"nr3d" : "boolean", | |
"redGain" : { | |
"max" : 255, | |
"min" : 0 | |
}, | |
"rotation" : "boolean", | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : [ "Auto", "Manual" ] | |
} | |
}, | |
"value" : { | |
"Isp" : { | |
"antiFlicker" : "50HZ", | |
"backLight" : "Off", | |
"blc" : 128, | |
"blueGain" : 128, | |
"channel" : 0, | |
"dayNight" : "Auto", | |
"drc" : 128, | |
"exposure" : "Auto", | |
"gain" : { | |
"max" : 62, | |
"min" : 1 | |
}, | |
"mirroring" : 0, | |
"nr3d" : 1, | |
"redGain" : 128, | |
"rotation" : 0, | |
"shutter" : { | |
"max" : 125, | |
"min" : 0 | |
}, | |
"whiteBalance" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetIrLights", | |
"code" : 0, | |
"initial" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
}, | |
"range" : { | |
"IrLights" : { | |
"state" : [ "Auto", "Off" ] | |
} | |
}, | |
"value" : { | |
"IrLights" : { | |
"state" : "Auto" | |
} | |
} | |
}, | |
{ | |
"cmd" : "Unknown", | |
"code" : 1, | |
"error" : { | |
"detail" : "not support", | |
"rspCode" : -9 | |
} | |
}, | |
{ | |
"cmd" : "GetPtzPreset", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
}, | |
{ | |
"cmd" : "GetHddInfo", | |
"code" : 0, | |
"value" : { | |
"HddInfo" : [] | |
} | |
}, | |
{ | |
"cmd" : "GetAlarm", | |
"code" : 0, | |
"initial" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"sensitivity" : 10 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"sensitivity" : 10 | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"range" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : "boolean", | |
"push" : "boolean", | |
"recChannel" : [ 0 ] | |
}, | |
"channel" : 0, | |
"enable" : "boolean", | |
"schedule" : { | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"scope" : { | |
"cols" : { | |
"max" : 80, | |
"min" : 80 | |
}, | |
"rows" : { | |
"max" : 60, | |
"min" : 60 | |
}, | |
"table" : { | |
"maxLen" : 8159 | |
} | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 0, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 1, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 2, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
}, | |
{ | |
"beginHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"beginMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"endHour" : { | |
"max" : 23, | |
"min" : 0 | |
}, | |
"endMin" : { | |
"max" : 59, | |
"min" : 0 | |
}, | |
"id" : 3, | |
"sensitivity" : { | |
"max" : 50, | |
"min" : 1 | |
} | |
} | |
], | |
"type" : "md" | |
} | |
}, | |
"value" : { | |
"Alarm" : { | |
"action" : { | |
"mail" : 0, | |
"push" : 0, | |
"recChannel" : null | |
}, | |
"channel" : 0, | |
"enable" : 1602, | |
"schedule" : { | |
"table" : "" | |
}, | |
"scope" : { | |
"cols" : 80, | |
"rows" : 60, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111110000000000000001111111111111100011111111111111100000111111111111111111111111000000000000000000011111111000000000000000000000000000001111111111111111110000000000000000000000000111111110000000000000000000000000000011111111111111111100000000000011111111110001110000000000000000000000000000000000111111111111111110000000000000000011000000000000000000000000000000000000000000001111111111111111100000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111100000000000000000000000000000000000000000000000000000000000000000000111111111110000000000000000000000000000000000000000000000000000000000000000000001111111110000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000011111100000000000000000000000000000000000000000000000000000000000000000000000000011110000000000000000000000000000000000000000000000000000000000000000000000000000111100000000000000000000000000000000000000000000000000000000000000000000000000001111000000000000000000000000000000000000000000000000000000000000000000000000000111111000000000000000000000000000000000000000000000000000000000000000000000000001111110000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000111111100000000000000000000000000000000000000000000000000000000000000000000000001111111000000000000000000000000000000000000000000000000000000000000000000000000011111110000000000000000000000000000000000000000000000000000000000000000000000000111111110000000000000000000000000000000000000000000000000000000000000000000000001111111100000000000000000000000000000000000000000000000000000000000000000000000011111111100000000000000000000000000000000000000000000000000000000000000000000000111111111100000000000000000000000000000000000000000000000000000000000000000000001111111111100000000000000000000000000000000000000000000000000000000000000000000011111111111000000000000000000000000000000000000000000000000000000000000000000000111111111111000000000000000000000000000000000000000000000000000000000000000000001111111111110000000000000000000000000000000000000000000000000000000000000000000011111111111110000000000000000000000000000000000000000000000000000000000000000000111111111111100000000000000000000000000000000000000000000000000000000000000000001111111111111100000000000000000000000000000000000000000000000000000000000000000011111111111111000000000000000000000000000000000000000000000000000000000000000000111111111111111000000000000000000000000000000000000000000000000000000000000000001111111111111111000000000000000000000000000000000000000000000000000000000000000011111111111111110000000000000000000000000000000000000000000000000000000000000000" | |
}, | |
"sens" : [ | |
{ | |
"beginHour" : 0, | |
"beginMin" : 0, | |
"endHour" : 6, | |
"endMin" : 0, | |
"id" : 0, | |
"sensitivity" : 26 | |
}, | |
{ | |
"beginHour" : 6, | |
"beginMin" : 0, | |
"endHour" : 12, | |
"endMin" : 0, | |
"id" : 1, | |
"sensitivity" : 26 | |
}, | |
{ | |
"beginHour" : 12, | |
"beginMin" : 0, | |
"endHour" : 18, | |
"endMin" : 0, | |
"id" : 2, | |
"sensitivity" : 26 | |
}, | |
{ | |
"beginHour" : 18, | |
"beginMin" : 0, | |
"endHour" : 23, | |
"endMin" : 59, | |
"id" : 3, | |
"sensitivity" : 26 | |
} | |
], | |
"type" : "md" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetPush", | |
"code" : 0, | |
"initial" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
} | |
} | |
}, | |
"value" : { | |
"Push" : { | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetRec", | |
"code" : 0, | |
"initial" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
}, | |
"range" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : "boolean", | |
"postRec" : [ "15 Seconds", "30 Seconds", "1 Minute" ], | |
"preRec" : "boolean", | |
"schedule" : { | |
"enable" : "boolean" | |
} | |
} | |
}, | |
"value" : { | |
"Rec" : { | |
"channel" : 0, | |
"overwrite" : 1, | |
"postRec" : "15 Seconds", | |
"preRec" : 1, | |
"schedule" : { | |
"enable" : 0, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
} | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetAudioAlarm", | |
"code" : 1, | |
"error" : { | |
"detail" : "ability error", | |
"rspCode" : -26 | |
} | |
} | |
] | |
2022-01-24 16:28:28 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Front data in 3.048 seconds (success: True) | |
2022-01-24 16:28:28 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'd6e3b01f3c046a0'} | |
2022-01-24 16:28:28 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetEmail', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetHddInfo', 'action': 1, 'param': {}}, {'cmd': 'GetAlarm', 'action': 1, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPush', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 1, 'param': {'channel': 0}}] | |
2022-01-24 16:28:28 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html) | |
2022-01-24 16:28:28 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [ | |
{ | |
"cmd" : "GetFtp", | |
"code" : 0, | |
"initial" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
}, | |
"range" : { | |
"Ftp" : { | |
"anonymous" : "boolean", | |
"interval" : [ 15, 30, 60, 300, 600, 1800 ], | |
"maxSize" : { | |
"max" : 1024, | |
"min" : 10 | |
}, | |
"mode" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"password" : { | |
"maxLen" : 127 | |
}, | |
"port" : { | |
"max" : 65535, | |
"min" : 1 | |
}, | |
"remoteDir" : { | |
"maxLen" : 255 | |
}, | |
"schedule" : { | |
"enable" : "boolean", | |
"table" : { | |
"maxLen" : 168, | |
"minLen" : 168 | |
} | |
}, | |
"server" : { | |
"maxLen" : 127 | |
}, | |
"streamType" : { | |
"max" : 2, | |
"min" : 0 | |
}, | |
"userName" : { | |
"maxLen" : 127 | |
} | |
} | |
}, | |
"value" : { | |
"Ftp" : { | |
"anonymous" : 0, | |
"interval" : 30, | |
"maxSize" : 100, | |
"mode" : 0, | |
"password" : "", | |
"port" : 21, | |
"remoteDir" : "", | |
"schedule" : { | |
"enable" : 1, | |
"table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" | |
}, | |
"server" : "", | |
"streamType" : 0, | |
"userName" : "" | |
} | |
} | |
}, | |
{ | |
"cmd" : "GetEnc", | |
"code" : 0, | |
"initial" : { | |
"Enc" : { | |
"audio" : 0, | |
"channel" : 0, | |
"mainStream" : { | |
"bitRate" : 6144, | |
"frameRate" : 30, | |
"height" : 1920, | |
"profile" : "High", | |
"resolution" : 54, | |
"size" : "2560*1920", | |
"width" : 2560 | |
}, | |
"subStream" : { | |
"bitRate" : 160, | |
"frameRate" : 7, | |
"height" : 480, | |
"profile" : "High", | |
"size" : "640*480", | |
"width" : 640 | |
} | |
} | |
}, | |
"range" : { | |
"Enc" : [ | |
{ | |
"audio" : "boolean", | |
"chnBit" : 1, | |
"mainStream" : { | |
"bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], | |
"default" : { | |
"bitRate" : 6144, | |
"frameRate" : 30 | |
}, | |
"frameRate" : [ 30, 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], | |
"height" : 1920, | |
"profile" : [ " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment