31 Remote Control via Pgytech
Remote Control with PgyVisitor
In this chapter, we will use PgyVisitor for remote control beyond the local network.
Preparation
If the product is in AP mode, it cannot access the external network. Follow the network configuration tutorial to switch the car to STA mode and connect it to a known network that has internet access.
1.1 Register a PgyVisitor Account
Register an account on the Beri PgyVisitor official website, then log in to the PgyVisitor network management platform with this account.
On the home page, click "Create Network" and then "Manage".
In this interface, you need to add software members to the network. These software members are actually devices such as computers, phones, UGVs, etc.
Customize the member name and password.
After adding members, you can click the eye icon to the right of SN/UID/SID or click "View Details" to see the detailed UID for later device login.
1.2 Configure PgyVisitor on the Upper Computer
Run the following command in the terminal to download the PgyVisitor client package:
wget https://pgy.oray.com/softwares/153/download/2549/PgyVisitor-6.9.0-arm64.deb
Run the following command in the terminal to install the PgyVisitor client package:
sudo dpkg -i PgyVisitor-6.9.0-arm64.deb
Run the following command in the terminal and press Enter to log in interactively:
pgyvisitor login
Enter the UID corresponding to the member in the management center.
Then enter the corresponding password.
After successful login, you can view the device online status in the management center.
If you need automatic login at every boot, run the following command:
pgyvisitor autologin -y
To disable automatic login at boot, run:
pgyvisitor autologin -n
The following command logs out the current PgyVisitor UID login:
pgyvisitor logout
1.3 Install and Configure the PgyVisitor Client on PC
Visit the [Beri PgyVisitor official website](https://pgy.oray.com/download/) and install the PgyVisitor client on your PC.
After opening the client, enter the UID account and corresponding password set in the management center.
Then click "My Network" in the client to see the IP address of the car.
Enter the car's IP:5000 in your browser to access the upper computer's web interface.
Using the Product Upper Computer
- 01 JupyterLab Basics and Robot Introduction
- 02 Python Chassis Motion Control
- 03 Pan-Tilt Control and LED Light Control
- 04 OLED Screen Control
- 05 Build UI interface in JupyterLab
- 06 Get Chassis Feedback
- 07 Use JSON Commands to Control Slave Device
- 08 Slave Device JSON Instruction Set
- 09 Automatically Send Instructions When Powered On
- 10 Play Audio Files
- 11 Text to Speech (TTS)
- 12 Implement Low Latency Video Transmission with Flask
- 13 Display Real-Time Screen in Jupyter Lab
- 14 Time-Lapse Photography
- 15 OpenCV Motion Detection
- 16 Take Photos by Pressing Buttons
- 17 OpenCV Face Recognition
- 18 Object Recognition Based on DNN (Deep Neural Network)
- 19 Color Recognition Based on OpenCV
- 20 Color Tracking Based on OpenCV
- 21 Auto Driving of Patrol Lines Based on OpenCV
- 22 Gesture Recognition Based on MediaPipe
- 23 Face Recognition Based on MediaPipe
- 24 Pose Detection Based on MediaPipe
- 25 Simple Web Application
- 26 Introduction to Main Program Architecture
- 27 YAML Configuration File Settings
- 28 Automatically Run Scripts at Startup
- 29 Custom Command Line Functionality
- 30 Web Command Line Applications