Wiki source code of Processor Setup

Version 32.1 by Alexander Mott on 2022/09/16 21:01

Show last authors
1 (% class="box errormessage" %)
2 (((
3 This page is for typical processor setup; for ZUM-HUB4 deployments, see our [[dedicated ZUM-HUB4 page>>doc:SHOWRUNNER™ Setup Guide.SHOWRUNNER™ Installation Guide.SHOWRUNNER™ Installation and Network Setup.ZUM-HUB4 Processor Setup.WebHome]].
4 )))
5
6 (% class="box warningmessage" %)
7 (((
8 SHOWRUNNER™ is tested against current Crestron firmware releases. **Please use at least the recommended firmware builds.**
9
10 * 3-Series: PUF 1.8001.0146
11 * 4-Series: PUF 2.7000.00052.01
12 * VC-4: 2.7000.00047
13
14 **Notes:**
15
16 * Static IP or properly setup DHCP/DNS implementation required.
17 * Auto-Assigned/Link-Local IP address range of 169.254.x.x not supported (Crestron xPanel issue)
18 )))
19
20 {{box title="**Contents**"}}
21 {{toc/}}
22 {{/box}}
23
24 (% class="row" %)
25 (((
26 **ShowRunner Installation Tutorial:**
27
28 [[https:~~/~~/www.youtube.com/watch?v=xuJ94cMCCa8>>url:https://www.youtube.com/watch?v=xuJ94cMCCa8]]
29
30 **Licensing tutorial:**
31
32 //Note: Please use Chrome or Firefox to download the License from [[https:~~/~~/portal.chiefintegrations.com>>https://portal.chiefintegrations.com]].  Edge and Internet Explorer do not work properly.//
33
34 [[https:~~/~~/www.youtube.com/watch?v=H8CLZ7bp0eI>>url:https://www.youtube.com/watch?v=H8CLZ7bp0eI]]
35
36 = IP Configuration =
37
38 * Connect to the processor via USB and set the processor’s IP Address per your network requirements
39 ** When connecting to a 4-Series processor or a 3-Series processor with authentication enabled for the first time, it will prompt for the creation of an admin-level CWS user
40 *** Input the desired username and password into the dialog box. Save this login information, as it is not possible to recover if it is lost or forgotten
41 *** In the event that the processor does not allow you to log in with the chosen credentials (i.e. it repeatedly prompts for credentials)
42 **** Attempt to log in with username "crestron" and no password
43 **** Once logged into Text Console, run the following commands, replacing the "username" and "password" with your desired credentials
44 ***** ##adduser -N:username -P:password##
45 ***** ##addusertogroup -N:username -G:Administrators##
46 ** Once connected, open Text Console and run the following commands to configure the processor's IP settings (example is for a **10.0.0.0(% style="color:darkgoldenrod" %)/24(%%)** subnet, with a processor IP address of (% style="color:blue" %)**10.0.0.10**(%%))
47 *** Disable DHCP: ##dhcp 0 off##
48 *** Set IP address: ##ipa 0 (% style="color:blue" %)**10.0.0.10**(%%)##
49 *** Set IP subnet mask: ##ipm 0 (% style="color:darkgoldenrod" %)**255.255.255.0**(%%)##
50 *** Set default gateway: ##defr 0 **10.0.0.1**##
51 *** Set hostname: ##host AP3-CPP##
52 *** Reboot the processor: ##reboot##
53 ** It is also possible to configure a processor over Ethernet by using a DHCP server software on your laptop to assign an IP address
54 *** Configure your DHCP server software to assign IP addresses in the desired range
55 *** Once the processor is assigned an IP address, connect to it via Text Console at the assigned IP address
56 *** Run the above commands to disable DHCP and assign a static IP address to the processor
57 * For processors with a Control Subnet (CP3N/AV3/PRO3/CP4N/AV4/PRO4/ZUM-HUB4), additional setup is required
58 ** Connect to the processor via Text Console and run the command: ##startprogafterrouter on##
59 *** This will force the processor to wait until the router has started before attempting to load the showrunner™ program, avoiding potential license validation issues if the processor boots up before the router.
60 ** The previously listed "ipa," "ipm," etc. commands will configure settings for the processor's LAN port, which should be connected to the building LAN or third party network.
61 ** Lighting control hardware (e.g. TSWs, DIN-CENCN-2s, etc.) should be connected to the Control Subnet port. The processor acts as a DHCP server on the Control Subnet, with addresses that are determined automatically based on the LAN configuration.
62 ** The Control Subnet will automatically configure itself based on the LAN configuration, but it can optionally be configured manually:
63 *** Using the "Functions>Ethernet Addressing...>Control Subnet" menu of Toolbox:
64 **** Set routing to "Manual" with the start address and subnet size
65 **** E.g., a setting of "100.64.0.0/20" will have the processor at 10.64.0.1 with an IP mask of 255.255.240.0 and a default gateway and DNS server at 100.64.0.2
66 *** Using Text Console commands (example for a **100.64.0.0/20** subnet, with a processor IP address of **100.64.0.1**)
67 **** Set CS IP: ##csrouterprefix **100.64.0.0/20**##
68 **** Reboot the processor: ##reboot##
69 * If the job has multiple processors, then these steps must be repeated for all processors on the job
70 ** For jobs with Central Control, the IP addresses of the processors matters
71 ** Chief Integrations will provide an SRTakeoff.xlsx spreadsheet with an IP Table tab that lists the IP address for each processor. If these IP addresses must be changed during startup, then it will be necessary to also change the IP addresses in the Remote System Definition in the configuration file
72 ** See the[[ CoAP Setup Guide>>doc:SHOWRUNNER™ Integrations Guide.Integration Options.CoAP with Crestron S# Library and Modules.CoAP ShowRunner to ShowRunner Setup Instructions.WebHome]] for details
73
74 = Program Load =
75
76 * Download the latest build of SHOWRUNNER™ from the[[ Chief Integrations Portal>>https://files.chiefintegrations.com/index.php/s/WHNzXrrZbB5jC3E]]
77 * Connect your computer to the same network as the processor. Make sure your computer’s IP settings are compatible with the lighting network and do not conflict with any devices already on the network
78 ** While it is possible to load the program via USB, it is not recommended because the transfer speed is significantly slower than loading via Ethernet
79 * Double click the PUF to open the Package Update Tool and install SHOWRUNNER™ (works best with Toolbox closed)
80 ** The Package Update Tool will automatically open your Address Book and prompt you to select a device
81 *** If you have not created an Address Book for this job, close the Address Book window and press the pencil icon
82 *** Type in the IP address of your processor and click "OK"
83 ** Double check that the correct PUF file is listed under the "Package Info" section and that the correct IP address is listed under "Target"
84 ** Press the "Recheck" button
85 ** Make sure that all three tasks are selected ("Load ShowRunner Program", "Update Crestron App", and "Update XPanel")
86 ** Press the "Update" button to begin loading SHOWRUNNER™
87 * Sometimes the PUF tool will falsely report a failure to load the program
88 ** Connect to the processor via Text Console
89 ** Run the command ##sr ver##
90 ** If the console returns with the newly installed version of SHOWRUNNER™, then the installation was successful
91 ** If the console returns with "Bad or Incomplete Command (sr)" then the installation was not successful
92 *** Rename the downloaded .puf file to be a .zip file and open the archive
93 **** Some file archivers (such as 7-Zip) allow you to right click on the PUF file and open the archive without changing the filetype
94 *** Extract the "CI.Lighting.ShowRunner.cpz" file
95 *** In Toolbox, connect to the processor via Text Console, click the lightning bolt icon, and select "SIMPL Program..."
96 **** Alternatively, navigate to Functions>SIMPL Program...>SIMPL Program (Program01)...
97 *** Under the "Send Program" section, browse your PC and select the extracted .cpz file
98 *** Click the "Send" button and click "Yes" to upload the program
99 *** Once it is done loading, you should be able to run the ##sr ver## command and see the currently installed version of SHOWRUNNER™
100 * Once SHOWRUNNER™ is loaded, you can connect to the UI by navigating to the processor’s IP. A license and configuration file are still required.  
101 ** **3-Series processors require authentication enabled** (SSL self can be used but steps will need to be repeated)
102 ** If stuck on "Connecting to Processor" you will need to accept the certificate
103 * For jobs with multiple processors, SHOWRUNNER™ will need to be loaded to each processor
104
105 = License and Configuration Deployment =
106
107 * Download the SrConfig.json or CiLightingConfig.json configuration file from the link provided by Chief Integrations
108 * Obtain and download the license from [[https:~~/~~/portal.chiefintegrations.com>>url:https://portal.chiefintegrations.com]]
109 ** Processors with a Control Subnet should use the LAN MAC address, **not** the Control Subnet MAC address
110 * The license and configuration can be loaded with Toolbox using Text Console and File Management, or through the showrunnerHUB™ web interface
111 ** Using Toolbox:
112 *** Connect to the processor via Text Console and via File Management
113 *** In File management, navigate to the "NVRAM>sr" folder from the left-hand menu
114 *** Right-click on the right-hand side and select "Copy File(s) From..." and select the downloaded License.lic file
115 **** Alternatively, drag and drop the file from your computer to the File Management tool
116 *** Using the left-hand menu, navigate to the "NVRAM>sr>default" folder
117 *** Right-click on the right-hand side and select "Copy File(s) From..." and select the downloaded SrConfig.json file
118 **** Alternatively, drag and drop the file from your computer to the File Management tool
119 **** If you downloaded a CiLightingConfig.json file, it must be renamed to "SrConfig.json"
120 ** Using the showrunnerHUB™ UI:
121 *** Using Chrome or Firefox, navigate to the processor's IP address
122 *** When prompted, input your credentials and log in
123 **** 4-Series processor or 3-Series processor with authentication enabled: Log in using the same admin credentials used to connect to the processor
124 **** 3-Series processor without authentication enabled: Connect to the processor via Text Console and run the following command, replacing the "username", "name" and "password" with your desired credentials.
125 ***** ##sradmin username "name" administrators password##
126 ***** The username and password should be one word each and are the credentials used to log in to the showrunnerHUB™
127 ***** The name can be multiple words as long as it is in quotes, and is simply a friendly name used to identify each user.
128 *** Once logged in to the showrunnerHUB™ UI, you should be automatically redirected to the File Management page
129 **** If you are not automatically redirected, then you can navigate to this page by clicking "Setup" in the top right and then selecting "File Management" from the list on the left
130 **** [[image:1654807593390-193.png]]
131 **** Under “Upload New License File”
132 ***** Leave "Restart after transfer" unchecked
133 ***** Select “Choose File” and browse for the license file you downloaded from the portal
134 ***** Select “Upload”
135 **** Load the configuration file either directly (if you have an SrConfig.json file) or from a backup (if you have an SRBackup.zip)
136 ***** Direct upload:
137 ****** Under “Upload New Config File”
138 ****** Select “Choose File” and find the provided CiLightingConfig.json or SrConfig.json file for this processor from the project link that was sent at project delivery.
139 ****** Select “Upload”
140 ***** From a Backup:
141 ****** Select "Restore"
142 ****** Select "Choose Backup" and find the SRBackup.zip of the backup you wish to restore
143 ****** Enter the secret used to create the backup. ShowRunner will upload the file and verify the secret.
144 **** Once both the license and either a configuration file or backup have been loaded, click "Restart"
145 **** Wait for the processor to finish restarting and then reload the page.
146 ***** 3-Series processors will take 45 to 90 restart
147 ***** 4-Series processors should restart considerably faster
148
149 = Set System Time =
150
151 It is important for the device clock to be accurate in order for scheduled events to trigger at the appropriate time. If Toolbox is still open, this can be done easily:
152
153 * Connect to the processor via Text Console
154 * At the top of the Toolbox window, navigate to Functions>System Clock...
155 * If your computer is in the correct timezone, click Synchronize Device Time with PC
156 ** The Timezone and Device Time should synchronize automatically
157 ** If your PC is in the incorrect Timezone or the time did not synchronize properly, then manually adjust the Time, Date, and Timezone
158 * Press the Apply button
159
160 Note that the Location given in the System Clock... menu of Toolbox is not used by SHOWRUNNER™. Instead, the location used for sunrise/sunset calculations is stored in the configuration and will typically be set by Chief Integrations prior to delivery of the configuration. Both the location and time can be viewed and edited using the SHOWRUNNER™ UI
161
162 * SHOWRUNNER™ XPanel UI:
163 ** Navigate to Settings>Location and System Clock
164 ** Press the Lock icon to enable editing
165 ** Adjust the time, timezone, and location as necessary
166 ** Press Set System Clock to save the changes
167 * showrunnerHUB™ Web UI:
168 ** Navigate to Setup>System Settings>Location and System Clock
169 ** Adjust the time, timezone, and location as necessary
170 ** Click Apply to save the changes
171 )))