Arduino prog for BME680 sensor
with WiFi, dis-/enabled Webserver and dis-/enabled MQTT client
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
Arduino prog for BME680 sensor with WiFi, dis-/enabled Webserver and dis-/enabled MQTT client
- optional: show Temperature and Humidity on Website (refresh every 15 seconds)
- optional: MQTT client intervall publishing (customizable)
- optional: MQTT publish data and do ESP32 deep sleep intervall (customizable)
Screenshots
Webserver / website with firmware update message
MQTT client (Terminal)
install the Arduino IDE or use the web online version
- PC or Laptop with Windows, MacOS or Linux *_^
- ESP32 connected with sensor
- DHT11 or DHT22 (AM2302) or DHT21 (AM2301) sensor
- install the Arduino IDE
https://www.arduino.cc/en/software
- or use Arduino IDE online
https://create.arduino.cc/editor
- some included libraries needs additional Arduino libraries (e.g. PubSubClient. See header comments)
- MQTT PubSubClient
- Zanshin_BME680 (https://github.com/Zanduino/BME680)
- Clone the repo
git clone https://github.com/Zheng-Bote/ESP32_BME680_Webserver_MQTT-Client.git
- fill in your credentials
credentials.h
- WiFi settings (SSID, password)
- start MQTT yes|no, MQTT publish intervall ...
- start Webserver yes|no
- publish MQTT and do ESP32 deep sleep ...
- load firmware on ESP32
-
customize the credentials.h to your environment
-
libraries
the recommended way to use the libraries would be to install the additional ESP32_libs
and replace
old:
#include "myESP32lib.h"
new:
#include <ESP32_libs/myESP32lib.h>
- optional automatic firmware update
- optional WifiManager
- enabling MQTT subscribing
- ???
Maybe a Kanban board will be established (soon)
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt
for more information.
ZHENG Robert Zhèng Bó Tè 郑 伯特
Project Link: https://github.com/Zheng-Bote/ESP32_BME680_Webserver_MQTT-Client