for UV510 Minrray PTZ the following value is used for the OBS command in the script
c:\cygwin64\bin\curl.exe "
http://192.168.1.40/ajaxcom" -H "User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:80.0) Gecko/20100101 Firefox/80.0" -H "Accept: application/json, text/javascript, */*; q=0.01" -H "Accept-Language: en-US,en;q=0.5" --compressed -H "Content-Type: application/x-www-form-urlencoded; charset=UTF-8" -H "X-Requested-With: XMLHttpRequest" -H "Origin:
http://192.168.1.40" -H "Connection: keep-alive" -H "Referer:
http://192.168.1.40/pages/live.asp" -H "Cookie: language=en; updateTips=true; LoginResult=false; -goahead-session-=::webs.session::ace7df6c4bb9e656dcf0b14dd9afcfd8" --data-raw "szCmd="%"7B"%"22SysCtrl"%"22"%"3A"%"7B"%"22PtzCtrl"%"22"%"3A"%"7B"%"22nChanel"%"22"%"3A0"%"2C"%"22szPtzCmd"%"22"%"3A"%"22preset_call"%"22"%"2C"%"22byValue"%"22"%"SCENE_VALUE"%"7D"%"7D"%"7D"
then your presets are placed in the OBS scene value, they'll be 3A0, 3A1, 3A2 like the screenshot below
Instructions for Curl.
This command works for Windows 10, where Cygwin is installed for using Curl. WIndows 10 helpfully includes Curl, but doesn't include the --compressed option, so you need to install a Curl version that does, or use a real OS like Linux or Mac. Then set Cygwin in your Windows 10 path environment to be the first so your Cygwin Perl takes precendence in your Windows 10 command line over the version installed in Windows like so. Set the PATH variable to predend C:\cygwin64\bin\; to whatever is there so it is like following C:\cygwin64\bin\;%USERPROFILE%\AppData\Local\Microsoft\WindowsApps
The downside to this whole setup is that the script moves the camera, when the scene is activated, so in your broadcast, you'll see the moving camera. I think a better way would be to have your two cameras and simply use the curl commands to move the cameras in place prior to switching to the scene so you don't see the movement in the broadcast.