Integrating the Wyze Cam v2 with Home Assistant (including motion detection) (2024)

Integrating the Wyze Cam v2 with Home Assistant (including motion detection) (1)

The Wyze Cam v2 is a very popular security camera in the Home Assistant community. It can broadcast video in 1080p Full-HD quality, it has night vision using four infrared LEDs, and 2-way audio. Despite boasting impressive specs, the Wyze Cam v2 can be bought for just $20 (MSRP). And the company seems like one deserving of support. Wyze got plaudits from the community when they responded to webcams selling out during the pandemic when by developing and releasing a Webcam Firmware for their cameras.

  • Wyze's Approach to RTSP Implementation: A Double-Edged Sword?
  • Why RTSP matters
  • How to prepare your Wyze Cam v2
  • Enabling motion detection in Home Assistant
  • Adding Wyze Cam v2 video stream to Home Assistant

Wyze's Approach to RTSP Implementation: A Double-Edged Sword?

A point of contention among some users is the manner in which Wyze has integrated Real Time Streaming Protocol (RTSP) into their devices. Rather than incorporating it as a default feature within the firmware, they have chosen to offer it as a separate beta release, which requires users to download and manually install it onto their cameras.

Though updates for the RTSP are released sporadically, one could argue that this approach is not entirely unreasonable, especially when considering that a significant number of security cameras on the market do not support RTSP in the first place.

Wyze's decision to offer RTSP through a beta release might be seen as a way to cater to those who value this functionality, whilst not overloading the firmware with unnecessary features for users who may not require it. This approach enables them to maintain a balance between versatility and simplicity, ensuring that their products remain accessible to a broad range of customers.

Nonetheless, it is important to keep in mind that the beta release status of the RTSP implementation might result in occasional glitches or compatibility issues. Users who embark on this journey should be prepared to encounter potential hiccups along the way, and to rely on community support and their own resourcefulness to troubleshoot any challenges that may arise.

Integrating the Wyze Cam v2 with Home Assistant (including motion detection) (2)

Why RTSP matters

The Real Time Streaming Protocol (RTSP) is a network control protocol designed for use in entertainment and communications systems. Using RTSP, you can display your camera’s video stream on any supported platform. And it just so happens that Home Assistant supports RTSP.

While researching the topic, I couldn’t help but become overwhelmed with nostalgia when I read that RealNetworks, who built the RealPlayer, and Netscape were involved in the development of RTPS. Today, RTSP is still kicking because of how easy it is to implement. Better solutions, such as the standards defined by the Open Network Video Interface Forum, would be available.

Currently, the only way of integrating your Wyze Cam v2 with Home Assistant is by flashing the beta firmware and enabling RTSP.

How to prepare your Wyze Cam v2

Detailed instructions on how to flash the RTSP firmware are available on the Wyze website. All you need is your Wyze Cam v2 and a microSD card. Once your camera is ready and RTSP has been enabled, you can get started with the integration.

On the subject of microSD cards: If you are planning to continuously record footage with your Wyze Cam v2, make sure you get a card which is rated for endurance. You will quickly burn through cheaper options because microSD cards do wear out quickly when they are frequently being written to.

If you want this integration to keep working without any hiccups, you will want to assign a static IP address to each and every camera you have. If you don’t do that, the Wyze Cam v2’s IP might change after a certain amount of time or during a reboot and the integration will stop working.

Enabling motion detection in Home Assistant

The following discovery was made by Reddit user /u/ChiefBroady. As detailed in their post, you will have to set up a binary_sensor using the platform ffmpeg_motion for each Wyze Cam v2. Copy the code down below and change the username, password, and IP address as well as the sensor’s name.

binary_sensor: - platform: ffmpeg_motion input: -rtsp_transport http -i rtsp://USER:PASSWORD@IP-ADDRESS/live name: CAMERA_MOTION extra_arguments: -pred 1 -q:v 2 changes: 10 reset: 10

The extra arguments in the code define the quality of your stream. The changes argument defines how many details between two frames need to change to detect it as a motion event. If the motion detection is too sensitive, you might want to increase that number (it goes from 0-100). Finally, reset defines the time to reset the state after no new motion is detected.

Adding Wyze Cam v2 video stream to Home Assistant

You will probably also want to see the camera’s video stream in your Home Assistant dashboard. Why else would you use a security camera capable of RTSP streaming? To accomplish that, you can simply add a camera using the ffmpeg platform. Here you will once again have to adjust the camera’s name and the username, password, and IP address.

camera: - platform: ffmpeg name: CAMERA_NAME input: -rtsp_transport http -i rtsp://USER:PASSWORD@IP-ADDRESS/live extra_arguments: -pred 1 -q:v 2
Integrating the Wyze Cam v2 with Home Assistant (including motion detection) (3)

About Liam Alexander Colman

Liam Alexander Colmanis an experienced Home Assistant user who has been utilizing the platform for a variety of projects over an extended period. His journey began with a Raspberry Pi, which quickly grew to three Raspberry Pis and eventually a full-fledged server. Liam's current operating system of choice is Unraid, with Home Assistant comfortably running in a Docker container.
With a deep understanding of the intricacies of Home Assistant, Liam has an impressive setup, consisting of various Zigbee devices, and seamless integrations with existing products such as his Android TV box. For those interested in learning more about Liam's experience with Home Assistant, he shares his insights on how he first started using the platform and his subsequent journey.
Integrating the Wyze Cam v2 with Home Assistant (including motion detection) (2024)

FAQs

Does WYZE Cam v2 have motion detection? ›

Use the pan and tilt features so that whenever motion is detected, the camera moves to track the motion until motion stops.

How do I integrate Wyze into Home Assistant? ›

Configuration
  1. Browse to your Home Assistant instance.
  2. Go to Settings > Devices & Services.
  3. In the bottom right corner, select the Add Integration button.
  4. From the list, select Waze Travel Time.
  5. Follow the instructions on screen to complete the setup.

Why is my wyze cam v2 not detecting motion? ›

Navigate to the camera's settings > Event Recording. Enable Motion then select All Events. Tap Customize Detections. Next to Other Motion, ensure that the boxes are checked for both the Tag and Notify columns.

How do I get my WYZE camera to notify me of motion? ›

In the Wyze app, make sure Global Notifications are turned on. On your Wyze device, go to Settings > Notifications and make sure it's toggled on.

Is the Wyze Cam v2 still supported? ›

We will not have more WCO v2 inventory but will definitely continue to support the camera if our customers have any issues, such as Wyze Cam v1, v2 and Pan v1, v2.

Is the WYZE Cam v2 or v3 better? ›

The Wyze Cam V3 boasts several performance upgrades over the V2. It uses a Starlight sensor that enables color night vision, and it delivers 1080p video at 20fps with a 130-degree field of view. In comparison, the V2 offers black-and-white night vision, captures video at 15fps, and has a 110-degree field of view.

How do I add Wyze camera to my home monitoring? ›

To set up your Wyze Cam or Wyze Cam Pan:
  1. In the Wyze app, tap Home, then tap the + plus sign on the top left.
  2. Tap Add Device.
  3. Tap Cameras > Wyze Cam or Wyze Cam Pan.
  4. With your camera plugged into an outlet, tap Next in the app. ...
  5. Pull the base from your camera and single-press SETUP on the bottom of the camera.
Jul 6, 2023

What does Wyze integrate with? ›

Control Wyze products with your voice by connecting them with Amazon Alexa, Google Assistant, and IFTTT.

What app do I use for Wyze Cam v2? ›

The Wyze app is your gateway to a smarter life and a safer home.

Why is my Wyze v2 not working? ›

Troubleshooting Tips:

Check that your Wyze app and firmware are up to date. Power cycle the camera by unplugging it from power, then plugging it back in. Try to factory reset your camera. Try to flash the firmware to an earlier version if you have a 32 GB microSD card available.

Why is my Wyze camera not recording motion events? ›

Make sure the camera is set to record correctly. Navigate to the camera's live stream > settings > Event Recording > toggle on Record Motion Events. Enable AI Events Only then tap Smart Detections and select the desired options such as Person or Vehicle.

Why is my Wyze camera not alerting me? ›

In the Wyze app, tap on the device's name. Tap the Settings gear, then Notifications. Make sure the Notifications toggle is On, and your notification settings are correct.

How far can Wyze Cam detect motion? ›

Up to 30 feet.

Wyze Battery Cam Pro can detect motion up to 30 feet away. Refine the range further with a customized detection zone or adjust the detection sensitivity.

What does a Wyze Cam v2 do? ›

Despite its diminutive size and bargain price, the Wyze Cam V2 offers a wealth of features including motion tracking, two-way audio, free cloud storage, and a microSD Card slot for storing your video locally and enabling continuous recording.

What is the difference between Wyze Cam outdoor v1 and v2? ›

The $74 Wyze Cam Outdoor v2 is equipped with a larger field of view than its predecessor and comes with color night vision, a more advanced passive infrared lens and the option for free person detection alerts, among other improvements.

How do I turn on motion detection on Wyze? ›

In the Wyze app, tap on your Wyze Cam Outdoor. Tap the Settings gear. on the top right, then Detection Settings > Detection Zone. Toggle Detection Zone on.

Top Articles
Latest Posts
Article information

Author: Lilliana Bartoletti

Last Updated:

Views: 5851

Rating: 4.2 / 5 (73 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Lilliana Bartoletti

Birthday: 1999-11-18

Address: 58866 Tricia Spurs, North Melvinberg, HI 91346-3774

Phone: +50616620367928

Job: Real-Estate Liaison

Hobby: Graffiti, Astronomy, Handball, Magic, Origami, Fashion, Foreign language learning

Introduction: My name is Lilliana Bartoletti, I am a adventurous, pleasant, shiny, beautiful, handsome, zealous, tasty person who loves writing and wants to share my knowledge and understanding with you.