WYZE Contact Sensor Microcontroller Interface
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
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.
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
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.
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
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.
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.
Wowsers this is amazing and simple. Thank you!
You're very welcome!
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.)
Please list the replacement battery ID (name, brand, Type) and voltage. Thanks
Very nice, thanks
well done!
TNX 4 another great video !
73 N8AUM
You're welcome.
Any idea how far away the sensor can be from the bridge?
It's low power so it would be restricted to the confines of a normal sized house.
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.
Yes .. you could use the 3.3v from the Nano.
@@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.
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.
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.
@@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. 🥴
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.
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
How many different sensors can be connected to the WYZE ??
The radio bridge can handle up to 100 sensors.
@@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.
This is great but I feel real stupid watching this. Im a dumb dumb. lol Thank you though lots of posibilities.
You're welcome!
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.