
113
Internet Remote Operation
Web Switch
The clever little Web Switch 1216H from the same
manufacturer can be seen in Fig 9.3. I say ‘clever’, as
it can not only switch five relays at 240VAC 5A, it can
also read temperature (rig or ambient) on two of its
inputs if Dallas DS18B20 sensors are attached.
The Web Switch is an item of equipment that
needs to be powered on all the time, as it provides the
FQDN to the Internet where you can log in and switch
relays on and off or read the current temperature.
On the left side of Fig 9.3 is the network cable
which is connected to the hub, and then to the
router. On the bottom right side is a 9V DC supply
and the twisted wire is connected to Relay 2, the
cable which when shorted switches the K3 on. Relay
1 is used to switch the mains side of the PSU, but is not shown in the
photo. In Fig 9.4 you can see that the PSU and the radio are on.
Setting up the Web Switch
The Web Switch is set up in the same way as the controllers, via the
mini USB port at the side of the unit. All that is required is an IP
address to get you started. I used 192.168.2.202.
Once connected, using your web browser on port 80 through your
Local Area Network, you then need to change the port number to 8090
for remote administration. At the same time a username and password
should be added. The menus are found on the left hand side.
The home end needs to know the IP address of the remote end,
so a FQDN needs to be inserted into one of the setup fields. You can
make one up from the web site www.dyndns.com It will look some-
thing like ‘remote.dyndyns-net.org’ where, when you type this into
your browser, this address will find the remote station on the Internet.
The Web Switch will
then send every 30
minutes (this is
configurable) to the web
site www.dyndns.com a
request, and the web
site will then do a
reverse lookup on the
remote end IP address
and resolve the FQDN
‘remote.dyndyns-
net.org’ to numbers
Fig 9.4: Web
Switch relay
status page.
Fig 9.3: The
Microbit 1216H
Web Switch.
Comentarios a estos manuales