项目作者: MKme

项目描述 :
Wireless humidity Monitor for my 3D printer filament
高级语言: C++
项目地址: git://github.com/MKme/ESP8266-WIFI-Humidity-Monitor.git
创建时间: 2018-08-03T22:57:36Z
项目社区:https://github.com/MKme/ESP8266-WIFI-Humidity-Monitor

开源协议:

下载


ESP8266-WIFI-Humidity-Monitor

Wireless humidity Monitor for my 3D printer filament. Samples DHT 11 every X hours/days, sends it to IFTTT and goes back in to deep sleep.

Project box updates here: https://www.thingiverse.com/thing:3039157

To get your IFTTT Key:

1: sign in

2: click on your account in the top right corner

3: select services

4: select Webhooks

5: click settings in the top right

6: under account info, copy everything after https://maker.ifttt.com/use/ (including underscores)

Wiring For ESP12E LOLIN

Pin On DHT11 Pin On ESP8266
GND G
VCC 3V3
SIG GPIO0 (D3 on LOLIN)

Special Wiring

RST> D0 for wakeup (GPIO16/WAKE on NodeMCU)

NOTE: RST line wakeup Jumper must be removed to program!

Support my projects by picking up the display/board here:

More Projects and Videos!

My Youtube Channel : http://www.youtube.com/mkmeorg
My website : http://www.mkme.org

Other Random notes so future me has a clue what I did here:

Some code borrowed from: https://github.com/beamzer/Wemos-IFTTT-Button/blob/master/Wemos-IFTTT-Button/Wemos-IFTTT-Button.ino
Another cool version: https://nobugsjustfeatures.wordpress.com/2017/12/11/pir-sensor-alarm-with-esp8266-and-ifttt-webhooks-maker/

Yes some variables are no longer used and should be removed. That is a future person problem- deal with it.
Yes credentials are hard coded- I did this to expressly annoy the internutz. Life is about joy in little wins….

ESP Deep sleep tutorial from Rui here: https://randomnerdtutorials.com/esp8266-deep-sleep-with-arduino-ide/

GPIO16 must be tied to reset to wake!
Video explains: https://www.youtube.com/watch?v=Q8GT-GBH7ok

March 2020
Added backup of working library for my ESP12E- All other DHT libraries fail. Seemingly impossible to find the working one again. Found it here:
https://forum.arduino.cc/index.php?topic=475581.0