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
+---------+
| ESP8266 |
+---------+
|
|
v
+-------------+
| MQTT Broker |
+-------------+
^
|
|
v
+-------+
| Tuple |
+-------+
^
|
|
v
+-------------------+
| Matrix Homeserver |
+-------------------+
^
|
|
v
+---------------+
| Matrix Client |
+---------------+
## Settings
- Modify the
boot.py
to match your Wifi credentials - Modify the
main.py
to match your Matrix Room and MQTT Broker
- 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)
- 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