Set-up
Entering WIFI Details
- Navigate to the folder
lib\XPyDeck\, and find and openwebInfo.json - Change the line
"networkName":"",to"networkName":"YOUR WIFI NETWORK NAME", - Change the line
"networkName":"",to"networkPassword": "YOUR WIFI NETWORK PASSWORD",
YOUR WIFI NETWORK NAME and YOUR WIFI NETWORK PASSWORD are your wifi name and password respectively.
for example, the lines could look like:
"networkName":"my WIFI",
"networkPassword": "Password123",- Find the IP address of the computer running X-Plane. Enter this IP address in the line
"ip"in the same file where you entered your wifi details in the same way you did with these details.
for example, the line could look like:
"ip": "192.0.2.1",The final file could look like:
(for now, do not change the port)
{
"networkName":"my WIFI",
"networkPassword": "Password123",
"ip":"192.0.2.1",
"port":62317
}All this information will be kept on the Raspberry Pi Picos and will not be communicated over the web; it will only be used in the local python file titled "Network.py" on your pico device. So as long as your pico is safe, the details you enter here will be safe.
Installing The Library
Make a copy of the lib/XPyDeck/ folder in the main directory of each Raspberry Pi Pico W. If there is already lib/ directory here (from your other projects for example), you can merge the folders or move the XPyDeck/ in lib/ on your computer to lib/ on the pico device.