|Software apps and online services:|
The mqtt-bme280-homie project is a small and easy to integrate temperature, air pressure and humidity monitoring solution with an extra SSD1306 OLED display. Sensor data is send via MQTT and displayed on the small screen. Local time is loaded via NTP. The project is built with a cost-effective ESP8266 WiFi chip (I used a NodeMCU from ebay, Wemos D1 mini will do as well).
The display shows 4 screens (can be extended) in a carousel mode. temperature, humidity, air pressure and some status like IP address.
- ESP8266 (Wemos D1 mini, Nodemcu)
- BME280 sensor breakout
- SSD1306 OLED display
- USB power supply and cable
I got the BME280 breakout form Adafruit, others will do as well. The SSD1306 OLED displays I ordered at Aliexpress. This enclosure keeps everything together. Wiring is pretty simple since both sensor and display connect via I2C bus with the ESP.
The following software libraries are used. If using PlatformIO all dependencies are resolved automatically.
- Homie V2 (dev) including dependencies
- Optionally PlatformIO environment for building the code
Source code and configuration details can be found at: https://github.com/mhaack/mqtt-bme280-homie
The software can be configured via MQTT (or Homie config file), also while running. You can set
to control the reading intervals and how often data will be published via MQTT. Additionally a
can be set, especially if installed within some box the BME280 sensor will give some slightly of temperate values because of the heat the ESP chip emits. Rotating the display is also possible by set the
parameter to true.
Did you replicate this project? Share it!I made one
Love this project? Think it could be improved? Tell us what you think!