# Swimming pool Temperature - WiFi

**URL:** <https://community.homey.app/t/swimming-pool-temperature-wifi/14882>\
**Category:** Devices\
**Tags:** weather\
**Created:** [June 27, 2019, 7:12am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882 "2019-06-27T07:12:03Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maurits](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurits/32/8884_2.png) [@Maurits](https://community.homey.app/u/Maurits)\
**Post date:** [June 27, 2019, 7:12am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/1 "2019-06-27T07:12:04Z")

</div>

After looking at the thread about the [433 MHz pool solution](https://community.homey.app/t/swimming-pool-thermometer-433-mhz/13364/45) i wanted to make one with WiFi instead with an Fibaro sensor.

Sonoff was a good option to make one myself using the following parts.

**Sonoff TH10**  
([https://bit.ly/2KJ5oHE](https://bit.ly/2KJ5oHE))

**Sonoff DS18B20 Waterdichte Temperatuursensor**  
([https://bit.ly/2IRpai0](https://bit.ly/2IRpai0))

**USB Serial adapter** for flashing with Tasmota and powering the device (only usb power. You can also use the mains)  
([https://bit.ly/2FBMBtL](https://bit.ly/2FBMBtL))

I’m not the smartest when it comes to flashing devices or soldering parts together but even for me it was very easy to make this happen. I will explain the steps i took later.

Because i am using the TH10 it would be possible to even connect a pool light or something to the device and control this through Homey.

I will update this with a few photo’s later this week.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/5/5e117c0290608b1063af198079b5ac70c74415f1.jpeg)  
 ![Zwembad-Insights](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d50eb62ae0868818bb61aaaef9a82d9fe0513024.png)

---

<div class="post-metadata">

**Author:** ![Maurits](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurits/32/8884_2.png) [@Maurits](https://community.homey.app/u/Maurits)\
**Post date:** [June 27, 2019, 7:54am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/2 "2019-06-27T07:54:35Z")

</div>

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/653c4ab3a6a48aca78133c6099734bcabb17702d.jpeg)

This is the temporary solution.  
The powerbank supplies the serial adapter wich is connected to the TH10 by 3,3 v.

Later today this will be put in a closed box that will hang outside the pool.

---

<div class="post-metadata">

**Author:** ![Maurits](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurits/32/8884_2.png) [@Maurits](https://community.homey.app/u/Maurits)\
**Post date:** [June 27, 2019, 6:24pm UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/3 "2019-06-27T18:24:40Z")

</div>

Here is the end result.

If anyone has tips how to improve it or make it better against moisture. Let me know!  
Now I have an moisture pad inside it and drilled a little hole in the bottom.

 ![IMG_3616](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/d98b4424c0f8ba2f1e7230211f7b30c66531743a.jpeg) ![IMG_3617](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/6/6850b53c560922c989ebf22edcc1bd945421e358.jpeg) ![IMG_3618](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/8/8ccfab61351b9eb3a75fcc78aec257520fc2e278.jpeg)

---

<div class="post-metadata">

**Author:** ![Abzelf](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/abzelf/32/12433_2.png) [@Abzelf](https://community.homey.app/u/Abzelf)\
**Post date:** [June 27, 2019, 6:57pm UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/4 "2019-06-27T18:57:56Z")

</div>

Hello Maurits,

your setup looks great to me.  
I like to build it too.

Can you please explain how to build the hardware and how to programme it ?

Also how to activate it in the Homey I like to know.

Can you please share some more information ?

Thanks

---

<div class="post-metadata">

**Author:** ![Maurits](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurits/32/8884_2.png) [@Maurits](https://community.homey.app/u/Maurits)\
**Post date:** [June 27, 2019, 7:18pm UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/5 "2019-06-27T19:18:47Z")

</div>

The hardware I used is mentioned above.

The steps are from the [Tasmota wiki](https://github.com/arendst/Sonoff-Tasmota/wiki/Hardware-Preparation).

**1) Connect the wires from the USB Serial adapter to the TH10**

 ![](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/27dfe237660bb3b9b0b443f3c65f669e44657ece.png)  
Placement of pins may vary. Important to [swap](https://github.com/arendst/Sonoff-Tasmota/wiki/Hardware-Preparation#serial-connection) the RX and TX cables.

**2) Check your serial-to-USB adapter so it supplies 3.3V power instead of 5V**  
There is a black clip that you can lift and place over 1 pin where it says 3v

 ![DSC_0813-1000x1000](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/1/14f080dd4861bd6146879b0467d2194600004bae.jpeg)

**3) Flash the chip with [NodeMCU PyFlasher](https://github.com/arendst/Sonoff-Tasmota/wiki/Flashing#nodemcu-pyflasher)**  
I downloaded the latest version from [here](http://thehackbox.org/tasmota/release/sonoff.bin)

**4) [Configure](https://github.com/arendst/Sonoff-Tasmota/wiki/Initial-Configuration#using-web-ui) the wifi settings**

**5) Install [MQTT](https://apps.athom.com/app/nl.scanno.mqttbroker) on Homey and set it up**

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/2/21a0bdaffc405009dc794fe3ce626b4924192bc5.png)

**6) [Configure](https://github.com/arendst/Sonoff-Tasmota/wiki/MQTT#configure-mqtt) MQTT on the Sonoff device**

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/b/b63365c8b1605bbed68bdef7d1f3c92d6dc62f92.jpeg)

**7) Configure the module that it is an TH device and assign the sensor**

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/a/ac93188518717916bb2df99a53f002c6631a4a29.png)

**8) Add to homey as an new device**

This is a short explanation you can find a lot on the Wiki and in this [Topic](https://community.homey.app/t/itead-sonoff/119)

---

<div class="post-metadata">

**Author:** ![Fire69](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fire69/32/8758_2.png) [@Fire69](https://community.homey.app/u/Fire69)\
**Post date:** [June 28, 2019, 7:11am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/6 "2019-06-28T07:11:59Z")

</div>

What about the power? How long will it last on that powerbank? (And how many mAh is it?)

---

<div class="post-metadata">

**Author:** ![Maurits](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurits/32/8884_2.png) [@Maurits](https://community.homey.app/u/Maurits)\
**Post date:** [June 28, 2019, 7:19am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/7 "2019-06-28T07:19:57Z")

</div>

The serial adapter is powered with a powerbank with 10.000 mAh.  
It was at 50% on 25th of june when i started. This morning it was still at 50%.

I am now waiting it to drain so i can estimate how far 10.000 mAh will get me.

You can always choose to disconnect the serial adapter and use the 220 v option. And even connect a lamp to the other connector.

---

<div class="post-metadata">

**Author:** ![mazpo](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/mazpo/32/3680_2.png) [@mazpo](https://community.homey.app/u/mazpo)\
**Post date:** [June 28, 2019, 8:11am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/8 "2019-06-28T08:11:35Z")

</div>

hi there, i just ordered a xiaomi flora 4in1 sensor for 7 euros and will put it into the swimmer in the pool or did i missed something?

---

<div class="post-metadata">

**Author:** ![Oliver\_Brick](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/oliver_brick/32/13073_2.png) [@Oliver\_Brick](https://community.homey.app/u/Oliver_Brick)\
**Post date:** [July 25, 2019, 9:22am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/10 "2019-07-25T09:22:39Z")

</div>

looks nice

---

<div class="post-metadata">

**Author:** ![robertklep](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/robertklep/32/160628_2.png) [@robertklep](https://community.homey.app/u/robertklep)\
**Post date:** [July 25, 2019, 10:07am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/11 "2019-07-25T10:07:17Z")

</div>

Looking at the device, the temperature sensor is located in the part that stays above the soil (the white part in the image below), which would mean that you’d be measuring air temperature and not water temperature.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/2X/d/dcac3a23344b05768d9005be8e52132bfdb96be2.jpeg)

---

<div class="post-metadata">

**Author:** ![Maurits](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/maurits/32/8884_2.png) [@Maurits](https://community.homey.app/u/Maurits)\
**Post date:** [April 6, 2020, 6:19pm UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/12 "2020-04-06T18:19:50Z")

</div>

Upgraded the pool temperature sensor. No I can use the Sonoff functionality to also turn on and off the pool lights.

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/5/6/56f03ed788b5face4247a772266e071671b8ff77.jpeg) ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/5/a5175c986a68f8544a3155960ff1d4e42a7b0504.jpeg)

---

<div class="post-metadata">

**Author:** ![DirkG](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dirkg/32/118897_2.png) [@DirkG](https://community.homey.app/u/DirkG)\
**Post date:** [April 7, 2020, 6:41am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/13 "2020-04-07T06:41:12Z")

</div>

A more or less ready-to-use alternative could be the temperature sensor from [BleBox](https://blebox.eu/product/tempsensor/?lang=en), of course without controlling lights.

---

<div class="post-metadata">

**Author:** ![Dick\_Van\_der\_Pijl](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/dick_van_der_pijl/32/39372_2.png) [@Dick\_Van\_der\_Pijl](https://community.homey.app/u/Dick_Van_der_Pijl)\
**Post date:** [April 13, 2020, 6:42am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/14 "2020-04-13T06:42:16Z")

</div>

is t connected with homey?

---

<div class="post-metadata">

**Author:** ![Arvlux](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arvlux/32/16390_2.png) [@Arvlux](https://community.homey.app/u/Arvlux)\
**Post date:** [April 13, 2020, 9:41am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/15 "2020-04-13T09:41:59Z")

</div>

A different setup with similar Sonoff (Th16) connected to Homey through @robertklep App with Tasmota (here using standard Sonoff waterproof case); Great to automate filtration and prevent from icing)  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/f/ef578fc5a8661064067ab915df6dbe0af106cd47.jpeg)

---

<div class="post-metadata">

**Author:** ![Arvlux](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/arvlux/32/16390_2.png) [@Arvlux](https://community.homey.app/u/Arvlux)\
**Post date:** [April 13, 2020, 10:17am UTC](https://community.homey.app/t/swimming-pool-temperature-wifi/14882/16 "2020-04-13T10:17:13Z")

</div>

For those interested, it is easy to perform the shown modification on the case not using initial holes but 1- sealing them and 2- drilling, placing new holes where it best fits.  
Especially to get the sensor connector centered with the hole and easier access for the electricity connection. Without doing this, I would admit, the case is difficult to use …

![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/7/973809a127819b8b732c48830cfe27812c699af1.jpeg)
