I am trying to do some basic scripting to control the Digital Loggers Web Power Switch.
http://www.digital-loggers.com/lpc.html
It is a great device which serves a web page that allows the user to reboot devices that are plugged into it. There are 8 controllable power plugs.
The web power switch support site says the device can be controlled by scripting. I was hoping to have HS do that for me. According to the FAQs there are programming examples using Python, C++, .NET, Java, and compiled Windows Command Line.
http://www.digital-loggers.com/lpc3_faqs.html
Perl script and compiled Perl script examples
Usage: UserUtil <HOST>[ip address
ort] <USERNAME;P<LOGIN
assword> <[n]{on|off|pulse|status}>
Examples:
UserUtil 192.168.0.100:80 admin:1234 5on
& UserUtil 192.168.0.100:80 admin:1234 5on
But it logged an error: Running script, init error: Syntax error
Thanks
Jono
<O
http://www.digital-loggers.com/lpc.html
It is a great device which serves a web page that allows the user to reboot devices that are plugged into it. There are 8 controllable power plugs.
The web power switch support site says the device can be controlled by scripting. I was hoping to have HS do that for me. According to the FAQs there are programming examples using Python, C++, .NET, Java, and compiled Windows Command Line.
http://www.digital-loggers.com/lpc3_faqs.html
Perl script and compiled Perl script examples
Usage: UserUtil <HOST>[ip address


Examples:
UserUtil 192.168.0.100:80 admin:1234 5on
& UserUtil 192.168.0.100:80 admin:1234 5on
But it logged an error: Running script, init error: Syntax error
Thanks
Jono
<O

Comment