Hi all,
This custom low power WiFi temperature/humidity sensor has been over a year in the making:
I’m running quite a few at home, with some setup as generic thermostat
to control heaters:
In a nutshell, it’s a sensor that will run for 9 months+ on a single 1200mAh Li-Ion battery (which you can then recharge), and submits any temperature differences as measured every 10 minutes (which you can change in the software).
Integration with HA is a sinch:
- platform: mqtt
state_topic: "livingroom/temperature"
name: "Living Room Temperature"
unit_of_measurement: "°C"
- platform: mqtt
state_topic: "livingroom/humidity"
name: "Living Room Humidity"
unit_of_measurement: "%"
- platform: mqtt
state_topic: "livingroom/vbatt"
name: "Living Room Battery"
unit_of_measurement: "V"
I’ve got the total build cost to £8 per device which isn’t super cheap, but 40% of that cost is the sensor - so if you just want temperature I would probably make one based on the DS18B20 or similar for a lot less.
I spent several months on breadboard getting the power consumption down, then several months designing and testing PCBs, then a month or two designing and testing the 3D printed case.
The latest case design (case2) only impacts temperature measurement by ~0.05C which is less than the repeatability of the sensor (0.08C):
Overall a big learning project for the esp8266, PCB design and 3D printing which has solved a need and saved my 60% of my electricity bills so far!
Let me know if anyone wants any more details - I’ve tried to write up as I went on Github. I have a few spare bare PCBs I can ship out to UK/Europe for feedback - DM me.
Amadeus