boneskull / shtshow

Temperature & humidity sensor Thing using ESP8266 + MQTT + SHT30. Built with PlatformIO and Homie
Other
6 stars 1 forks source link
esp8266 home-automation homie humidity humidity-sensor iot mqtt platformio sht30 sht3x temperature temperature-sensor wemos wemos-d1 wemos-d1-mini wemos-shield wifi

shtshow

build status

Temperature & humidity sensor Thing using ESP8266 + MQTT + SHT30. Built with PlatformIO and Homie

Hardware

This project specifically uses:

  1. Wemos D1 Mini Pro
  2. SHT30 Shield v1.0.0

You probably want to be using a dual base to avoid heat interference from the ESP8266 itself.

Note: Wemos' SHT30 v1.0.0 has a I2C address of 0x45, whereas the factory setting of the SHT30 is 0x44. If you have the shield and need to use 0x44, solder these two pads together:

where to solder

I did not do this.

This firmware should work with any D1 Mini. The D1 Mini Pro has 16MB of flash, which is more than you need to run this.

This firmware may also work with the SHT30 Shield v2.x, but I haven't tried that shield yet.

Installation

  1. Wire up hardware
  2. Get PlatformIO
  3. Clone this repo
  4. (Optional) Create data/homie/config.json (see Homie JSON config docs) and use PlatformIO to upload the data dir to SPIFFS
  5. Use PlatformIO to flash device
  6. Follow Homie's setup instructions

Notes

License

Copyright © 2017-2019 Christopher Hiller. Licensed [Apache-2.0].