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 🙏

© 2024 – Pkg Stats / Ryan Hefner

@zswuwing/homebridge-wyze-smart-home

v0.5.37

Published

Wyze Smart Home plugin for Homebridge

Downloads

45

Readme

homebridge-wyze-smart-home

verified-by-homebridge npm npm Donate Chat

homebridge-wyze-smart-home: Wyze Connected Home plugin for Homebridge

This plugin adds support for Wyze Smart Home devices to Homebridge.

Funding Donate

If you like what I have done here and want to help I would recommend that you firstly look into supporting Homebridge. None of this could happen without them.

After you have done that if you feel like my work has been valuable to you I welcome your support through Paypal. All funding goes back into product purchases. I would love to support all products that Wyze has under their portfolio along with other product that gets rebranded for other companies.

Supported Devices

  • Light Bulb
  • Light Strips
  • Color Bulb (Mesh Light)
  • Plug
  • Outdoor Plug
  • V1 & V2 Contact Sensor (Status / Battery)
  • V1 & V2 Motion Sensor (Status / Battery)
  • Tempeature Sensor (Status / Battery)
  • Leak Sensor (Status / Battery)
  • Lock (Battery / Door Status / Control)
  • Camera v2, v3, Outdoor Cam, PamCam (on/off)
  • Wall Switch
  • HMS
  • Thermostat

For more information about our version updates, please check our change log.

Configuration

Use the settings UI in Homebridge Config UI X to configure your Wyze account, or manually add the following to the platforms section of your config file:

{
  "platforms": [
    {
      "platform": "WyzeSmartHome",
      "name": "Wyze",
      "username": "YOUR_EMAIL",
      "password": "YOUR_PASSWORD",
      "keyId": "",
      "apiKey": "",
      "mfaCode": "YOUR_2FA_AUTHENTICATION_PIN",
      "filterDeviceTypeList": ["OutdoorPlug","Plug"],
      "filterByMacAddressList": ["MAC_ADDRESS_1","MAC_ADDRESS_2"]}
  ]
}

Supported devices will be discovered and added to Homebridge automatically.

Optional fields

  • mfaCode – Only required for the initial login if you have two-factor authentication enabled for your account. This is typically a 6-digit code provided by your authenticator app.
  • refreshInterval – Defines how often the status of the devices will be polled in milliseconds (e.g., "refreshInterval": 5000 will check the status of your devices' status every 5 seconds). Defaults to 10 seconds.
  • phoneId – The phone id used by the Wyze App. This value is just found by intercepting your phone's traffic. If no phoneId is specified, a default value will be used.
  • API key – Navigate to this portal, and click Login to sign in to your Wyze account. Note: Ensure that the login info you are using matches the info you use when logging into the Wyze app. Once you’ve signed in, you’ll be automatically redirected back to the developer page. Click Create an API key for your API key to be created. Once created, you can click view to see the entire key. You should receive an email that a new API key has been generated. Once you have the API key, you can use it in your script to get the access token and refresh token.

Other Info

Special thanks to the following projects for reference and inspiration:

Thanks to misenhower for the original Wyze Homebridge plugin, and thanks to contributors and other developers who were not merged for volunteering their time to help fix bugs and add support for more devices and features.

This plugin is an actively maintained fork of misenhower's original Wyze Homebridge Plugin project.