A method for detecting a first state of an environment which is measurable by at least two different measures of state, said method comprising:
- a) identifying a first measure of the state of the environment, the first measure being capable of indicating that the environment is not in the first state;
- b) identifying a second measure of the state of the environment, the second measure being capable of indicating that the environment is in the first state;
- c) building a profile over time of values of the second measure using samples taken only when values of the first measure indicates that the environment is not in the first state;
- and
- d) monitoring the environment over time to determine whether values of the second measure deviate from the profile.