Це відео не доступне.
Перепрошуємо.

Cheap DIY Motion Sensor that works with ESPHome & Home Assistant

Поділитися
Вставка
  • Опубліковано 15 сер 2024
  • Wemos D1 Mini (AliExpress affiliate) - s.click.aliexp...
    5 Pack Hc-sr501 Pir Motion Ir (AliExpress affiliate) - s.click.aliexp...
    Passive Infrared Sensors or #PIR sensors for short or just Motion Sensor are completely supported by #HomeAssistant and ESPHome. I have a question for you why to buy an expensive motion sensor when you can #DIY for cheap. In this video I will show you what parts you will need, how to install ESPHome, how to add the motion sensor to Home Assistant and how to make automations.
    Using smart motion sensors on strategic places at your home is one of the quick wins when you are turning your home into a smart home. Of course you can use out of the box motion sensors like Shelly Motion or other similar, but they are not coming cheap, especially if you have to buy a lot of them. That is why we are going to create one that will cost around 4 US dollars and it will take only few minutes of your time to make it. I will show you everything step by step and at the end we will see a real demo with Home Assistant automation.
    Let’s see how.
    ► TIME TABLE
    00:00 Intro
    01:38 What is needed for the DIY Motion Sensor?
    03:04 How to connect the D1 Mini to PIR sensor?
    03:34 Install ESPHome as Home Assistant add-on
    05:00 Editing the ESPHome configuration
    06:59 Install ESPHome on D1 Mini
    07:55 Add the DIY Motion sensor to Home Assistant
    09:02 How to make Home Assistant automation with the DIY Motion Sensor?
    10:38 Outro
    ► MY WRITTEN ARTICLE - peyanski.com/c...
    ► MY GUIDE - ON SALE
    Smart Home Getting Started Smart Home Guide v2.0 - peyanski.com/p...
    ► SUPPORT MY WORK
    Patreon - / kpeyanski
    Paypal - www.paypal.me/...
    Bitcoin - 1GnUtPEXaeCUVWdJxCfDaKkvcwf247akva
    Revolut - revolut.me/kir...
    ► COME AND SAY “HI” on:
    My Discord server: invite.gg/kpey...
    My Twitter: / kpeyanski
    ► AFFILIATE LINKS
    Wemos D1 Mini - s.click.aliexp...
    5 Pack Hc-sr501 Pir Motion Ir Sensor Body Module Infrared - s.click.aliexp...
    jumper (Dupont) wires - s.click.aliexp...
    USB to microUSB Cable - s.click.aliexp...
    USB Plug Adapter 1A - s.click.aliexp...
    NodeMCU-32 ESP32 wifi+Bluetooth (ESP32) - s.click.aliexp...
    NodeMCU V3 (ESP8266) (AliExpress affiliate link) - s.click.aliexp...
    Ubiquiti UniFi Dream Machine (UDM) - amzn.to/34B0FQK
    Raspberry Pi 4 4GB Starter Kit with 32GB Micro SD Card - amzn.to/3qaI5qN
    Raspberry Pi Zero W kit 2 - s.click.aliexp...
    Raspberry Pi Zero W Official Starter Kit (Amazon Affiliate link) - amzn.to/3ndcX87
    Tech that I’m using right now - www.amazon.com...
    Get $100 in credit over 60 days for DigitalOcean - m.do.co/c/6dd2...
    ► CRYPTO AFFILIATE LINKS
    Sign up for Crypto.com and we both get $25 USD (Referral code: xn86atnceg) - crypto.com/app...
    Coinbase - Get $10 in Bitcoin when you buy or sell $100 or more - www.coinbase.c...
    Binance - One of the biggest Crypto currency exchange - www.binance.co...
    ► ESPHome configuration
    esphome:
    name: pir-sensor-1
    platform: ESP8266
    board: d1_mini
    Enable logging
    logger:
    Enable Home Assistant API
    api:
    ota:
    password: “512345rt234gwef”
    wifi:
    ssid: "A IoT"
    password: “SmashTheLike”
    Enable fallback hotspot (captive portal) in case wifi connection fails
    ap:
    ssid: "Pir-Sensor-1 Fallback Hotspot"
    password: “somepass”
    captive_portal:
    binary_sensor:
    - platform: gpio
    pin: 13
    name: "PIR Sensor"
    device_class: motion
    ► HOME ASSISTANT MOTION SENSOR AUTOMATION
    automations.yaml entry
    alias: When PIR motion sensor is activated
    description: ''
    trigger:
    - platform: state
    entity_id: binary_sensor.pir_sensor
    to: 'on'
    condition: []
    action:
    - service: light.turn_on
    target:
    entity_id: light.shellybulbduo_8caab5616d5c
    mode: single
    ► USEFUL LINKS
    PIR Sensor 3D printed cases - www.yeggi.com/...
    ESPHome PIR Sensor page - esphome.io/coo...
    ✅ Don't Forget to like 👍 comment ✍ and subscribe to my channel!
    ► DISCLAIMER
    Some of the links above are affiliate links, where I earn a small commission if you click on the link and purchase an item. You are not obligated to do so, but it does help fund these videos in hopes of bringing value to you!

КОМЕНТАРІ • 166

  • @vegaswayne247
    @vegaswayne247 3 роки тому +9

    What I like about these is that I don't have to worry about changing the batteries. I added some code in esphome to show the wifi signal strength and up time. It lets me know how my wifi network is preforming. Just add this to the yaml code and change the name to whatever you are using.
    sensor:
    - platform: wifi_signal
    name: "PIR WiFi signal"
    update_interval: 60s
    - platform: uptime
    name: "PIR uptime"
    unit_of_measurement: "min."
    filters:
    multiply: 0.0166666667

    • @KPeyanski
      @KPeyanski  3 роки тому +1

      Great tips 👏 thanks for that! Do you have any issues with false positives? If yes, how you deal with them? Thanks one more time for the useful comment.

    • @vegaswayne247
      @vegaswayne247 3 роки тому +5

      @@KPeyanski I had false positives when I used short Dupont wires like you did. I switched to longer wires, over a meter, and moved the sensor away from the D1-mini and it fixed the problem. I used cat 5e and connected it using a wire wrap tool, but soldering would also work. The PIR sensors appear to have been designed for alarm systems where they would be away from other electronics.

    • @KPeyanski
      @KPeyanski  3 роки тому +1

      Incredible tips. I will pin this. Thanks 🙏 Also feel free to join my Discord server. We need ppl like you there - invite.gg/kpeyanski

  • @jerrydon1085
    @jerrydon1085 3 роки тому +4

    Super walkthrough! So cool too.... that GRAY thumbs up symbol is a great "mouse click" sensor, turns blue on a click, simply amazing!!!

    • @KPeyanski
      @KPeyanski  3 роки тому +1

      hahah glad you like both the video and the thumbs up automation :) What do you say It works flawlessly? 🤣

    • @Ddlg99
      @Ddlg99 11 місяців тому

      Definitely worked! Happy 1k!

  • @PCman50
    @PCman50 2 роки тому +1

    I've used Home Assistant for several years now and noticed the Esphome integration, but had no idea how easy it was to use. Just ordered 5 nodemcu and 5 motion sensors. Now I can have my lights come on as I ever l enter certain times. Can't wait to try them out.
    Thanks for this great tutorial. 👍

  • @abe677
    @abe677 3 роки тому +1

    Great video! The real hang-up is packaging these DIY devices, especially for outdoor use.

    • @KPeyanski
      @KPeyanski  3 роки тому

      It sure is! That is why I'm asking for help with 3d printer models if there is someone that wish to help. Thanks for the comment.

    • @user-po6fp5ik1y
      @user-po6fp5ik1y 11 місяців тому

      Tell me when can I order

  • @PCman50
    @PCman50 2 роки тому +3

    SUGGESTION..
    Could you make a tutorial on building a cheap Wifi Door Sensor.? I'm sure using these D1 Mini boards and a cheap (Reed/Magnet) contact switch would be very useful to a bunch of people. Thanks in advance. 👍😊

  • @erikvaliquette9773
    @erikvaliquette9773 3 роки тому +2

    I tried the blue thumb automation and it worked! 😂😂

    • @KPeyanski
      @KPeyanski  3 роки тому +1

      I told you and it works every-time 🤣 Thanks!

  • @gilesh3895
    @gilesh3895 2 роки тому +1

    Followed the on al the way through so excellent. Love your work

    • @KPeyanski
      @KPeyanski  2 роки тому

      Welcome aboard of #PIRowners! And thanks for that comment :)

  • @sforeman00
    @sforeman00 3 роки тому +9

    Another great video. Is there an easy solution to turn these into battery powered devices?

    • @MAGA_Patriot2024
      @MAGA_Patriot2024 3 роки тому +2

      Following...I'm sold if these can be battery powered!

    • @KPeyanski
      @KPeyanski  3 роки тому +3

      I'm also interested in that question, but don't know the answer yet.

    • @RoborobsComputers
      @RoborobsComputers 2 роки тому +1

      Agreed. Anyone have a batteried solution for this?

    • @MegaAshleymusic
      @MegaAshleymusic 2 роки тому +1

      I also wanted to know as I want to build a floating pool temperature gauge and switch on every 2 hours and goes to sleep but I’m not good with electronics but I follow these videos easy

    • @MegaAshleymusic
      @MegaAshleymusic 2 роки тому +1

      @@KPeyanski hurry up and find a solution 😂😂😂 love your videos

  • @blakeXYZ
    @blakeXYZ 2 роки тому

    Excellent guide! Straightforward and to the point! Thanks!

  • @rachidyekini1898
    @rachidyekini1898 3 роки тому +1

    I like your videos, very easy to understand, thanks

    • @KPeyanski
      @KPeyanski  3 роки тому

      Glad to hear that! Enjoy!

  • @TheOzembuch
    @TheOzembuch Рік тому +1

    Hi, I have my Home Assistant running on Synology NAS on virtual machine. Everything went ok until Install, where I got a message "No serial devices found". Validation went OK. I plugged in the sensor into USB of the NAS drive.
    Any ideas what went wrong and how it can be installed? Thank you !!

  • @ignaciotorrecillas1787
    @ignaciotorrecillas1787 3 роки тому +1

    Excellent solution, cheap and effective! I looking for similar solution but working with zigbee instead of wifi. Do you know how to do it and can you please make a video explaining how to do it?

    • @KPeyanski
      @KPeyanski  3 роки тому

      Thanks for the comment and for the suggestion. I will think about it.

  • @GaryRobas
    @GaryRobas 3 роки тому +1

    Thanks for a great presentation!

    • @KPeyanski
      @KPeyanski  3 роки тому

      My pleasure! Glad you enjoy it!

  • @ronm6585
    @ronm6585 3 роки тому +1

    Great instructions. Thank you.

    • @KPeyanski
      @KPeyanski  3 роки тому

      Thanks for watching and commenting, Ron!

  • @markusdick5534
    @markusdick5534 2 роки тому

    #PIRowned Hi Kpeyanski, I took NMCUV3 ESP8266 and HC-SR501. Make all as you show in your Video and I say WOW. It work all fine and perfect. Please get so on by making this good and useful Videos, BRAVO

    • @KPeyanski
      @KPeyanski  2 роки тому

      Welcome to the club! I'm very glad that I managed to help

  • @sexymuthafunka8240
    @sexymuthafunka8240 Рік тому

    1:17 you deserve a sub just for that bit!! 😁

    • @KPeyanski
      @KPeyanski  11 місяців тому

      Thanks :) I stopped making such jokes in my latest videos as I thought ppl are not liking them. I guess I have to test that somehow

  • @MrRG118
    @MrRG118 3 роки тому +1

    I clicked the thumbs up button twice and is didn't stay blue. :D

    • @KPeyanski
      @KPeyanski  3 роки тому

      Haha only odd numbers are counted for this automation :)

  • @EmilePolka
    @EmilePolka Рік тому

    4usd for the esp board and pir sensor, sure, but you still need to buy more stuff like usb cable and power adapter for each, case, wires. Tgis is more like a 20usd device once you finally assembled one.

    • @bugs181
      @bugs181 Рік тому +1

      You actually don't need a USB cable for power. Tons of ways to hook it up. For cases, there's 3D printing. Wires are super cheap if you're not using prototyping wires and buy rolls of the stuff. What he's showing here is how to get started. Use your imagination and get creative on what materials you can use to make dozens of them. I've been able to get mine down to about $1 a piece, not counting batteries (rechargable AA) which sure as heck beats off the shelf hardware, $15 to $30 a piece.

  • @ecoterrorist1402
    @ecoterrorist1402 3 роки тому +1

    nice, wish i knew how to add a flexible timer to switch the light off

    • @KPeyanski
      @KPeyanski  3 роки тому

      You can do that with the automation, but it depends what exactly want to achieve.

    • @ecoterrorist1402
      @ecoterrorist1402 3 роки тому

      @@KPeyanski when pir activate light, it stays on for xx mins, then switches off

    • @willia_music
      @willia_music 2 роки тому

      @@ecoterrorist1402 fiddle with the 'time out' so it doesn't trigger the automation all wild like, then when triggered on add a "wait for time delay". in the same automation, send a command to turn lights off

  • @hamadalmarri2141
    @hamadalmarri2141 3 роки тому +1

    As usual , Great job :)

  • @EricOnYouTube
    @EricOnYouTube 2 роки тому

    Thank you. This worked beautifully. :)

  • @bill_automated1226
    @bill_automated1226 3 роки тому

    Another great video Kiril! Thanks. I love how easy Esphome has become to use.

    • @KPeyanski
      @KPeyanski  3 роки тому

      Yes, ESPHome become like native way to go after Nabu Casa acquired the ESPHome. Love it.

  • @ArjenWols
    @ArjenWols 3 роки тому +1

    #PIROwned with ESP Easy Mega, Domoticz and Wemos D1 Mini expansion boards

    • @KPeyanski
      @KPeyanski  3 роки тому +1

      Great to hear! Very good job! Enjoy!

  • @ericg8282
    @ericg8282 3 роки тому +3

    Thanks for the vid! Only downside to commercial solutions is the need for having it hooked up to a power source.
    I don't have a socket close to every point where I use those.
    Any way to make these battery powered? I guess that wifi will be eating to much power?

    • @KPeyanski
      @KPeyanski  3 роки тому +3

      Sure there is a way to use batteries, but I can’t recommend you anything at the moment. Maybe I’ll make another video when I have more info.

  • @sebastiancojuharii5958
    @sebastiancojuharii5958 7 місяців тому

    Is there any way yo add a led light or led strip to turn on where motion is detected?

  • @leonardo2692
    @leonardo2692 5 місяців тому

    I didn't get one thing... In real world I would be able to know when someone is entering in a room and when someone is going out from a room so that in this way I could count the number of people in the room and turn the light off if and only if there are 0 persons in the room, so I would need two sensors. Could someone explain me if I get something wrong?

  • @rtrenfroe1
    @rtrenfroe1 5 місяців тому

    Anyone have a solution to solution? I'm very new to this but I got the sensor work but I'd love to be able to use batteries to power it.

  • @gabyxze1
    @gabyxze1 Рік тому

    It is possible do with zigbee ? it will be greate because it will use battery. Thanks!

  • @benjamingay1897
    @benjamingay1897 2 роки тому +1

    Thank you for the detailed video!

  • @iseymour99
    @iseymour99 3 роки тому +1

    Is a great video. Thx

    • @KPeyanski
      @KPeyanski  3 роки тому

      Thank you as well for the good words! 👌

  • @AlejandroMusso
    @AlejandroMusso 2 роки тому +1

    Great video!!!. I made Two of this sensor but I have a lot of false event. Have you the same problem?

    • @KPeyanski
      @KPeyanski  2 роки тому

      Yes, unfortunately false events are present. And this Is because of the sensor itself. There are some tricks that can be used to minimise them and I think we discussed them either here in the comments or in my written article.

  • @gergohorvath2538
    @gergohorvath2538 2 роки тому

    Why did you use the d7 pin?

  • @xtremeideaz
    @xtremeideaz 2 роки тому +1

    PIROwned ! The only problem is the false positive. so i'm sourcing for the AM312 PIR sensor for replacement.

    • @KPeyanski
      @KPeyanski  2 роки тому

      Great to hear! Good luck with the other sensors and let us know the results afterwards!

  • @Nicesocks2
    @Nicesocks2 2 роки тому +3

    I made three of these. One stays detected all the time. One constantly flips back and forth between detected and clear. The other sort of works correctly but has about 3 false positives every couple hours. After some research it turns out the cheap knock off boards recommended in this video, coupled with these sensors which are known to be noisy, and this is a terrible idea of a project.

    • @kyleawilliams91
      @kyleawilliams91 Рік тому +1

      Same I'm gonna attempt to make another tonight but I had 3 stop responding completely in one day

    • @hellothere9167
      @hellothere9167 Рік тому

      @@kyleawilliams91 how does it go, I'm trying to use this as a college project.

    • @kyleawilliams91
      @kyleawilliams91 Рік тому +1

      @@hellothere9167 unfortunately I gave up on them after 3 or 4 stoped working in a day. I'm going to use a premade motion sensor via zwave or some presence detector.

    • @hellothere9167
      @hellothere9167 Рік тому

      @@kyleawilliams91 dang, guess I'll just wing it then

    • @michaelmoloney4080
      @michaelmoloney4080 7 місяців тому

      I know from using reed sensors(magnetic) you can lower the sensitivity to reduce false positives, say has to be trivgered for 200ms before triggers...

  • @eddevine859
    @eddevine859 2 роки тому

    Is there a was to link the activation to my cell phone to give an alert ?

    • @KPeyanski
      @KPeyanski  2 роки тому

      Yes - ua-cam.com/video/JCjzEKdlezk/v-deo.html

  • @WRod1464
    @WRod1464 2 роки тому

    Any thoughts on how to power via battery?

    • @KPeyanski
      @KPeyanski  2 роки тому

      It is possible, but I haven't done any research on this yet so I can't tell any details.

  • @Qualitaetsnutzer
    @Qualitaetsnutzer 7 місяців тому

    I didn't know Slavoj Zizek was into home automation xD

    • @KPeyanski
      @KPeyanski  7 місяців тому

      Who is this guy? And is this good or bad?

    • @Qualitaetsnutzer
      @Qualitaetsnutzer 7 місяців тому

      @@KPeyanski hes a socialist from slovakia if I remember it correctly. Hes got a similar accent. Id take it as a compliment.

  • @AnotherJoe
    @AnotherJoe Рік тому

    Great video! Can you share your experience about battery life?

    • @KPeyanski
      @KPeyanski  Рік тому

      I'm not using battery for this, but an USB adapter

    • @jroysdon
      @jroysdon Рік тому

      @@KPeyanski - so just a simple wall adapter to provide power through the micro-USB port, correct? Seems simple enough, and never have to worry about battery life.

  • @irlshrek
    @irlshrek 2 роки тому +1

    so cool!

    • @KPeyanski
      @KPeyanski  2 роки тому

      Glad you think so! Enjoy!

  • @M1L31
    @M1L31 3 роки тому +1

    thanks for the tipp - using ikea trådfri motion sensor for €9 per piece but they suck
    after motion was detected you will have 60 seconds until the device will take a new motion detection - so deadtimer
    another questions: how do you power them? microusb is not available all the time where I need this sensors. any ideas?
    are these kind of ESP modules also available for Zigbee? I love it since I didn't have any outages or issues with that protocol.

    • @KPeyanski
      @KPeyanski  3 роки тому +1

      ESP8266 and ESP32 are Wi-Fi microcontrollers only. I power them with microUSB cable and any USB adapter (from phone or other device) Probably you can attach a battery, but I didn't tried this and I don't know which battery I can recommend.

  • @hkhald01
    @hkhald01 2 роки тому +1

    #PIRowned the only issue is that the motion sensor must be attached to the Rasberry-pi/Laptop is there a way to use a battery to power it also the wireless option how it works ? thanks great video

    • @KPeyanski
      @KPeyanski  2 роки тому +2

      Great, that you manage to make the PIR sensor ;) For sure there is a way to add a batteries, but I can't give you concrete directions, because I haven't done that yet and I don't want to give you false instructions.

  • @bornaradusin9723
    @bornaradusin9723 Рік тому

    Is it possible to add bot pir and a dht22 for example to one board?

  • @nishantpiano
    @nishantpiano Рік тому

    #PIRowned
    awesome tutorial and very useful

    • @KPeyanski
      @KPeyanski  Рік тому

      Glad to hear that! Congrats and enjoy! Good job 👍

  • @wojciechtrybaa6521
    @wojciechtrybaa6521 2 роки тому

    this is my log screen after programing wemos, and wemos is offline, pleas help. " wemoINFO Reading configuration /config/esphome/gl-8.yaml...
    INFO Starting log output from gl-8.local using esphome API
    WARNING Can't connect to ESPHome API for gl-8.local: Error resolving IP address: [Errno -2] Name or service not known
    INFO Trying to reconnect to gl-8.local in the background"

    • @KPeyanski
      @KPeyanski  2 роки тому

      Sorry I don't know what could be the reason. Try to start from scratch and use my article instructions if it is easier for you

  • @marine1718
    @marine1718 2 роки тому +1

    You rock

    • @KPeyanski
      @KPeyanski  2 роки тому

      Thanks, glad you like it!

    • @marine1718
      @marine1718 2 роки тому

      if we can power de nodemcu with batterys will be very nice!

  • @carlosibarcena
    @carlosibarcena 2 роки тому

    Great!, any clues how to make a HTTPS home assistance?

    • @KPeyanski
      @KPeyanski  2 роки тому

      Sure, here is a video tutorial of mine - ua-cam.com/video/jkBcGl7Vq8s/v-deo.html

  • @yuritupa
    @yuritupa 3 роки тому

    Can i use this in other place but still appear in my HA? I use wled in my store via mqtt and can control fine from home

    • @KPeyanski
      @KPeyanski  3 роки тому +1

      yes, you can use it wherever you wish as long as it have wi-fi coverage there.

  • @frogeye22
    @frogeye22 2 роки тому

    Can you explain about the ESP Mesh feature? Is it something the can be used alongside ESPHome? Thanks

    • @KPeyanski
      @KPeyanski  2 роки тому +1

      I'm not familiar with that sorry!

  • @noz3m
    @noz3m 2 роки тому

    What's the battery life?

    • @KPeyanski
      @KPeyanski  2 роки тому +1

      no battery here it should be connected to a USB port or you have to use USB adapter

  • @alexvanhecke4594
    @alexvanhecke4594 3 роки тому +1

    I have them to still have to do it my kid Will do it they even sell mount for it

    • @KPeyanski
      @KPeyanski  3 роки тому

      Hey Alex, I'm having hard time to understand that comment. Maybe because I shoot two videos in a row and my head is kind of autopilot right now. Can you please explain again :)

  • @rodanvsandrew
    @rodanvsandrew 2 роки тому +1

    #PIRowned - working great!

    • @KPeyanski
      @KPeyanski  2 роки тому

      Perfect! Thanks for sharing!

  • @user-po6fp5ik1y
    @user-po6fp5ik1y 11 місяців тому

    How to order

    • @KPeyanski
      @KPeyanski  11 місяців тому

      Use the links in the video description

  • @berketemiz8342
    @berketemiz8342 2 роки тому

    hi, is it possible to do this with rain sensor instead of PIR sensor?

    • @KPeyanski
      @KPeyanski  2 роки тому

      Yes, check the esphome web page to find some examples.

  • @pmdsaude
    @pmdsaude Рік тому

    #PIRowned #DHTowned
    Works separately, but together on the same D1 Mini, after a few minutes it stops reporting the values.
    Do you know what can be?
    PIR - 5v
    DHT - 3v
    Thanks and great videos

    • @KPeyanski
      @KPeyanski  Рік тому +1

      Congratulations on the efforts! Regarding your Q - I'm not sure I never tried that. Is it the same with power adapter?

    • @pmdsaude
      @pmdsaude Рік тому

      Thanks @KPeyanski , it was a power supply problem. I changed the AC/DC supply to 2A and the problem was solved.
      I already have 3 mounted and are all ok. Thanks for your help.
      Now I will start another project. Maby the esp32-cam. ;)

  • @scottbwright
    @scottbwright 3 роки тому

    How is this powered when not connected to the USB?

    • @KPeyanski
      @KPeyanski  3 роки тому

      USB adapter from an old phone or something.

  • @StringerBell
    @StringerBell 3 роки тому

    Hey do you have the Philips Hue motion sensors? Do you find any drawbacks in reporting rate or speed between the DIY and Philips Hue ones?

    • @KPeyanski
      @KPeyanski  3 роки тому

      No, I don't have PH motion sensor, but the speed of the DIY Motion sensor is pretty good.

    • @PaulKelly1
      @PaulKelly1 3 роки тому +1

      I've just set this up but using a microwave sensor rather than PIR (but same config) and I can say it's as quick as Philips Hue sensor and the microwave sensor even worked through an internal brick wall! (The sensor I'm testing is this one: www.amazon.co.uk/gp/product/B07W5G6M1B/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1)

  • @dodgecrickets7862
    @dodgecrickets7862 2 роки тому

    Dose this work with any esp8266

    • @KPeyanski
      @KPeyanski  2 роки тому

      Most probably, yes! But not 100% sure here as I don't know all of the available esp8266 devices

  • @RocketBoom1966
    @RocketBoom1966 2 роки тому +1

    #PIRowned

    • @KPeyanski
      @KPeyanski  2 роки тому

      Wow great to hear that. Congrats :)

  • @mathgrts
    @mathgrts 3 роки тому

    but.. what about the false trigger?

    • @KPeyanski
      @KPeyanski  3 роки тому

      if you have such you can try to play with the sensitivity knobs and/or the cables length

  • @MrBlackpanther87
    @MrBlackpanther87 3 роки тому +2

    I have always had too manyfalse positives with these sensors for some reason. Got fed up actually, tried microwave sensors and ended up with the same problem

    • @KPeyanski
      @KPeyanski  3 роки тому

      You can adjust the sensitivity with the yellow knobs but you probably already know that.

    • @MrBlackpanther87
      @MrBlackpanther87 3 роки тому

      @@KPeyanski yeah, I do. But it was some other interference, it would just keep triggering randomly. I tried microwave sensors as well and had the same problem

    • @ollyalme
      @ollyalme 3 роки тому +1

      @@MrBlackpanther87 I have many sensor boxes with motion, lightsensor, temp and humidity running ESPHome. I use the same 501 PIR for motion. I had lots of false positives in the beginning, when I used Tasmota. Now I am on ESPHome, and appart from one of the sensors occationally giving me false positives, the others are 100% stable. Note, I've connected PIR Vcc to D1mini 3.3V pin, not 5V.

    • @MrBlackpanther87
      @MrBlackpanther87 3 роки тому

      @@ollyalme makes sense. I have used tasmota only. So might actually be a tasmota problem then.

    • @MrBlackpanther87
      @MrBlackpanther87 3 роки тому

      It's been a while, so I don't remember if I tested with just Arduino code direclty and faced the same problem. But worth retrying just to see how it works now.
      I got frustrated and ended up switching to zigbee sensor which are more convenient since they are battery based but spent a lot more money then I would have wanted to offcourse

  • @xfabiosoft
    @xfabiosoft 3 роки тому

    #PIROwned ...me...! :( I got a lot of interference from the PIR sensor and during the night (with no motion) i get constantily the trigger ON and OFF... so unusable....

    • @KPeyanski
      @KPeyanski  3 роки тому

      Sorry to hear that it seems that is often a problem with this exact PIR sensor model. Try to shorten the cables from the PIR sensor to the D1 mini some ppl are saying that this help.

    • @xfabiosoft
      @xfabiosoft 3 роки тому

      @@KPeyanski i soldered on top on my wemos mini like other commercial motions sensors do... but no luck... anyway your videos are amazing as always! thanks so much

    • @KPeyanski
      @KPeyanski  3 роки тому +1

      Thanks and I hope to minimise the false positives to 0.

    • @vegaswayne247
      @vegaswayne247 3 роки тому

      I had interference problems too. I solved the problem by using longer wires to get the PIR away from the esp board, CAT 5 about 2 meters long. Other sensors can also be hooked up to the same board, such as temperature/humidity sensors.

    • @xfabiosoft
      @xfabiosoft 3 роки тому

      @@vegaswayne247 So you suggest longer and shielded?

  • @spikesnell2891
    @spikesnell2891 Рік тому

    #PIROWNED

    • @KPeyanski
      @KPeyanski  Рік тому

      Great to heart that. Enjoy! Also, check my other DIY smart sensors videos that I have ;)

  • @AhmadYusuf85
    @AhmadYusuf85 3 роки тому

    Mine turned white and not blue 😂

    • @KPeyanski
      @KPeyanski  3 роки тому

      Really, how come? What device/browser are you using? 🤪

    • @AhmadYusuf85
      @AhmadYusuf85 3 роки тому +1

      @@KPeyanski Stock UA-cam app on Android ;)

    • @KPeyanski
      @KPeyanski  3 роки тому

      I see, thanks for sharing :)

  • @user-PG13
    @user-PG13 2 роки тому

    not to be offensive but, wtf is you from? i havent ever heard your accent. again i did not mean that in an offensive manner

    • @KPeyanski
      @KPeyanski  2 роки тому +2

      I'm from Bulgaria. Not to be offensive, but "wtf is you from?" is a totally wrong written question!

    • @user-PG13
      @user-PG13 2 роки тому

      @@KPeyanski i see i dont entirely remember this but i think i was asking where you were from because i haddnt heard your accent before, i hope you have a good day sir

  • @The_Birdman
    @The_Birdman 3 роки тому +1

    #PIRowned

    • @KPeyanski
      @KPeyanski  3 роки тому

      Wow great! I really love that ❤️ Was it hard to implement?

    • @The_Birdman
      @The_Birdman 3 роки тому

      @@KPeyanski I had it up and running within 10 minutes of receiving the sensor. Thanks for your help 😊

    • @KPeyanski
      @KPeyanski  3 роки тому

      Very glad to hear that! Enjoy 😊