# Control pool pump with solar panels when sun is shining

**URL:** https://community.homey.app/t/control-pool-pump-with-solar-panels-when-sun-is-shining/136771
**Category:** Flows
**Tags:** app, flow, homey-pro
**Created:** [May 20, 2025, 10:04am UTC](https://community.homey.app/t/control-pool-pump-with-solar-panels-when-sun-is-shining/136771 "2025-05-20T10:04:54Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ward\_Van\_Breedam](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ward_van_breedam/32/120990_2.png) [@Ward\_Van\_Breedam](https://community.homey.app/u/Ward_Van_Breedam)
#### Post date: [May 20, 2025, 10:04am UTC](https://community.homey.app/t/control-pool-pump-with-solar-panels-when-sun-is-shining/136771/1 "2025-05-20T10:04:54Z")

</div>

I want to start the pool pump when the Hue motion detector detects enough light (sun) so the pump starts working and pumps through the solar panels. If there is no sun the pump should stop to avoid cooling down the water.  
To prevent flipping when cloudy weather there should be a timer that detects after a few minutes the situation is still to change.  
The Hue Lux detection can only be used as a starter (IF). So I was thinking to use variables to set if the two measurements are YES and then START or STOP the pool pump.  
For some reason that I do not get both measurements never happen togheter so the pump never starts or stops.  
I build in some push notifications to know what is happening.  
Can someone give a golden hint to fix this flow?

 ![Scherm­afbeelding 2025-05-20 om 12.04.15](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/e/aeeed96a039d1a7de8238b5dc4934b03ebdc4f13.jpeg)

---

<div class="post-metadata">

### Author: ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)
#### Post date: [May 20, 2025, 10:51am UTC](https://community.homey.app/t/control-pool-pump-with-solar-panels-when-sun-is-shining/136771/2 "2025-05-20T10:51:33Z")

</div>

Two triggers before a ‘ALL’-card will never work.

> [@Ward\_Van\_Breedam](#):
>
> The Hue Lux detection can only be used as a starter

Try a logic-card ‘tag is greater then… ‘. Tap the tag symbol and type the device name of the luxsensor in the searchfield.

---

<div class="post-metadata">

### Author: ![Ward\_Van\_Breedam](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ward_van_breedam/32/120990_2.png) [@Ward\_Van\_Breedam](https://community.homey.app/u/Ward_Van_Breedam)
#### Post date: [May 20, 2025, 4:37pm UTC](https://community.homey.app/t/control-pool-pump-with-solar-panels-when-sun-is-shining/136771/3 "2025-05-20T16:37:49Z")

</div>

Tnx, that was the feature that I was looking for!

The logic is much easier now. And working 👌

 ![Scherm­afbeelding 2025-05-20 om 18.36.16](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/e/8/e8653d611ba48bade31579657eac3ce6c9b139e1.jpeg)

---

<div class="post-metadata">

### Author: ![Wim\_Post](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/wim_post/32/56793_2.png) [@Wim\_Post](https://community.homey.app/u/Wim_Post)
#### Post date: [May 21, 2025, 1:15pm UTC](https://community.homey.app/t/control-pool-pump-with-solar-panels-when-sun-is-shining/136771/4 "2025-05-21T13:15:02Z")

</div>

You might consider to turn the pump at 650 lux and turn it off at 600 lux to reduce the fluctuations.
