Changeset 2542


Ignore:
Timestamp:
Jul 3, 2014, 3:04:55 PM (9 years ago)
Author:
olle
Message:

Refs #615. Lab environment extension updated in installation documentation:

  1. Outermost README file updated:
    a. New header section with component name and version.
    b. Installation instructions extended concerning settings in configuration file labenv-config.xml.
    c. Extra info on alarm functionality added at the end.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/net.sf.basedb.labenv/trunk/README

    r2489 r2542  
     1== Component name ==
     2
     3Name: LabEnv v1.2
     4Type: BASE extension
     5Full name: Lab Environment Extension
     6
    17== Requirements ==
    28
     
    2127 4. Copy the `labenv-config.xml` file to `WEB-INF/classes` directory.
    2228 5. The default `labenv-config.xml` file does not contain any useful
    23     configuration values, but have to be edited with information
    24     on the lab sensors. Measurement data will be stored in the database
    25     for the sensor number defined in the configuration file. This lab
    26     sensor number is therefore not just a trivial index number for
    27     internal use in the XML configuration file. When sensors are added
    28     for new locations, they should normally be configured with a new
    29     unique number.
     29    configuration values, but has to be edited with information
     30    on the lab sensors.
     31    a. Configuration of database for lab environment data and settings
     32    common for all lab sensors. If no values are given for "dbfilename",
     33    "timeoutinseconds", "storageintervalinseconds", and
     34    "numberofmeasurementsperstoredvalue", default values "labenv.db",
     35    5, 300, and 5, will be used, respectively. This corresponds to
     36    measurements each minute and storage of the average values every
     37    5th minute. If alarm notification via e-mail is desired, information
     38    about what e-mail server to use must be entered for "smtphost".
     39    Attribute "fromaddress" is the e-mail address shown in the
     40    "From"-field for the mail; normally this is of the type
     41    "noreply@*" here, e.g. "noreply@thep.lu.se". Attribute "fromname"
     42    is the name part of the "From"-field for the mail, e.g. something
     43    generic like "Lab Environment BASE extension", or something more
     44    specific for your BASE server or lab.
     45    b. Measurement data will be stored in the database for the sensor
     46    number defined in the configuration file. This lab sensor number
     47    is therefore not just a trivial index number for internal use in
     48    the XML configuration file. When sensors are added for new
     49    locations, they should normally be configured with a new unique
     50    number. If no "startdate" is given for a sensor, it will be ignored.
     51    c. Alarm configuration for a lab sensor is optional. One or more
     52    alarm configurations can be entered for each sensor. Each alarm
     53    configuration contains start and end time in "HHmm" format,
     54    a weekday filter with one of the values "all", "mondaytofriday",
     55    "saturdaytosunday", "workdays", or "nonworkdays" (last two entries
     56    are currently adapted to the automatic climate control at labs
     57    in Medicon Village, Lund University, Sweden), minimum and maximum
     58    allowed values for temperature and humidity, and a user list
     59    of alarm administrators. For each alarm administrator is entered
     60    the BASE log-in name ("id"), and an optional e-mail address for
     61    alarm notification.
    3062 6. Copy the 'labenv.jar' file to your BASE plug-ins directory.
    31    Look in your 'base.config' file if you don't know where this is.
     63   Look in your 'base.config' file if you don't know where this is.
    3264 7. Go to 'Administrate->Plug-ins & Extensions->Overview' page.
    3365 8. Run the installation wizard and select to install 'labenv.jar'.
     
    4981
    5082 * No known issues.
    51  
     83
    5284== Tips and tricks ==
    5385
     
    95127the 'build.xml' file, create a file named 'build.properties' and set
    96128the values there.
     129
     130== Alarm functionality ==
     131
     132* After an alarm has been reported, new alarm reports for that
     133configuration are normally blocked, until an alarm administrator
     134resets the alarm. An exception is alarm for lost contact with the
     135sensor, that blocks alarms of the same type, but not alarms for
     136temperature or humidity values outside allowed values, if contact with
     137the sensor should be reestablished.
     138* All alarms are reset if the Lab Environment service is restarted.
     139* All users can inspect alarm status via menu Extensions ->
     140Lab Environment -> Lab environment alarms, but only an alarm
     141administrator for an alarn can reset it. It is reset by setting option
     142"Alarm blocked" to "No" and clicking button "Set alarm blocker".
Note: See TracChangeset for help on using the changeset viewer.