Wiki source code of Processor Setup

Last modified by Alexander Mott on 2024/12/02 19:04

Show last authors
1 {{info}}
2 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]].
3 {{/info}}
4
5 {{error}}
6 All 4-Series processors require authentication to be configured when first connecting: **the Crestron Agent or Field Tech are responsible for recording these credentials. Chief Integrations cannot provide assistance unless the credentials are known. The only way to connect to a device for which the credentials have been lost is to factory reset the device, which may require redoing the start-up from scratch if the latest configuration was not saved and backed up. **
7 {{/error}}
8
9 {{warning}}
10 ShowRunnerCLC™™ is tested against current Crestron firmware releases. **Please use at least the recommended firmware builds.**
11
12 * 3-Series: PUF 1.8001.0214
13 * 4-Series: PUF 2.8003.00037.01
14 * VC-4: 4.0003.00016
15
16 **Notes:**
17
18 * Static IP or properly setup DHCP/DNS implementation required.
19 * Auto-Assigned/Link-Local IP address range of 169.254.x.x not supported (Crestron xPanel issue)
20 {{/warning}}
21
22 {{box cssClass="floatinginfobox" title="**CONTENTS**"}}
23 {{toc/}}
24 {{/box}}
25
26 **ShowRunnerCLC™ 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 = Error Broadcasting =
37
38 The first thing that should be done after connecting to a processor is to open the Text Console and run the command: ##broadcast on##
39
40 Running the ##broadcast on## command tells the processor to begin logging useful messages to the text console and error log. These messages typically begin with an indication of their severity:
41
42 1. Error: Most errors indicate a major issue that should be investigated and remedied. Some errors will prevent the ShowRunner™ program from starting up or functioning as expected, and may be the result of a configuration issue (e.g. errors registering devices), a network issue (e.g. errors connecting to other devices), or authentication issues (e.g. errors related to connection attempts from clients not providing correct username/password information), among other possible causes.
43 1. Warning: Warnings indicate issues that are less severe than errors and do not usually prevent the ShowRunner™ program from running, but may result in some unexpected behaviors.
44 1. Notice: Notices are not a problem, and just give useful information during program startup (e.g. devices registered) and while the program is running (e.g. the times at which scheduled events are triggered)
45
46 Running the ##err sys## command will print the most recent 500 messages to the console. Running the ##clear err## command will clear the log, which is sometimes useful to run  before doing a ##progreset## in order to troubleshoot configuration issues on startup.
47
48 To view more than the last 500 messages, connect to the processor with the File Manager tool and navigate to the "Internal Storage > logs" folder. Logs since the last time the processor rebooted are stored in the "CurrentBoot" folder, with a new log started every time the current log reaches ~~1 MB in size. When the processor reboots, the logs in the "PreviousBoot" folder are zipped and moved to the "ZippedLogs" folder, logs in the "CurrentBoot" folder are moved to the "PreviousBoot" folder, and a new log is started in the "CurrentBoot" folder.
49
50 = IP Configuration =
51
52 * Connect to the processor via USB and set the processor’s IP Address per your network requirements
53 ** 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
54 *** 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
55 *** In the event that the processor does not allow you to log in with the chosen credentials (i.e. it repeatedly prompts for credentials)
56 **** Attempt to log in with username "crestron" and no password
57 **** Once logged into Text Console, run the following commands, replacing the "username" and "password" with your desired credentials
58 ***** ##adduser -N:username -P:password##
59 ***** ##addusertogroup -N:username -G:Administrators##
60 ** 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**(%%))
61 *** Disable DHCP: ##dhcp 0 off##
62 *** Set IP address: ##ipa 0 (% style="color:blue" %)**10.0.0.10**(%%)##
63 *** Set IP subnet mask: ##ipm 0 (% style="color:darkgoldenrod" %)**255.255.255.0**(%%)##
64 *** Set default gateway: ##defr 0 **10.0.0.1**##
65 *** Set hostname: ##host AP3-CPP##
66 *** Reboot the processor: ##reboot##
67 ** It is also possible to configure a processor over Ethernet by using a DHCP server software on your laptop to assign an IP address
68 *** Configure your DHCP server software to assign IP addresses in the desired range
69 *** Once the processor is assigned an IP address, connect to it via Text Console at the assigned IP address
70 *** Run the above commands to disable DHCP and assign a static IP address to the processor
71 * For processors with a Control Subnet (CP3N/AV3/PRO3/CP4N/AV4/PRO4), there are some additional considerations and setup that must be performed: 
72 ** Never connect an external router to the Control Subnet, as doing so will cause the internal DHCP server to shut down.
73 ** Connect to the processor via Text Console and run the command: ##startprogafterrouter on##
74 *** This will force the processor to wait until the router has started before attempting to load the ShowRunnerCLC™ program, avoiding potential license validation issues if the processor boots up before the router.
75 *** ShowRunnerCLC™ .puf versions 3.042 and newer automatically run this command when the "Configure Processor with Router" option is selected.
76 ** 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.
77 ** Lighting control hardware (e.g. TSWs, DIN-CENCN-2s, etc.) should be left in DHCP mode and connected to the Control Subnet port.
78 *** The processor acts as a DHCP server on the Control Subnet, with addresses that are determined automatically based on the LAN configuration.
79 *** If lighting hardware is to be connected via the LAN anyway, then you must run the command: ##securegateway default##
80 *** Note: this setting enables unsecure connections to the processor from the LAN. This is necessary if ZUMNET-JBOXs or other non-secure Crestron devices (such as 3-Series EISC) will be connected via the LAN port of the processor
81 ** The Control Subnet will automatically configure itself based on the LAN configuration, but it should be configured manually if the processor is to be connected to building LAN as the default scheme may cause networking issues:
82 *** Using the "Functions>Ethernet Addressing...>Control Subnet" menu of Toolbox:
83 **** Set routing to "Manual" with the start address and subnet size
84 **** 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
85 *** Using Text Console commands (example for a **100.64.0.0/20** subnet, with a processor IP address of **100.64.0.1**)
86 **** Set CS IP: ##csrouterprefix **100.64.0.0/20**##
87 **** Reboot the processor: ##reboot##
88 * If the job has multiple processors, then these steps must be repeated for all processors on the job
89 ** For jobs with Central Control, the IP addresses of the processors matters
90 ** 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
91 ** 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
92 * At this point, it is a good idea to [[update the device firmware>>doc:SHOWRUNNER™ Setup Guide.SHOWRUNNER™ Installation Guide.SHOWRUNNER™ Installation and Network Setup.Updating Firmware.WebHome]]
93
94 = Program Load =
95
96 * Download the latest build of ShowRunnerCLC™ from the[[ Chief Integrations Portal>>https://files.chiefintegrations.com/index.php/s/WHNzXrrZbB5jC3E]]
97 * 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
98 ** 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
99 * Double click the PUF to open the Package Update Tool and install ShowRunnerCLC™ (works best with Toolbox closed)
100 ** The Package Update Tool will automatically open your Address Book and prompt you to select a device
101 *** If you have not created an Address Book for this job, close the Address Book window and press the pencil icon
102 *** Type in the IP address of your processor and click "OK"
103 ** Double check that the correct PUF file is listed under the "Package Info" section and that the correct IP address is listed under "Target"
104 ** Press the "Recheck" button
105 ** Make sure that all three tasks are selected ("Load ShowRunner Program", "Update Crestron App", and "Update XPanel")
106 ** Additional tasks are available for certain processors:
107 *** ZUM-HUB4:
108 **** "Configure ZUM-HUB4" will automatically run commands: ##cwsanticsrf OFF## and ##startprogafterrouter on##
109 **** "Configure ZUM-HUB4 Subnet" will automatically reconfigure the control subnet to a 100.64.0.0/20 configuration to avoid potential conflicts with corporate networks
110 ***** **NOTE: If you are connected to the Control Subnet and select this option, you will need to reconnect to the processor and run the .puf again in order to finish loading ShowRunnerCLC™ as this option will interrupt your connection to the processor.**
111 **** "Configure ZUM-HUB4 SecureGateway" will automatically run command: ##securegateway default##
112 *** Processors with Routers (AV3, CP3N, PRO3, AV4, CP4N, and PRO4)
113 **** "Configure Processor with Router" will automatically run command: ##startprogafterrouter on##
114 ** Press the "Update" button to begin loading ShowRunnerCLC™
115 * Sometimes the PUF tool will falsely report a failure to load the program
116 ** Connect to the processor via Text Console
117 ** Run the command ##sr ver##
118 ** If the console returns with the newly installed version of ShowRunnerCLC™, then the installation was successful
119 ** If the console returns with "Bad or Incomplete Command (sr)" then the installation was not successful
120 *** Rename the downloaded .puf file to be a .zip file and open the archive
121 **** Some file archivers (such as 7-Zip) allow you to right click on the PUF file and open the archive without changing the filetype
122 *** Extract the "CI.Lighting.ShowRunner.cpz" file
123 *** In Toolbox, connect to the processor via Text Console, click the lightning bolt icon, and select "SIMPL Program..."
124 **** Alternatively, navigate to Functions>SIMPL Program...>SIMPL Program (Program01)...
125 *** Under the "Send Program" section, browse your PC and select the extracted .cpz file
126 *** Click the "Send" button and click "Yes" to upload the program
127 *** Once it is done loading, you should be able to run the ##sr ver## command and see the currently installed version of ShowRunnerCLC™
128 * Once ShowRunnerCLC™ is loaded, you can connect to the UI by navigating to the processor’s IP. A license and configuration file are still required.  
129 ** **3-Series processors require authentication enabled** ("##ssl self##" command followed by a reboot can be used but steps will need to be repeated)
130 ** If stuck on "Connecting to Processor" you will need to accept the certificate
131 * For jobs with multiple processors, ShowRunnerCLC™ will need to be loaded to each processor
132
133 = License and Configuration Deployment =
134
135 * Download the SrConfig.json or CiLightingConfig.json configuration file from the link provided by Chief Integrations
136 * Obtain and download the license from [[https:~~/~~/portal.chiefintegrations.com>>url:https://portal.chiefintegrations.com]]
137 ** Processors with a Control Subnet should use the LAN MAC address, **not** the Control Subnet MAC address
138 * The license and configuration can be loaded with Toolbox using Text Console and File Management, or through the ShowRunnerHUB™ web interface
139 ** Using Toolbox:
140 *** Connect to the processor via Text Console and via File Management
141 *** In File management, navigate to the "NVRAM>sr" folder from the left-hand menu
142 *** Right-click on the right-hand side and select "Copy File(s) From..." and select the downloaded License.lic file
143 **** Alternatively, drag and drop the file from your computer to the File Management tool
144 *** Using the left-hand menu, navigate to the "NVRAM>sr>default" folder
145 *** Right-click on the right-hand side and select "Copy File(s) From..." and select the downloaded SrConfig.json file
146 **** Alternatively, drag and drop the file from your computer to the File Management tool
147 **** If you downloaded a CiLightingConfig.json file, it must be renamed to "SrConfig.json"
148 *** Note: when loading the license and configuration through Toolbox, the "License.lic" file and "SrConfig.json" file must have exact filenames
149 **** If the files were automatically numbered during download (e.g. by adding a "(1)" or "(2)" to the end of the filename), the files must be renamed before loading them to the processor
150 ** Using the ShowRunnerHUB™ UI:
151 *** Using Chrome or Firefox, navigate to the processor's IP address
152 *** When prompted, input your credentials and log in
153 **** 4-Series processor or 3-Series processor with authentication enabled: Log in using the same admin credentials used to connect to the processor
154 **** 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.
155 ***** ##sradmin add user **username **"**name**" Administrators **password**##
156 ***** The username and password should be one word each and are the credentials used to log in to the ShowRunnerHUB™
157 ***** The name can be multiple words as long as it is in quotes, and is simply a friendly name used to identify each user
158 *** Once logged in to the ShowRunnerHUB™ UI, you should be automatically redirected to the File Management page
159 **** 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
160 **** [[image:1654807593390-193.png]]
161 **** Under “Upload New License File”
162 ***** Leave "Restart after transfer" unchecked
163 ***** Select “Choose File” and browse for the license file you downloaded from the portal
164 ***** Select “Upload”
165 **** Load the configuration file either directly (if you have an SrConfig.json file) or from a backup (if you have an SRBackup.zip)
166 ***** Direct upload:
167 ****** Under “Upload New Config File”
168 ****** 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.
169 ****** Select “Upload”
170 ***** From a Backup:
171 ****** Select "Restore"
172 ****** Select "Choose Backup" and find the SRBackup.zip of the backup you wish to restore
173 ****** Enter the secret used to create the backup. ShowRunner will upload the file and verify the secret.
174 **** Once both the license and either a configuration file or backup have been loaded, click "Restart"
175 **** Wait for the processor to finish restarting and then reload the page.
176 ***** 3-Series processors will take 45 to 90 seconds to restart, possibly longer depending on the size and complexity of the configuration
177 ***** 4-Series processors will restart considerably faster
178 **** If licensed for SR-BNI, you will need to generate a [[free Crestron BACnet License>>https://www.crestron.com/Support/Tools/Licensing-Registration/Bacnet-License-Registration]]
179 **** If licensed for SR-BNI50, you will need to generate a [[paid Crestron 50+ BACnet Point License>>https://www.crestron.com/Support/Tools/Licensing-Registration/Bacnet-License-Registration]]
180
181 = Set System Time =
182
183 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:
184
185 * Connect to the processor via Text Console
186 * At the top of the Toolbox window, navigate to Functions>System Clock...
187 * If your computer is in the correct timezone, click Synchronize Device Time with PC
188 ** The Timezone and Device Time should synchronize automatically
189 ** If your PC is in the incorrect Timezone or the time did not synchronize properly, then manually adjust the Time, Date, and Timezone
190 * Press the Apply button
191
192 Note that the Location given in the System Clock... menu of Toolbox is not used by ShowRunnerCLC™. 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 ShowRunnerCLC™ UI
193
194 * ShowRunnerCLC™ XPanel UI:
195 ** Navigate to Settings>Location and System Clock
196 ** Press the Lock icon to enable editing
197 ** Adjust the time, timezone, and location as necessary
198 ** Press Set System Clock to save the changes
199 * ShowRunnerHUB™ Web UI:
200 ** Navigate to Setup>System Settings>Location and System Clock
201 ** Adjust the time, timezone, and location as necessary
202 ** Click Apply to save the changes