PV WebSocket (PVWS)¶
List of NixOS option for deploying the PV WebSocket (PVWS) service, that enables accessing various PVs (CA, PVA, and so on) over a WebSocket.
See also
The PV WebSocket (PVWS) user guide for how to use these options.
- services.pvws.enable boolean[source]¶
Whether to enable the PV WebSocket service.
Default value¶falseExample¶true
- services.pvws.openFirewall boolean[source]¶
Open the firewall for the PVWS service.
Warning
This opens the firewall on all network interfaces.
Default value¶false
- services.pvws.settings open submodule of attribute set of (string or absolute path)[source]¶
Configuration for PVWS.
These options will be passed as environment variables.
Default value¶{ }
- services.pvws.settings.EPICS_CA_ADDR_LIST string or (list of string) convertible to it[source]¶
List of Channel Access destination IP addresses.
Each IP address can be a unicast address, or a broadcast address.
Use
lib.mkForceto override values fromenvironment.epics.ca_addr_list.Default value¶if config.environment.epics.enable then config.environment.epics.ca_addr_list else [];
- services.pvws.settings.EPICS_CA_AUTO_ADDR_LIST string or boolean convertible to it[source]¶
If set, behave as if every broadcast address of every network interface is added to
EPICS_CA_ADDR_LIST.Use
lib.mkForceto override values fromenvironment.epics.ca_auto_addr_list.Default value¶if config.environment.epics.enable then config.environment.epics.ca_auto_addr_list else [];
- services.pvws.settings.PV_DEFAULT_TYPE string[source]¶
Default PV type.
Default value¶"ca"Example¶"pva"