Hi Gang !
I'm gonna start a new thread about seeing if I can get the Notifications thing working for me and I'm not seeing a ton of info on it.
I have a WeMOS ESP8266 hooked up with two DS18b20 temperature probes - one measuring the temperature of my hot tub and the
other the air temp. I want to have the ESP see if it can email me a warning message if the temperature on the Hot Tub goes below
a specific set point.
Sometimes my tub goes in to a state called an SNS mode where the temperature sensors and the hot tub's brain get out of wack and
the real problem is when that happens the whole tub shuts down till you manually hit a button and it starts to cool off.
That's a bad thing, hence the monitoring with an ESP.
I do have it tossing its output to a MQTT and its happy but is there a way to get the notifications email function going so if the tub
does barf and start to cool down, can I get it to send me an email if the temperature drops bellow something like 96 degrees F?
BTW - The version's I'm on is: Mega-20181108
Cheers'
Dave Cason
notifications and esp
Moderators: grovkillen, Stuntteam, TD-er
Re: notifications and esp
I followed the wiki information and did not experience any issues with getting emailed notifications to work.
https://www.letscontrolit.com/wiki/inde ... ifications
Fill out all the account details as explained in the wiki. If it does not work then enable the weblog and set it to debug level. Capture the log output while an email is being sent and review the error messages.
- Thomas
https://www.letscontrolit.com/wiki/inde ... ifications
Fill out all the account details as explained in the wiki. If it does not work then enable the weblog and set it to debug level. Capture the log output while an email is being sent and review the error messages.
- Thomas
Re: notifications and esp
Hi Thomas,
Yep .... I saw that Wiki ...... I also tried to get one of the two accounts going but more about that later.
My real question is in my case is - its the activation part of the process first - not so much the actual email going out.
I don't have a way to tell the unit to wake up as a trigger, not by a photcell, or an on off value that changes suddenly.
Can an ESP (by itself) recognize the value change in a temperature probe and active an e-mail based on that?
Can I find a program or code or some way to make the ESP send out an email if it see's a temperature drop below a
specific set point? Is there a way to tell an ESP to "watch" a temperature value from a DS18b20 and monitor that
temperature and if it goes below ( pick 96 degrees F ) so right now it varies from a range of 98 to 102 and that's
the OK range. Do nothing, but if it goes down to 96 degrees or lower can the ESP send an email XYZ message?
Or maybe hourly till the low temperature state is fixed?
I'll go work on setting up the wiki on my test ESP here on my bench and try to get the mail function going in the meantime.
Thanks for the reply BTW too !!
Cheers'
Dave
Yep .... I saw that Wiki ...... I also tried to get one of the two accounts going but more about that later.
My real question is in my case is - its the activation part of the process first - not so much the actual email going out.
I don't have a way to tell the unit to wake up as a trigger, not by a photcell, or an on off value that changes suddenly.
Can an ESP (by itself) recognize the value change in a temperature probe and active an e-mail based on that?
Can I find a program or code or some way to make the ESP send out an email if it see's a temperature drop below a
specific set point? Is there a way to tell an ESP to "watch" a temperature value from a DS18b20 and monitor that
temperature and if it goes below ( pick 96 degrees F ) so right now it varies from a range of 98 to 102 and that's
the OK range. Do nothing, but if it goes down to 96 degrees or lower can the ESP send an email XYZ message?
Or maybe hourly till the low temperature state is fixed?
I'll go work on setting up the wiki on my test ESP here on my bench and try to get the mail function going in the meantime.
Thanks for the reply BTW too !!
Cheers'
Dave
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: notifications and esp
Code: Select all
on Box#Temp do
if [Box#Temp]<96
notify,1,"Box temperature is [Box#Temp]°F!"
endif
endon
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: notifications and esp
unfortunately, the code keeps sending emails and not just when the event occurs.
lg
wolfgang
lg
wolfgang
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: notifications and esp
That sounds not right. You need to give us all info you can give.
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
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Who is online
Users browsing this forum: No registered users and 94 guests