Digi IX20W-PR User Manual page 799

Table of Contents

Advertisement

Applications
Develop an application in PyCharm
The Digi IoT PyCharm Plugin allows you to write, build and run Python applications for Digi devices in
a quick and easy way. See the
This is what you can do with it:
Create Python projects from scratch or import one of the available examples.
n
Get help while you write your code thanks to the syntax highlight, quick documentation, and
n
code completion features.
Build and upload Python applications to your Digi device with just one click.
n
Add libraries that facilitate the usage of external peripherals or non-standard APIs.
n
Communicate with your Digi device through the integrated SSH console to see the application
n
output or execute quick tests.
Manually install and launch an application
To create, build, and launch your application:
1. Write your Python application code. Code can include:
Any Python 3.6 standard feature.
n
n
Access to the IX20 configuration and hardware with the
n
Third-party modules included in the IX20, for example:
pySerial 3.4
l
Eclipse Paho MQTT Python Client
l
n
Any other third-party module implemented in Python.
2. Install the application in /etc/config/scripts directory.
3. Launch your application:
n
Run your application at the shell
n
Configure your application to run
PyCharm FAQ: My IX20 is not listed in Digi Device Selector
If an IX20 does not appear on the list of the Digi Device Selector:
n
Ensure that your device has the mDNS service enabled and is on the same network as the
computer. See
n
Or click the link Click here to add it manually to specify the IP address, port, username, and
password.
IX20 User Guide
Digi XBee PyCharm IDE Plugin User Guide
prompt.
Set up the IX20 for Python
Develop Python applications
for details.
Python
automatically.
development.
modules.
799

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ix20Ix20wIx20-pr

Table of Contents