This LUA script is for ESP8266 hardware.
Read BMP180 data (temperature and pression).
Web server waiting for request to send data.
- Connect to a wifi AP
- Start a web server and wait for HTTP request
- If request is
/temp
, return BMP180 temperature value in response - If request is
/pres
, return BMP180 pression value in response - If request is
/reset
, restart the device