Giter VIP home page Giter VIP logo

xp_ehid's Introduction

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:

  • X-Plane 11.26
  • Zibo 737 3.36

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

  • Background brightness control
  • Aft overhead (I don't own a cockpitsonic AFT overhead, please open an issue when needed)

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.