npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@viguza/homebridge-ezviz

v1.5.0

Published

A short description about what your plugin does.

Downloads

71

Readme

Homebridge EZVIZ Plugin

verified-by-homebridge NPM Version NPM Downloads License Node.js Version

A Homebridge plugin for integrating EZVIZ devices into Apple HomeKit. This plugin provides seamless integration with your EZVIZ devices, allowing you to control them through the Home app and Siri.

Features

  • 🏠 HomeKit Integration: Integration with Apple HomeKit ecosystem
  • 📹 Camera Support: Live streaming for EZVIZ cameras
  • 🔌 Smart Plug Control: Remote control of EZVIZ smart plugs
  • 🌍 Multi-Region Support: Support for all EZVIZ regions worldwide
  • 🔒 Secure Authentication: Secure login with your EZVIZ credentials
  • 🎯 Easy Configuration: Simple setup through Homebridge UI
  • 🔄 Auto-Discovery: Automatic device discovery and configuration

Supported Devices

Cameras

  • EZVIZ IP Cameras with RTSP support
  • Indoor and outdoor security cameras
  • PTZ (Pan-Tilt-Zoom) cameras
  • Doorbell cameras

Smart Plugs

  • EZVIZ Smart Plugs
  • Smart switches and outlets

Prerequisites

  • Homebridge v1.8.0 or higher
  • Node.js v18.20.4, v20.18.0, or v22.10.0
  • EZVIZ account with registered devices
  • Network access to your EZVIZ devices

Installation

Method 1: Homebridge UI (Recommended)

  1. Open Homebridge UI
  2. Go to the "Plugins" tab
  3. Search for "EZVIZ"
  4. Click "Install" on the @viguza/homebridge-ezviz plugin

Method 2: Command Line

npm install -g @viguza/homebridge-ezviz

Device Setup

Before using the plugin, you need to configure your EZVIZ devices:

1. Enable Video & Picture Encryption

  1. Open the EZVIZ app
  2. Go to your device settings
  3. Navigate to Privacy settings
  4. Enable "Video & Picture Encryption"

2. Enable RTSP (For Cameras)

RTSP (Real Time Streaming Protocol) is required for camera live streaming:

  1. Open the EZVIZ app
  2. Go to Settings
  3. Select "LAN Live View"
  4. Start scanning and select your device from the list
  5. Once connected, tap the settings icon in the top right corner
  6. Select "Local Service settings"
  7. Enable RTSP

Note: These settings are required for the plugin to access your device's livestream. Without them, you won't be able to view the camera feed in HomeKit.

Configuration

Basic Configuration

Add the following to your Homebridge config.json file:

{
  "platforms": [
    {
      "platform": "EZVIZ",
      "name": "EZVIZ",
      "region": 314,
      "email": "[email protected]",
      "password": "your-password",
      "cameras": [
        {
          "serial": "C1A1234567890",
          "username": "admin",
          "code": "ABCD1234"
        }
      ],
      "plugs": [
        {
          "serial": "P1A1234567890",
          "code": "ABCD1234"
        }
      ]
    }
  ]
}

Configuration Options

| Option | Type | Required | Description | |--------|------|----------|-------------| | platform | string | Yes | Must be "EZVIZ" | | name | string | No | Platform name (default: "EZVIZ") | | region | number | Yes | Your EZVIZ region code (see region list below) | | email | string | Yes | Your EZVIZ account email | | password | string | Yes | Your EZVIZ account password | | cameras | array | No | Array of camera configurations | | plugs | array | No | Array of smart plug configurations |

Camera Configuration

| Option | Type | Required | Description | |--------|------|----------|-------------| | serial | string | Yes | Camera serial number | | username | string | Yes | Camera username (usually "admin") | | code | string | Yes | Camera verification code |

Smart Plug Configuration

| Option | Type | Required | Description | |--------|------|----------|-------------| | serial | string | Yes | Smart plug serial number | | code | string | Yes | Smart plug verification code |

Region Codes

The EZVIZ API uses numeric region codes (also called areaId) to determine which regional API endpoint to use.

For a complete list of all supported region codes, see config.schema.json in the plugin repository. The schema includes all available regions and their corresponding codes.

Note: You can also check the plugin configuration in Homebridge UI, which will show the available region codes.

Usage

In HomeKit

  1. Open the Home app on your iOS device
  2. Your EZVIZ devices will appear as accessories
  3. Tap on cameras to view live streams
  4. Use smart plugs to control connected devices
  5. Set up automations and scenes as needed

Voice Control

  • "Hey Siri, turn on the living room camera"
  • "Hey Siri, turn off the bedroom plug"
  • "Hey Siri, show me the front door camera"

Troubleshooting

Common Issues

Camera Not Showing Video

  • Ensure RTSP is enabled on your camera
  • Check that Video & Picture Encryption is enabled
  • Verify camera credentials are correct
  • Check network connectivity

Smart Plug Not Responding

  • Verify the verification code is correct
  • Check that the plug is online in the EZVIZ app
  • Ensure the plug is connected to your network

Authentication Errors

  • Double-check your email and password
  • Verify your region code is correct
  • Try logging into the EZVIZ app to confirm credentials

Debug Mode

Enable debug mode for detailed logging:

  1. Open Homebridge UI
  2. Go to the plugin settings
  3. Enable "Debug" mode
  4. Check the logs for detailed information

Getting Help

  1. Check the Issues page
  2. Search for existing solutions
  3. Create a new issue with:
    • Device information
    • Configuration (without credentials)
    • Error logs
    • Steps to reproduce

API Documentation

For developers who want to understand or work with the EZVIZ API directly, we provide detailed API documentation using curl commands that can be easily imported into Postman or similar tools.

📖 View API Documentation

The documentation includes:

  • Step-by-step authentication process
  • How to retrieve device information
  • Regional API domains and endpoints
  • Common error codes and troubleshooting
  • Complete curl examples

Development

Building from Source

git clone https://github.com/viguza/homebridge-ezviz.git
cd homebridge-ezviz
npm install
npm run build

Running Tests

npm test

Contributing

  1. Fork the repository
  2. Create a feature branch
  3. Make your changes
  4. Add tests if applicable
  5. Submit a pull request

Changelog

See CHANGELOG.md for version history and updates.

Disclaimer

⚠️ Important Warnings:

  • There is no official documentation for the EZVIZ API, so the endpoints used are based on other similar projects. If EZVIZ changes something, this plugin might break.
  • This plugin is tested with a limited number of devices. It may not cover every single EZVIZ device.
  • Use this plugin at your own risk.
  • This plugin is not officially affiliated with EZVIZ.

Credits

This project is based on the original work by Brandawg93. The idea for this project is to improve and expand upon the original plugin, especially now that it is archived.

License

This project is licensed under the Apache License 2.0 - see the LICENSE file for details.

Support

If you find this plugin helpful, please consider:

  • ⭐ Starring the repository
  • 🐛 Reporting bugs and issues
  • 💡 Suggesting new features
  • 💰 Supporting the project

Made with ❤️ for the Homebridge community