thegridelectric / gridworks-journalkeeper

Responsible for putting data into a database from the file-based store, and managing gauranteed delivery
MIT License
0 stars 0 forks source link

Room temperature below setpoint and thermostat has not been changed recently #82

Open thdfw opened 2 weeks ago

thdfw commented 2 weeks ago

Check if the room temperatures are at or above setpoint every sampling period If below setpoint, check if the user increased the setpoint in the last X minutes (2x the sampling time)

  1. If the user did not increase the setpoint recently, send out an urgent alert
  2. If the user did, send a non-urgent notice 'Setpoint changed and temperature has not yet reached setpoint'. Stop checking for point (1)
  3. Once back to setpoint, send another non-urgent notice. Go back checking for (1).
thdfw commented 1 week ago

Associated alert code: https://github.com/thegridelectric/gridworks-journalkeeper/blob/dev/alerts/setpoint_check.py