Wyze api key github 6. MIT license 184 stars 15 forks Branches Tags Activity. Please note this mimics the Wyze app and therefore access may be cut off at anytime. 1 and everything broke. Any thoughts? By clicking “Sign up for GitHub”, - WB_AUTH=False - WYZE_EMAIL=${WYZE_EMAIL} - WYZE_PASSWORD=${WYZE_PASSWORD} - API_ID=redacted - API_KEY=redacted - ROTATE_CAM_ALLEY_CAMERA=2 - ENABLE_AUDIO=True - WB_IP=192. I knew that because a. I have uninstalled / reinstalled Docker Wyze Bridge with no change. for some reason after the upgrade, You will need to generate the API key on Wyze's site and feed it into the client constructor in order to login and create the new access token. fit file to be uploaded to Garmin. I normally connect to 6 Wyze cams. Navigation Menu Sign up for a free GitHub account to open an issue and contact its Describe The Bug: Randomly a few weeks ago my homebridge was lagging, when I checked the logs I saw Wyze was failing endlessly. See the discussion in attached projects/forum for more details. io/wyzecam/ License. py. To use this, docker compose is easiest. The logs don't show any errors - just client disconnecting and connecting The API key should be the same as the RTSP one. 8. Feels like a Wyze issue. - nblavoie/wyzecam-api * Delete old snapshots #1330 * purge old snapshots when taking any snapshot * Tweak RTMP and add RestreamIO #1333 * Increase MTX_WRITEQUEUESIZE for higher bitrates * Fix typo * restart stream on RTMP fail #1333 * Fix restore user data on restart #1334 * Use email from wyze api response directly * Bump previous build to 2. Authenticate with Wyze. On Sunday I got the latest module, generated my first API key, and my Wyze lights were working again. HTTPSConnection object Good morning. 0 installed, which is the latest. This was it. Contribute to SecKatie/ha-wyzeapi development by creating an account on GitHub. You can only have one apikey at the same time (active or inactive). I copied the API Key and Key ID to a txt file and realized there was a space at the beginning of each. It worked for about 48 hours. . 8 and I added the API Key/ID to my stack in Portainer but I keep receiving the messages below. Already have an account? Sign in to comment. If you are still getting the problem, downgrade GitHub community articles Repositories. I've tried various resolutions and bits from 60 to 6800. disableRemeAlarm(hms_id) From my write-up over on the docker-wyze-bridge github. yml, I am still asked for my password. Done. They suggest deleting and creating a new one. The WebUI shows v2. Describe the bug. 202 If you run into issues against a different firmware please be extra descriptive of the problem when Describe The Bug: The plugin no longer logs into the Wyze API properly. This method calls out to the /user/login endpoint of auth-prod. 0, two-factor authentication can be This revealed the Key Id and API Key fields. Unfortunately, the documentation on their page is kinda mid but you can look at it here. Add your wyze KEY ID to the value section. ; Default WB_PASSWORD will now be derived from the username part of the Wyze email address instead of using a randomly generated password. wyze. 12 * Update config Contribute to jfarmer08/wyze-api development by creating an account on GitHub. Enter that into the plugin’s config in the GUI in Homebridge, and restart the child bridge. 10). Since the update that added the Web UI login, I've opened home assistant many times and found my camera dashboard broken. To Reproduce Steps to reproduce t Saved searches Use saved searches to filter your results more quickly Username and password should be separated by a :; An additional : can be used to specify the allowed IP address for the user. 47 keeps restarting To Reproduce: Install latest Wyze plugin. Starting with v2. 1. IS there really no way to use this without Wyze's cloud servers? Describe the bug After updating to 2. 12. Assignees No one assigned Labels None yet Projects None yet Milestone No milestone Development This is a rather unique scenario that I can't seem to figure out. It doesn't seem to matter what I do I'm always getting these API errors now. Topics Trending Collections Enterprise Enterprise platform. 5. I'm not sure whether control of the thermostat is possible. Wyze made some changes to their auth API earlier this year, and you need to update your bridge to v2. Background - I am using the docker-wyze-bridge in Docker running in Unraid (6. I do have multiple MFA credentials created (SMS, Auth App, Email), but the interface is still asking for my login. I went to the websit to generate the API ID and KEY. HLS stream works fine. 168. Please use the API Key/ID if you have them, as that is the officially approved method for authenticating with Wyze. mrlt8 commented Jul 31, 2023. Save; Click apply at the bottom; From the docker unraid "home page" - restart the docker-wyze-bridge container. Save; Add another new variable. Should this plugin still work for me? If my config details and logs would help I can tr Host and manage packages Security. relogin with wyze api key, no more 5000 login prompt from app thxs for all the previous comments kroo. To create an API key: Call WYZE Cloud programmatically using api key from WYZE Cloud, or make api key directly. I also deleted my existing API key and created a new one, issue persists. I had struggled with the various details on how to update the config to use API keys for the last few hours, only to find it was extremely simple. I haven't worked out the API to refresh the Home Assistant Integration for Wyze devices. Parameters: The Wyze Thermostat has just been released. I tried packet sniffing. I also have two-factor authentication enabled (through T API verification site is blank This site returns a blank page. https://auth-prod. Enter API_ID in both the name and key fields. If you like what I have done here and want to help I :var access_token: Access token used to authenticate other API calls :var refresh_token: Refresh token used to refresh the access_token if it expires :var user_id: Wyze user id of the authenticated user :var mfa_options: Additional options for 2fa support :var mfa_details: Additional details for 2fa support :var sms_session_id: Additional Trying to get this working with youtube. login( email=os. 0 with 0 cameras detected. I run Docker-Wyze-Bridge in HomeAssistant on a RPi 3. It is asking for full email and password, api ID and api Key. I tried uninstalling the add-on and reinstalling and it didn't fix the issue. 24. I've tested with GW_GC1 (Wyze Cam OG) and GW_BE1 (Wyze Cam Doorbell Pro ), 3 concurrent streams seems stable. ; Default WB_PASSWORD will now be derived from the username part of the Wyze email address instead of Add a new variable. This is due to wyze updating to API/KeyID for auth with third-party integrations. Then call a few endpoints. com, the WB_PASSWORD will be john123. txt but that is also what is being cleared. api. - nblavoie/wyzecam-api. Sign up for free to join this conversation on GitHub. Contribute to romedtino/simple-wyze-vac development by creating an account on GitHub. Search for Wyze Home Assistant Integration NOTE: If Wyze Home Assistant Integration does not appear, hard refresh the browser (ctrl+F5) and search again; Enter your email, password, keyid & apikey when prompted. Follow the steps to get you set up, this may be harder for those who are not familiar with either the Wyze Cam, the Docker Wyze Bridge, or Home Assistant. 1 I cannot seem to get video streams (using the web ui) to start or remain started if a stream or two does happen to start. This method calls out to the Is the Wyze API Key/ID supported in the Home Assistant implementation? if so, is there any documentation on how to implement it? Skip to content. https://support. app_ver: GitHub community articles Repositories. com/api/user/login Thanks - I’ve actually created the api and have been trying to load that in the mfa_token. Star Notifications You must be signed in to change notification settings. env - update your details. com I was able to use Fiddler to sniff traffic coming from the Wyze app and was able to find all the API endpoints to login, get a device list with status, change the state of a device and logout. LINE 257: Wyzecam API reverse engineered to support Wyzecam alternatives applications. 12 X86_64 [WyzeBridge] 🔍 Could not find local cache for OctoPrint-Wyze lets you control and automate Wyze home devices through OctoPrint. js version to 20. I currently have one, and am looking for it to be supported by Home Assistant. - shauntarves/wyze-sdk Wyzecam API reverse engineered to support Wyzecam alternatives applications. 3. Reload to refresh your session. I removed the space and copied back to the configuration and saved. Log on start up: `[WyzeBridge] 📚 Using 'auth' from local cache Serving Flask app 'frontend' [WyzeBridge] [AUTH] WB_AUTH=True Describe the bug. I downgraded to 2. GitHub community articles Repositories. In UnRaid GUI - Go to edit on your docker-wyze-bridge docker container to see all the settings. I updated my wyze bridge to 2. Then run the commands below from that directory; Go sign up for an API Key with Wyze and get your KEY_ID and API_KEY for use in the build code: # docker build -t wyzevac-api --build-arg WYZEVAC_KEY_ID='' --build-arg WYZEVAC_API_KEY='' --build-arg A Wyze Client is the wrapper on top of Wyze endpoints and allows apps to communicate with the various Wyze API platforms. Nothing loaded in Wyze Bridge and then it would ask me to login again, b. Wyze plugin settings include username, password, key id, api key I used my google account to create my Wyze account so I don’t have a Wyze password. Which is not a good option. There is no MFA enabled. Wyzecam API reverse engineered to support Wyzecam alternatives applications. 3+ which will use the newer endpoints. The python script collect the data from your Wyze account and create the . tried rtsp stream in VLC and home-assistant, neither work. You switched accounts on another tab or window. HA addons shows that I am running Docker Wyze Bridge v2. Installing Wyze Bridge on Docker can help solve some of these issues, but it Home Assistant Custom Component for Wyze Vacuum. You can also find it at the bottom of the WebUI. The Wyze API is an interface for querying information from and enacting change on Wyze devices. Scroll back to the top and you'll see Key ID and API Key under your Wyze login credentials. NOTE: If you do not know how to generate your keyid & apikey, please see the following official Wyze documentation: Creating an API Key When i copy it in to the Docker login menu it says the API key has to be 60 symbols long I’ve been trying to add my wyze cams to Home Assistant using the Wyze Docker. 1 Expected behavior: Pl Simplify default credentials for the WebUI: This will not affect users who are setting their own WB_PASSWORD and WB_API. Refresh tokens fail to be accepted by wyze servers after about 1-hour and 45 minutes. env to . This does NOT work with docker desktop; Specify multiple IPs using a comma; Use the @ to specify paths accessible to the user. AI-powered developer platform Wyze API website shows KEY ID, but the API key is hidden. You signed out in another tab or window. Find and fix vulnerabilities My wyze account logs in with my google account, i also created an API Key, how can i login since i kinda miss the EMAIL/Password method? import os from wyze_sdk import Client response = Client(). If I restart Home Assistant the API calls succeed and everything functions as expected. The email and password are correct. Services & Integrations. Create your Wyze API Key/ID here. connection. 1 X86_64 [WyzeBridge] ♻️ Clearing local cache [WyzeBridge] 🔍 Could not find local cache for ' auth ' [WyzeBridge] ☁️ Fetching ' auth ' from the Wyze API * Serving Flask app ' frontend ' * Debug mode: off [WyzeBridge] WARNING: This is a development server. A free API Key and API Hi, I received an email from Wyze indicating they are updating their authentication endpoint, and third party services will need to use a new API Key authentication method. I input those to their correlating spots, Saved, Started and I was in. 52 and x-api-key which can be found here. copy sample. Then it fails. I updated the password, generated a new API key, uninstalled plugin, tried different version, nothin Describe The Bug: Wyze plugin v0. wyze-node, a Node library for the Wyze API. Creating an API key thus doesn't help. not This newbie would appreciate some help in where to place the Wyze API / Key in the HA Add On docker wyze bridge integration. When i copy it in to the Docker login menu it says the API key has to be 60 symbols long Pre-work - create your wyze API details here - Developer Api Console - WYZE. I see from "how to implement new api id and keys #1166 " they go in the "docker-compose. Even removing and registering the plugin from within HomeKit doesn't work. * Add individual camera api endpoints #436 #494 * Use updated camera data * use name_uri instead of nickname * icon/color based on status/on-demand #498 * Fix boa_interval style #504 * Server side event for camera status * Update camera status icon color * Update compatibility table * Fix restarting connections #391 * Prevent camera from wrongly Saved searches Use saved searches to filter your results more quickly A modern Python client for controlling Wyze devices. I disabled it and due to a busy schedule didn’t revist until this wee Simplify default credentials for the WebUI: This will not affect users who are setting their own WB_PASSWORD and WB_API. -e API_KEY=api key-p 1935:1935 -p 8554:8554 -p 8888:8888 -p 5000:5000 Copy link Owner. edit: figured it out in portainer > edit this application > environment variable > add > WB_AUTH = false, redeploy app. API_KEY: The API key given to you by Wyze from the Developer API Console, it will only show once, so make sure you save it. Go through the setup procedure where you go to that Wyze API site and generate a new API key. If I stop the add on, it will hold the details until it starts and then clears the all the text (api details). I also signed up with a google account via oauth. That makes sense, after Is there a way to use this plugin in HOOBS with the Wyze API key? I have a key created. wyze. 3, and the behavior is always the same- 🚀 DOCKER-WYZE-BRIDGE v2. And support saying there is no way to view it. com/hc/en-us/articles/16130980796315-Important-Update-your-Wyze-app I’ve been trying to add my wyze cams to Home Assistant using the Wyze Docker. - shauntarves/wyze-sdk Wyze GWELL cameras. If I might suggest, since these items are now required, according to the post on the wyze site (I believe it was directed towards this project specifically), that the key id and api key are required in the next revision. - shauntarves/wyze-sdk You signed in with another tab or window. Contribute to philnewman/wyzeAPI development by creating an account on GitHub. Resolved by adding the Wyze API ID/Key in my config. API keys are not able to be verified. Example: For the email address john123@doe. sv: String (32 char length) TBD. com (using https), and retrieves an access token necessary to retrieve other information from the wyze server. Do not use it in a production deployment. Until this gets patched on ha-wyzeapi in an update we won't be able to resolve this. What I can confirm is 1: The device does check for Valid SSL Certs so using SSL does not work, 2: It doesn't care if you don't use SSL so simply passing HTTP as the update URL passes the Wyze API check. 7. Sync the Wyze scale with Garmin connect v2. Thanks 😁 Describe the bug Wyze integration fails after time. So there is a good chance you will have to figure out where to add the API Key and key ID info since I think this video came out half a year before the API Key stuff got added. Add the ID and Key to your Wyze Docker Bridge config by enabling Show unused optional configuration options. 244 networks: - proxy networks: proxy: external: When I add my API_KEY and API_ID in the environment section of my docker_compose. So I generated a 2nd new Wyze API key. ; Simple implementation of the Wyze Vacuum right into Home Assistant. Expected behavior: Plugin should log into th Postman script to access Wyze API (plug and bulb). HA is up to date. I keep getting a Request forbidden despite the credentials being 100% correct. By Monday, they weren't responding to HA, and I got authentication errors in the logs when rebooting HA. I wanted it to automatically login so I added API keys to find out that didn't do it. SecKatie/ha-wyzeapi#612 https://forums. I am wondering if you might be interested in splitting out the Wyze auth/API code into another Python package so we can both use it and contribute to it as updates happen to the Wyze API. It started fine then. Note: This is not the same as the KEY which is used to authenticate incoming requests to your API. Wyze Bridge on Docker Wyze Bridge is a popular device used to connect Wyze cameras to the internet. Wyze API keys can be shared with wyze-bridge, uses the same variables: Describe The Bug: I received an email to change my Wyze password and noticed afterwards that Homebridge could no longer connect to Wyze. When I try to use the app I have to put in my login/password, and I get a 403 redirecting me to https://suppo 🚀 DOCKER-WYZE-BRIDGE v2. Maybe ask in the Github area? system Closed September 11, 2024, 6:03am How to update the Docker Config in UnRaid to use WYZE API keys. 10. Enter API_KEY in both the name and key fields. Already have an account Host and manage packages Security. While it is easy to use and set up, sometimes issues can arise. As of April 2024, it is strongly recommended to create and use an API Key and ID for compatibility with changes to the Wyze Authentication API (#1163). Find and fix vulnerabilities You signed in with another tab or window. If I scroll to the bottom I am seeing "API key: PX*****" which was the old API key I had to remove, and created a new one to reset this. @paulseverson3244 I believe the wyze developer key should be open to everyone. Unfortunately wyze has shutdown the v2 and v3 authentication endpoints that we were previously using #1163, so our only options going forward would be an extremely hacky option or using the developer API keys which is the easier option for most. May be useful here with the recent changes. Paths are optional for Gah, sorry, I meant pip list - anyway, it looks like you have 2. getIotProp(deviceMac, keys) wyze. Tip. Tried resetting Wyze API key, as well as downgrading Node. I just deleted and reloaded the integration with a new API key. 12, 2. So I created a new account not using google, and it doesn't work either. The token-based method is primarily for testing or if you haven't generated an API Key/ID yet. I have not been able to use wyze-bridge to view my Wyze Cam Pan V3 due to the following message always appearing: wyze-bridge | [WyzeBridge] [API] HTTPSConnectionPool(host='auth-prod. However, I do Describe the bug Provide a clear and concise description of the issue and include logs if applicable. Something changed(?) last week and for the life of me I cant get video from my camera. You could also set WB_AUTH to false if your HA is completely local and you don't need the added authentication. When I go to the docker wyze bridge option in the sidebar, I'm asked to login with my credentials / API information again, but that authentication seems to be expiring or not persisting through restarts of Home I've had two API keys expire in the last 5 days. upgraded to 2. getUserProfile() wyze. both timeout. github. This client handles constructing and sending HTTP requests to Wyze as well as parsing any responses received into a WyzeResponse. I now added my Wyze credentials into the docker compose in Portainer and when I deployed it I was suprised to see that I was locked out of my account. I have only tested this against the official firmware version - 1. Can you confirm your key_id value is a 32-character long string with 5 dash-separated segments and your api_key value is a longer string - maybe 50ish characters uppercase and lowercase, with numbers? First time installer, got it set up in docker, can launch the web ui, however the ui is not as described in the quick start. AI-powered developer platform Wyze API Key/ID. To Reproduce: Attempt to configure the plugin. Thanks to misenhower for the original Wyze Homebridge plugin, and thanks to contributors and other developers who were not merged for The following functions use the Wyze REST APIs to fetch the required set of data needed to authenticate with cameras locally. It seems to work fine for 1 minute or up to a couple of hours. 9. I trie You signed in with another tab or window. You can register plugs, lights and cameras to turn on or off whenever specific events occur. setIotProp(deviceMac, product_model, propKey, value) wyze. The If you are using Home Bridge or other third-party apps (aside from Google, Alexa, or IFTTT), we have developed a portal for you to generate an API key. 0. Makes sense. Code; Issues 12; Special thanks to the work by folks at nblavoie/wyzecam I continually get API errors even after creating new API keys on the Wyze website, deleting, and reinstalling the plugin or even reverted to a previous revision. Use a production This is WAY beyond the scope of the bridge so never really looked into it, but as I posted earlier, I believe you need to make a DELETE request to the api with the headers authorization: your_access_token,phone-id: your_phone_id along with user-agent: wyze_ios_2. app_ver: This is a custom component to allow control of various Wyze devices in Home Assistant using the unofficial API. Add your wyze API KEY to the value section. @mrlt8 I really only need to authenticate using basic credentials like api key, email, password etc. I was able to work around this with some DHCP / DNS and a slight edit of LINE 257 in wyze_updater. yml file". It looks like Wyze has finally developed a portal to create API keys. environ['mymail'], # i don I can’t remember if this video was made before or after Wyze required use of the API Key though. When I ent Grab the Dockerfile via wget and put it in a directory on your Docker server. 360p seems to run lon Since the Wyze encourages its users to use their ecosystem the only way you can set up your Wyze Cam is to install the Docker Wyze Bridge as an add-on to your Home Assistant. Topics Trending Collections Enterprise Field Key Field Type Details; sc: String (32 char length) TBD. Pre-work - create your wyze API A modern Python client for controlling Wyze devices. For example, you can set a light to turn on whenever the web client is opened, or a print or timelapse is started, then off when a print has finished. com', port=443): Max retries exceeded with url: /api/user/login (Caused by NewConnectionError('<urllib3. A modern Python client for controlling Wyze devices. mig rscnqe vqa koebfqzw isoj mbwob sgw sdb imvbukk yzughf