The Settings screen includes a Configuration section with functions to control the raspiCamSrv configuration:
- Button Store Configuration generates a set of JSON files which include the entire configuration of the raspiCamSrv server (see below).
- Button Load Stored Configuration replaces the current configuration with a previaously stored configuration.
- Button Reset Server stops any background activity (live stream, video, photo series) and replaces the current configuration with the default configuration.
- Start server with stored Configuration controls whether a server start shall use the default configuration or the stored configuration.
When the configuration is stored with the Store Configuration button, a set of files is created/replaced in the raspi-cam-srv/raspiCamSrv/static/config
folder:
- _loadConfigOnStart.txt
This is just an empty marker file. If the file exists, the server will initiate its configuration with configuration data stored in the other files.
Otherwise, default configuration settings will be applied. - cameraConfigs.json
This is currently not used - cameraProperties.json
This file contains the camera properties of the actice camera, which are shown in Camera Properties.
Camera properties are always read directly from the camera. - cameras.json
This file contains the installed cameras with information shown in Installed Cameras
Installed cameras are always directly queried from the camera system. - controls.json
This file includes all the camera configuration settings as shown in the upper right part of the Live screen Camera Controls - LiveViewConfig.json, photoConfig.json, rawConfig.json, videoConfig.json
contain the camera configuration settings for the different use cases as shown in the Config screen - rawFormats.json
contain a list of formats which can be used for raw photos.
This information is extracted from the different Sensor Modes and is always directly obtained from the camera system. - serverConfig.json
This file includes configuration settings for the raspiCamSrv dialog system, such as information included in the Settings dialog, or the configuration of the Display Buffer and some navigation details. - streamingCfg.json contains, for each camera, the Tuning configuration, the Live View Configuration settings and the Camera Controls which will be used for streaming. The included Video Configuration is stored because Picamera2 always requires the main stream to be configured. This will not be used for streaming.
- triggerConfig.json contains the configuration settings for triggered capture of videos and photos (motion capture)
- tuningConfig.json contains the settings maintained in the Tuning dialog