How to log fridges temp remotely and send mail if alarm ?

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
tparvais
Normal user
Posts: 99
Joined: 28 Oct 2015, 23:13

How to log fridges temp remotely and send mail if alarm ?

#1 Post by tparvais » 29 Jan 2020, 23:51

Hello

I’m supporting a non profit organisation having a Chalet in Alps that welcome kids during winter.
We have several fridges for food. The chalet occupancy is not constant.

I need to monitor the temperature of several fridge remotely via internet and get a mail if temperature reach a level.

Last year I installed ds18b20 and one esp with Espeasy. But the problem was to access it from internet and possibility to send mail (I need ssl...)

Any idea on a free cloud service that I can use easily sigh espeasy without installing domoticz or whatever locally ?

Thank you

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: How to log fridges temp remotely and send mail if alarm ?

#2 Post by grovkillen » 30 Jan 2020, 04:21

If you use Gmail you can use the server: aspmx.l.google.com

Only thing to know though, you can only send to other Gmail addresses (or G suite).

But, you could have an account which would have a rule to forward the received email to an "external" address.

See, restricted SMTP options here:

https://support.google.com/a/answer/176600?hl=en
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

tparvais
Normal user
Posts: 99
Joined: 28 Oct 2015, 23:13

Re: How to log fridges temp remotely and send mail if alarm ?

#3 Post by tparvais » 30 Jan 2020, 09:31

Thank you for this trick

And to be able to chart temperature without having my own
Server , any idea ?

Easyiot could be a solution but not sure there is a plug-in
For this ?

Thomas

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: How to log fridges temp remotely and send mail if alarm ?

#4 Post by grovkillen » 30 Jan 2020, 09:59

How derailed chart are we talking about?
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

tparvais
Normal user
Posts: 99
Joined: 28 Oct 2015, 23:13

Re: How to log fridges temp remotely and send mail if alarm ?

#5 Post by tparvais » 30 Jan 2020, 17:26

I mean beside being able to get alarm by email , I wanted to save temperature logs somewhere but I don’t plan to install my own server over there (Domoticz ...)

Is there a public free solution for that ?

For google mail , I saw I need to record ip address at gmail . My Ip is Dynamic and will be difficult to do. Is this also compatible with dyndns?

User avatar
iron
Normal user
Posts: 221
Joined: 24 Sep 2016, 08:37
Location: Greece
Contact:

Re: How to log fridges temp remotely and send mail if alarm ?

#6 Post by iron » 30 Jan 2020, 18:02

3 years ago I installed a DS18B20 temp sensor in my wife's florist shop main fridge.

ESP Easy device publishes the data to thingspeak

https://thingspeak.com/channels/177708

Then I enabled the thingspeak React (Apps/React) to tweet me in event temp is lower than x or higher than Y

Every once in a while when they "clean" the fridge I get a high temp alarm tweet

-D
-D

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: How to log fridges temp remotely and send mail if alarm ?

#7 Post by grovkillen » 30 Jan 2020, 19:01

You could use the 16 variables inside the unit and have them graph the latest 8 days highs and lows or so...? HTML the chart inside the email.

Regarding IP, I wouldn't know.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

even
New user
Posts: 7
Joined: 09 Feb 2020, 06:39

Re: How to log fridges temp remotely and send mail if alarm ?

#8 Post by even » 09 Feb 2020, 06:51

I don't quite understand how temperature is related to IP.Mainly a fixed mailbox.You can solve the problem

tparvais
Normal user
Posts: 99
Joined: 28 Oct 2015, 23:13

Re: How to log fridges temp remotely and send mail if alarm ?

#9 Post by tparvais » 17 Apr 2020, 08:54

I solve the problem by moving to mqtt/influx/grafana and using grafana alert notification agent to send email when temperature is too low . Works perfectly

User avatar
EDsteve
Normal user
Posts: 61
Joined: 11 May 2018, 21:13

Re: How to log fridges temp remotely and send mail if alarm ?

#10 Post by EDsteve » 22 Apr 2020, 18:22

Another solution would be using IFTTT.

Basically ESPeasy sends a HTTP request to https://ifttt.com when temp too warm.
IFTTT reads the HTTP request (Webhook) and sends a mail or calls your phone or restarts your Tesla... you get the idea :D

Maybe IFTTT even has a direct connection to thingspeak.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest