Skip to content
This repository has been archived by the owner on Nov 19, 2024. It is now read-only.
/ shtshow Public archive

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

License

Notifications You must be signed in to change notification settings

boneskull/shtshow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Wemos' provided library (as of March 2017) is hinky and not recommended.
  • This firmware uses ClosedCube's library instead.
  • I'm not sure clock stretching works very well on an ESP8266, so we're using the SHT30's "periodic" mode.

License

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