# Motion sensors to turn on an outlet that powers a water pump

**URL:** <https://discourse.nodered.org/t/motion-sensors-to-turn-on-an-outlet-that-powers-a-water-pump/69951>\
**Category:** General\
**Created:** [2 November 2022 12:09 UTC](https://discourse.nodered.org/t/motion-sensors-to-turn-on-an-outlet-that-powers-a-water-pump/69951 "2022-11-02T12:09:27Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Colin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/colin/32/17040_2.png) [@Colin](https://discourse.nodered.org/u/Colin)\
**Post date:** [2 November 2022 12:34 UTC](https://discourse.nodered.org/t/motion-sensors-to-turn-on-an-outlet-that-powers-a-water-pump/69951/2 "2022-11-02T12:34:37Z")

</div>

> [@nodeBoy816](#):
>
> One person suggested the SONOFF SNZB-03 ZigBee Motion Sensor

That is what I use and for me they work well.

> [@nodeBoy816](#):
>
> but it seems to be used more for turning on lights.

The motion sensor does not turn on anything. When used with node-red, the motion events are picked up by node-red (usually via zigbee2MQTT) and then you can do anything you like, such as controlling your pump. Node red should be able to control any zigbee smart socket, but check the zigbee2MQTT website to ensure compatibility. I have a SmartThings mains socket with power meter GP-WOU019BBDWG, but there are many to choose from.

My personal choice is not to use Home Assistant, but to do it all in node-red, which is what most here do.

---

_[View the full topic](https://discourse.nodered.org/t/motion-sensors-to-turn-on-an-outlet-that-powers-a-water-pump/69951)._
