Thanyasit / BME280_Temperature-and-Humidity_Monitor_with_LINE-Notification

This program monitors the temperature and humidity using a BME280 sensor and sends notifications to your LINE account using the LINE Notify API.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

BME280_Temperature-and-Humidity_Monitor_with_LINE-Notification

Description

This program monitors the temperature and humidity using a BME280 sensor and sends notifications to your LINE account using the LINE Notify API.
2019

Prerequisites

  • Arduino IDE
  • ESP8266WiFi library
  • WiFiClientSecureAxTLS library
  • DNSServer library
  • ESP8266WebServer library
  • WiFiManager library
  • TimeLib library
  • Wire library
  • SPI library
  • Adafruit_Sensor library
  • Adafruit_BME280 library
  • A LINE Notify API access token

Installation

  1. Clone this repository or download the source code.
  2. Open the Arduino IDE and navigate to Sketch > Include Library > Manage Libraries.
  3. Search for and install all of the required libraries listed above.
  4. Open the BME280_Temp_Humid_Monitor_with_LINE_Notification.ino file in the Arduino IDE.
  5. Replace LINE_TOKEN with your LINE Notify API access token.
  6. Connect your ESP8266 board to your computer via USB and select the appropriate board and port in the Arduino IDE.
  7. Upload the sketch to your ESP8266 board.

Usage

  1. Connect your BME280 sensor to the ESP8266 board according to the wiring diagram in the source code.
  2. Power on the ESP8266 board.
  3. Wait for the ESP8266 board to connect to your Wi-Fi network.
  4. Wait for the ESP8266 board to synchronize the time with an NTP server.
  5. Wait for the notification to be sent to your LINE account at the specified time interval (default is every 30 minutes).

Example

License

This code is licensed under the MIT License. See the LICENSE file for details.

About

This program monitors the temperature and humidity using a BME280 sensor and sends notifications to your LINE account using the LINE Notify API.

License:MIT License


Languages

Language:C++ 100.0%