A small shell script with jq to control a reolink RLC-423 camera

You have to edit the script and adjust IP-adress, username and password.

Usage: reoctl [-i on|off|auto ] [-p <num>] [-s ms|mm|ms|s|h]

       -i <param>  control IR LEDs                                  
       -p <num>    recal PTZ position                       
       -s <type>   start mplayer with the wanted stream             
                   available streams are:                           
                     ms:  small picture via rtmp                    
                     mm:  medium picture via rtmp                   
                     mh:  large picture via rtmp                    
                     s:   small picture via rtsp                    
                     h:   large picture via rtsp