I would like to setup Hydrosys to send an email when a temperature sensor detects that the temperature has dropped below a certain value. How would I go about setting that up?
I'm using DS18B20 sensors. Let's say I want it to check the temperature every 10 minutes. I can't seem to figure out where I should be putting this logic to get an alert. Is it possible? I feel like the interrupts should do that, but, I don't think I understand them well enough. (In fact, nothing shows up on the interrupt page for me.)
Your scenario can be achieved using the "automation" function. (interrupt is more relevant for ON/OFF situations).
The Automation function will work like this: Check the temperature reading every N minutes according to the reading interval set for the sensor. When the sensor is below X, start to send emails at a given interval which can be set in the automation setting. Stop sending mails when temperature is above X.
Below the setting:
Go to Automation, choose the mail1 tab.
In the example below the mail will be send starting from 2 degrees.
Email will be sent at one day interval (1440 minutes)
Let me know if it works.
Useful reading: https://hydrosysblog.wordpress.com/2020/08/17/menu-automation-page/