This is a custom component to allow control of various Wyze devices in Home Assistant using the unofficial API. Please note this mimics the Wyze app and therefore access may be cut off at anytime.
- Control Wyze Bulbs as lights through HA
- Control Wyze Switches as switches through HA
- This is an unofficial implementation of the api and therefore may be disabled or broken at anytime by WyzeLabs
- It requires two factor authentication to be disabled on your account
If you like what I have done here and want to help I would recommend that you firstly look into supporting Home Assistant. You can do this by purchasing some swag from their store or paying for a Nabu Casa subscription. 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 BuyMeACoffee.
- Have HACS installed, this will allow you to easily update
- Add https://github.com/JoshuaMulliken/ha-wyzeapi as a custom repository as Type: Integration
- Click install under "Wyze Bulb and Switch Api Integration" in the Integration tab
- Restart HA
- Navigate to Integrations in the config interface.
- Click ADD INTEGRATION
- Search for Wyze Home Assistant Integration
- Put the email for wyze in the first box and your password in the second
- Click SUBMIT and profit!
- Entities will show up as
light.<friendly name>
,switch.<friendly name>
,binary_sensor.<friendly name>
orlock.<friendly name>
for example (light.livingroom_lamp
). - Instructions for interacting with lights can be found here: https://www.home-assistant.io/integrations/light/
- Switches: https://www.home-assistant.io/integrations/switch/
- Camera motion sensors: https://www.home-assistant.io/integrations/binary_sensor/
If you would like more information then please look at the wiki!
- Setup your logger to print debug messages for this component by adding this to your
configuration.yaml
:logger: default: warning logs: custom_components.wyzeapi: debug
- Restart HA
- Verify you're still having the issue
- File an issue in this Github Repository