NET-PwrCtrl Batch Control for Windows

Es ist eine EXE, die aus dem BAT, BASH (Linux) oder eigener App aufgerufen werden kann.
It is an EXE that can be called from BAT, BASH (Linux) or your own App.
andy
Administrator
Beiträge: 487
Registriert: Dienstag 15. Januar 2008, 11:51
Wohnort: Düsseldorf
Kontaktdaten:

NET-PwrCtrl Batch Control for Windows

Beitrag von andy » Freitag 31. Mai 2019, 15:17

NET-PwrCtrl Batch Control for Windows
& Linux: viewtopic.php?f=64&t=1021&sid=6b5c3874c ... 85a5df6e12

net-pwrctrl.exe

Tool für die Steuerung aller NET-PwrCtrl aus der Windows-Eingabeaufforderung/Bat Datei/eigene Software.
Tool for controlling all NET-PwrCtrl from the windows command prompt/.bat file/own software.

This tool must be released by Windows Firewall.

Test device: net-pwrctrl.exe [IP],[UDP send port],[UDP receive port]
eg: net-pwrctrl.exe 192.168.188.61,75,77

basic_command = net-pwrctrl.exe [IP],[UDP send port],[UDP receive port]
auth = [user],[password]

------------------- Relay -------------------------
Switch relay: basic_command,rel,[relay],[on or off],auth
- eg: net-pwrctrl.exe 192.168.188.61,75,77,rel,3,on,admin,anel

Switch all relays: basic_command,rel,[relays (byte);0=0ff;1=on],auth
- eg: net-pwrctrl.exe 192.168.188.61,75,77,rel,01000111,admin,anel

Blinking relay: basic_command,rel-bl,[relay],[(word)on time(ms)],[(word)off time(ms)],auth
- eg: net-pwrctrl.exe 192.168.188.61,75,77,rel-bl,4,500,0x1F4,admin,anel
Switch off blinking: basic_command,rel,[the same relay],off,auth
- eg: net-pwrctrl.exe 192.168.188.61,75,77,rel,4,off,admin,anel

--------------------- IO --------------------------
Switch IO: basic_command,io,[io],[on or off],auth
- eg: net-pwrctrl.exe 192.168.188.61,75,77,io,3,on,admin,anel

Switch all IO's: basic_command,io,[io (byte);0=0ff;1=on],auth
- eg: net-pwrctrl.exe 192.168.188.61,75,77,io,0x47,admin,anel

Set IO's direction: basic_command,io-dir,[io (byte);0=output;1=input],auth
- eg: net-pwrctrl.exe 192.168.188.61,75,77,io-dir,01000111,admin,anel

Blinking IO: basic_command,io-bl,[io],[(word)on time(ms)],[(word)off time(ms)],auth
- eg: net-pwrctrl.exe 192.168.188.61,75,77,io-bl,4,0x1F4,500,admin,anel
Switch off blinking: basic_command,io,[the same io],off,auth
- eg: net-pwrctrl.exe 192.168.188.61,75,77,io,4,off,admin,anel

Byte = 8 bit unsigned, word = 16 bit unsigned (also in hex format - 0x).

Answer in 'return.txt' file.

net-pwrctrl.exe help -> for this help