diff --git a/nicos_sinq/neutra/setups/sensors.py b/nicos_sinq/neutra/setups/sensors.py new file mode 100644 index 000000000..956f26587 --- /dev/null +++ b/nicos_sinq/neutra/setups/sensors.py @@ -0,0 +1,20 @@ +description = 'Beam line environmental sensors' + +group = 'lowlevel' + +display_order = 95 + +pvprefix = 'SQ:NEUTRA:sensors:' + +devices = dict( + temperature = device('nicos.devices.epics.pyepics.EpicsReadable', + description = 'Beam line temperature', + readpv = pvprefix + 'TEMP', + unit = 'degC', + ), + humidity = device('nicos.devices.epics.pyepics.EpicsReadable', + description = 'Beam line relative humidity', + readpv = pvprefix + 'RH', + unit = '%', + ), +)