Skip to content

dereisele/tuple-weather-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Tuple ESP8266 Weather Station Example

A example project to send weather data from a ESP8266 to a Matrix room using MQTT and Tuple.

It's using a ESP8266 flashed with MicroPython and a BME280 to measure

  • Barometric Pressure
  • Temperature
  • Humidity

Message Flow

+---------+
| ESP8266 |
+---------+
     |
     |
     v
+-------------+
| MQTT Broker |
+-------------+
     ^     
     |
     |
     v
+-------+
| Tuple |
+-------+
    ^     
    |
    |
    v
+-------------------+
| Matrix Homeserver |
+-------------------+
    ^     
    |
    |
    v
+---------------+
| Matrix Client |
+---------------+

## Settings

Configuration

  • Modify the boot.py to match your Wifi credentials
  • Modify the main.py to match your Matrix Room and MQTT Broker

Setup

  • Setup Tuple using it's README
  • Flash the ESP8266 with Micropython Tutorial
  • Attach the BME280 via I2C (SCL=5 aka D1, SDA=4 aka D2) and power (VIN=5v, GND=G)

Shopping List for a Weather Station

  • 1x Wemos D1 mini clone
  • 1x Wemos D1 Mini battery shield (USB works to as power source)
  • 1x 3,7V Lithium rechargeable Battery (with matching connector
  • 1x BME280 module as a pressure, humidity and temperature sensor
  • Some pin headers and soldering material
  • Some sort of case
  • Wemos D1 Mini Prototype Perf Board

Releases

No releases published

Packages

No packages published

Languages