Tunnel – Sending an SMS alarm when the digital input is activated with ultra low power consumption

¿Buscas alguna otra cosa?

Scenario details:

  • Some small cages have been placed on a hill to monitor a wild animal. An SMS alarm is sent when the cage door opens (connected to a Digital Input in a MTX)
  • Modems are in a remote place where only batteries can be used. This means that it only consumes 2 μA. When the MTX digital input changes this means the wild animal is inside the cage. Then the MTX switches to normal power mode
  • The modem wakes up and the SMS will be sent. The text alias will be “DOOR-NUMBER-45”
  • After the SMS is sent, the modem will revert back to Ultralow Power mode
  • If there is a problem sending the SMS, for example because of low GSM network coverage, the modem will wake up in 30 minutes as programmed and it will retry sending the SMS

olution: MTX-Tunnel firmware + MTX-Java-IoT

Config.txt configuration file:

Configuration Observations
MTX_model: 199801454
MTX_mode: none
MTX_IDClient: PUERTA-45

ULP_mode: sms
ULP_rtc: off
ULP_minutes: 30
ULP_smsNumber: 666274646
ULP_smsExtended: off
MTX-Terminal modem model
GPRS-Serial tunnel not needed
SMS text sent when the door is open
Telemetry data sent by SMS, not GPRS
Wake up by interrupt tamper input
If SMS delivery fails, it will retry in 30 minutes
End user phone number to send SMS
GPIO ADC values are not sent, just MTX_IDClient

Details:

  • The SMS message has the following format: MTX_IDClient (MTX_IDClient is a user configurable text string) In example is “JAIL-NUMBER-45”
  • Please note that the configuration variables are different to the SMS ALARM example above. This is because MTX-Tunnel on the MTX-65-ULP modem has a special way of working. Please read all ULP_mode parameter descriptions in this manual for more information
  • ULP_minutes parameter >0 is the time in minutes that the modem is in low power mode after wakeup and will try to resend failed SMS messages. This parameter is independent of the ULP_rtc parameter value which can be “off”