airq-dev / hazebot

Building the 411 for air quality in the United States: a texting platform accessible to all, that provides actionable local information to protect your and your community.
https://www.hazebot.org/
MIT License
9 stars 1 forks source link

Add pref for "alert_sensitivity" #202

Open ianhoffman opened 3 years ago

ianhoffman commented 3 years ago

A new alert_sensitivity pref should control how much the AQI needs to change before a client is sent an alert. By default, this sensitivity is set to 20 (and 0 if no alert is sent for 6 hours); we should allow setting it to 0 for people who want to be kept always up-to-date.