X-Plane <-> EHID Interface
NON-COMMERCIAL, HOME USE ONLY. CONTACT ME FOR COMMERCIAL(NON HOME) USE. USE AT YOUR OWN RISK.
This software allows connection of EHID compatible hardware (mainly Cockpitsonic) with X-Plane. I'm only using with Cockpitsonic 737 panels and the Zibo737, but it should work with all panels and X-Plane aircrafts (some scripting required)
Requirements:
- ExtPlane
- FlyWithLua
- X-Plane
- Zibo737
- EHID + EHID XML B737 + get a EHID License
- Cockpitsonic (EHID) hardware
- C++ Redistributalbe 2015
Tested with:
- X-Plane 11.26
- Zibo 737 3.36
Setup:
- Install EHID and EHID_XML_B737. Enter the license information you got from the EHID developers.
- You can confirm everything is working as expected by opening EHID from your task bar. It should show the panels connect to your PC.
- If it doesn't show any device connected, your license is probably not installed correctly. A restart of EHID might he
- Install ExtPlane and FlyWithLua
- Copy the .lua files from the "Scripts" folder to "...\X-Plane 11\Resources\plugins\FlyWithLua\Scripts"
- After this step, all switch guards in the virtual cockpit should open automatically.
- If this doesn't happen, there is probably something wrong with your FlyWithLua installation
- Not all scripts are required. See "FlyWithLua" section below for more information
- Run ExtPlane_EHID.exe
- you should see every input/output in the monitor.
config/settings.cfg contains some settings which can be changed by the user. Open it with an editor of your choise, I recommend Notepad++. There is always one or two lines description followed by a value. Simply modify the value and save the file. Take care that there are no spaces (" ") behind or in front of the values For now, the following parameters can be changed:
IP Adress of the PC running X-Plane. Default: 127.0.0.1
You can change the brightness of your Displays (COMM, NAV, ADF, ATC, FLT/LAND ALT). Range: 0 (very dim) - 255 (very bright) "BRIGHT" is the default setting with the "LIGHTS" switch on the MIP in the "BRT" position and AC power available. "DIM" is the brightness value with the "LIGHTS" switch in the "DIM" position
When the BAT BUS voltage drops from 28V (AC Power on) to 24V (BAT ONLY), the annunciator and display brightness will decrease. This percentage sets by how much.
- Background brightness control
- Aft overhead (I don't own a cockpitsonic AFT overhead, please open an issue when needed)
These two Flywithlua scripts are required for a smooth operation of XP_EHID. Here you can find some more useful FWL Scripts for homecockpit builders: https://github.com/Clamb94/FlyWithLua-Scripts/
Required for use of XP_EHID. Can be used with other programs which execute X-Plane commands as well.
Opens all switch guards (black/red). Basically required for XP_EHID.