Digi Connect IT Mini User Manual page 364

Hide thumbs Also See for Connect IT Mini:
Table of Contents

Advertisement

Applications
if error_code != 0:
print("error handling showSystem device request: %s" % error_description)
device_request.register("showSystem", handler, status_callback = status_cb)
# Do not let the process finish so that it handles device requests
while True:
time.sleep(10)
2. Upload the showsystem.py application to the /etc/config/scripts directory on two or more Digi
devices. In this example, we will upload it to two devices, and use the same request in Remote
Manager to query both devices.
See
Configure applications to run automatically
applications to your device. You can also create the script on the device by using the vi
command when logged in with shell access.
3. For both devices:
a. Configure the device to automatically run the showsystem.py application on reboot, and to
restart the application if it crashes. This can be done from either the WebUI or the
command line:
É
  WebUI
i. Log into the Connect IT Mini WebUI as a user with full Admin access rights.
ii. On the menu, click System. Under Configuration, click Device Configuration.
The Configuration window is displayed.
iii. Click System > Scheduled tasks > Custom scripts.
iv. Click gto add a custom script.
v. For Label, type Show system application.
vi. For Run mode, select On boot.
vii. For Exit action, select Restart script.
Digi Connect IT® Mini User Guide
for information about uploading Python
Digidevice module
364

Advertisement

Table of Contents
loading

Table of Contents