This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
configuration:sms-control [2015/08/27 07:17] – [Usage] hess | configuration:sms-control [2017/12/04 17:26] (current) – [Starting the SMS Control script] fachet | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== SMS Control ====== | + | ====== |
===== Configuration ===== | ===== Configuration ===== | ||
- | - Enable the SDK: Services->SDK-> | + | - Enable the SDK: Services |
- | - Services->SDK->Job Management->Scripts-> [+] Create a new Script | + | - Services |
* Name: e.g. smscontrol | * Name: e.g. smscontrol | ||
* Descr. e.g. smscontrol | * Descr. e.g. smscontrol | ||
* Arguments: " | * Arguments: " | ||
* choose the sms-control.are from the Example Skript in the select area | * choose the sms-control.are from the Example Skript in the select area | ||
- | - Services->SDK->Job Management->Trigger-> [+] Create a new Trigger | + | - Services |
* Name e.g. sms-in | * Name e.g. sms-in | ||
* Type: event-based | * Type: event-based | ||
* Event: sms-received Put the trigger and the script into one job: | * Event: sms-received Put the trigger and the script into one job: | ||
- | - Services->SDK->Job Management->Jobs->[+] Create a new Job | + | - Services |
* Name: smsServer | * Name: smsServer | ||
* Script: smscontrol | * Script: smscontrol | ||
Line 18: | Line 18: | ||
===== Usage ===== | ===== Usage ===== | ||
Sending an SMS to the SIM card number: \\ | Sending an SMS to the SIM card number: \\ | ||
- | 1 line: NetModule-Password | + | First line: <admin password> |
- | 2 line: output 1/2 on/off, reboot, | + | Second |
+ | |||
+ | ==== Example ==== | ||
+ | <code - SMS.txt> | ||
+ | admin01 | ||
+ | status | ||
+ | output 1 on | ||
+ | output | ||
+ | output 1 off | ||
+ | output 2 off | ||
+ | disconnect | ||
+ | connect | ||
+ | reboot | ||
+ | </ |