In my excel template, I would simply enter the starting IP address and then auto fill it. If some addresses weren't cameras, wget would fail that IP after a certain number of retries. Or, simply copy and paste your IP address list.
I would then enter the command and the value.
One neat example, was a camera where instead of it always doing a full auto back focus, where it could get confused if something moved and it took longer, it could save the color and BW focus position. I would run a script to set the mode, change the camera to color, do a focus, change to BW, do a focus.
Below is a screenshot of my Excel template. Yellow are the instructions. Grey are the commands. Enter the username and password in A2. Put the command in C2. Some templates I made would have the On or Off or 1 or 0 in another field. Then, copy and past A3 down to a text file, save it as a .bat file.
Now, the Samsung iPOLiS Device Manager has an Advanced menu to send these commands right to the camera, without needing the script. I simply keep a list of common commands that I have tested to work.
motion /cgi-bin/event.cgi?msubmenu=motion&action=apply&device=1&sens=3
Face detect /cgi-bin/event.cgi?msubmenu=face&action=apply&device=1
PW /cgi-bin/basic.cgi?msubmenu=user&action=chgpwd&command=ok&name=admin&pass=1111
Flip /cgi-bin/system.cgi?msubmenu=camera&action=apply&vflip=1
Alarm /cgi-bin/system.cgi?msubmenu=input1&action=apply&device=0
Schedule /cgi-bin/system.cgi?msubmenu=camera&action=apply&active=always
See screenshots below...
Maybe this calls for a webinar (I know just the guy). Show the CGI document on how to get the command, then testing the command, then sending the command....
If anyone wants any of my script files from the Panasonic or Samsung cameras, please let me know. Script away. Stop manually configuring the same settings on your cameras....