Motadata SMS alerts & notifications – integration manual
Here we describe how to setup Motadata with SMSEagle for SMS alerts & notifications.
SMSEagle is an offline hardware SMS gateway. Therefore no external connection to 3rd party system is required. All notifications are generated on-premise and sent directly to a cellular network. This solution can be used in secure installations without Internet access.
SMSEagle Setup
Motadata uses API to communicate with SMSEagle.
- Create a new user in SMSEagle (menu Users > + Add Users, user access level: “User”).
- Grant API access to the created user:
- click Access to API beside the newly created user
- Enable APIv1
- Generate new token (copy it for later use)
- Add access permissions in section APIv1 Permission for: send_sms, send_tocontact, send_togroup
- Save settings
Motadata Setup
1. Go to Actions (from the Menu on the left panel). Click New button on the right side to create a new action.
2. Fill the fields:
- Action name: SMSEagle Alert
- Action: choose SMS Alert
- Recipients: Number where you would like to receive SMS texts
- Message: You can leave the deafult placeholders, or modify it to your needs.
- SMS Gateway URL: https://url-of-smseagle/index.php/http_api/send_sms?access_token=smseagle-token&to={to}&message={message}
- SMS Timeout: 5
Replace:
- url-of-smseagle with actual IP address of the SMSEagle device
- smseagle-token with already generated token for newly created user
3. Once the action is created, match it with the alert.