Tunnel – Voice call alarm to change up to 8 digital inputs.

¿Buscas alguna otra cosa?

Scenario details:

  • 8 dry contact sensors need to be monitored
  • In the event of an activation in any of them, a voice call must be made to several phone numbers
  • The phone numbers that will receive the SMS alerts are +34666123456, + 34666123457 and +346661234568
  • To avoid making a large number of voice calls (in case of rapid changes in a certain entry), a timeout of 5 minutes should be established per entry, that is, no more than 1 call will be made in a 5-minute window by activating a certain input

Solution: MTX-Tunnel firmware + MTX-IOT-S [4-N]

Configuration example (config.txt file) for the indicated scenario:

Configuration Observations
MTX_pin: 0000
MTX_model: 199802407
MTX_mode: none
SMS_allPhones: off
SMS_validPhone1: +34666123456
SMS_validPhone2: +34666123457
SMS_validPhone3: +34666123458
ALARM_smsNumber1: +34666123456
ALARM_smsNumber2: +34666123457
ALARM_smsNumber3: +34666123458
GPIO_mode0: input
GPIO_config0: call;1;300
GPIO_mode1: input
GPIO_config1: call;1;300
GPIO_mode2: input
GPIO_config2: call;1;300
GPIO_mode3: input
GPIO_config3: call;1;300
GPIO_mode4: input
GPIO_config4: call;1;300
GPIO_mode5: input
GPIO_config5: call;1;300
GPIO_mode6: input
GPIO_config6: call;1;300
GPIO_mode7: input
GPIO_config7: call;1;300
PIN if it has one
Device model
Gateways used
Phone numbers
Phone number 1
Phone number 2
Phone number 3
Phone number 1
Phone number 2
Phone number 3
GPIO0 configured as input
GPIO0 call configuration
GPIO1 configured as input
GPIO1 call configuration
GPIO2 configured as input
GPIO2 call configuration
GPIO3 configured as input
GPIO3 call configuration
GPIO4 configured as input
GPIO4 call configuration
GPIO5 configured as input
GPIO5 call configuration
GPIO6 configured as input
GPIO6 call configuration
GPIO07 configured as input
GPIO7 call configuration

Details:

  • The configuration of the inputs as “call; 1; 300” indicates the following:
    “call” > The input is configured to send alarm by voice call (the voice call will be made, but will not play any audio on the other end of the phone
    “1” > The 2 indicates that the digital input is configured to make the voice call by activation of the input (when it closes taking it to ground)
    “300” > Indicates the timeout of the digital input, in seconds. This means that, even if there are multiple changes in the digital input, there will never be more than 1 call in a 5-minute window (5 minutes = 300 seconds)