Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
app-hotes:wwan-statistics [2025/11/24 16:27] – [3. Set up the SDK script on the router] grayapp-hotes:wwan-statistics [2025/11/24 17:16] (current) – [4. Important settings in the SDK script] gray
Line 322: Line 322:
  
 ---- ----
 +
 +Here, too, pressing the plus button opens a new window with insertion options. 
 +
 +{{:app-hotes:volum_trigger.png?950|}}
 +
 +Again, start by assigning a ''name'' to the SDK process. Use the ''“event-based”'' option as the trigger type for this script. Select the ''“sdk-startup”'' event from the list. Why do we use these settings for the script? The script was created as an endless script. The commands are controlled and executed in the script. Errors are output and the program is then terminated. The event starts the script when the daemon of the SDK program is started by the router. This is also advantageous if the watchdog restarts the SDK daemon on the router. In this case, the script is also reactivated.  The ''“Apply”'' button saves the changes back to the router.
 +
 +----
 +
 +In the last step, we activate the SDK script on the router. 
 +
 +{{:app-hotes:volum_job.png?950|}}
 +
 +Again, enter the name for the SDK process first. If you want to activate the first SDK script on the router, the two fields “Trigger” and “Script” are already filled with the options you set up earlier. If you already have multiple scripts, you must select the correct option (Trigger and Script) from the pull-down menu. As before, click “Apply” to apply the setting to the router. In this case, the SDK script is also activated.
 +
 +----
 +
 +{{:app-hotes:volum_status.png?950|}}
 +
 +Using the Administration option under point 1, you can view information under the Status tab, point 2, to see whether the SDK script has started correctly and is running without errors. 
 +
 +----
 +
 +
  
 ===== - Important settings in the SDK script ===== ===== - Important settings in the SDK script =====
 +
 +**
 +<WRAP center round important 60%>
 +Please only make changes in this section of the block.
 +</WRAP>
 +**
 +
 +What options do you have for modifying the SDK script to suit your needs?
 +
 +{{:app-hotes:volum_skrip_info.png?950|}}
 +
 +Under ''point 1'', the interval can be determined by the SDK script. Here, ''1200 seconds (20 minutes)'' have been stored.
 +
 +Under ''point 2'', the data volume of the SIM card for one month can be stored. A volume of ''30 GB'' has been stored as an example.
 +
 +An email address must be entered under ''point 3''. Alarm and information messages will be sent to this address.
 +
 +A phone number for the SMS service must be entered under ''point 4''. Alarm messages will then be sent to this number when the SIM card has used up its volume for that month.
 +
 +Under ''point 5'', you can enter the time for alarm messages when ''90 percent'' of the data volume has been used up.
 +
 +Under ''point 6'', you can enter the time for information messages when ''75 percent'' of the data volume has been used up.
 +
 +Under ''point 7'', you can enter the time for information messages when ''50 percent'' of the data volume has been used up.
  
 ---- ----