improved

Webhooks - Ratings added to samples

✨ Improvement

All three types of sample events have received a new ratings property in the data object. This property contains ratings for all sensors in a given sample, wherein the rating for a given sensor value is calculated based on our recommended thresholds. For example, if the temperature is below 18 degrees, it is given a POOR rating.

The ratings are GOOD, FAIR and POOR.

An example response:

{
  "ratings": {
    "radonShortTermAvg": "GOOD",
    "temp": "POOR",
    "pressure": "GOOD",
    "humidity": "FAIR",
    "voc": "GOOD"
  }
}