-
Notifications
You must be signed in to change notification settings - Fork 11
Preparing for CrestronMobile
This page will guide you through setting up your GUI to use CrestronMobile.
TODO
For each Crestron processor you want to connect to, create one TCP external system in guiDesigner.
Here is a guiDesigner screenshot with the settings you should use:
You also need to create one Feedback Item for this external system to make sure that the CrestronMobile module receives data from the processor:
Select the Edit > Project Properties menu item then click the Script Manager button in the dialog box. Click the Add Script button, browse to add the CrestronMobileV3.js
file to your project.
If you are using the Configured mode of CrestronMobile (see the Configuration wiki page), make sure you add a separate JavaScript file containing your configuration. It is good practice not to modify the original CrestronMobile JavaScript file, for painless updates.
The first time you run your GUI with CrestronMobile and use iViewer's Remote Debugger, you'll see a lot of debugging output appearing in the log. This is normal, CrestronMobile ships with debug messages enabled by default to assist in initial setup and troubleshooting.
Once you're satisfied with the way it works and your GUI is properly configured, turn off the debug flag by editing the CrestronMobileV3.js
script and setting debug: false
at beginning of the file (look around line 20, or search for the string debug: true
).