Skip to content

Instantly share code, notes, and snippets.

@DJMarlow
Last active March 31, 2021 13:51
Show Gist options
  • Save DJMarlow/c50b71a0a46cd8df84202ff972e35fa5 to your computer and use it in GitHub Desktop.
Save DJMarlow/c50b71a0a46cd8df84202ff972e35fa5 to your computer and use it in GitHub Desktop.

FLITE AND BRUCONTROL SUPPORT DOCUMENTATION

Download and Install BruControl

Go to https://brucontrol.com/ and download BruControl Software

Provide your email and purchase the Professional license https://brucontrol.com/product/brucontrol-application/

Note – BruControl Data Exchange requires a Profressional License

Flite uses BruControl's "Data Exchange" model to communciate between Flite and BruControl

Create Global Variables

Select menu and "ADD GLOBAL"

Add_Global

Select the "i" and modify the name of the global variable with the following syntax: GUID_Variable

GUID is the ID of your Flite controller

For example, if your controller ID was KSF9CIU2, you would create a global variable named KSF9CIU2_Level

Rename_Global

Level_Global

Repeat by creating global variables for GUID_Temperature and GUID_Pressure

All_Globals

BruControl can support multiple Flite controllers by creating separate sets of global variables with uniquie GUID prefixes

Enable Data Exchange

Select settings icon

Select "Data Exchange" menu option

Specify the port for the service to use (default is 8000)

Click RESERVE URL and enable the service

You should now see the service running like this:

Data_Exchange

Configure Server Firewall

Your BruControl server will need to allow inbound traffic on the port reserved. Configuration of this inbound rule may differ based on OS version

Open Windows Firewall, and select "Advanced Settings"

Select "Inbound Rules", and create new Inbound Rule

Follow the Inbound Rule wizard to allow connections to the port reserved during the BruControl data exchange configuration

  • Allow only the port needed for BruControl data exchange
  • Allow TCP
  • Only allow private network (if on a private home network)
  • Give the rule a unique name and save it

Configure Flite Display WiFi

Using a smartphone, tablet or PC, search for local WiFi networks

You should see a network with the name “Flite_” with the ID of your display

Connect your device to this network with the password provided

IMPORTANT – Keep your Flite WiFi password a secret. Only provide this to individuals that you trust on your local WiFi!

Open a browser (Chome, IE, Firefix, etc…) on the device connected to the Flite display’s web server, and enter 192.168.4.1 into the browser’s address bar

After a few seconds, you should be directed to a screen like this:

WebGUI_censored

Enter the local WiFi SSID and password of the SAME NETWORK as the BruControl server, then click “Update”

After updating, go back to 192.168.4.1 again and confirm the SSID and Password is correct under your current WiFi configuration

Click “Test Cloud Update”, and you should see your Flite display return to the main screen, along with a “WiFi” icon in the upper right-hand corner

After about 30-45 seconds, the “WiFi” icon should disappear and the current network name and IP should be updated on the Flite display

From this point forward, you should be able to browse the same user interface from an IP address local to your WiFi network. The network name and IP address should be displayed on your Flite display once it has connected to your local WiFi

Configure BruControl in Flite Controller

With a smartphone, tablet, or PC connected to the same WiFi network as your Flite display, open a browser (Chome, IE, Firefix, etc…) and enter the IP address (this can be located on the Flite display) into the browser’s address bar

After a few seconds, you should be directed to the Flite controller display

Scroll down to BRUCONRTOL CONFIGURATION

Check the “Enable” box under the BRUCONTROL CONFIGURATION bar

Enter the BruControl server IP address, and port number (port defined in "Enable Data Exchange" section), then click “Update”

BruControl_Configuration

Go back and click “Test Cloud Update”, and you should see your Flite display return to the main screen, along with a “WiFi” icon in the upper right-hand corner

After about 30-45 seconds, the “WiFi” icon should disappear and the current values should have updated on the BruControl display

All_Globals_With_Data

You will also notice the header indicates how many minutes until the next update. The Flite display will update the current values to BruControl approximately every 1 hour.

Additional BruControl Documentation

BruControl's built-in graphics and scripting features can now be leveraged to display your Flite controller's data.

For more information on the graphics and scripting capabilities of BruControl, review the user manual https://brucontrol.com/build/user-manual/

Additional BruControl documentation and support can be found on the BruControl forums at https://brucontrol.com/community/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment