WYZE Contact Sensor Microcontroller Interface

Sdílet
Vložit
  • čas přidán 28. 08. 2024
  • This video will describe how to interface a WYZE contact sensor to a microcontroller. This is a very simple way to get your projects connected to the cloud for smart phone notifications.
    www.wyze.com

Komentáře • 31

  • @prob17
    @prob17 Před 4 lety +4

    Helpful video thanks. This hack leaves you tied to the manufacturer's network. Another option would be to set up Home Assistant on a Raspberry Pi and keep everything in house.

  • @simplelyf4072
    @simplelyf4072 Před 4 lety +2

    Hi, this is a really cool hack. Especially since these Wyze devices are now available at Home Depot in the US , makes them very accessible

  • @scratchy101
    @scratchy101 Před 4 lety +2

    At 7:54 you say the range of the system is the range of the WiFi. In fact it is also limited by the range of the 906Mhz signal to the bridge in the nearest WiFi camera. Some people have reported they can increase this range by adding a USB extension cable between the Wyze Cam V2 & the bridge module.

    • @PCman50
      @PCman50 Před 2 lety

      This is actually a brilliant idea of using a simple USB extension cord. And someone has actually created a hack of the USB interface to an esp8266 board. So many ideas, so little time to try then all. LoL

  • @p0o0q
    @p0o0q Před 2 lety +1

    Hi, interesting video. I found an interesting article from Wyze Support: "Waiting until the battery dies may result in the sensor being unusable even when the battery is replaced. Replace the battery as soon as you see the "Low Battery" warning.
    If a sensor of yours has died and is unable to connect even after replacing the battery, please contact our support team for help." It is a first time I heard such kind of tech. Can you explain the reason behind and how to unlock it? Thanks.

    • @0033mer
      @0033mer  Před 2 lety +2

      Yes, the Wyze sensor has a glitch when its battery dies so I power it with 3.3 volts from the Nano. I did not include that in the video to keep it simple. When the battery dies it loses its MAC address so there it nothing you can do. Send it back to Wyze and they will replace it with a new one.

  • @nadieselgirl
    @nadieselgirl Před 3 lety

    Wowsers this is amazing and simple. Thank you!

  • @valshaped
    @valshaped Před 4 lety

    If you're more into locally-hosted home automation, there's a wyzesense python library, and a wyzesense Home Assistant custom integration. If you already have Home Assistant set up, it's not hard to set up HACS, and then download the custom integration (just be sure to check the Github issues page if the receiver stays blue -- there's some stuff you can do to fix it.)

  • @claudeloi
    @claudeloi Před 3 lety +2

    Please list the replacement battery ID (name, brand, Type) and voltage. Thanks

  • @btcsys
    @btcsys Před 4 lety +1

    Very nice, thanks

  • @faengelm
    @faengelm Před 4 lety +1

    well done!

  • @vidasvv
    @vidasvv Před 4 lety +2

    TNX 4 another great video !
    73 N8AUM

  • @onsturn
    @onsturn Před 4 lety +1

    Any idea how far away the sensor can be from the bridge?

    • @0033mer
      @0033mer  Před 4 lety +2

      It's low power so it would be restricted to the confines of a normal sized house.

  • @calvinlim4399
    @calvinlim4399 Před 4 lety

    Is it possible to modify the 3V coin battery to use power from the nano on the breadboard or using an external power adapter? I don't want to keep changing the battery every year or when it's needed.

    • @0033mer
      @0033mer  Před 4 lety

      Yes .. you could use the 3.3v from the Nano.

    • @calvinlim4399
      @calvinlim4399 Před 4 lety +1

      @@0033mer Thanks. I've connected the contact sensor to the 3.3v on the Nano and it has been working great. In addition, the 3.3v on the MB102 Breadboard Power Supply and FT232RL FTDI Adapter works great as well.

  • @PCman50
    @PCman50 Před 2 lety

    Interesting. But why not just use like a simple ESP8266 D1 mini board that costs about $4 each and totally eliminate the Wyze contact sensor. Super easy to Flash it with ESPHOME and send your data through your local WiFi. In my case to Home Assistant. These ESP boards support both digital and analog inputs. This way you eliminate the the weakness of the Wyze Sensor's that were long ago discontinued because of reliability issues and the fact if the battery goes dead in one they will get be ruined or bricked. Also better to stay off the Wyze Eco System. Run everything local.

    • @0033mer
      @0033mer  Před 2 lety

      This was an exercise given to a high school electronics class where it had to be done without using any sort of code libraries, not possible with an ESP8266.

    • @PCman50
      @PCman50 Před 2 lety

      @@0033mer Understand. 👍.. It was actually very informative. And I appreciate the time you spent on the project. I recently acquired several of these sensors so was perusing CZcams to find some practical uses for them. They are rather impressive for the low price point.
      I've seen these even used for water leak detection with nothing but a simple grid made from a few wires.
      Also a very smart guy figured out how to unbrick them. With his complex code and a very expensive interface. 🥴

  • @noweare1
    @noweare1 Před 4 lety

    Pretty cool hack. Does WYZE have any analog sensors. Can it go the other way from smart phone to controller so I can mess with my kids.

    • @0033mer
      @0033mer  Před 4 lety

      Lots of home automated products to control devices with your smartphone together with Google Home or Alexa. www.amazon.com/Control-devices-anywhere-Compatible-Amazon/dp/B076NZQRV4

  • @lasersbee
    @lasersbee Před 4 lety

    How many different sensors can be connected to the WYZE ??

    • @0033mer
      @0033mer  Před 4 lety +1

      The radio bridge can handle up to 100 sensors.

    • @lasersbee
      @lasersbee Před 4 lety

      @@0033mer Thanks.. As was commented previously...would be nice if at least a 256 bit code could be sent to the base station rather than just an On/Off 1 bit code.

  • @morganmendieta3738
    @morganmendieta3738 Před 4 lety

    This is great but I feel real stupid watching this. Im a dumb dumb. lol Thank you though lots of posibilities.

  • @gandsnut
    @gandsnut Před 4 lety +2

    El. hobbyists who get excited about gizmos such as Wyze - and who don't have a smartphone - are advised to research hard and long to see if said gizmo will be accessible without apps, phone and some cloud broker. Further, don't think the cheap gizmo you want will work without a smartphone even if it claims to work with desktops or local LAN. The two "security cams" I bought both refused to even CONFIGURE without a smartphone. Until I can crack both open to see if there are headers available for direct hardware communication, my money (and significant time) has been wasted.