Matrix
Electrónica
–
MTX
‐
Router
‐
Titan
User
Manual
‐
Rel3.00.3.09
Page
152
http://www.mtxm2m.com
Subject
to
changes
without
prior
notice
Example Scenario 2.6
Configuration to periodically send data from an RS232 temperature sensor to a Web server, as well
as sending SMS alerts about the temperature, providing remote access to an IP camera and
changing the router’s internal relay according to a given timetable or SMS in order to
activate/deactivate another device.
Details of the example scenario:
We have an IP camera with an Ethernet port which we want to provide with Internet access.
The camera has a local IP address of 192.168.1.1
The IP camera has an internal webserver that we can use to access the video that is being
recorded. We must configure the router to access the internal webserver (in the TCP port 80),
redirecting the external TCP port 8080 since we need to be able to access the router’s
webserver configuration also located in the TCP port 80.
SIM cards with fixed IP address will be used.
The temperature that is read must be send every 15 minutes to a webserver. The webpage to
which it will be sent is
http://www.metering.es/json/set.asp?data
=
In the event that the temperature that is read is greater than 30 degrees or lower than 10
degrees, a relay must be changed that will activate a light-up alarm or sound alarm as well as
sending an SMS alarm to three telephone numbers.
The modem’s internal relay should be programmed to activate itself at certain times of the day,
as well as being activated via webserver and SMS.
Solution:
MTX-Router-Titan-3G-mini + MTX-Temp-RS232 sensor
MTX-Router-
Titan-3G-mini
IP Camera
3G
Ethernet
Remote Access to an IP camera via 3G
ADSL
Turned on / off via
SMS using the
router’s internal
relay
Temperature sensor
MTX-Temp-RS232
RS232
WWW
Server
Database
Temperature Data (JSON)