• Skip to main content
  • Skip to primary sidebar

RNTLab.com

The Ultimate Shortcut to Learn Electronics and Programming with Open Source Hardware and Software

  • Courses
  • Forum
    • Forum
    • Ask Question
  • Shop
  • Account
  • Blog
  • Login

Where do i look for this?

Q&A Forum › Category: ESP8266 › Where do i look for this?
0 Vote Up Vote Down
plwr1512 asked 4 years ago

Hi

I have the two courses home automation and MicroPython and I would like to add a few extra things to the sketch of the web server showing temperature from DS18B20.

One is to introduce a time and date stamp so I can see when the temp reading came through.

Also an alarm output if temperature exceeds a point that I set finally a data logging feature so i can see what happens with temp over time. How would I go about this??

I have the ESP8266 dev board which all works as is with the DS18B20.

6 Answers
0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.

Are you referring to one particular web server in our courses?

How would you like to program your ESP8266 board? Using Arduino IDE, or MicroPython?
In the MicroPython eBook, we show how to use the DS18B20 temperature sensor (page 254).

We have a project on our website that logs the data to a google spreadsheet using micropython: https://randomnerdtutorials.com/low-power-weather-station-datalogger-using-esp8266-bme280-micropython/

We also recently published a project on how to log data to your own database (Arduino IDE): https://randomnerdtutorials.com/esp32-esp8266-mysql-database-php/

What kind of alarm output would you like to have? Something like an email notification, for example? You can easily do that using IFTTT. See this example: https://randomnerdtutorials.com/door-status-monitor-using-the-esp8266/.

Currently, IFTTT is facing troubles with gmail services. So, instead of choosing “Gmail”, choose “mail” instead, as described here: https://rntlab.com/question/ifttt-what-is-that-all-about/

If you provide more  details, maybe I can help you better.
Regards,
Sara

0 Vote Up Vote Down
plwr1512 answered 4 years ago

Hi Sara,

I tried MicroPython and had a few issues so proabably more confident with Arduino IDE.

I tried all examples in your books and had a few issues here and there so ended up finding this one and it worked after I changed

it to run with two sensors only.

I also tried this one “We also recently published a project on how to log data to your own database (Arduino IDE): https://randomnerdtutorials.com/esp32-esp8266-mysql-database-php/”

and took on StableHost and had a few problems making it work so that is what led me in frustration to the lastminuteengineers example.

The kind of output I would like is a tone of some sort on my phone or tablet to sound if at all possible.

As I am more confident with Arduino IDE I would rather use that programmer to log data to a Google spreadsheet.

I will give the IFTTT a go and see how it works.

0 Vote Up Vote Down
plwr1512 answered 4 years ago

Hi Sara,
I have followed this “Currently, IFTTT is facing troubles with gmail services. So, instead of choosing “Gmail”, choose “mail” instead, as described here: https://rntlab.com/question/ifttt-what-is-that-all-about/” but 
However, there is an alternative.”
But can’t see anywhere where I need to change it from “Gmail” to “mail” option.
After clicking the “that” word. Instead of searching for gmail, search for “email” and select the “email” option.

Select the “Send me an email” option.

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.

What tutorials of ours did you follow that were not working? So that we can take a look at them and see if there is something missing or if an update is needed.

What kind you trouble did you get following the mysql tutorial?

I didn’t understand if you were successful or not with the IFTTT example. Do you need any help with the IFTTT example?

With IFTTT, you can also send notifications to your smartphone. When something happens you receive a notification in your smartphone. But you need to have the IFTTT app installed and internet connection in your smartphone.

To do this, when creating your applet, in the action service, search for “notification”.

Regards,

Sara

0 Vote Up Vote Down
plwr1512 answered 4 years ago

Hi Sara,
The IFFFT app worked (I did install it) to a point but I couldn’t get the email and realised that instead of Gmail it should be Email as you describe. I couldn’t see where I needed to change from Gmail and select Mail – you mention it is after the “that” but I couldn’t find “that”. I will go thru the other tutorials sometime and let you know where I had the difficulty but at present I am pinning hopes on the project that is working as it has allowed me to progress further. So where do I change the Gmail to Mail and if I have things already set up can I modify the Gmail to Mail bit or cancel account and create a new account?

0 Vote Up Vote Down
Sara Santos Staff answered 4 years ago

Hi.
Unfortunately, IFTTT doesn’t allow you to change the action for another one. You need to create a new applet to chose another action.
In the process of creating an applet, after selecting the “that” word, choose the “mail” option.
Then, let me know your results.
Regards,
Sara

Primary Sidebar

Login to Ask or Answer Questions

This Forum is private and it’s only available for members enrolled in our Courses.

Login »

Latest Course Updates

  • [eBook Updated] SMART HOME with RPi, ESP32, and ESP8266 (version 1.2) March 8, 2023
  • [eBook Updated] ESP32-CAM Projects (version 1.3) January 7, 2023

You must be logged in to view this content.

Contact Support - Refunds - Privacy - Terms - MakerAdvisor.com - Member Login

Copyright © 2013-2023 · RandomNerdTutorials.com · All Rights Reserved

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.