Changes for page CoAP ShowRunner to ShowRunnerCLC™ Setup Instructions
Last modified by Alexander Mott on 2023/07/07 15:17
From version 1.3
edited by Mark Kohlmann
on 2021/07/22 17:17
on 2021/07/22 17:17
Change comment:
There is no comment for this version
To version 1.4
edited by Mark Kohlmann
on 2021/07/22 17:34
on 2021/07/22 17:34
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,7 +1,35 @@ 1 -Host processor (LWAPI Server) Setup: 1 +Host processor (LWAPI Server) Setup (DIN-AP3 @ 10.44.5.91): 2 2 3 -* Enable Authentication [authentication on] or SSL [ssl self] if not already enabled 4 -* Create an API User and record the Key and Secret: 5 -DIN-AP3>sradmin add api user "Central Control" "Lightweight API Users" 6 -API User Central Control generated with Group permissions Lightweight API Users and Key: **YTd2pQn7sjwiOWD9NqCIWw** Secret: **OeiQEFo_-EDfc7sQe_qRpeQzSkZjylV2roa76utpJLI** 7 -* 3 +* Enable Authentication [##authentication on##] or SSL [##ssl self##] if not already enabled 4 +* Create an API User and record the Key and Secret. User group must have //LWAPI //role and //Execute //permissions. //Lightweight API Users// group has been created for this purpose: 5 +##DIN-AP3>sradmin add api user "Central Control" "Lightweight API Users" 6 +API User Central Control generated with Group permissions Lightweight API Users and Key: **YTd2pQn7sjwiOWD9NqCIWw** Secret: **OeiQEFo_-EDfc7sQe_qRpeQzSkZjylV2roa76utpJLI**## 7 +* If 3-series w/ auth enabled or 4-series with user page auth enabled then add a remote user with permissions to connect to the control system. This is done by adding a local user to the system with connect privileges.((( 8 +DIN-AP3>adduser -N:**lwapi** -P:**dMFN9pJJXjWLGd7t** 9 +User account was successfully created. 10 +DIN-AP3>addusertogroup -N:lwapi -G:Connects 11 +'lwapi' was successfully added to group 'Connects'. 12 +))) 13 + 14 +Client processor (LWAPI Client) Setup (DIN-AP4): 15 + 16 +* Define remote system in the config: 17 +## { 18 + "SystemId": 1, 19 + "IpAddressOrHostname": "10.44.5.91", 20 + "Label": "HUB-1-1", 21 + "ConnectionType": "LWAPI" 22 + },## 23 +* Add remote user for LWAPI (this is the key and secret created on the host): 24 +##DIN-AP4>sradmin add remote user HUB-1 **YTd2pQn7sjwiOWD9NqCIWw** **OeiQEFo_-EDfc7sQe_qRpeQzSkZjylV2roa76utpJLI** 25 +Remote User HUB-1 (//**1a920b8b-3ab8-44bd-bc7b-0fc77abf0a13**//) added with Group permissions Remote Connection## 26 +* If 3-series w/ auth enabled or 4-series with user page auth enabled then add a remote user with permissions to connect to the control system. 27 +##DIN-AP4>sradmin add remote user HUB-1_CWS **lwapi dMFN9pJJXjWLGd7t** 28 +Remote User HUB-1_CWS (//**d7c88ecb-7212-4e8b-8749-ddca759c6a62**//) added with Group permissions Remote Connection## 29 +* Assign users to the remote connection, System ID in this example is 1. API user is to authenticate with the API. CWS user is to authenticate with the Crestron Web Server before authenticating with the ShowRunner REST API:((( 30 +##DIN-AP4>sradmin assign remote user API **1** //**1a920b8b-3ab8-44bd-bc7b-0fc77abf0a13**// 31 +User HUB-1 assigned to remote system 1:HUB-1-1 for API Authorization## 32 + 33 +##DIN-AP4>sradmin assign remote user CWS **1** //**d7c88ecb-7212-4e8b-8749-ddca759c6a62**// 34 +User HUB-1_CWS assigned to remote system 1:HUB-1-1 for API Authorization## 35 +)))