Skip to content

Instantly share code, notes, and snippets.

@Martinnygaard
Last active January 24, 2022 12:19
Show Gist options
  • Save Martinnygaard/d9a19c4c65156827c6ac972abbf48969 to your computer and use it in GitHub Desktop.
Save Martinnygaard/d9a19c4c65156827c6ac972abbf48969 to your computer and use it in GitHub Desktop.
Home Assistant Reolink integration issue - Logfile
2022-01-24 13:15:43 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 13:15:43 WARNING (SyncWorker_1) [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 13:15:43 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 13:15:43 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 13:15:44 WARNING (SyncWorker_1) [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 13:15:44 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 13:15:44 WARNING (SyncWorker_2) [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 13:15:44 WARNING (SyncWorker_1) [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 13:15:44 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 13:15:44 WARNING (SyncWorker_0) [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 13:15:44 WARNING (SyncWorker_0) [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 13:15:44 WARNING (SyncWorker_0) [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 13:15:44 WARNING (SyncWorker_1) [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 13:15:44 WARNING (SyncWorker_2) [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 13:15:44 WARNING (SyncWorker_2) [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 13:15:44 WARNING (SyncWorker_2) [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 13:15:44 WARNING (SyncWorker_2) [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 13:15:44 WARNING (SyncWorker_2) [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 13:16:07 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook 8530a798ddeae56b1a6771b3b55987563ed734cd2b456951ded60d74cc6fbeb6 from 192.168.1.176
2022-01-24 13:16:09 ERROR (MainThread) [homeassistant.components.filter.sensor] Could not convert state: (<class 'str'>) to number
2022-01-24 13:16:09 ERROR (MainThread) [homeassistant.components.filter.sensor] Could not convert state: (<class 'str'>) to number
2022-01-24 13:16:14 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.32:443 trying to login with user HomeAssistant
2022-01-24 13:16:14 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.34:443 trying to login with user HomeAssistant
2022-01-24 13:16:14 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.33:443 trying to login with user HomeAssistant
2022-01-24 13:16:14 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.30:443 trying to login with user HomeAssistant
2022-01-24 13:16:14 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.31:443 trying to login with user HomeAssistant
2022-01-24 13:16:14 DEBUG (MainThread) [reolink.camera_api] Reolink camera with host 192.168.1.35:443 trying to login with user HomeAssistant
2022-01-24 13:16:17 ERROR (MainThread) [homeassistant.components.octoprint] Unable to retrieve printer information: Printer offline
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'}
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Login",
"code" : 0,
"value" : {
"Token" : {
"leaseTime" : 3600,
"name" : "e4b3e0637d8ea66"
}
}
}
]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.30: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': 'e4b3e0637d8ea66'}}}]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.30. Leasetime 24-01-2022 14:16, token e4b3e0637d8ea66
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'}
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Login",
"code" : 0,
"value" : {
"Token" : {
"leaseTime" : 3600,
"name" : "13477af2881f811"
}
}
}
]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.33: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': '13477af2881f811'}}}]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.33. Leasetime 24-01-2022 14:16, token 13477af2881f811
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'}
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Login",
"code" : 0,
"value" : {
"Token" : {
"leaseTime" : 3600,
"name" : "97d81b2b4bce2ea"
}
}
}
]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.34: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': '97d81b2b4bce2ea'}}}]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.34. Leasetime 24-01-2022 14:16, token 97d81b2b4bce2ea
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'}
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Login",
"code" : 0,
"value" : {
"Token" : {
"leaseTime" : 3600,
"name" : "1f4fbe2ee1d60aa"
}
}
}
]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.31: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': '1f4fbe2ee1d60aa'}}}]
2022-01-24 13:16:18 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.31. Leasetime 24-01-2022 14:16, token 1f4fbe2ee1d60aa
2022-01-24 13:16:19 ERROR (MainThread) [homeassistant.components.octoprint.sensor] Printer appears to be offline, skipping temperature sensors
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '97d81b2b4bce2ea'}
2022-01-24 13:16:19 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 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:19 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:03:19:C4",
"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" : 13,
"hourFmt" : 0,
"min" : 16,
"mon" : 1,
"sec" : 18,
"timeFmt" : "DD/MM/YYYY",
"timeZone" : -3600,
"year" : 2022
}
}
}
]
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e4b3e0637d8ea66'}
2022-01-24 13:16:19 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 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:19 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:F1:47:EF",
"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" : 13,
"hourFmt" : 0,
"min" : 16,
"mon" : 1,
"sec" : 18,
"timeFmt" : "DD/MM/YYYY",
"timeZone" : -3600,
"year" : 2022
}
}
}
]
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '13477af2881f811'}
2022-01-24 13:16:19 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 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:19 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:04:C3:7B",
"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" : 13,
"hourFmt" : 0,
"min" : 16,
"mon" : 1,
"sec" : 18,
"timeFmt" : "DD/MM/YYYY",
"timeZone" : -3600,
"year" : 2022
}
}
}
]
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'}
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}]
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Login",
"code" : 0,
"value" : {
"Token" : {
"leaseTime" : 3600,
"name" : "7818d680f52351c"
}
}
}
]
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.32: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': '7818d680f52351c'}}}]
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.32. Leasetime 24-01-2022 14:16, token 7818d680f52351c
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'cmd': 'Login', 'token': 'null'}
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'HomeAssistant', 'password': '<password>'}}}]
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Login",
"code" : 0,
"value" : {
"Token" : {
"leaseTime" : 3600,
"name" : "66db5ab543d5c81"
}
}
}
]
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] Get response from 192.168.1.35: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': '66db5ab543d5c81'}}}]
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] Reolink camera logged in at IP 192.168.1.35. Leasetime 24-01-2022 14:16, token 66db5ab543d5c81
2022-01-24 13:16:19 WARNING (MainThread) [homeassistant.components.light] Platform netatmo not ready yet: None; Retrying in background in 30 seconds
2022-01-24 13:16:19 WARNING (MainThread) [homeassistant.components.select] Platform netatmo not ready yet: None; Retrying in background in 30 seconds
2022-01-24 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '1f4fbe2ee1d60aa'}
2022-01-24 13:16:19 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 13:16:19 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:19 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:9C:60:BD",
"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" : 13,
"hourFmt" : 0,
"min" : 16,
"mon" : 1,
"sec" : 19,
"timeFmt" : "DD/MM/YYYY",
"timeZone" : -3600,
"year" : 2022
}
}
}
]
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '97d81b2b4bce2ea'}
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}]
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e4b3e0637d8ea66'}
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}]
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '13477af2881f811'}
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}]
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '7818d680f52351c'}
2022-01-24 13:16:20 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 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:20 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" : 13,
"hourFmt" : 0,
"min" : 16,
"mon" : 1,
"sec" : 20,
"timeFmt" : "YYYY/MM/DD",
"timeZone" : -3600,
"year" : 2022
}
}
}
]
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '66db5ab543d5c81'}
2022-01-24 13:16:20 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 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "please login first",
"rspCode" : -6
}
}
]
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] Host 192.168.1.35: Unknown exception occurred: Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/reolink/camera_api.py", line 1627, in send
raise CredentialsInvalidError()
reolink.exceptions.CredentialsInvalidError
2022-01-24 13:16:20 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry Security Camera Garden Rear for reolink_dev
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 313, in async_setup
result = await component.async_setup_entry(hass, self) # type: ignore
File "/config/custom_components/reolink_dev/__init__.py", line 75, in async_setup_entry
if not await base.connect_api():
File "/config/custom_components/reolink_dev/base.py", line 216, in connect_api
if not await self._api.get_settings():
File "/usr/local/lib/python3.9/site-packages/reolink/camera_api.py", line 485, in get_settings
response = await self.send(body)
File "/usr/local/lib/python3.9/site-packages/reolink/camera_api.py", line 1627, in send
raise CredentialsInvalidError()
reolink.exceptions.CredentialsInvalidError
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '1f4fbe2ee1d60aa'}
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetPushV20', 'action': 1, 'param': {'channel': 0}}]
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
2022-01-24 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '7818d680f52351c'}
2022-01-24 13:16:20 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 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:20 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 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '13477af2881f811'}
2022-01-24 13:16:20 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 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:20 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 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '97d81b2b4bce2ea'}
2022-01-24 13:16:20 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 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:20 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 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e4b3e0637d8ea66'}
2022-01-24 13:16:20 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 13:16:20 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:20 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 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '97d81b2b4bce2ea'}
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}]
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] User HomeAssistant has authorisation level admin
2022-01-24 13:16:21 DEBUG (MainThread) [custom_components.reolink_dev.base] Registering webhook for event ID reolink_dev-event-ec71dbf5664b
2022-01-24 13:16:21 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-41db2d8d-1cc7-427a-9fff-eac58e4408bb">
<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">xnk/EM+b+5ENwgHJDecdy4pJCvM=</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">TuD+i76gQn2XZNTSiM+B0w==</wsse:Nonce>
<wsu:Created>2022-01-24T12:16:21.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/b9c12b4f9c1180a0ec4ad8c0946765556493c75027183e06b65d6e4212abc1ad</add:Address>
</b:ConsumerReference>
<b:InitialTerminationTime>PT15M</b:InitialTerminationTime>
</b:Subscribe>
</soap:Body>
</soap:Envelope>
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '7818d680f52351c'}
2022-01-24 13:16:21 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 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:21 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 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e4b3e0637d8ea66'}
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}]
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] User HomeAssistant has authorisation level admin
2022-01-24 13:16:21 DEBUG (MainThread) [custom_components.reolink_dev.base] Registering webhook for event ID reolink_dev-event-ec71db3298e7
2022-01-24 13:16:21 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-1ae0aaee-ca55-44bc-9d48-8ca903da36d2">
<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">NwcdQ1vfQvdwLWPVf6f+w/Gt64c=</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">hNMdcuXzRXm8clSFJPON6g==</wsse:Nonce>
<wsu:Created>2022-01-24T12:16:21.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/1583149316de374f426650718e105b7a2065e5df5be7dffe5b3525b7500a34aa</add:Address>
</b:ConsumerReference>
<b:InitialTerminationTime>PT15M</b:InitialTerminationTime>
</b:Subscribe>
</soap:Body>
</soap:Envelope>
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '13477af2881f811'}
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}]
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] User HomeAssistant has authorisation level admin
2022-01-24 13:16:21 DEBUG (MainThread) [custom_components.reolink_dev.base] Registering webhook for event ID reolink_dev-event-ec71db9dfbfd
2022-01-24 13:16:21 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-87088115-6fe5-44db-acc2-fca0da0f7f0f">
<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">CJiUKhC6NQ1OlZG4WK1+NnT6JSE=</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">9F9Kn/L5QrihSMcXHCytUg==</wsse:Nonce>
<wsu:Created>2022-01-24T12:16:21.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/e8e857c6aa70ea89d1eac9c77523c57a5360933f4a2b4279e4623064e42093da</add:Address>
</b:ConsumerReference>
<b:InitialTerminationTime>PT15M</b:InitialTerminationTime>
</b:Subscribe>
</soap:Body>
</soap:Envelope>
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '1f4fbe2ee1d60aa'}
2022-01-24 13:16:21 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 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:21 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 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '7818d680f52351c'}
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}]
2022-01-24 13:16:21 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:21 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 13:16:21 DEBUG (MainThread) [reolink.camera_api] User HomeAssistant has authorisation level admin
2022-01-24 13:16:21 DEBUG (MainThread) [custom_components.reolink_dev.base] Registering webhook for event ID reolink_dev-event-ec71db66bd38
2022-01-24 13:16:21 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-de9f0900-2d17-4a0a-9737-b8fec0fb4ff2">
<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">FyJSLKVr5kqv/GY8bYnC+fQPsgc=</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">Y7INwWkKSkmLJxRfvPyg+g==</wsse:Nonce>
<wsu:Created>2022-01-24T12:16:21.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/92c55dc00cc76958599cb6bc655b0d9dce920900ca01176a5f3686ead26c4b40</add:Address>
</b:ConsumerReference>
<b:InitialTerminationTime>PT15M</b:InitialTerminationTime>
</b:Subscribe>
</soap:Body>
</soap:Envelope>
2022-01-24 13:16:21 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 13:16:21 ERROR (Thread-2) [homeassistant] Error doing job: Unclosed client session
2022-01-24 13:16:21 ERROR (Thread-2) [homeassistant] Error doing job: Unclosed connector
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '1f4fbe2ee1d60aa'}
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}]
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.camera_api] User HomeAssistant has authorisation level admin
2022-01-24 13:16:22 DEBUG (MainThread) [custom_components.reolink_dev.base] Registering webhook for event ID reolink_dev-event-ec71dbe647c7
2022-01-24 13:16:22 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-9a414d73-84a5-493a-aa29-c532b877dfd0">
<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">fVL2FJpmWj3nEF5NZfu1ABdIvW4=</wsse:Password>
<wsse:Nonce EncodingType="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-soap-message-security-1.0#Base64Binary">mhG3ZFBZQGy3fQSR8ck5hg==</wsse:Nonce>
<wsu:Created>2022-01-24T12:16:22.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/965d1f4bf7343b494235c0ff29b0660423e19a0dd22aa8965d7149fcdce1ccae</add:Address>
</b:ConsumerReference>
<b:InitialTerminationTime>PT15M</b:InitialTerminationTime>
</b:Subscribe>
</soap:Body>
</soap:Envelope>
2022-01-24 13:16:22 WARNING (MainThread) [homeassistant.components.camera] Platform netatmo not ready yet: None; Retrying in background in 30 seconds
2022-01-24 13:16:22 WARNING (MainThread) [homeassistant.components.climate] Platform netatmo not ready yet: None; Retrying in background in 30 seconds
2022-01-24 13:16:22 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_0</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2022-01-24T12:16:22Z</wsnt:CurrentTime><wsnt:TerminationTime>2022-01-24T12:31:22Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
2022-01-24 13:16:22 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_0</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2022-01-24T12:16:22Z</wsnt:CurrentTime><wsnt:TerminationTime>2022-01-24T12:31:22Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.subscription_manager] Local time: 2022-01-24 12:16, camera time: 2022-01-24 12:16 (difference: 0.6622400283813477), termination time: 2022-01-24 12:31
2022-01-24 13:16:22 INFO (MainThread) [custom_components.reolink_dev.base] Host 192.168.1.33 subscribed successfully to webhook http://192.168.1.41:8123/api/webhook/e8e857c6aa70ea89d1eac9c77523c57a5360933f4a2b4279e4623064e42093da
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.33 should renew in: 898 seconds...
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.subscription_manager] Local time: 2022-01-24 12:16, camera time: 2022-01-24 12:16 (difference: 0.7437028884887695), termination time: 2022-01-24 12:31
2022-01-24 13:16:22 INFO (MainThread) [custom_components.reolink_dev.base] Host 192.168.1.34 subscribed successfully to webhook http://192.168.1.41:8123/api/webhook/b9c12b4f9c1180a0ec4ad8c0946765556493c75027183e06b65d6e4212abc1ad
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.34 should renew in: 898 seconds...
2022-01-24 13:16:22 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_0</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2022-01-24T12:16:22Z</wsnt:CurrentTime><wsnt:TerminationTime>2022-01-24T12:31:22Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.subscription_manager] Local time: 2022-01-24 12:16, camera time: 2022-01-24 12:16 (difference: 0.6777191162109375), termination time: 2022-01-24 12:31
2022-01-24 13:16:22 INFO (MainThread) [custom_components.reolink_dev.base] Host 192.168.1.30 subscribed successfully to webhook http://192.168.1.41:8123/api/webhook/1583149316de374f426650718e105b7a2065e5df5be7dffe5b3525b7500a34aa
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.30 should renew in: 898 seconds...
2022-01-24 13:16:22 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_0</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2022-01-24T12:16:23Z</wsnt:CurrentTime><wsnt:TerminationTime>2022-01-24T12:31:23Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.subscription_manager] Local time: 2022-01-24 12:16, camera time: 2022-01-24 12:16 (difference: 1.140064001083374), termination time: 2022-01-24 12:31
2022-01-24 13:16:22 INFO (MainThread) [custom_components.reolink_dev.base] Host 192.168.1.32 subscribed successfully to webhook http://192.168.1.41:8123/api/webhook/92c55dc00cc76958599cb6bc655b0d9dce920900ca01176a5f3686ead26c4b40
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.32 should renew in: 899 seconds...
2022-01-24 13:16:22 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_0</wsa5:Address></wsnt:SubscriptionReference><wsnt:CurrentTime>2022-01-24T12:16:22Z</wsnt:CurrentTime><wsnt:TerminationTime>2022-01-24T12:31:22Z</wsnt:TerminationTime></wsnt:SubscribeResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.subscription_manager] Local time: 2022-01-24 12:16, camera time: 2022-01-24 12:16 (difference: -0.2265169620513916), termination time: 2022-01-24 12:31
2022-01-24 13:16:22 INFO (MainThread) [custom_components.reolink_dev.base] Host 192.168.1.31 subscribed successfully to webhook http://192.168.1.41:8123/api/webhook/965d1f4bf7343b494235c0ff29b0660423e19a0dd22aa8965d7149fcdce1ccae
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.31 should renew in: 899 seconds...
2022-01-24 13:16:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '7818d680f52351c'}
2022-01-24 13:16: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': '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 13:16:22 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16:22 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 13:16:22 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - West data in 0.248 seconds (success: True)
2022-01-24 13:16:22 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - West.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:16:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '97d81b2b4bce2ea'}
2022-01-24 13:16: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 13:16:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16: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" : "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 13:16:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - East data in 0.748 seconds (success: True)
2022-01-24 13:16:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - East.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:16:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e4b3e0637d8ea66'}
2022-01-24 13:16: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 13:16:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16: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" : "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 13:16:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden - West data in 0.767 seconds (success: True)
2022-01-24 13:16:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden - West.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:16:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '13477af2881f811'}
2022-01-24 13:16: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 13:16:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16: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 13:16:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Front data in 0.936 seconds (success: True)
2022-01-24 13:16:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Front.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:16:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '1f4fbe2ee1d60aa'}
2022-01-24 13:16: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 13:16:23 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:16: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 13:16:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Rear data in 0.787 seconds (success: True)
2022-01-24 13:16:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Rear.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:16:23 DEBUG (MainThread) [custom_components.reolink_dev.media_source] Creating REOLink Media Source
2022-01-24 13:16:23 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 13:16:24 WARNING (MainThread) [homeassistant.components.calendar] Setup of calendar platform google is taking over 10 seconds.
2022-01-24 13:16:39 DEBUG (MainThread) [custom_components.reolink_dev.base] Webhook called
2022-01-24 13:16:39 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook b5d8e1049d24f0e2cffa5f3aa60a2e9662ad013d89a2e1cf6c7eb1e666e8ceb7 from 192.168.1.30
2022-01-24 13:16:40 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 13:16:40 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 13:16:40 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 13:16:40 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 13:16:40 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 13:16:40 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 13:16:43 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 13:16:43 DEBUG (MainThread) [custom_components.reolink_dev.base] Webhook called
2022-01-24 13:16:43 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook b5d8e1049d24f0e2cffa5f3aa60a2e9662ad013d89a2e1cf6c7eb1e666e8ceb7 from 192.168.1.30
2022-01-24 13:16:48 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=Super_Secret_password
2022-01-24 13:16:51 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=Super_Secret_password
2022-01-24 13:16:53 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden - West.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:16:53 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Rear.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:16:53 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Front.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:16:53 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - East.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:16:53 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - West.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:17:06 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 13:17:23 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.31 should renew in: 839 seconds...
2022-01-24 13:17:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - West.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:17:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - East.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:17:23 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.33 should renew in: 838 seconds...
2022-01-24 13:17:23 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.30 should renew in: 838 seconds...
2022-01-24 13:17:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Front.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:17:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden - West.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:17:23 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Rear.motion_states data in 0.000 seconds (success: True)
2022-01-24 13:17:23 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.34 should renew in: 838 seconds...
2022-01-24 13:17:23 DEBUG (MainThread) [reolink.subscription_manager] Host 192.168.1.32 should renew in: 838 seconds...
2022-01-24 13:17:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '7818d680f52351c'}
2022-01-24 13:17: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 13:17:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:17: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 13:17:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - West data in 1.028 seconds (success: True)
2022-01-24 13:17:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '1f4fbe2ee1d60aa'}
2022-01-24 13:17: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 13:17:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:17: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" : "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 13:17:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Rear data in 1.660 seconds (success: True)
2022-01-24 13:17:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '13477af2881f811'}
2022-01-24 13:17: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 13:17:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '97d81b2b4bce2ea'}
2022-01-24 13:17: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 13:17:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e4b3e0637d8ea66'}
2022-01-24 13:17: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 13:17:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:17: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" : "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 13:17:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Yard - Front data in 1.804 seconds (success: True)
2022-01-24 13:17:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:17: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 13:17:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Garden - West data in 1.851 seconds (success: True)
2022-01-24 13:17:24 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:17: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 13:17:24 DEBUG (MainThread) [custom_components.reolink_dev] Finished fetching reolink.Driveway - East data in 1.887 seconds (success: True)
2022-01-24 13:17:40 ERROR (MainThread) [frontend.js.latest.202112291] http://192.168.1.41:8123/frontend_latest/93104ce0.js:8:3340 Uncaught TypeError: Cannot read properties of null (reading 'removeAttribute')
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '13477af2881f811'}
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetMdState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}]
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "GetMdState",
"code" : 0,
"value" : {
"state" : 0
}
},
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': 'e4b3e0637d8ea66'}
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetMdState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}]
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "GetMdState",
"code" : 0,
"value" : {
"state" : 0
}
},
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '7818d680f52351c'}
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetMdState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}]
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "GetMdState",
"code" : 0,
"value" : {
"state" : 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
}
}
}
]
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '97d81b2b4bce2ea'}
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetMdState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}]
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:17:53 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "GetMdState",
"code" : 0,
"value" : {
"state" : 0
}
},
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
2022-01-24 13:17:54 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request params ={'token': '1f4fbe2ee1d60aa'}
2022-01-24 13:17:54 DEBUG (MainThread) [reolink.camera_api] send() HTTP Request body =[{'cmd': 'GetMdState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}]
2022-01-24 13:17:54 DEBUG (MainThread) [reolink.camera_api] send() HTTP Response status=200 content-type=(text/html)
2022-01-24 13:17:54 DEBUG (MainThread) [reolink.camera_api.data] send() HTTP Response data: [
{
"cmd" : "GetMdState",
"code" : 0,
"value" : {
"state" : 0
}
},
{
"cmd" : "Unknown",
"code" : 1,
"error" : {
"detail" : "not support",
"rspCode" : -9
}
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment