Reolink RLC-423 PTZ not working...

I have an RLC-423 and I have no issues with PTZ in BI.
The camera FW version is: 787_16030308_v1.0.0.30
My BI version is 4.3.7.1 X64
PTZ configured as OXML.

The only issue I remember is making sure the BI login for the camera had PTZ enabled in the camera settings.
 
I have an RLC-423 and I have no issues with PTZ in BI.
The camera FW version is: 787_16030308_v1.0.0.30
My BI version is 4.3.7.1 X64
PTZ configured as OXML.

The only issue I remember is making sure the BI login for the camera had PTZ enabled in the camera settings.
The issue is not with ptz..its with the image and ghosting..its known and documented. There are several threads here discussing it and the developer noted it in a recent release note.
 
Steve,

Are you happy with the camera in general? Would you mind posting a photo at regular mode & 100% zoom? I am curious how the image quality looks.

It is the right price point & with amazon prime (easy returns) I am tempted to try it out.

THanks,
Rich

I have an RLC-423 and I have no issues with PTZ in BI.
The camera FW version is: 787_16030308_v1.0.0.30
My BI version is 4.3.7.1 X64
PTZ configured as OXML.

The only issue I remember is making sure the BI login for the camera had PTZ enabled in the camera settings.
 
So just thought this might be helpful for people still looking....
I did all this using the RLC-410
When logging into a ReoLink which chrome you can press ctrl+shift+i -> to get the inspector. Then click the network tab.
When you are interacting with settings on the camera (or I assume PTZ stuff) you can see the commands being sent to the camera.
Something like this:
api.cgi?cmd=SetIsp&token=17d15df75be25e3
If you expand out the details on the "Request Payload" (view source) you can see the JSON... something like this (here I was changing the irmode to auto):
[{"cmd":"SetIsp","action":0,"param":{"Isp":{"channel":0,"antiFlicker":"Off","exposure":"Auto","gain":{"min":1,"max":62},"shutter":{"min":0,"max":125},"blueGain":128,"redGain":128,"whiteBalance":"Auto","dayNight":"Auto","backLight":"Off","blc":128,"drc":128,"rotation":0,"mirroring":0,"nr3d":1}}}]

Combining information from these links:
Control Reolink RLC-423 with API
Zoneminder Darknet yolov2 tiny Hack - ZoneMinder Forums

You can then get a token through login and send commands with scripts.
Here is my bash script that sets the ir mode to "Color" or day:
#!/bin/bash
vartoken=`curl -i -s -k -X $'POST' --data-binary $'[{\"cmd\":\"Login\",\"action\":0,\"param\":{\"User\":{\"userName\":\"myusername\",\"password\":\"mypassword\"}}}]' $'http://192.168.1.XXX/cgi-bin/api.cgi?cmd=Login&token=null' | grep name |sed -r 's/(.*: \")(.*)(\".*)/\2/g'`
echo $vartoken
curl -g -v -k -X $'POST' --data-binary $'[{"cmd":"SetIsp","action":0,"param":{"Isp":{"channel":0,"antiFlicker":"Off","exposure":"Auto","gain":{"min":1,"max":62},"shutter":{"min":0,"max":125},"blueGain":128,"redGain":128,"whiteBalance":"Auto","dayNight":"Color","backLight":"Off","blc":128,"drc":128,"rotation":0,"mirroring":0,"nr3d":1}}}]' $"http://192.168.1.XXX/cgi-bin/api.cgi?cmd=SetIsp&token=${vartoken}"

I imagine you can use blue iris with a script to do ptz commands this way.
 
  • Like
Reactions: mat200
So just thought this might be helpful for people still looking....
I did all this using the RLC-410
When logging into a ReoLink which chrome you can press ctrl+shift+i -> to get the inspector. Then click the network tab.
When you are interacting with settings on the camera (or I assume PTZ stuff) you can see the commands being sent to the camera.
Something like this:
api.cgi?cmd=SetIsp&token=17d15df75be25e3
If you expand out the details on the "Request Payload" (view source) you can see the JSON... something like this (here I was changing the irmode to auto):
[{"cmd":"SetIsp","action":0,"param":{"Isp":{"channel":0,"antiFlicker":"Off","exposure":"Auto","gain":{"min":1,"max":62},"shutter":{"min":0,"max":125},"blueGain":128,"redGain":128,"whiteBalance":"Auto","dayNight":"Auto","backLight":"Off","blc":128,"drc":128,"rotation":0,"mirroring":0,"nr3d":1}}}]

Combining information from these links:
Control Reolink RLC-423 with API
Zoneminder Darknet yolov2 tiny Hack - ZoneMinder Forums

You can then get a token through login and send commands with scripts.
Here is my bash script that sets the ir mode to "Color" or day:
#!/bin/bash
vartoken=`curl -i -s -k -X $'POST' --data-binary $'[{\"cmd\":\"Login\",\"action\":0,\"param\":{\"User\":{\"userName\":\"myusername\",\"password\":\"mypassword\"}}}]' $'http://192.168.1.XXX/cgi-bin/api.cgi?cmd=Login&token=null' | grep name |sed -r 's/(.*: \")(.*)(\".*)/\2/g'`
echo $vartoken
curl -g -v -k -X $'POST' --data-binary $'[{"cmd":"SetIsp","action":0,"param":{"Isp":{"channel":0,"antiFlicker":"Off","exposure":"Auto","gain":{"min":1,"max":62},"shutter":{"min":0,"max":125},"blueGain":128,"redGain":128,"whiteBalance":"Auto","dayNight":"Color","backLight":"Off","blc":128,"drc":128,"rotation":0,"mirroring":0,"nr3d":1}}}]' $"http://192.168.1.XXX/cgi-bin/api.cgi?cmd=SetIsp&token=${vartoken}"

I imagine you can use blue iris with a script to do ptz commands this way.

Dear FatherTime,
Some years after, I found your post to solve my questions about reolink camera API
I can extract the token with your command, it works well, but, when I try to post an action like ptzctrl, an error appear : curl: no URL specified!
This is the command I try to send:

Code:
#!/bin/bash
curl -g -v -k -X $'POST' --data-binary $'[{\"cmd\":\"PtzCtrl\",\"action\":0,\"param\":{\"channel\":0,\"op\":\"ToPos\",\"speed\":32,\"id\":2}}]'$"http://192.168.2.xxx:yyyy/cgi-bin/api.cgi?cmd=PtzCtrl&token=89977dc75992fcb"
or
Code:
#!/bin/bash
curl -g -v -k -X $'POST' --data-binary $'[{\"cmd\":\"PtzCtrl\",\"action\":0,\"param\":{\"channel\":0,\"op\":\"ToPos\",\"speed\":32,\"id\":2}}]'$"http://192.168.2.xxx:yyyy/cgi-bin/api.cgi?cmd=PtzCtrl&token=${vartoken}"
Everytime the same problem

Can you help me please?

Thanks a lot,
cheers,

Djo
 
It seems you do not have a space here (noted by a red underscore):
:2}}]'_$"http://192.168.2.xxx:yyyy
Therefore everything is going into the --data-binary option.

Technically the $ just after the space shouldn't be there either... but its not doing any harm.
 
FatherTime,

Impressive, thanks a lot! A typo like another and my ignorance in this type of script!

Thanks again,

Cheers,
Djo.