Bain: A DIY IoT wireless sensor for temperature, humidity and pressure

Here is a project I am working on https://github.com/hadim/bain

It’s an environment sensor that sends data to an MQTT broker for later being visualized in Home Assistant.

It uses an Adafruit Feather HUZZAH with ESP8266 and an Adafruit BME280 I2C or SPI.

1 Like

ESPhome supports the BME280 sensor.

You could be up and running a lot quicker.

Just add the yaml for the BME280 and upload.

2 Likes

Sure but it’s not as fun as programming, building and assembling your own customized sensor :smiley:

I was looking into this as well, thx for sharing this great project !
Is there any way to improe battery life ? 1 week is really low.

I’m trying to come up with a solution similar to xiaomi sensors (it’s fun to build): their battery last forever and they report every 2 or 5 minutes.

It’s not really possible due to the design of the Feather ESP8266 board. I read some people saying the ESP32 board will be more efficient, so I guess it’s worth trying. One solution also would be to use the TPL5110 chip,

More informations here: https://forums.adafruit.com/viewtopic.php?f=8&t=120675&start=15

I have opened a ticket if you want to share your ideas: https://github.com/hadim/bain/issues/4