Wiki source code of Processor Setup

Version 26.1 by Alexander Mott on 2022/07/07 13:32

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 3-Series: PUF 1.8001.0146
10 4-Series: PUF 2.7000.00052.01
11 VC-4: 2.7000.00047
12 )))
13
14 (% class="box infomessage" id="HNotes" %)
15 (((
16 Notes
17 Static IP or properly setup DHCP/DNS implementation required.
18 Auto-Assigned/Link-Local IP address range of 169.254.x.x not supported (Crestron xPanel issue)
19 )))
20
21 **ShowRunner Installation Tutorial:**
22
23 [[https:~~/~~/www.youtube.com/watch?v=xuJ94cMCCa8>>url:https://www.youtube.com/watch?v=xuJ94cMCCa8]]
24
25 **Licensing tutorial:**
26
27 //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.//
28
29 [[https:~~/~~/www.youtube.com/watch?v=H8CLZ7bp0eI>>url:https://www.youtube.com/watch?v=H8CLZ7bp0eI]]
30
31 === IP Configuration ===
32
33 * Connect to the processor via USB and set the processor’s IP Address per your network requirements
34 ** 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
35 *** 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
36 *** In the event that the processor does not allow you to log in with the chosen credentials (i.e. it repeatedly prompts for credentials)
37 **** Attempt to log in with username "crestron" and no password
38 **** Once logged into Text Console, run the following commands, replacing the "username" and "password" with your desired credentials
39 ***** ##adduser -N:username -P:password##
40 ***** ##addusertogroup -N:username -G:Administrators##
41 ** 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**(%%))
42 *** Disable DHCP: ##dhcp 0 off##
43 *** Set IP address: ##ipa 0 (% style="color:blue" %)**10.0.0.10**(%%)##
44 *** Set IP subnet mask: ##ipm 0 (% style="color:darkgoldenrod" %)**255.255.255.0**(%%)##
45 *** Set default gateway: ##defr 0 **10.0.0.1**##
46 *** Set hostname: ##host AP3-CPP##
47 *** Reboot the processor: ##reboot##
48 ** It is also possible to configure a processor over Ethernet by using a DHCP server software on your laptop to assign an IP address
49 *** Configure your DHCP server software to assign IP addresses in the desired range
50 *** Once the processor is assigned an IP address, connect to it via Text Console at the assigned IP address
51 *** Run the above commands to disable DHCP and assign a static IP address to the processor
52 * For processors with a Control Subnet (CP3N/AV3/PRO3/CP4N/AV4/PRO4/ZUM-HUB4), additional setup is required
53 ** Connect to the processor via Text Console and run the command: ##startprogafterrouter on##
54 *** 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.
55 ** 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.
56 ** 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.
57 ** The Control Subnet will automatically configure itself based on the LAN configuration, but it can optionally be configured manually:
58 *** Using the "Functions>Ethernet Addressing...>Control Subnet" menu of Toolbox:
59 **** Set routing to "Manual" with the start address and subnet size
60 **** 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
61 *** Using Text Console commands (example for a **100.64.0.0/20** subnet, with a processor IP address of **100.64.0.1**)
62 **** Set CS IP: ##csrouterprefix **100.64.0.0/20**##
63 **** Reboot the processor: ##reboot##
64 * If the job has multiple processors, then these steps must be repeated for all processors on the job
65 ** For jobs with Central Control, the IP addresses of the processors matters
66 ** 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
67 ** 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
68
69 === Program Load ===
70
71 * Download the latest build of SHOWRUNNER™ from the[[ Chief Integrations Portal>>https://files.chiefintegrations.com/index.php/s/WHNzXrrZbB5jC3E]]
72 * 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
73 ** 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
74 * Double click the PUF to open the Package Update Tool and install SHOWRUNNER™ (works best with Toolbox closed)
75 ** The Package Update Tool will automatically open your Address Book and prompt you to select a device
76 *** If you have not created an Address Book for this job, close the Address Book window and press the pencil icon
77 *** Type in the IP address of your processor and click "OK"
78 ** Double check that the correct PUF file is listed under the "Package Info" section and that the correct IP address is listed under "Target"
79 ** Press the "Recheck" button
80 ** Make sure that all three tasks are selected ("Load ShowRunner Program", "Update Crestron App", and "Update XPanel")
81 ** Press the "Update" button to begin loading SHOWRUNNER™
82 * Sometimes the PUF tool will falsely report a failure to load the program
83 ** Connect to the processor via Text Console
84 ** Run the command ##sr ver##
85 ** If the console returns with the newly installed version of SHOWRUNNER™, then the installation was successful
86 ** If the console returns with "Bad or Incomplete Command (sr)" then the installation was not successful
87 *** Rename the downloaded .puf file to be a .zip file and open the archive
88 **** Some file archivers (such as 7-Zip) allow you to right click on the PUF file and open the archive without changing the filetype
89 *** Extract the "CI.Lighting.ShowRunner.cpz" file
90 *** In Toolbox, connect to the processor via Text Console, click the lightning bolt icon, and select "SIMPL Program..."
91 **** Alternatively, navigate to Functions>SIMPL Program...>SIMPL Program (Program01)...
92 *** Under the "Send Program" section, browse your PC and select the extracted .cpz file
93 *** Click the "Send" button and click "Yes" to upload the program
94 *** Once it is done loading, you should be able to run the ##sr ver## command and see the currently installed version of SHOWRUNNER™
95 * 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.  
96 ** **3-Series processors require authentication enabled** (SSL self can be used but steps will need to be repeated)
97 ** If stuck on "Connecting to Processor" you will need to accept the certificate
98 * For jobs with multiple processors, SHOWRUNNER™ will need to be loaded to each processor
99
100 === License and Configuration Deployment ===
101
102 * Download the SrConfig.json or CiLightingConfig.json configuration file from the link provided by Chief Integrations
103 * Obtain and download the license from [[https:~~/~~/portal.chiefintegrations.com>>url:https://portal.chiefintegrations.com]]
104 ** Processors with a Control Subnet should use the LAN MAC address, **not** the Control Subnet MAC address
105 * The license and configuration can be loaded with Toolbox using Text Console and File Management, or through the showrunnerHUB™ web interface
106 ** Using Toolbox:
107 *** Connect to the processor via Text Console and via File Management
108 *** In File management, navigate to the "NVRAM>sr" folder from the left-hand menu
109 *** Right-click on the right-hand side and select "Copy File(s) From..." and select the downloaded License.lic file
110 **** Alternatively, drag and drop the file from your computer to the File Management tool
111 *** Using the left-hand menu, navigate to the "NVRAM>sr>default" folder
112 *** Right-click on the right-hand side and select "Copy File(s) From..." and select the downloaded SrConfig.json file
113 **** Alternatively, drag and drop the file from your computer to the File Management tool
114 **** If you downloaded a CiLightingConfig.json file, it must be renamed to "SrConfig.json"
115 ** Using the showrunnerHUB™ UI:
116 *** Using Chrome or Firefox, navigate to the processor's IP address
117 *** When prompted, input your credentials and log in
118 **** 4-Series processor or 3-Series processor with authentication enabled: Log in using the same admin credentials used to connect to the processor
119 **** 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.
120 ***** ##sradmin username "name" administrators password##
121 ***** The username and password should be one word each and are the credentials used to log in to the showrunnerHUB™
122 ***** The name can be multiple words as long as it is in quotes, and is simply a friendly name used to identify each user.
123 *** Once logged in to the showrunnerHUB™ UI, you should be automatically redirected to the File Management page
124 **** 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
125 **** [[image:1654807593390-193.png]]
126 **** Under “Upload New License File”
127 ***** Leave "Restart after transfer" unchecked
128 ***** Select “Choose File” and browse for the license file you downloaded from the portal
129 ***** Select “Upload”
130 **** Load the configuration file either directly (if you have an SrConfig.json file) or from a backup (if you have an SRBackup.zip)
131 ***** Direct upload:
132 ****** Under “Upload New Config File”
133 ****** 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.
134 ****** Select “Upload”
135 ***** From a Backup:
136 ****** Select "Restore"
137 ****** Select "Choose Backup" and find the SRBackup.zip of the backup you wish to restore
138 ****** Enter the secret used to create the backup. ShowRunner will upload the file and verify the secret.
139 **** Once both the license and either a configuration file or backup have been loaded, click "Restart"
140 **** Wait for the processor to finish restarting and then reload the page.
141 ***** 3-Series processors will take 45 to 90 restart
142 ***** 4-Series processors should restart considerably faster
143
144 === Set System Time ===
145
146 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:
147
148 * Connect to the processor via Text Console
149 * At the top of the Toolbox window, navigate to Functions>System Clock...
150 * If your computer is in the correct timezone, click Synchronize Device Time with PC
151 ** The Timezone and Device Time should synchronize automatically
152 ** If your PC is in the incorrect Timezone or the time did not synchronize properly, then manually adjust the Time, Date, and Timezone
153 * Press the Apply button
154
155 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
156
157 * SHOWRUNNER™ XPanel UI:
158 ** Navigate to Settings>Location and System Clock
159 ** Press the Lock icon to enable editing
160 ** Adjust the time, timezone, and location as necessary
161 ** Press Set System Clock to save the changes
162 * showrunnerHUB™ Web UI:
163 ** Navigate to Setup>System Settings>Location and System Clock
164 ** Adjust the time, timezone, and location as necessary
165 ** Click Apply to save the changes