reolink_aio icon indicating copy to clipboard operation
reolink_aio copied to clipboard

Unable to set up discovered RLC-423 (unable to decrypt message with cmd_id 1, header...)

Open tzippy84 opened this issue 8 months ago • 11 comments

Describe the bug I am unable to set up my RLC-423, which the integration discovered. To Reproduce

  1. Click on "add" button next to the discovered "rlc-423 (192.168.0.194)"
  2. Enter admin credentials (no special chars in password)
  3. Receive Error message "Baichuan host 192.168.0.194: unable to decrypt message with cmd_id 1, header 'f0debc0a01000000a9000000fa00000000dd1466', decrypted data startswith 'úŽØþî', encrypted data startswith '3c3f786d6c' instead of '<?xml'" at top of the configuration window and "Failed to connect, check the IP address of the camera" above the "Host:" field

Expected behavior A clear and concise description of what you expected to happen. The camera should be added without any errors Screenshots

Image

Environment: Please provide useful information about your environment, like:

  • RLC-423,
  • Build No.: build 16070108,
  • Hardware No.: IPC_3816M
  • Configuration Version: v2.0.0.0
  • Firmware Version: 1120_16070108_v1.0.0.30
  • Details: IPC_3816M110000000000000

Additional context From debug logging:

`2025-03-23 10:08:40.679 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443, trying to login with user admin... 2025-03-23 10:08:40.679 DEBUG (MainThread) [reolink_aio.api] Unknown/192.168.0.194:443::send() HTTP Request params = {'cmd': 'Login', 'token': 'null'}

2025-03-23 10:08:40.679 DEBUG (MainThread) [reolink_aio.api] Unknown/192.168.0.194:443::send() HTTP Request body = [{'cmd': 'Login', 'action': 0, 'param': {'User': {'userName': 'admin', 'password': ''}}}]

2025-03-23 10:08:40.866 DEBUG (MainThread) [reolink_aio.api] Unknown/192.168.0.194:443::send() HTTP Response status = 200, content-type = (text/html). 2025-03-23 10:08:40.866 DEBUG (MainThread) [reolink_aio.api.data] Unknown/192.168.0.194:443::send() HTTP Response data: [ { "cmd" : "Login", "code" : 0, "value" : { "Token" : { "leaseTime" : 3600, "name" : "11742720918" } } } ]

2025-03-23 10:08:40.866 DEBUG (MainThread) [reolink_aio.api] Got login response from 192.168.0.194:443: [{'cmd': 'Login', 'code': 0, 'value': {'Token': {'leaseTime': 3600, 'name': '11742720918'}}}] 2025-03-23 10:08:40.866 DEBUG (MainThread) [reolink_aio.api] Logged in at host 192.168.0.194:443. Leasetime 23-03-2025 11:08, token 11742720918 2025-03-23 10:08:40.867 DEBUG (MainThread) [reolink_aio.api] Unknown/192.168.0.194:443::send() HTTP Request params = {'token': ''}

2025-03-23 10:08:40.867 DEBUG (MainThread) [reolink_aio.api] Unknown/192.168.0.194:443::send() HTTP Request body = [{'cmd': 'GetChannelstatus'}, {'cmd': 'GetDevInfo', 'action': 0, 'param': {}}, {'cmd': 'GetLocalLink', 'action': 0, 'param': {}}, {'cmd': 'GetNetPort', 'action': 0, 'param': {}}, {'cmd': 'GetP2p', 'action': 0, 'param': {}}, {'cmd': 'GetHddInfo', 'action': 0, 'param': {}}, {'cmd': 'GetUser', 'action': 0, 'param': {}}, {'cmd': 'GetNtp', 'action': 0, 'param': {}}, {'cmd': 'GetTime', 'action': 0, 'param': {}}, {'cmd': 'GetPushCfg', 'action': 0, 'param': {}}, {'cmd': 'GetAbility', 'action': 0, 'param': {'User': {'userName': 'admin'}}}]

2025-03-23 10:08:40.966 DEBUG (MainThread) [reolink_aio.api] Unknown/192.168.0.194:443::send() HTTP Response status = 200, content-type = (text/html). 2025-03-23 10:08:40.966 DEBUG (MainThread) [reolink_aio.api.data] Unknown/192.168.0.194:443::send() HTTP Response data: [ { "cmd" : "Unknown", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetDevInfo", "code" : 0, "value" : { "DevInfo" : { "B485" : 0, "IOInputNum" : 0, "IOOutputNum" : 0, "buildDay" : "build 16070108", "cfgVer" : "v2.0.0.0", "channelNum" : 1, "detail" : "IPC_3816M110000000000000", "diskNum" : 0, "firmVer" : "1120_16070108_v1.0.0.30", "hardVer" : "IPC_3816M", "model" : "RLC-423", "name" : "RLC-423", "serial" : "00000000000000", "type" : "IPC", "wifi" : 0 } } }, { "cmd" : "GetLocalLink", "code" : 0, "value" : { "LocalLink" : { "activeLink" : "LAN", "dns" : { "auto" : 1, "dns1" : "8.8.8.8", "dns2" : "" }, "mac" : "EC:71:DB:4B:5D:E3", "static" : { "gateway" : "192.168.0.1", "ip" : "192.168.0.194", "mask" : "255.255.255.0" }, "type" : "DHCP" } } }, { "cmd" : "GetNetPort", "code" : 0, "value" : { "NetPort" : { "httpPort" : 80, "httpsPort" : 443, "mediaPort" : 9000, "onvifPort" : 8000, "rtspPort" : 554 } } }, { "cmd" : "GetP2p", "code" : 0, "value" : { "P2p" : { "enable" : 1, "uid" : "XCPTP087900YHUZT" } } }, { "cmd" : "GetHddInfo", "code" : 1, "error" : { "detail" : "ability error", "rspCode" : -26 } }, { "cmd" : "GetUser", "code" : 0, "value" : { "User" : [ { "level" : "admin", "userName" : "admin" }, { "level" : "admin", "userName" : "" }, { "level" : "admin", "userName" : "streamer" } ] } }, { "cmd" : "GetNtp", "code" : 0, "value" : { "Ntp" : { "enable" : 1, "interval" : 1440, "port" : 123, "server" : "pool.ntp.org" } } }, { "cmd" : "GetTime", "code" : 0, "value" : { "Dst" : { "enable" : 1, "endHour" : 3, "endMin" : 0, "endMon" : 10, "endSec" : 0, "endWeek" : 5, "endWeekday" : 0, "offset" : 1, "startHour" : 2, "startMin" : 0, "startMon" : 3, "startSec" : 0, "startWeek" : 4, "startWeekday" : 0 }, "Time" : { "day" : 23, "hour" : 11, "min" : 8, "mon" : 3, "sec" : 38, "timeFmt" : "MM/DD/YYYY", "timeZone" : -3600, "year" : 2025 } } }, { "cmd" : "GetTime", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetAbility", "code" : 0, "value" : { "Ability" : { "3g" : { "permit" : 0, "ver" : 0 }, "abilityChn" : [ { "alarmIoIn" : { "permit" : 0, "ver" : 0 }, "alarmIoOut" : { "permit" : 0, "ver" : 0 }, "alarmMd" : { "permit" : 6, "ver" : 1 }, "alarmRf" : { "permit" : 0, "ver" : 0 }, "cameraMode" : { "permit" : 0, "ver" : 1 }, "enc" : { "permit" : 6, "ver" : 1 }, "ftp" : { "permit" : 6, "ver" : 2 }, "image" : { "permit" : 6, "ver" : 1 }, "isp" : { "permit" : 6, "ver" : 1 }, "live" : { "permit" : 4, "ver" : 1 }, "mask" : { "permit" : 6, "ver" : 1 }, "osd" : { "permit" : 6, "ver" : 1 }, "ptzCtrl" : { "permit" : 1, "ver" : 1 }, "ptzPatrol" : { "permit" : 7, "ver" : 1 }, "ptzPreset" : { "permit" : 7, "ver" : 1 }, "ptzTattern" : { "permit" : 7, "ver" : 0 }, "ptzType" : { "permit" : 0, "ver" : 2 }, "recCfg" : { "permit" : 0, "ver" : 0 }, "recDownload" : { "permit" : 0, "ver" : 0 }, "recReplay" : { "permit" : 0, "ver" : 0 }, "recSchedule" : { "permit" : 0, "ver" : 0 }, "snap" : { "permit" : 6, "ver" : 0 } } ], "alarmDisconnet" : { "permit" : 6, "ver" : 1 }, "alarmHddErr" : { "permit" : 0, "ver" : 0 }, "alarmHddFull" : { "permit" : 0, "ver" : 0 }, "alarmIpConflict" : { "permit" : 6, "ver" : 1 }, "auth" : { "permit" : 6, "ver" : 1 }, "autoMaint" : { "permit" : 6, "ver" : 1 }, "ddns" : { "permit" : 6, "ver" : 6 }, "devInfo" : { "permit" : 4, "ver" : 1 }, "disk" : { "permit" : 0, "ver" : 0 }, "display" : { "permit" : 6, "ver" : 1 }, "email" : { "permit" : 6, "ver" : 2 }, "exportCfg" : { "permit" : 4, "ver" : 1 }, "http" : { "permit" : 6, "ver" : 1 }, "https" : { "permit" : 6, "ver" : 1 }, "importCfg" : { "permit" : 2, "ver" : 1 }, "ipcManager" : { "permit" : 6, "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" : 1 }, "p2p" : { "permit" : 6, "ver" : 1 }, "performance" : { "permit" : 4, "ver" : 1 }, "pppoe" : { "permit" : 6, "ver" : 1 }, "push" : { "permit" : 4, "ver" : 1 }, "reboot" : { "permit" : 1, "ver" : 1 }, "restore" : { "permit" : 1, "ver" : 1 }, "rtmp" : { "permit" : 6, "ver" : 1 }, "rtsp" : { "permit" : 6, "ver" : 1 }, "sdCard" : { "permit" : 0, "ver" : 0 }, "talk" : { "permit" : 0, "ver" : 0 }, "time" : { "permit" : 6, "ver" : 1 }, "tvSystem" : { "permit" : 6, "ver" : 1 }, "upgrade" : { "permit" : 1, "ver" : 1 }, "upnp" : { "permit" : 6, "ver" : 1 }, "user" : { "permit" : 6, "ver" : 1 }, "wifi" : { "permit" : 0, "ver" : 0 } } } } ]

2025-03-23 10:08:40.967 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'Unknown', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:40.967 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetHddInfo', 'code': 1, 'error': {'detail': 'ability error', 'rspCode': -26}} 2025-03-23 10:08:40.967 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetTime', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:40.968 DEBUG (MainThread) [reolink_aio.api] RLC-423/192.168.0.194:443::send() HTTP Request params = {'token': ''}

2025-03-23 10:08:40.968 DEBUG (MainThread) [reolink_aio.api] RLC-423/192.168.0.194:443::send() HTTP Request body = [{'cmd': 'GetEnc', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetRtspUrl', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetChnTypeInfo', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetMdState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetAiState', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetEvents', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetIsp', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetWhiteLed', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetIrLights', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetAudioCfg', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetManualRec', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetOsd', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetZoomFocus', 'action': 1, 'param': {'channel': 0}}, {'cmd': 'GetPtzPreset', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzPatrol', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzGuard', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPtzCurPos', 'action': 0, 'param': {'PtzCurPos': {'channel': 0}}}, {'cmd': 'GetEmail', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetPush', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetFtp', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetRec', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetAudioAlarm', 'action': 0, 'param': {'channel': 0}}, {'cmd': 'GetAlarm', 'action': 0, 'param': {'Alarm': {'channel': 0, 'type': 'md'}}}, {'cmd': 'GetPerformance', 'action': 0, 'param': {}}]

2025-03-23 10:08:41.527 DEBUG (MainThread) [reolink_aio.api] RLC-423/192.168.0.194:443::send() HTTP Response status = 200, content-type = (text/html). 2025-03-23 10:08:41.527 DEBUG (MainThread) [reolink_aio.api.data] RLC-423/192.168.0.194:443::send() HTTP Response data: [ { "cmd" : "GetEnc", "code" : 0, "initial" : { "Enc" : { "audio" : 0, "channel" : 0, "mainStream" : { "bitRate" : 6144, "frameRate" : 25, "profile" : "High", "size" : "25601440" }, "subStream" : { "bitRate" : 160, "frameRate" : 7, "profile" : "High", "size" : "640360" } } }, "range" : { "Enc" : [ { "audio" : "boolean", "mainStream" : { "bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], "default" : { "bitRate" : 6144, "frameRate" : 25 }, "frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], "profile" : [ "Base", "Main", "High" ], "size" : "25601440" }, "subStream" : { "bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], "default" : { "bitRate" : 160, "frameRate" : 6 }, "frameRate" : [ 12, 8, 6, 4 ], "profile" : [ "Base", "Main", "High" ], "size" : "640360" } }, { "audio" : "boolean", "mainStream" : { "bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], "default" : { "bitRate" : 5120, "frameRate" : 25 }, "frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], "profile" : [ "Base", "Main", "High" ], "size" : "20481536" }, "subStream" : { "bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], "default" : { "bitRate" : 160, "frameRate" : 6 }, "frameRate" : [ 12, 8, 6, 4 ], "profile" : [ "Base", "Main", "High" ], "size" : "640360" } }, { "audio" : "boolean", "mainStream" : { "bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], "default" : { "bitRate" : 5120, "frameRate" : 25 }, "frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], "profile" : [ "Base", "Main", "High" ], "size" : "23041296" }, "subStream" : { "bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], "default" : { "bitRate" : 160, "frameRate" : 6 }, "frameRate" : [ 12, 8, 6, 4 ], "profile" : [ "Base", "Main", "High" ], "size" : "640360" } }, { "audio" : "boolean", "mainStream" : { "bitRate" : [ 1024, 1536, 2048, 3072, 4096, 5120, 6144, 7168, 8192 ], "default" : { "bitRate" : 5120, "frameRate" : 25 }, "frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], "profile" : [ "Base", "Main", "High" ], "size" : "1080P" }, "subStream" : { "bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], "default" : { "bitRate" : 160, "frameRate" : 6 }, "frameRate" : [ 12, 8, 6, 4 ], "profile" : [ "Base", "Main", "High" ], "size" : "640360" } }, { "audio" : "boolean", "mainStream" : { "bitRate" : [ 512, 768, 1024, 1536, 2048, 3072, 4096, 5120 ], "default" : { "bitRate" : 3072, "frameRate" : 25 }, "frameRate" : [ 25, 22, 20, 18, 16, 15, 12, 10, 8, 6, 4, 2 ], "profile" : [ "Base", "Main", "High" ], "size" : "720P" }, "subStream" : { "bitRate" : [ 64, 128, 160, 192, 256, 384, 512 ], "default" : { "bitRate" : 160, "frameRate" : 6 }, "frameRate" : [ 12, 8, 6, 4 ], "profile" : [ "Base", "Main", "High" ], "size" : "640360" } } ] }, "value" : { "Enc" : { "audio" : 1, "channel" : 0, "mainStream" : { "bitRate" : 8192, "frameRate" : 20, "profile" : "Main", "size" : "25601440" }, "subStream" : { "bitRate" : 512, "frameRate" : 12, "profile" : "Main", "size" : "640360" } } } }, { "cmd" : "GetEnc", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetEnc", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetEnc", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetEnc", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetEnc", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetIsp", "code" : 0, "value" : { "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" } } }, { "cmd" : "GetIsp", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetIsp", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetIsp", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetIsp", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetOsd", "code" : 0, "value" : { "Osd" : { "channel" : 0, "osdChannel" : { "enable" : 0, "name" : "RLC-423", "pos" : "Lower Left" }, "osdTime" : { "enable" : 0, "pos" : "Lower Right" } } } }, { "cmd" : "GetOsd", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetPtzPreset", "code" : 0, "value" : { "PtzPreset" : [ { "channel" : 0, "enable" : 1, "id" : 1, "name" : "Überwachung" }, { "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" : 1, "id" : 15, "name" : "Terassentür" }, { "channel" : 0, "enable" : 1, "id" : 16, "name" : "Straße" }, { "channel" : 0, "enable" : 1, "id" : 17, "name" : "Schaukel" }, { "channel" : 0, "enable" : 1, "id" : 18, "name" : "Spielhaus" }, { "channel" : 0, "enable" : 0, "id" : 19, "name" : "pos19" }, { "channel" : 0, "enable" : 1, "id" : 20, "name" : "Beobachtung" }, { "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" : "GetPtzPatrol", "code" : 0, "value" : { "PtzPatrol" : [ { "channel" : 0, "enable" : 1, "id" : 1, "preset" : [ { "dwellTime" : 1, "id" : 1, "speed" : 2 }, { "dwellTime" : 1, "id" : 4, "speed" : 3 }, { "dwellTime" : 1, "id" : 8, "speed" : 2 }, { "dwellTime" : 1, "id" : 4, "speed" : 3 } ], "running" : 0 } ] } }, { "cmd" : "GetPtzPatrol", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetPtzPatrol", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetEmail", "code" : 0, "value" : { "Email" : { "addr1" : "", "addr2" : "", "addr3" : "", "attachment" : "picture", "interval" : "5 Minutes", "password" : "", "smtpPort" : 465, "smtpServer" : "smtp.gmail.com", "ssl" : 1, "userName" : "" } } }, { "cmd" : "GetEmail", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetFtp", "code" : 0, "value" : { "Ftp" : { "anonymous" : 0, "maxSize" : 100, "password" : "", "port" : 21, "remoteDir" : "", "schedule" : { "enable" : 0, "table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" }, "server" : "", "userName" : "" } } }, { "cmd" : "GetRec", "code" : 1, "error" : { "detail" : "ability error", "rspCode" : -26 } }, { "cmd" : "GetRec", "code" : 1, "error" : { "detail" : "not support", "rspCode" : -9 } }, { "cmd" : "GetAlarm", "code" : 0, "value" : { "Alarm" : { "action" : { "mail" : 0, "push" : 1, "recChannel" : null }, "channel" : 0, "enable" : 1, "schedule" : { "table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" }, "scope" : { "cols" : 80, "rows" : 45, "table" : "111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111" }, "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" : "GetPerformance", "code" : 0, "value" : { "Performance" : { "codecRate" : 1069881, "cpuUsed" : 72, "netThroughput" : 0 } } } ]

2025-03-23 10:08:41.528 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetEnc', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.528 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetEnc', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.528 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetEnc', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.528 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetEnc', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.528 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetEnc', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.528 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetIsp', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.529 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetIsp', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.529 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetIsp', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.529 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetIsp', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.529 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetOsd', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.529 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetPtzPatrol', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.529 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetPtzPatrol', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.529 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetEmail', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.529 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetRec', 'code': 1, 'error': {'detail': 'ability error', 'rspCode': -26}} 2025-03-23 10:08:41.529 DEBUG (MainThread) [reolink_aio.api] Host 192.168.0.194:443 received response error code: {'cmd': 'GetRec', 'code': 1, 'error': {'detail': 'not support', 'rspCode': -9}} 2025-03-23 10:08:41.541 DEBUG (MainThread) [reolink_aio.baichuan.tcp_protocol] Baichuan host 192.168.0.194: opened connection 2025-03-23 10:08:41.542 DEBUG (MainThread) [reolink_aio.baichuan.baichuan] Baichuan host 192.168.0.194: writing cmd_id 1, without body 2025-03-23 10:08:41.545 DEBUG (MainThread) [reolink_aio.api] RLC-423/192.168.0.194:443::send() HTTP Request params = {'cmd': 'Logout', 'token': ''}

2025-03-23 10:08:41.545 DEBUG (MainThread) [reolink_aio.api] RLC-423/192.168.0.194:443::send() HTTP Request body = [{'cmd': 'Logout', 'action': 0, 'param': {}}]

2025-03-23 10:08:41.569 DEBUG (MainThread) [reolink_aio.api] RLC-423/192.168.0.194:443::send() HTTP Response status = 200, content-type = (text/html). 2025-03-23 10:08:41.569 DEBUG (MainThread) [reolink_aio.api.data] RLC-423/192.168.0.194:443::send() HTTP Response data: [ { "cmd" : "Logout", "code" : 0, "value" : { "rspCode" : 200 } } ]

2025-03-23 10:08:49.534 DEBUG (MainThread) [reolink_aio.baichuan.tcp_protocol] Baichuan host 192.168.0.194: closed connection`

tzippy84 avatar Mar 23 '25 09:03 tzippy84

Does your password contain more than 31 characters? If so, please change it to <31 chars.

This will in any case be resolved in HA 2025.4.0 in about 2 weeks. That will also enforce the password limit.

starkillerOG avatar Mar 23 '25 15:03 starkillerOG

No, it's plain 10 alphanumerical characters.

tzippy84 avatar Mar 23 '25 15:03 tzippy84

Please wait for the HA 2025.4.0 release, that will fix this issue.

starkillerOG avatar Mar 25 '25 13:03 starkillerOG

Hello!

After updating I am still getting an error:

Failed setup, will retry: Host 192.168.0.194:443: subscription request got HTTP status response 400: Bad Request with 'SOAP-ENV:Fault' as response text

starkillerOG @.***> schrieb am Di. 25. März 2025 um 14:38:

Please wait for the HA 2025.4.0 release, that will fix this issue.

— Reply to this email directly, view it on GitHub https://github.com/starkillerOG/reolink_aio/issues/110#issuecomment-2751295201, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARU5K4GYBONYICVQGSU4YNL2WFE5BAVCNFSM6AAAAABZS2MMP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONJRGI4TKMRQGE . You are receiving this because you authored the thread.Message ID: @.***> [image: starkillerOG]starkillerOG left a comment (starkillerOG/reolink_aio#110) https://github.com/starkillerOG/reolink_aio/issues/110#issuecomment-2751295201

Please wait for the HA 2025.4.0 release, that will fix this issue.

— Reply to this email directly, view it on GitHub https://github.com/starkillerOG/reolink_aio/issues/110#issuecomment-2751295201, or unsubscribe https://github.com/notifications/unsubscribe-auth/ARU5K4GYBONYICVQGSU4YNL2WFE5BAVCNFSM6AAAAABZS2MMP6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDONJRGI4TKMRQGE . You are receiving this because you authored the thread.Message ID: @.***>

tzippy84 avatar Apr 17 '25 13:04 tzippy84

… and the debug logs look similar. I can post them again if necessary.

tzippy84 avatar Apr 26 '25 17:04 tzippy84

@tzippy84 yes please post a new debug log as a debug.log file (not plain text) when on the latest HA version. Then I will dig deaper and figure out where the error is coming from.

starkillerOG avatar May 06 '25 09:05 starkillerOG

Please find attached my most recent log while being on core 2025.5.0 debug.log

tzippy84 avatar May 10 '25 20:05 tzippy84

@tzippy84 thank you for the debug log. I have investigated it thoroughly and found two seperate issues:

  1. The TCP Baichuan protocol was failing because it could not decrypt the login response. This is fixed in this upstream library commit: https://github.com/starkillerOG/reolink_aio/commit/dc964c079211ff0a586bdf9c2d42aa76ca79e8e6

  2. A unexpected error when ONIF push is not supported, meaning the fallback mechanism was failing. I fixed that in this PR: https://github.com/home-assistant/core/pull/144869

I will let you know once these fixes are available in a new HA patch release.

If you appreciate the reolink integration and want to support its development, please consider sponsering the upstream library or purchase Reolink products through this affiliate link.

starkillerOG avatar May 14 '25 09:05 starkillerOG

@tzippy84

I will let you know once these fixes are available in a new HA patch release.

Thank you so much! Will definitely sponsor further development.

tzippy84 avatar May 14 '25 12:05 tzippy84

Thank you, very much apreciated!

starkillerOG avatar May 14 '25 12:05 starkillerOG

@tzippy84 HA 2025.2.2 was released yesterday, it includes a fix (point 2 from abbove) which should allow you to setup the RLC-423.

Could you update and let me know if it works? Please make a new debug log when setting up the RLC-423 such that I can check if it is functioning properly.

The fix from point 1 still needs to be released, but that will follow shortly.

starkillerOG avatar May 17 '25 10:05 starkillerOG

I set it up and it seems to be working as expected! Thank you!

Here's the debug log: debug_new2.log

tzippy84 avatar May 21 '25 20:05 tzippy84

@tzippy84 the fix from point 1 is now also included in the HA 2025.6.1 release which is now available. Could you update and make one last debug log for me when reloading the RLC-423?

Then I can check if the TCP push connection is now properly established.

starkillerOG avatar Jun 14 '25 13:06 starkillerOG