# Simple temp/humidity sensors

**URL:** <https://forums.losant.com/t/simple-temp-humidity-sensors/172>\
**Category:** Show Losant\
**Created:** [June 7, 2016, 11:23pm UTC](https://forums.losant.com/t/simple-temp-humidity-sensors/172 "2016-06-07T23:23:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![boneskull](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/boneskull/32/92_2.png) [@boneskull](https://forums.losant.com/u/boneskull)\
**Post date:** [June 7, 2016, 11:23pm UTC](https://forums.losant.com/t/simple-temp-humidity-sensors/172/1 "2016-06-07T23:23:47Z")

</div>

I’ve deployed several these things in and around my house:

 ![](https://us1.discourse-cdn.com/flex015/uploads/getstructure/original/1X/c79333b9f89b8f2e1b0b810a3d418492be4f057a.JPG)

This is:

- [WeMos D1 mini](http://www.wemos.cc/Products/d1_mini.html)
- [DHT Pro Shield](http://www.wemos.cc/Products/d1_mini.html)
- [D1 Mini Dual Base](http://www.aliexpress.com/item/Dual-Base-for-WeMos-D1-mini/32642733925.html)

The dual base is necessary because the heat from the ESP8266 will distort the temperature readings on the DHT22 if too close together.

For the software, I’m using [PlatformIO](http://platformio.org) with the following libraries:

- Adafruit-DHT (#19)
- ArduinoJson (#64)
- PubSubClient (#89)
- Losant (#277)

And:

- [ArduinoOTA](https://esp8266.github.io/Arduino/versions/2.0.0/doc/ota_updates/ota_updates.html) for OTA updates
- [Task](https://github.com/Makuna/Task) multitasking lib

Each one has a custom “Bonjour” domain name on my local network; `foo.local`, `bar.local`, and each has its own device ID.

**PRO TIP** : If deployed outside, wrap everything in clingfilm except the DHT22 itself. Mine recently survived a direct hit from a hose–the “humidity” readings were off for a couple hours–but still works great. 😃

Chris

---

<div class="post-metadata">

**Author:** ![Brandon\_Cannaday](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/brandon_cannaday/32/14_2.png) [@Brandon\_Cannaday](https://forums.losant.com/u/Brandon_Cannaday)\
**Post date:** [June 7, 2016, 11:31pm UTC](https://forums.losant.com/t/simple-temp-humidity-sensors/172/2 "2016-06-07T23:31:07Z")

</div>

That’s awesome! Do you have a public dashboard with the readings?

---

<div class="post-metadata">

**Author:** ![boneskull](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/boneskull/32/92_2.png) [@boneskull](https://forums.losant.com/u/boneskull)\
**Post date:** [June 8, 2016, 10:39pm UTC](https://forums.losant.com/t/simple-temp-humidity-sensors/172/3 "2016-06-08T22:39:24Z")

</div>

[Here’s the dashboard](https://app.losant.com/#/dashboards/570cc5f4191e390100fc873d). The “office” readings are currently coming out of a BMP180 attached to a Tessel, and are off by several degrees positive. I’m not sure if that’s my fault, or just cheap hardware.
