Add mail templates, plus initial status alert delay for probes
i.e. let the temp get "proper bad" (for some minutes) before alerting
This commit is contained in:
parent
d87ea6c22d
commit
646f09a413
6 changed files with 95 additions and 1 deletions
17
rattail_tempmon/templates/mail/tempmon_low_temp.html.mako
Normal file
17
rattail_tempmon/templates/mail/tempmon_low_temp.html.mako
Normal file
|
@ -0,0 +1,17 @@
|
|||
## -*- coding: utf-8 -*-
|
||||
<html>
|
||||
<body>
|
||||
<p><b>This is a warning from ${probe}.</b><br>
|
||||
The status of ${probe} is: ${status}.<br>
|
||||
This is because the temperature is ${reading.degrees_f}<br>
|
||||
and has been so for longer than expected.<br>
|
||||
This unit should be looked at as soon<br>
|
||||
as possible to ensure no food goes to waste.
|
||||
</p>
|
||||
<p>
|
||||
Notes:<br>
|
||||
This alert will happen every 15 minutes until<br>
|
||||
the temperature reaches an acceptable level.<br>
|
||||
</p>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue