PLUGIN SETUP

Automatic configuration for simulator integration

YOUR PERSONAL API KEY

No API key found. Generating...

🚀 INSTALLATION WIZARD
X-Plane Installation Wizard
0 / 5
Installation Progress0%
1

Download FlyWithLua

Install the FlyWithLua plugin framework (required)

Download and extract to: X-Plane 11/Resources/plugins/

Download FlyWithLua
2

Generate Your Plugin

Use the generator above to create your personalized plugin file

The file will be pre-configured with your email and API key - no manual editing required

3

Install Plugin File

Copy the .lua file to your Scripts folder

Path: X-Plane/Resources/plugins/FlyWithLua/Scripts/hems_command.lua

X-Plane/Resources/plugins/FlyWithLua/Scripts/hems_command.lua
4

Verify Configuration

Check your credentials are set correctly

USER_EMAIL = "undefined"
API_KEY = "undefined"
API_ENDPOINT = "https://hems.base44.app"
5

Launch & Test

Start X-Plane and verify the plugin loaded

Look for 'HEMS Command Panel' window in-sim. Check Log.txt for confirmation.

TROUBLESHOOTING GUIDE

X-Plane Installation

1

Install FlyWithLua (if needed)

Download from X-Plane.org and install to Resources/plugins/

X-Plane/Resources/plugins/FlyWithLua/
2

Download HEMS Plugin

Get the .lua script from Downloads → Simulator Plugins

3

Configure Your Credentials

Open the .lua file and edit these lines:

USER_EMAIL = "your@email.com"
API_KEY = "your-api-key"
API_ENDPOINT = "https://hems.base44.app"
4

Install to Scripts Folder

X-Plane/Resources/plugins/FlyWithLua/Scripts/hems_command.lua
5

Launch X-Plane

Plugin loads automatically. Look for "HEMS Command Panel" window in-sim

✓

Verification

Check Log.txt for "HEMS Command Plugin v3.0 Loaded" message

Microsoft Flight Simulator Installation

1

Download MSFS Package

Get the compiled WASM + HTML panel from Downloads section

2

Extract to Community Folder

C:\Users\YourName\AppData\Local\Packages\
Microsoft.FlightSimulator_...\LocalCache\Packages\Community\
3

Configure Credentials

Edit config.json in the package:

{ "user_email": "your@email.com", "api_key": "your-api-key", "api_endpoint": "https://hems.base44.app" }
4

Launch MSFS

Panel appears in toolbar. Press assigned key to toggle

✓

Test Connection

Click "Download Mission Plan" in panel to verify API connection

Common Issues & Solutions

Plugin not loading in X-Plane

• Check Log.txt for errors

• Ensure FlyWithLua is installed correctly

• Verify .lua file is in Scripts folder, not Scripts/disabled

No data appearing in web app

• Verify API_ENDPOINT matches your app URL exactly

• Check API key is correct (copy from above)

• Ensure firewall allows outbound connections

MSFS panel not showing

• Check Community folder path is correct

• Restart MSFS completely

• Look in toolbar for HEMS icon

ADVANCED: Manual Configuration

X-Plane Configuration

-- HEMS Command X-Plane Plugin Configuration
USER_EMAIL = "your.email@example.com"
API_KEY = "your-api-key"
API_ENDPOINT = "https://hems.base44.app/api/telemetry"

MSFS Configuration

// HEMS Command MSFS Plugin Configuration
const USER_EMAIL = "your.email@example.com";
const API_KEY = "your-api-key";
const API_ENDPOINT = "https://hems.base44.app/api/telemetry";

Note: Most users don't need manual configuration. The plugin auto-detects your credentials when you're logged in.

Install HEMS Command

Access missions offline on mobile

base44
Edit with Base44