Currency:
USD
  • USD
  • EUR
  • AUD
  • BRL
  • GBP
  • BGN
  • CAD
  • CNY
  • HRK
  • CZK
  • DKK
  • HKD
  • HUF
  • INR
  • IDR
  • MYR
  • MXN
  • NZD
  • NOK
  • PHP
  • PLN
  • RON
  • RUB
  • SGD
  • ZAR
  • KRW
  • SEK
  • CHF
  • THB
  • TRY
  • JPY
  • AED
  • EGP
  • MDL
  • RSD
  • UAH
Welcome to our store!

Shopping Cart

0 items

Shipping

Registered mail (Posts), table based cost.
DHL Express service, fixed cost at 42.00 USD per order.
GLS, fixed cost at 26.00 USD per order.
DPD, fixed cost at 22.00 USD per order.

Payment

Credit Cards, we accept Visa, MasterCard, Maestro
Paypal, you can place the order directly via our web shop
Wire transfer, please contact with us for Proforma-Invoice

Verified by

website security

For EU Customers

All prices are WITHOUT VAT 20.00%

If you are located in EU and your company has valid VAT number we will reduce the VAT charge AFTER you make the order as our site does not support online VAT number validation. We do it as partial refund. You can use this online tool for VAT validation: http://ec.europa.eu/taxation_customs/vies/

DAEnetIP3 Command Line Tool

The main goal of this project is to help to all our customers to use our DAEnetIP3 boards easily and without any programming knowledge. This tool is actually shell for all our DAEnetIP3 boards and it does not matter which is the module, the command is the same. Just type one command and the the tool will set, get relay status or even will take inputs value from the board. It can be integrated in other software. With this tool it is like a "game" and it takes literaly minutes to create for example PHP script and control the DAEnetIP3 relay board from smartphone browser.

 

 

  • Multiplatform software: supported by Windows (32/64) and Linux 32/64 bit, osX
  • Simple and user friendly commands
  • Practically supports unlimited number of relay boards connected to the host computer
  • Typical applications for this software are:
    • Create desktop icons to turn particular relays
    • Create BAT/BASH files to make more complex logic (like timers for example)
    • The commands can be executed from PHP script
    • Control our DAEnetIP3 relay boards from Android / iPhone mobile devices
    • The DAEnetIP3 modules can be controlled from each software/platform which can run external executable files or commands in command line promt

 

 

Quick links

 

 

Who can use DAEnetIP3 Command Line Tool

DAEnetIP3 Command Line Tool may be used by anyone who has at least one of DAEnetIP3 boards from the current version supported list.

 

 [back to top]

 

List with currently supported DAEnetIP3 devices  

Order number
Device name and link
DAEnetIP3-Ex DAEnetIP3-Ex
DAEnetIP3-Wx DAEnetIP3-Wx
DAE-RB/Ro8-12V + DAEnetIP3-ET DAEnetIP3 with 8 relay Board (Ethernet version)
DAE-RB/Ro8-12V + DAEnetIP3-WT DAEnetIP3 with 8 relay Board (Ethernet version)
DAE-PB-RO12-JQC/DI8/AI8 + DAEnetIP3-EB Ethernet 12 relay module - Web, TCP/IP, Telnet, HTTP API, E-mails
DAE-PB-RO12-JQC/DI8/AI8 + DAEnetIP3-WB Wi-Fi 12 relay module - Web, TCP/IP, Telnet, HTTP API, E-mails

 

[back to top]

 

 

Current version download

Version
Release date
Windows/Linux (.rar)
1.0 06.10.2014 DenkoviRelayCommandLineTool.jar

 

 [back to top]

 

System requirements

Operating systems:

  • Windows, Linux, OsX

Requires: Java

 [back to top]

How to run it

Open CMD (on Windows), Terminal/Console (on Linux/BSD) and type:

java -jar "path/to/the/folder/of/this/tool/"DAEnetIP3CommandLine.jar

Without any parameters, it simple prints help instructions and shows the current version

 

 [back to top]

 

Example commands

Example 1: Receive the status of PortA

Input:
java -jar DAEnetIP3CommandLine.jar 192.168.0.100 admin ASG=?

Output:
ASG=FFFF
 

Example 2: The above example but this time with setting the port

Input:
java -jar DAEnetIP3CommandLine.jar 192.168.0.100:80 admin ASG=?

Output:
ASG=0F0F

 

Example 3: Get many parameters at a time

Input:
java -jar DAEnetIP3CommandLine.jar 192.168.0.100:80 admin "CV0=?&CV1=?"

Output:
CV0=123;CV1=234;

 

Example 4: Set many parameters at a time

Input:
java -jar DAEnetIP3CommandLine.jar 192.168.0.100:80 admin "AS0=1&AS1=1"

Output:
AS0=1;AS1=1;

 

Example 5: Tricky example how to set relay for 5 second and turn it off automatically

Input:
java -jar DAEnetIP3CommandLine.jar 192.168.0.100:80 admin "AM0=F&AD0=5&AS0=1"

Output:
AM0=F;AD0=5;AS0=1;

 

Example 6: Turn on Relay 1 saying that it must work in mode "On/Off settings"

Input:
java -jar DAEnetIP3CommandLine.jar 192.168.0.100:80 admin "AM0=0&AS0=1"

Output:
AM0=0;AS0=1;

  [back to top]

 

Typical applications:

  • Create Windows shortcut
  • Run it from the command promt
    The commands are the same for Windows / Linux / osX.

 

 

 

 

  • How to use it with BAT / BASH files.

Very often for many applications it is required some relay to be turned on, wait several seconds and then off. This is so called timer function. With our command line tool this can be done in several easy steps in Windows:

  1. Create new text file and save it as .BAT file. For example "Pulse5.BAT".
  2. Open the file and type the following commands (work with relay 1) and save it.
    • java -jar DAEnetIP3CommandLine.jar 192.168.0.100:80 admin AS0=1
    • PING 1.1.1.1 -n 1 -w 5000 >NUL
    • java -jar DAEnetIP3CommandLine.jar 192.168.0.100:80 admin AS0=0
  3. Now you can just click it. Relay 1 will be turned ON for 5 seconds and then will be turned OFF.

It is the same story for Linux:

  1. Create new text file and save it as .VIM file. For example "Pulse5.VIM".
  2. Open the file and type the following commands (work with relay 1) and save it.
    • #!/bin/bash
    • java -jar DAEnetIP3CommandLine.jar 192.168.0.100:80 admin AS0=1
    • sleep 5
    • java -jar DAEnetIP3CommandLine.jar 192.168.0.100:80 admin AS0=0
  3. Now you can just click it. Relay 1 will be turned ON for 5 seconds and then will be turned OFF.

 

  • Call it from PHP script:

Just use the function shell_exec() :

<?php

$output = shell_exec('java -jar DAEnetIP3CommandLine.jar 192.168.0.100:80 admin AS0=0');

?>

 

 [back to top]

We accept

 

 

 

Stores

Scroll To Top