Home Assistant: Cheap Multi-Room Temperature & Humidity sensors

I have been using the Honeywell Evohome system in our house for multi-zone underfloor heating since it’s we’ve moved in. I’ve also been having issues with this system since that time and it’s cost me a lot of work to get it to do what it should do and I’m really fed up with it!

This video is the first step into replacing that system! In this video we’re going to set up an easy to configure and cheap multi-room temperature sensing system with Home Assistant at its heart.

Video about setup

This post is the text portion that accompanies the main part which is in the video, please watch it first, the video refers to this blog post where needed!

Shopping links

During the video I use certain hardware, here is a list of the hardware that I used. These are affiliate links and help me out! 😀

Xiaomi Mijia Temperature and Humidity sensor: https://geni.us/Tr2RpJH

MH-ET Live ESP32: http://geni.us/4OZdAj
or
Wemos D32 Mini: https://geni.us/9aXV

Good Micro-USB cable: https://geni.us/4Yqui9t
Powerbank + charger combo shown in video: https://youtu.be/hjqtwleG5Kg

ESPhome

ESPhome is the awesome software used to achieve the Bluetooth -> Home Assistant bridging of the temperature, humidity and battery level data.

It’s an easy way to create firmware that runs on an ESP8266 or ESP32.

Check it out on https://esphome.io !

Text bits

During the video I refer to the following bits:

Scanner configuration:

esphome:
  name: 'vidtemp'
  platform: ESP32
  board: mhetesp32devkit

wifi:
  ssid: 'WIFI SSID'
  password: 'WIFI PASSWORD'

api:

web_server:
  port: 80

logger:

ota:
  password: 'OTA PASSWORD'

# Enable Bluetooth scanning for this ESP32
esp32_ble_tracker:

Remember to change the name to the name you also used in ESPhome and change the WiFi SSID, WiFi PASSWORD and OTA PASSWORD to what you are using in your configuration!

Full configuration:

For the full configuration we only add to the above configuration. So paste the following below what was already there:

sensor:
  - platform: xiaomi_mijia
    mac_address: XX:XX:XX:XX:XX:XX
    temperature:
      name: "Sensor_1 Temperature"
    humidity:
      name: "Sensor_1 Humidity"
    battery_level:
      name: "Sensor_1 Battery Level"

  - platform: xiaomi_mijia
    mac_address: XX:XX:XX:XX:XX:XX
    temperature:
      name: "Sensor_2 Temperature"
    humidity:
      name: "Sensor_2 Humidity"
    battery_level:
      name: "Sensor_2 Battery Level"

Here you will need to replace the XX:XX:XX:XX:XX:XX with the actual MAC addresses of the Xiaomi Mijia meters. In the video I show how to do this using the scanner configuration.

Please follow and like us:

4 thoughts on “Home Assistant: Cheap Multi-Room Temperature & Humidity sensors”

  1. great video I flashed my frist esp32 with this video i have many esp8266 flashed but always struggled with 32 i used the esphomeflasher first time thanks

    1. That’s great to hear! 😀

      ESPhome flasher makes it easy to do that first flash and after that you can use OTA so don’t need it anymore, it’s an awesome system like that!

  2. Thanks for the video. I hope to order to some these for my place.
    Is there a reason you used ESP home flasher instead of uploading from esphome via the usb port?

    1. Yes, my ESPhome install runs in a docker container in a VM on my Proxmox server, wayyyy to much hassle to get a USB port passed through. My server is also located very inconveniently to access it’s USB ports. ESPhome flaser solves that issue and you can just do it conveniently at your desk! 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *