Skip to content

Wifsimster/bmp180-mqtt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Send temperature and pression

This LUA script is for ESP8266 hardware.

Description

Read BMP180 data (temperature and pression).

Web server waiting for request to send data.

Files

  • config.lua: Configuration variables
  • init.lua: Connect to a wifi AP and then execute main.lua file
  • main.lua: Main file
  • bmp180.lua: BMP180 library

Principle

  1. Start a MQTT client and then try to connect to a MQTT broker
  2. If temperature or pression change value, publish data to broker

Scheme

scheme

About

Send BMP180 data through an ESP8266 to a MQTT broker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages