# Make existing PIR smart

**URL:** <https://community.homey.app/t/make-existing-pir-smart/50671>\
**Category:** Questions & Help\
**Tags:** zigbee\
**Created:** [August 20, 2021, 12:12pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671 "2021-08-20T12:12:16Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [August 20, 2021, 12:12pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/1 "2021-08-20T12:12:16Z")

</div>

Hi,  
I’m currently using this Motion sensor outside:  
 ![PIR](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/0/a0c986bc122dd4862ca5124529cbf2e49659f3c7.jpeg)  
I’m looking for the possibilities to make this dumb sensor smart, but I can’t find any suitable device.  
I prefer Zigbee! Can anyone send me in the right direction?

---

<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:** [August 20, 2021, 12:39pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/2 "2021-08-20T12:39:10Z")

</div>

It depends on what’s inside. If it has a relay, you could use an Aqara door/window sensor, remove the reed (magnetic) switch that’s inside, and connect it to the relay. Or buy an Aqara motion sensor, if you shield them against direct rain they work pretty well outside.

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [August 20, 2021, 12:58pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/3 "2021-08-20T12:58:49Z")

</div>

It doesn’t work with a relay, please find below wiringdiagram:

 ![PIR2](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/9/8/987c0aeef3086c265068d0def5f2e320643f7b00.png)  
I’ve tried the Aqara Motion Sensor, and it was protected from rain, but it held for 2 weeks and died…unfortunatly…

---

<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:** [August 20, 2021, 1:16pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/4 "2021-08-20T13:16:22Z")

</div>

Looks like you need a device that will allow a mains voltage on its switch contacts. I don’t know of any Zigbee devices that support that, offhand (I checked the Hue wall switch module and the Sonoff ZBMINI, which both don’t allow it). I made a dumb PIR sensor smart myself, but I used a Shelly 1, which supports this sort of setup ([see also](https://gist.github.com/xbmcnut/6d239de9523246d7a831ca55be6564c2#gistcomment-2989389)).

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [August 20, 2021, 3:32pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/5 "2021-08-20T15:32:55Z")

</div>

Bit far tetched, but how about a smart socket that measures power consumtion? Power gows up → motion detected?

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [August 20, 2021, 5:06pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/6 "2021-08-20T17:06:31Z")

</div>

Nice thought! But the thing is, there is no lamp attached, so no power consumption to measure… The motion sensor only needs to notify homey, so homey can start some flows…

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [August 20, 2021, 5:12pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/7 "2021-08-20T17:12:10Z")

</div>

Guess a aqara PIR also fits in that housing…  
Also frrs you from the place where is 220volt.

---

<div class="post-metadata">

**Author:** ![Edwin\_D](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/edwin_d/32/136417_2.png) [@Edwin\_D](https://community.homey.app/u/Edwin_D)\
**Post date:** [August 20, 2021, 6:52pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/8 "2021-08-20T18:52:39Z")

</div>

Question: Why is it you want to make the existing one smart (as it will probably be a rather complex solution, and not replace it by e.g.

> **[Philips Hue Outdoor Draadloze Bewegingssensor EU - Zwart - IP54 - incl....](https://www.bol.com/nl/nl/p/philips-hue-outdoor-draadloze-bewegingssensor-eu-zwart-ip54-incl-batterijen/9200000103794013/?Referrer=ADVNLGOO002065-3O53PH3J64NPS-474958224393&gclid=Cj0KCQjwpf2IBhDkARIsAGVo0D0mtEYQfe1hM0tfoBd1gyA8CObsyZ2tciYvve71M_VGAOJ_Gmo1GbUaAncnEALw_wcB)**

You will probably get a lot more control from it. If it’s about 220V, an adapter would fix that.

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [August 21, 2021, 6:00am UTC](https://community.homey.app/t/make-existing-pir-smart/50671/9 "2021-08-21T06:00:04Z")

</div>

Hi Edwin,  
You are totally right about that, and if there is no proper solution, I think I am going to buy the Hue sensor.  
But it is a little bit the sport to make it work 😉

---

<div class="post-metadata">

**Author:** ![Russell\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/russell_s/32/45779_2.png) [@Russell\_S](https://community.homey.app/u/Russell_S)\
**Post date:** [August 21, 2021, 2:36pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/10 "2021-08-21T14:36:06Z")

</div>

Not sure if you’ve committed to a choice yet but if you got a common $2 relay that can trigger from a 220v input source then it would then let you control a low voltage trigger on a smart device…

If you did and you really wanted to use Zigbee as your connection (wifi is better though) I’d go buy a Sonoff ZBMINI , (flash it with Tasmota), then join the relay to the S1 and S2 pins on it… The ZBMini’s are extremely small and compact and also natively run on 220v-240V. It would tuck in behind your existing PIR sensor fairly well. Just need to weather proof it…

Normally I would recommend to throw away the old legacy PIR gear and start from scratch with a new smart PIR sensor but Ive found there isn’t much choice on the market when needing a proper heavy duty outdoor, UV resistant (and weather proof) PIR (like what you have) that’s smart and also natively runs on 220 to 240… You can add a low voltage adapter to some devices but the installation starts looking bulky.

Relay ………………… Maybe €2

Sonoff ZBMINI , around €10

Cheap upgrade …. Will also help strengthen and extend the range of your Zigbee network …

---

<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:** [August 21, 2021, 3:52pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/11 "2021-08-21T15:52:23Z")

</div>

> [@Russell\_S](#):
>
> wifi is better though

No, Ethernet is.

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [August 22, 2021, 8:00pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/12 "2021-08-22T20:00:30Z")

</div>

I like your thinking. The ZBMINI is a good zigbee device. Can you please give me an example of the relay, because I can’t find any good one that cheap.  
Thanks!

---

<div class="post-metadata">

**Author:** ![Russell\_S](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/russell_s/32/45779_2.png) [@Russell\_S](https://community.homey.app/u/Russell_S)\
**Post date:** [August 22, 2021, 11:58pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/13 "2021-08-22T23:58:15Z")

</div>

AC input relays aren’t commonly used as DC ones but the are plenty of SSR relays (solid state) that can handle it …

AU $2.88 10％ Off | SSR-10AA SSR-25AA SSR-40AA 10A 25A 40A Solid State Relay Module 80-250V Input AC 24-380V AC Output High Quality

> **[1.99US $ 10% OFF|SSR 10AA SSR 25AA SSR 40AA 10A 25A 40A Solid State Relay...](https://www.aliexpress.com/item/4000983056458.html?srcSns=sns_Copy&spreadType=socialShare&bizType=ProductDetail&social_params=20290973682&aff_fcid=91581c6654f64e2abea27e030c1f1fba-1629676697159-06381-_mLtKLjh&tt=MG&aff_fsk=_mLtKLjh&aff_platform=default&sk=_mLtKLjh&aff_trace_key=91581c6654f64e2abea27e030c1f1fba-1629676697159-06381-_mLtKLjh&shareId=20290973682&businessType=ProductDetail&platform=AE&terminal_id=e09f2b78f2dd483db425f728b3b1ade0)**
>
> Smarter Shopping, Better Living! Aliexpress.com

Also have screw terminals which should make the wiring easier. Also is similar dimensions to the ZBmini which should make it easier to pack into one weather proof box…

 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/a/1/a15a286a736773094cfe140bb22f94c420d794bc.jpeg)

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [August 23, 2021, 11:52am UTC](https://community.homey.app/t/make-existing-pir-smart/50671/14 "2021-08-23T11:52:49Z")

</div>

Thanks @Russell_S , I will take a look at it and will reply when I know more/make it work.

---

<div class="post-metadata">

**Author:** ![Willem59](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/willem59/32/16860_2.png) [@Willem59](https://community.homey.app/u/Willem59)\
**Post date:** [August 25, 2021, 5:50pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/15 "2021-08-25T17:50:27Z")

</div>

I used a Fibaro Smart Implant for 2 LED lights with PIR. As led’s, PIR module and Smart Implant all work on 12 V it was do-able (even for me). Had to change the wiring of the floodlights (extra wires for 12V becouse the implant had to be mounted outside the lamps) (I forgot the exact wiring, i’m afraid)  
This is Z-wave and not Zigbee, though. And the module is reliable, but not cheap.  
It works, and i get a notification from Homey when PIR is activated in my backyard.

---

<div class="post-metadata">

**Author:** ![Sjoerd\_Keltjens](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sjoerd_keltjens/32/17470_2.png) [@Sjoerd\_Keltjens](https://community.homey.app/u/Sjoerd_Keltjens)\
**Post date:** [August 26, 2021, 6:01am UTC](https://community.homey.app/t/make-existing-pir-smart/50671/16 "2021-08-26T06:01:00Z")

</div>

I got the same sensor, and attached it to a fibaro 2x double module and connected the switching wire to S2.

I still use s1 and q1 for other lamps. Q2 is not connected

---

<div class="post-metadata">

**Author:** ![FabianB](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/fabianb/32/17313_2.png) [@FabianB](https://community.homey.app/u/FabianB)\
**Post date:** [August 26, 2021, 8:58am UTC](https://community.homey.app/t/make-existing-pir-smart/50671/17 "2021-08-26T08:58:29Z")

</div>

@Sjoerd_Keltjens, thanks for your solution.  
Because I prefer Zigbee, and the Fibaro module is a little too pricy for me, I’ve orderded the ZBMINI and a cheap relay. I will test this once everything is received and post my findings here in a couple of weeks.

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [August 26, 2021, 2:41pm UTC](https://community.homey.app/t/make-existing-pir-smart/50671/18 "2021-08-26T14:41:15Z")

</div>

> **[Hack a PIR Motion Sensor with an ESP8266 | Random Nerd Tutorials](https://randomnerdtutorials.com/hack-pir-motion-sensor-esp8266-hlk-pm03/)**
>
> Hack a commercial PIR motion sensor with an ESP8266 to log data to Node-RED whenever motion is detected. The ESP8266 will be powered through the HLK-PM03 AC/DC.

Maybe this is usefull for you, in combination with Homeyduino?

---

<div class="post-metadata">

**Author:** ![Gerard\_L](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/gerard_l/32/30781_2.png) [@Gerard\_L](https://community.homey.app/u/Gerard_L)\
**Post date:** [August 27, 2021, 10:32am UTC](https://community.homey.app/t/make-existing-pir-smart/50671/19 "2021-08-27T10:32:54Z")

</div>

Reconnect the aquara sensor. The app got a update. I got same troubles.

---

<div class="post-metadata">

**Author:** ![Christian13](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/christian13/32/27232_2.png) [@Christian13](https://community.homey.app/u/Christian13)\
**Post date:** [August 29, 2021, 4:30am UTC](https://community.homey.app/t/make-existing-pir-smart/50671/20 "2021-08-29T04:30:53Z")

</div>

I’m using the Steinel sensor IS 140-2 (54€), but it’s zwave…  
It’s working fine.

[Next page](https://community.homey.app/t/make-existing-pir-smart/50671.md?page=2)
