Changeset 2542
- Timestamp:
- Jul 3, 2014, 3:04:55 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/net.sf.basedb.labenv/trunk/README
r2489 r2542 1 == Component name == 2 3 Name: LabEnv v1.2 4 Type: BASE extension 5 Full name: Lab Environment Extension 6 1 7 == Requirements == 2 8 … … 21 27 4. Copy the `labenv-config.xml` file to `WEB-INF/classes` directory. 22 28 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. 30 62 6. Copy the 'labenv.jar' file to your BASE plug-ins directory. 31 63 Look in your 'base.config' file if you don't know where this is. 32 64 7. Go to 'Administrate->Plug-ins & Extensions->Overview' page. 33 65 8. Run the installation wizard and select to install 'labenv.jar'. … … 49 81 50 82 * No known issues. 51 83 52 84 == Tips and tricks == 53 85 … … 95 127 the 'build.xml' file, create a file named 'build.properties' and set 96 128 the values there. 129 130 == Alarm functionality == 131 132 * After an alarm has been reported, new alarm reports for that 133 configuration are normally blocked, until an alarm administrator 134 resets the alarm. An exception is alarm for lost contact with the 135 sensor, that blocks alarms of the same type, but not alarms for 136 temperature or humidity values outside allowed values, if contact with 137 the 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 -> 140 Lab Environment -> Lab environment alarms, but only an alarm 141 administrator 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.