204 • 4-Series™ Control Systems Product Manual — Doc. 8559B
UserPrograms
This parameter indicates that a user program should be updated. The following keywords are
defined for this parameter:
l
"programNumber" - Valid ranges are 1–10 or 1 only, and the range depends on the
controller to be updated. The Program ID tag is intended for interactive systems only. The
default value is "1".
l
"programLocation" - Indicates whether the program needs to be loaded onto internal or
external memory. The default value is "internal". For external memory, the controller loops
through RM and RM2.
Sample Manifest File
The following shows a complete example of a JSON-encoded manifest file for a control system
with multiple components. Note that actions are performed in the order they appear on the file.
[
{
"deviceHostname": "Room101-panel",
"deviceModel": "TSW-770",
"deviceId": "03",
"controlSystemHostname"": "192.186.1.1",
"logFolder": "sftp://xxabet-xx2/html/Office-TouchPanel/results",
"fileToUpdate": [
{
"fileUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/xx.puf",
"fileHashUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/firmwareHash.txt",
"fileType": "firmware",
"whenToDownload": "Friday 23:00",
"whenToApplyUpdate": "now",
}
]
}
{
"deviceHostname": "Room101-panel",
"deviceModel": "TSW-770",
"logFolder": "sftp://xxabet-xx2/html/Office-TouchPanel/results",
"fileToUpdate": [
{
"fileUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/xx.ini",
"fileHashUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/configHash.txt",
"fileType": "config",
"whenToDownload": "Sunday 2:00",
}
{
"fileUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/xx.vtz",
"fileHashUrl": "sftp://xxabet-xx2/html/Office-TouchPanel/projectHash.txt",
"fileType": "project",
"whenToDownload": "Sunday 2:00",
}
]
}
{
"ControllerHostName": "Crestron-PRO4",
"deviceModel": "PRO4",