-
Notifications
You must be signed in to change notification settings - Fork 0
Installation
| Requirement | Needed for |
|---|---|
| Git | Clone the repo |
| Python 3 | Run the backend |
| pip | Install Python packages |
| Python venv | Keep backend dependencies isolated |
| Discord Developer App | Discord OAuth login |
| Discord Client ID | Backend auth |
| Discord Client Secret | Backend auth |
| Discord Redirect URI | OAuth callback |
| SECRET_KEY | Flask sessions |
| ALLOWED_DISCORD_IDS | Restrict who can log in |
| Requirement | Needed for |
|---|---|
| Windows | Runs the connector EXE |
| Microsoft Flight Simulator 2020 or 2024 | SimConnect telemetry source |
Bundled SimpleSimConnector/ folder |
Contains the EXE, DLLs, and config |
| Running backend | Connector sends telemetry to backend |
Correct connector.ini |
Points connector at backend |
Keep these files together:
SimpleSimConnector/
├─ SimpleSimConnector.exe
├─ connector.ini
├─ SimConnect.dll
└─ Microsoft.FlightSimulator.SimConnect.dllDo not move only the .exe.
The DLLs must stay beside the EXE.
The backend:
- serves the web app
- handles Discord login
- stores flight history
- receives SimConnect telemetry
- powers the dashboard
- writes to the local SQLite database
Default URL:
http://localhost:5000Telemetry endpoint:
http://127.0.0.1:5000/api/telemetrySimpleSimConnector:
- runs on Windows
- waits for MSFS
- connects to SimConnect
- reads aircraft telemetry
- sends telemetry to the Flask backend
- can optionally install MSFS autostart
Default connector backend URL:
http://127.0.0.1:5000/api/telemetrygit clone https://github.com/Anord-cc/simplesim.git
cd simplesimOpen:
https://discord.com/developers/applicationsCreate an app, then add this OAuth redirect URI:
http://localhost:5000/auth/callbackCopy these values:
DISCORD_CLIENT_ID
DISCORD_CLIENT_SECRETFrom the repo root:
copy backend\.env.example backend\.env
notepad backend\.envUse this as the local setup:
DISCORD_CLIENT_ID=your_discord_client_id
DISCORD_CLIENT_SECRET=your_discord_client_secret
DISCORD_REDIRECT_URI=http://localhost:5000/auth/callback
SECRET_KEY=replace_with_a_long_random_secret
ALLOWED_DISCORD_IDS=123456789012345678
SIMCONNECT_CALLSIGN=SIMCONNECT
SIMCONNECT_DEP=
SIMCONNECT_ARR=
SIMCONNECT_AIRCRAFT=
SIMBRIEF_USERNAME=
SIMBRIEF_USERID=
PASSKEY_RP_ID=localhost
PASSKEY_ORIGIN=http://localhost:5000
PASSKEY_RP_NAME=VATSIM HeatTracker
TRACKER_POLL_SECONDS=20
TRACKER_MIN_INSERT_SECONDS=10
SIMCONNECT_STALE_SECONDS=30Generate a proper SECRET_KEY:
python -c "import secrets; print(secrets.token_hex(32))"Paste the generated value into:
SECRET_KEY=Set:
ALLOWED_DISCORD_IDS=your_discord_user_idFor multiple users:
ALLOWED_DISCORD_IDS=123456789012345678,987654321098765432Without this, login may succeed but access will be blocked.
python -m pip install --upgrade pip
pip install -r requirements.txtBackend packages installed:
flask
flask-cors
requests
python-dotenv
webauthn
SimConnectFrom the repo root:
python backend\app.pyOpen:
http://localhost:50001. Open http://localhost:5000
2. Sign in with Discord
3. Make sure your Discord ID is allowlisted
4. Link your VATSIM CID if needed
5. Open the dashboardDashboard:
http://localhost:5000/dashboardThis uses the bundled connector. No compiling needed.
From the repo root go to SimpleSimConnector:
You should see:
SimpleSimConnector.exe
connector.ini
SimConnect.dll
Microsoft.FlightSimulator.SimConnect.dllOpen:
notepad connector.iniDefault config:
# Simple Sim Connector settings
backend_url=http://127.0.0.1:5000/api/telemetry
local_api_enabled=true
local_api_port=4789
write_local_telemetry_file=true
wait_for_sim=true
auto_exit_with_sim=true
auto_exit_delay_seconds=10
sim_process_names=FlightSimulator2024,FlightSimulatorFor local use, keep:
backend_url=http://127.0.0.1:5000/api/telemetryFrom the repo root:
python backend\app.pyLeave it running.
Start one of these:
Microsoft Flight Simulator 2024
Microsoft Flight Simulator 2020The connector waits for these process names:
FlightSimulator2024
FlightSimulatorFrom the repo root:
.\SimpleSimConnector\SimpleSimConnector.exeOr from inside the connector folder:
.\SimpleSimConnector.exeThe connector window should show:
POST: http://127.0.0.1:5000/api/telemetry
Local API: http://0.0.0.0:4789/telemetry
MSFS connection status
Latest telemetryWhen MSFS is running and SimConnect is available, telemetry should start flowing into the backend.
You can install autostart from the connector UI.
Or run:
.\SimpleSimConnector\SimpleSimConnector.exe --install-autostartTo remove autostart:
.\SimpleSimConnector\SimpleSimConnector.exe --uninstall-autostart