Comments (7)
I've gotten sms 2fa working however I am still unsure how to add the token to wyzebridge.
using "docker volume ls" -----I don't see a tokens volume to mount
using "docker-compose run wyzebridge echo "123456" > /opt/wyzecam/tokens/mfa_token" ----- It returns No such file or directory
from docker-wyze-bridge.
SMS verification? I'll need to take a second look and workout a fix!
paths have changed in recent versions, so you'll need to add your code to /tokens/mfa_token
:
docker exec -it wyzebridge sh -c 'echo "123456" > /tokens/mfa_token'
from docker-wyze-bridge.
SMS verification? I'll need to take a second look and workout a fix!
paths have changed in recent versions, so you'll need to add your code to
/tokens/mfa_token
:docker exec -it wyzebridge sh -c 'echo "123456" > /tokens/mfa_token'
Wyze api attempts to auth by sending a SMS text code. Using the echo path with an invalid token triggers Wyze api to send a code. Entering a correct code for some reason does the same, the logs say the valid code is invalid and attempts again sending a new code-- I'm stuck in a loop.
Using 123456 as token
Enter Wyze SMS 2FA Verification Code: The request to the Wyze API failed.
The server responded with: {'description': 'Invalid Verification Code.', 'requestId': '55f8c0d0-7804-4817-9d8e-1a8fa89e6e87', 'errorCode': 1000}
Please try again!
Using 424889 as token
Enter Wyze SMS 2FA Verification Code: The request to the Wyze API failed.
The server responded with: {'description': 'Invalid Verification Code.', 'requestId': 'ffd6318c-f2ac-4712-8fd1-c9bf60cc2d55', 'errorCode': 1000}
Please try again!
from docker-wyze-bridge.
Should be fixed in the dev branch.
Could you give it try and let me know if it works?
from docker-wyze-bridge.
Unsure how to pull the dev branch, but I did this-
docker-compose pull && docker-compose up -d
docker exec -it wyzebridge sh -c 'echo 123456 > /tokens/mfa_token'
To trigger sms auth code
docker exec -it wyzebridge sh -c 'echo AUTHCODE > /tokens/mfa_token'
docker logs wyzebridge
Enter Wyze SMS 2FA Verification Code: The request to the Wyze API failed. The server responded with: {'description': 'Invalid Verification Code.', 'requestId': '674ee748-f3e4-4157-9c35-b79666b09806', 'errorCode': 1000} Please try again! Using 460210 as token The user account has too many failed login attempts. Please wait a bit and try again. The server responded with: {'description': 'Too many failed attempts. Please try again later.', 'requestId': 'f914d8bf-0bf4-4a9c-9b85-fc8d9cc69243', 'errorCode': 1000} Please try again!
from docker-wyze-bridge.
I merged the dev into the main branch.
Please let me know if it works!
from docker-wyze-bridge.
I merged the dev into the main branch.
Please let me know if it works!
SUCCESS!!!, after pulling I received an auth code, entered with echo and now I have streams. Thank You!
from docker-wyze-bridge.
Related Issues (20)
- No motion events - stopped recently HOT 7
- 400 Client Error on New Install HOT 15
- WyzeCam V3 on Firmware 4.36.11.8391 timeout HOT 7
- quality env vriable not working
- New firmware for V2 cams - 4.9.9.3006 causes cameras to not function. HOT 4
- cannot connect - 400 Client Error: Bad Request for url: https://auth-prod.api.wyze.com/api/user/login HOT 1
- MQTT camera state online periodically - Enhancement
- Not updating HOT 5
- HTTP 500 when fetching cameras HOT 1
- Any New Forks active now the project is dead? HOT 4
- Please define a license for this project HOT 1
- Running on ihost device
- Wyze v4 Support? HOT 39
- Dead repository HOT 1
- Not Auto updating in Home Assistant still HOT 5
- Waypoint/Cruise point set at different position
- Internal Server Error HOT 1
- Wyzecam3 not working HOT 6
- Highest resolution photos on Wyze v3 Cam HOT 2
- Server down or format not supported HOT 10
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from docker-wyze-bridge.