Set Up The Lr54 For Python Development; Create And Test A Python Application - Digi LR54 User Manual

Hide thumbs Also See for LR54:
Table of Contents

Advertisement

Applications

Set up the LR54 for Python development

1. Access the LR54 local web interface
a. Use an Ethernet cable to connect the LR54 to your local laptop or PC. 
The factory default IP address is 192.168.2.1
b. Log into the LR54 WebUI as a user with full admin access rights.
The default user name is admin and the default password is the unique password printed
on the label packaged with your device.
2. Go to the Configuration window
a. On the menu, click System.
b. Under Configuration, click Device Configuration. The Configuration window displays.
3. Enable service discovery (mDNS)
a. Click Services > Service Discovery (mDNS).
b. Enable the mDNS service.
Note
For more information, see
4. Configure SSH access
a. Click Services > SSH.
b. Click Enable.
Note
For more information, see the following topics:
authentication, and
5. Enable shell access
a. Click Authentication > Groups > admin.
b. Click the Interactive shell access option.
c. If this option is not displayed, see
6. Click Apply to save the configuration and apply the changes.
The Apply button is located at the top of the WebUI page. You may need to scroll to the top of
the page to locate it.

Create and test a Python application

To develop a Python application for the LR54:
1.
Set up the LR54 for Python
2. Create and test your application with:
PyCharm. You can create, build, and remotely launch your application in the LR54.
n
Your preferred editor and
n
in the LR54.
LR54 User Guide
Enable service discovery
Allow remote access for web administration and
development.
manually transfer the application, install dependencies, and launch
(mDNS).
Configure
SSH access,
SSH.
Disable shell
access.
Develop Python applications
Use SSH with key
714

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tx64

Table of Contents