SecKatie / wyzeapy

35 stars 26 forks source link

Add API Key/ID support SecKatie/ha-wyzeapi#493 #70

Closed mrlt8 closed 1 year ago

mrlt8 commented 1 year ago

This PR will utilize the newer /api/user/login API endpoint for third-party authentication using key_id and api_key which can be generated on the developer portal: https://developer-api-console.wyze.com/#/apikey/view

This change is necessary to ensure compatibility with the changes outlined here: https://support.wyze.com/hc/en-us/articles/16129834216731

Related issues: https://github.com/SecKatie/ha-wyzeapi/issues/493

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

Codex- commented 1 year ago

If the SecKatie is okay with it, here's a patch with the change: wyzeapy-7-21-54-PM.patch

image

James62370 commented 1 year ago

Thank you for this add-on. Unfortunately, today all of my Wyze devices are no longer working. I upgraded to HA 2023.8, however, even my restored backups with previous versions no longer work.

Update:

I was not able to log in again without deleting the integration and re-adding. After this, I was prompted with a login option which included ID and API Key. After a successful login, I needed to put my devices back in its proper area. Automations still worked. Good luck everyone.