
Call Button Kit Installation
(AND-BTN-KIT-1)
Advanced Network Devices
•
3820 Ventura Dr. Arlington Hts. IL 60004
847-463-
2237 •
www.anetd.com/user-support/
2
v1.5
NON-REGISTERED OPERATION
If the AND device is not registered
with any servers, you can use the
following general purpose URL
callback to generate actions based
on an input change, such as a push
button press.
1.
Power up the AND device with
the monitored input.
2.
Configure a GPIO Callback URL for
the device. This example uses the
URL
http://10.10.3.4:8089/directory/
file,
where
10.10.3.4:8089
is the
IP address and port of the server
that will receive the response.
Note that
directory
and
file
are
optional parameters.
•
If configuring the device using
the device’s web page
, select
Device Settings
→
Servers
to
locate the
GPIO Callback URL
.
Set
the
URL
to
http://10.10.3.4:8089/director
y/file
, and save the settings.
•
If using a configuration file, add
the following tag:
<GPIO_callback
url="http://10.10.3.4:8089/directo
ry/file"
min_update_period_ms="250"
/>
3.
Reboot the device.
In this example, when the input
changes state, the device will
execute an HTTP GET to
10.10.3.4, port 8089, of the
following format (parameters
detailed below):
GET
/directory/file?address=2046f9
010203&gpinputid=0&state=1&tra
nsitions=340
Parameter Description
address
The MAC address of the
device with the input state
change
gpinputid
the input number that
changed
state
state of that input (0 or 1)
transitions
the total number of
transitions for that input
since last reboot
IPCLOCKWISE GPIO CALLBACK
1.
Obtain the IP address of the PC
running
IPClockWise.
In
Windows, run
ipconfig
from a
command prompt to list the
address.
2.
Power up the AND device with
the monitored input.
3.
Set the GPIO Callback URL to
http://10.10.3.4:8089
where
10.10.3.4
is the IP address of the
PC running IPClockWise. See
section 2 of
Non-Registered
Operation
for
configuration
options.