Diy temp and humidity sensor

so i have a few cheap temprature and humidity sensors in my vivariums and tanks at home the type with a cable with a sensor on so the display is outside the the tank. Im wondering how hard it would be to take the sensors off and attach the cables to some esp32 units i have laying around to report the readings to home assistant (i need to calibrate the device also)
iv bought some pre made units but they are either not safe to be in the tanks or sit on top so not reading in the ideal place

Hopefully there is a thread someone can point me too that helps

Thanks in advance

Likely not hard.
But you need to know/find out what exact sensors they are…

Rather than destroy the working sensors just buy some dht22 they are cheap enough to make taking apart working sensors pointless.

its more just a case of learning and because i already have them to hand and i know these sensors are fine in high humidity.

take a pic and post it here…

these type of units
https://www.amazon.co.uk/Thlevel-Thermometer-Hygrometer-Thermometers-Temperature/dp/B0894QCT8W/ref=sr_1_30?crid=KJTV9YG4XV52&dib=eyJ2IjoiMSJ9.FecwDbePRrFKxrYA2J_PAI4zeVj9XZXHjInH3UFleK8V_ohUR4LN58DCz7zesCrqot5y3v2KDzdPxM8aCHPAbqLSiMnbmMiPb-5ilZU75TBk53hIHxg2AlLM44ERqPCGECwvTd_yQHJP3NXxpBkdtnp0ftvPYoNw5WM3Fh2zuzEcY7Nrz5ICtJTlvc9KdaxqkwJ3pkF9I6OmztTEyXDhvxv4eMsIcOmBzpb_r3I7L3Q6F9k8qzMHRA71epJGK1gClLYx1dr5YeeCkJDxRrzLtoHf1lgWuCOmh_Ma1NbSoKY.q1t6G-AW-klGAUJuoHuBhuEUap1dXvfVFclyEz9ZRpI&dib_tag=se&keywords=temperature+and+humidity+sensor&qid=1759342418&sprefix=temperature+and+%2Caps%2C157&sr=8-30

3 pins sensors
i tried the premade wierless sensors they dont intergrate with home assistant.
sp the other option is if i can flash them and add a simple power supply (psu side i can manage)

Now I agree with @Arh, it’s not worth to play with those sensors, even if I prefer to reuse/recycle old components.

ok guys thanks for the advice

I would also recommend buying a few simple sensors and connecting them to an ESP. I conducted a comparison test with the sensors I have at home. I arranged all the sensors next to each other in a housing and read them using a D1 Mini Pro.
The tested sensors are relatively easy to integrate into HomeAssistant via ESPHome.

Sensor information:

Sensor comparison test:

(Except for the DHT22 and the Dallas sensor, you still have to build a small housing for the sensors.)

SHT4x sensors are the clear winner there.

I use SHT45 sensors. Accuracy overkill for room climate but at least I know I can trust their readings.

One thing I did find though was that they had to be connected via 30cm leads or self heating from the ESP board was an issue.

Another vote for this.
For practical purposes lower budget option SHT41.
DHT only if long wiring required.

great idealy id like to have used a cable to link the sensor to the device so i dont destroy the controllers with the humidity just have the sensors in the vivariums posibly mutiple sensors in zones for difrent reasons (Heating, misting etc)
Ill get on ali express and make an order tomorrow

Just pick a probe instead of “module”.
https://aliexpress.com/item/1005009778490275.html

1 Like

I did some experiments with DHT11 and DHT22. I built +/-0.5%FS oven from a toaster oven and a temperature controller. My conclusion was that they were good for testing software but an utter waste of 75¢ for anything else.

Nice enclosures and I nearly bookmarked them until I noticed the price. Holey shitballs batman they are expensive.

I make my own with these: https://www.aliexpress.com/item/1005005753502123.html

Prices of that specific link are little bit weird, I agree. But SHT40 costs 4.50 eur, which is very reasonable. The probe enclosure is (supposed to be) water proof.

More than ten years ago I used to do my own water proof probes, because I didn’t find small enough ready made.
I grinded the smallest module I found, added sensirion waterproof membrane cap and covered all pcb with epoxy. While I made them to be inserted in concrete, I also had few of them for 6 years under the rain in my garden without any problems. Back then sensor was SHT21.

1 Like

Sais who?? The datasheet sais otherwise and its not recommended to use with high humidity…

Also, i dont see anywhere in the documentation where it specifies what type of sensor exactly that is and just because it has 3 wires/pins on it, that doesn’t automatically mean its a certain type/model.

Hell, nearly all temp/humidity sensors have 3 connection points and they are very different types of sensors that require specific drivers for whatever chip its using.

You’re far better off if you just go buy appropriate sensors for the use case instead of trying to modify one that wasn’t meant for an environment you need it for and doing that is really just asking for problems, either right away or later on when its inconvenient to have to go fix…

Here is just the list of supported temperature sensors that Esphome supports if you want a visual of just how many different 3 pin sensors supported and new ones are being added quite frequently.
[Esphome temperature sensors](ESPHome Docs - ESPHome - Smart Home Made Simple ESPHome Docs - ESPHome - Smart Home Made Simple)

thankyou all for your input iv put the project on hold for a few weeks trying to some other projects finished off before the cols weather kicks in including some automation for halloween and christmas… because im a gluton for punishment :slight_smile: ill post my results when i get back to it though thanks again

thanks for the offer haha