Alert Sensor Alarm


#1

Hello ,

I would kind of like some way to generate alerts if the temperature of some sensor reaches too high.

Thank you very much


#2

Hi @Guilherme_Ferreira_R, at this moment it is not possible to control this kind of alarms over the console administration. However, you can adjust an alarm inside the device, i.e., call an email endpoint when the temperature is too high. Best!


#3

Hello,
Thanks for the feedback,

I am using the endpoint as described in the link that you informed me, but the email does not arrive.

#ARDUINO

unsigned long lastCheck = 0;
void loop () {
thing.handle ();
unsigned long currentTs = millis ();
if (currentTs-lastCheck> = 5 * 60 * 1000) {
lastCheck = currentTs;
if (DS18S20_readCelsius (0)> 20) {
thing.call_endpoint (“high_temp_email”);
}
}
}

#ENDPOINT

Endpoint Identifier = high_temp_email
Endpoint Description = alert email

Endpoint Type = Email
Email Address = guilherme.f.rosario@gmail.com
Email subject = ***** ALERT **** Check sensor 01

Send custom body

Hello,

This is an automatic message.

Check sensor 01.

Best regards


#4

Hello, do you have any suggestions for the correction of this endpoint?

Tank’s