Temperature and Humidity Sensor - UK

Hi all,

I am looking for a decent priced Temperature and Humidity Sensor that I can place in each room and all links back to my HA for graphing.

Does one exists?



Depends how handy you are… You could use a BME280 with nodemcu or esp32 and that will work. Will need to solder the pins to the BME but it’s otherwise straightforward and cheap.
There may be something more off the shelf… I also have a Sonoff S22 with a Si7021 that plugs into it (Could use a TH10 with a Si7021 too)
Those options are pretty cheap.

1 Like

I’d be wary of the BME. I’ve found it self heats a lot more than the DHT22. Even when turning off oversampling and requesting infrequent updates. No biggie if all you want is trends and not absolute accuracy though.

Interesting… I’ve heard bad things about the DHT22. I dunno. I checked my BME280 with a normal thermometer and it was reading correctly. I also have the sensor part totally exposed so that likely helps as well.

Has anyone looked/tried Xiaomi Mijia Temperature Sensor (Bluetooth) ?

Yeah i’d heard the same which was why I was going to change over from DHT22s to BMEs.

I did an experiment with an alcohol thermometer, two DHT22s, two BME280s, two Xiaomi CGG1s and a Xiaomi LYWSD02. I put them in the same place and watched them for a week. I made sure the sensors were well apart from the ESP board, as that heats up.

DHT22s - fast updates, accurate enough.
BME280s - fast updates, but consistently high readings which affected the humidity reading
CGG1s - slow as a wet week, i.e. not enough updates even for room temperatures (BLE broadcast)
LYWSD02 - frequent enough updates but high temperatures again (BLE broadcast)

The DHT22s seemed to give the most accurate temperature (assuming my alcohol thermometer was accurate) with the fastest updates. They’ve been running reliably for over a year, so I ended up keeping them.

I guess it’s true, if you have more than one thermometer all you have is confusion :slight_smile:

I have some BMEs, CGG1s and a LYWSD02 for sale if anyone wants them (Australia).

hahahaha. Very true.
The Si7021 I have is consistently lower temp than the BME280 but it’s also in a different part of the house… about 2° lower consistently.
I might grab a DHT22 and put it in the same location as the BME280…

That’s actually disappointing because they’re perfect i.e. stand alone, battery powered and can be mounted anywhere without needing to wire in power.

By “not enough updates” for the CGG1 - how often can it do?

And for LYWSD02, can you tweak the offset so it matches up?


For sure with a template you can apply an offset or pretty much any formula you desire.

Green line is the CGG1, Red is LYWSD02, both are currently next to each other. The blue line is a DHT22 in an adjacent room.

I know nothing about this sort of thing, which will probably show in my question, but could it be possible to build something that uses the DHT22 and is wireless and battery powered (for example, with a couple of AA) so that self contained units could be built and placed anywhere in the house?

Not if by wireless you mean WiFi. Too power hungry. You’d be lucky to get more than a few days on a couple of AA batteries.

For BLE, Zigbee, Zwave or ISM RF you’re better off buying rather than building.

However if you power it from a 5V plug pack an ESP WiFi module loaded with ESPhome and configured with yaml is very doable. It’s what I use.

Good article to get more power out of batteries for a esp8266 but it does indeed mean lesser readings https://openhomeautomation.net/esp8266-battery

That’s a pretty bad article. The author is only accounting for sleep current. Waking for 30 seconds (optimistic) every ten minutes would use 600mAh a day (@0.5A TX current).

Ha good catch it would indeed add up more power consumption

Thanks for the replies
Personally I don’t mind how for the wireless
I am not so keen on powering by a plug, plus where I would like to put a couple of sensors they are not close to sockets
I already have a couple of aeotec multisensors l, but they are around £60 each and I am really only interested in humidity and temp

I’ve come across this…

Seems to be grabbing data better than previously - are you able to test it with CGG1 and LYWSD02 and see if it worked for you before I buy them?


No. I run home assistant on a pc without Bluetooth. The sensors are communicating with an ESPhome flashed ESP32 board that acts as a gateway.

No love for the xiaomi zigbee stuff?

Horrible wifi interfering things! :slight_smile:

But seriously, they are a great option id you are not using all three non overlapping 2.4GHz wifi channels.