31 Remote Control via Pgytech

From Waveshare Wiki
Jump to: navigation, search

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.

WXWorkCapture 17766546386407.png

On the home page, click "Create Network" and then "Manage".

WXWorkCapture 17766547774761.png

In this interface, you need to add software members to the network. These software members are actually devices such as computers, phones, UGVs, etc.

WXWorkCapture 17766548237943.png

Customize the member name and password.

WXWorkCapture 17766549255841.png

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.

WXWorkCapture 17766549642436.png

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

企业微信截图 17347750099364.png

Run the following command in the terminal to install the PgyVisitor client package:

sudo dpkg -i PgyVisitor-6.9.0-arm64.deb

企业微信截图 17347751609357.png

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.

企业微信截图 17347752267123.png

Then enter the corresponding password.

企业微信截图 17347752946764.png

After successful login, you can view the device online status in the management center.

企业微信截图 17347753224738.png

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.

企业微信截图 17347754968923.png

After opening the client, enter the UID account and corresponding password set in the management center.

企业微信截图 1734775604508.png

Then click "My Network" in the client to see the IP address of the car.

企业微信截图 17347756922007.png

Enter the car's IP:5000 in your browser to access the upper computer's web interface.

企业微信截图 17347757615105.png

Using the Product Upper Computer