[APP][Pro] EZVIZ (Community): cameras, doorbells, plugs, lights and sensors in Homey

:camera: EZVIZ (Community) brings your EZVIZ devices into Homey through your EZVIZ account: cameras, battery cameras, video doorbells and intercoms, smart locks, smart plugs, lights, A3 sensors and the Home, Away and Sleep mode of the EZVIZ app. Motion, a person or someone at the door starts a Flow within seconds, with the picture EZVIZ took, and cameras with RTSP show live video in Homey.

EZVIZ has an official Homey app as well, but it only takes snapshots and has not accepted new users for a year: everyone who tries gets error 1034. This app logs in the way the EZVIZ app on your phone does, so that limit does not apply.

Free, no subscription, no server of my own. In English, Dutch, German, French, Italian, Spanish, Swedish, Norwegian and Danish.

:test_tube: Test version: EZVIZ (Community) | Homey
:mobile_phone_with_arrow: App Store: https://homey.app/a/be.ezvizcommunity/

My other apps


:house: Which devices

  • Cameras: indoor and outdoor, pan and tilt, battery cameras and base station kits (C6N, H6c, C8c, H8c, H3c, C3W, H9c, CB and HB kits and more)
  • Video doorbells and intercoms: DB1C, DB2, EP3x, CP4 peephole, HP7 and other doorphones
  • Smart locks: DL01S, DL03, DL05 and others, for battery, lights, energy mode and their events
  • Smart plugs: T30 and T31
  • Lights: LB1 bulbs
  • A3 sensors: T2C door and window, T10C water leak, T9C siren, T1C motion
  • Security mode: Home, Away and Sleep, as on the start screen of the EZVIZ app

Every camera only gets the switches it really has, so a camera without a privacy cover will not show a privacy switch.

A word of honesty: I do not own an EZVIZ device. Everything is built from pyEzvizApi, the library behind the Home Assistant integration, and the login is checked against the real EZVIZ cloud, but no camera has been added yet. If something does not match the EZVIZ app, post it here with the model. The model is in the device settings in Homey.


:key: Adding a device

  1. In Homey: Devices, +, EZVIZ (Community), and pick the type of device.
  2. Log in with the email address (or phone number) and password of your EZVIZ account. Leave the region on “Find it automatically”.
  3. If EZVIZ asks for a verification code, send it to yourself from the pairing screen and fill it in. Homey asks this only once.
  4. Pick the devices you want to add.

Accounts that log in with Google, Apple, Facebook or TikTok do not work, because EZVIZ gives those no password. Give the account a password in the EZVIZ app, or share your devices with a second EZVIZ account and use that one in Homey.

If EZVIZ says there are too many terminals on the account, remove a few old phones under Terminal management in the EZVIZ app.


:high_voltage: Flows

Cameras and doorbells

When

  • An event happened: motion, person, vehicle, animal, sound, doorbell, line crossing, area entered, or any event. With the type, the EZVIZ text, the time and the picture.
  • Someone rang the doorbell, with the picture
  • A person was detected, with the picture
  • Motion alarm turned on (the standard Homey card)
  • Went offline, came back online
  • The door was unlocked (intercoms), with how
  • A firmware update became available

And

  • Privacy mode, sleep, alarm notifications or the warning light is on
  • Motion, a person or another event happened in the last minutes
  • Is online

Then

  • Take a picture, and use it in a notification or anywhere else in the Flow
  • Turn privacy mode, sleep, alarm notifications, the alarm schedule, the microphone, the status light, the infrared light, follow movement, tracking people, patrolling, the warning light, the flash light on motion, the alarm tone, the tamper alarm, 24-hour recording, sleeping on its own, turning towards sound, wide dynamic range, lens correction, the offline notification, call notifications, the chime light or the outdoor ring sound on or off
  • Set the alarm sound (soft, loud, silent), night vision (black and white, colour, smart) and what the camera detects (people, any change, body heat)
  • Set the motion sensitivity and the battery mode of a battery camera
  • Set the ring tone and ring volume of a doorbell
  • Turn the picture upside down
  • Turn the notifications of the EZVIZ app on your phone on or off, while Homey keeps getting the events
  • Turn the siren on or off, set the floodlight brightness
  • Turn a pan and tilt camera, go to a position you saved in the EZVIZ app
  • Open the door or the gate of an intercom
  • Restart the device, install a firmware update
Plugs, lights, sensors and the security mode
  • Plugs: on and off, switch on or off after a number of minutes (the plug keeps that timer itself), and whether it comes back on after a power cut.
  • Locks: battery, night light, welcome light, energy mode and every event of the lock as a trigger. The EZVIZ cloud does not tell an app whether the lock is locked, and does not let it open the lock.
  • Lights: on and off, brightness, colour temperature and colour where the bulb has them.
  • Sensors: open or closed, motion, water, siren state, battery, low battery and signal.
  • Security mode: the mode changed, the mode is, set Home, Away or Sleep. It also works as a Homey alarm, so Away is armed and Sleep is partially armed.

:movie_camera: Live video

Cameras on mains power can show live video in Homey, also when you are away from home. It uses the RTSP stream of the camera on your home network:

  1. In the EZVIZ app: Profile, Settings, LAN Live View, pick the camera, Local Server Settings, and switch RTSP on.
  2. In Homey, in the device settings: fill in the verification code from the camera label and tick “Show live video in Homey”.

If the picture stays black, try the sub stream or tick “The camera sends H.265”. Battery cameras have no RTSP, so they keep the live picture.


:framed_picture: Pictures

Each camera has two pictures in Homey: the last event and a live picture. The live picture asks the camera for a new one when you open it. Cameras also count their events per day, so you see a timeline in Insights.

If you switched on Video and Picture Encryption in the EZVIZ app, the pictures are encrypted. Homey first tries the key EZVIZ keeps in the cloud. If the pictures stay empty, fill in the verification code from the camera label (six capital letters) in the device settings.


:bar_chart: Dashboard widgets

  • EZVIZ camera: the picture of the last event, or a live picture when you tap it, with the switches of the camera, the siren, the door and gate of an intercom and arrows for a pan and tilt camera
  • EZVIZ events: the latest events of all your cameras
  • EZVIZ security mode: Home, Away and Sleep as three buttons

:bell: How fast are events?

Homey listens to the EZVIZ push service, so events arrive within seconds. If the push connection drops, Homey checks the event list every 15 seconds until it is back. The app settings show whether push is connected.


:red_question_mark: Questions

My camera is offline in Homey but works in the EZVIZ app

Battery cameras sleep most of the time. Homey shows what the EZVIZ cloud says, and that is the same as the device list in the EZVIZ app.

Live video stays black

Check that RTSP is on for the camera in the EZVIZ app, that the verification code is right, and that Homey and the camera are on the same network. Many EZVIZ cameras send H.265: tick “The camera sends H.265” in the device settings, or set the camera to H.264 in the EZVIZ app if it offers that. Not every phone can show H.265.

Can Homey open my EZVIZ lock?

No. The EZVIZ cloud does not report whether the lock is locked and does not let an app open it. The app gives you the battery, the lights, the energy mode and the events of the lock. If your lock shows more in the EZVIZ app, post it here.

Is my password safe?

Homey keeps a hash of your password, not the password itself, so it can log in again when the session ends. That hash is enough to log in, so treat it like the password. Nothing goes to any server other than EZVIZ.


This app is not made by EZVIZ or Hikvision. It is built on what pyEzvizApi (Apache 2.0) found out about the EZVIZ cloud, with thanks to its maintainers.

1.1.0 is in the test version and with Athom for review:

  • Three dashboard widgets: EZVIZ camera (last or live picture, switches, siren, intercom door and gate, arrows for pan and tilt), EZVIZ events (the latest events of all cameras) and EZVIZ security mode (Home, Away, Sleep)

The app icon is now the EZVIZ logo.

Still looking for the first people with real EZVIZ devices: if you try it, tell me what works and what doesn’t, with the model.

Just wondering: how did you build the app then? I also often build apps for devices I don’t have myself, then I use the login from the mobile app to determine how the app logs in. I don’t know what the device list looks like yet. So afterwards, I would usually ask the user who requested the app to install a “test” Homey app first which collects the devices list and sends it to my own server, or I would create a Homey app which would allow me to send commands remotely (f.e. for Bluetooth devices, it just opens a websocket channel to my VPS so I can access the device remotely). But you mention you also don’t use any VPS /servers.

Or did you just log the device list in the diagnostics reports that the testers send?

1.2.0 is in the test version and with Athom for review:

  • Live video: cameras on mains power show live video in Homey through RTSP, also away from home. Switch on RTSP in the EZVIZ app, fill in the verification code in the device settings and tick “Show live video in Homey”.
  • Smart locks: battery, night light, welcome light, energy mode and every event of the lock as a trigger
  • Cameras: battery mode and charging, what the camera detects, the alarm schedule, ten more switches (24-hour recording, tracking people, tamper alarm and more), floodlight brightness and the memory card
  • Doorbells: call notifications, ring tone and ring volume, and a trigger when an intercom door is unlocked
  • Flows: something happened in the last minutes, is online, a firmware update became available, and events per day in Insights

Everything is still untested on a real EZVIZ device, so if you have one, tell me what works and what doesn’t, with the model.

Mostly by reading. The EZVIZ cloud is well documented by pyEzvizApi, the library behind the Home Assistant integration: its source covers the login, the device list, the switches and the push service, and its tests include real device list answers that users shared. I ported that to Node and tested it against fake EZVIZ answers built from those examples. The login itself is checked against the real cloud with a made-up account, which gives the expected “wrong user or password” answer, so at least the encryption and the headers are right.

What I can’t check yet is how every model reports itself. That’s where the first users come in: sensors show the values EZVIZ sent in their device settings, the pairing screen lists the models it found when none fit the chosen type, and the diagnostics report carries the app log. No server of my own in between, so nothing leaves Homey except the calls to EZVIZ.

Your test app approach is a good one though. If the first reports don’t tell me enough, showing the raw EZVIZ values for cameras in the device settings as well is the next step.