Use Python To Send And Receive Sms Messages - Digi Connect IT Mini User Manual

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

Advertisement

Applications
4. Upload the name to Remote Manager:
>>> name.upload("my_name")
Use Ctrl-D to exit the Python session. You can also exit the session using exit() or quit().
5.
Help for upload the device name to Digi Remote Manager
Get help for uploading the device name to Digi Remote Managerby accessing help for
digidevice.name:
1. Log into the Connect IT Mini command line as a user with shell access.
Depending on your device configuration, you may be presented with an Access selection
menu. Type shell to access the device shell.
2. At the shell prompt, use the python command with no parameters to enter an interactive
Python session:
# python
Python 3.6.10 (default, Jan 31 2020, 08:45:19)
[GCC 8.3.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>
3. Import the name submodule:
>>> from digidevice import name
>>>
4. Use the help command with name:
>>> help(name)
Help on module digidevice.name in digidevice:
NAME
digidevice.name - API for uploading name from the device
...
5. Use Ctrl-D to exit the Python session. You can also exit the session using exit() or quit().

Use Python to send and receive SMS messages

You can create Python scripts that send and receive SMS message in tandem with the Digi Remote
Manager or Digi aView by using the digidevice.sms module. To use a script to send or receive SMS
messages, you must also enable the ability to schedule SMS scripting.
Enable the ability to schedule SMS scripting
É
  WebUI
1. Log into the Connect IT Mini WebUI as a user with full Admin access rights.
Digi Connect IT® Mini User Guide
Digidevice module
373

Advertisement

Table of Contents
loading

Table of Contents