Clamb94 / XP_EHID

X-Plane <-> EHID Interface
4 stars 0 forks source link
737 cockpitsonic ehid x-plane zibo zibo737

XP_EHID

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:

Tested with:

Setup:

  1. 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
  2. Install ExtPlane and FlyWithLua
  3. 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
  4. Run ExtPlane_EHID.exe
    • you should see every input/output in the monitor.

Configuration

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:

X-Plane PC IP:

IP Adress of the PC running X-Plane. Default: 127.0.0.1

Display / Annunciator brightness

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

//annunciator+display brightness at 24VDC compared to 28VDC in % (0-100)

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.

Todo

FlyWithLua Scripts

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/

ZiboCommands.lua

Required for use of XP_EHID. Can be used with other programs which execute X-Plane commands as well.

OpenGuards.lua

Opens all switch guards (black/red). Basically required for XP_EHID.