I own (and use) the "Robocam 4", sold by 7Links. But this hardware is quite common and used under different names, too.
Finding out the right commands is quite straight-forward: Open the webinterface and listen what happens there using the developer console in Chrome:
The "Request URL" and "Form Data" are the most interesting informations here. Before entering that stuff into the Linux-shell let's test this with a more "comfortable" interface. The chrome extension "Postman" offers a nice way to play around with POST-Requests. The setting should be "x-www-form-urlencoded" here:
If everything works as desired it is time to put that command to Linux using shell commands. Especially easy if the come does not only accept POST-requests, but GET-requests, too.
http://192.168.0.88/admin/system.cgi?led=2
worked like a charm in my case.
The only thing that's left is the authentifivcation. If you receive a classic login-screen like from a .htaccess password-protection it can be easily added to the url. So
wget http://username:password@192.168.0.88/admin/system.cgi?led=2
turns on the LEDs
wget http://username:password@192.168.0.88/admin/system.cgi?led=0
turns them off
(0=off, 1=on, 2=blinking)
Just add these lines to your existing script and the LEDs should be work just like needed :)

