Titan – Example Scenario 2.6: 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

¿Buscas alguna otra cosa?

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 loour 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 mini

Configuration example ready for use:
We can easily load the example from the router’s web configuration environment from the menu “Other>Backup/Examples”.

Details:

  1. After the configuration is loaded in our router, we can access the router’s configuration with the default username and password: “admin” and “admin”, and the IP address“192.168.1.2”
  2. Check the configuration in the menus “Wan>Basic Settings” y “Firewall > NAT”, “Serial Settings>Serial Port1”, “External Devices>Logger Configuration”,“External Devices>Temperatura Sensor”, “Other>Time Servers”.
  3. If we need a webserver to carry out testing, write to us at gsmsupport@matrix.es and request a testing account in the test server site www.metering.es.
  4. Remember that in section 4.5.2 of this manual, we have the exact format of the data (JSON object) that is sent to the webserver.