Giter Club home page Giter Club logo

Comments (7)

sandersc242 avatar sandersc242 commented on May 20, 2024

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.

mrlt8 avatar mrlt8 commented on May 20, 2024

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.

sandersc242 avatar sandersc242 commented on May 20, 2024

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.

mrlt8 avatar mrlt8 commented on May 20, 2024

Should be fixed in the dev branch.
Could you give it try and let me know if it works?

from docker-wyze-bridge.

sandersc242 avatar sandersc242 commented on May 20, 2024

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.

mrlt8 avatar mrlt8 commented on May 20, 2024

I merged the dev into the main branch.
Please let me know if it works!

from docker-wyze-bridge.

sandersc242 avatar sandersc242 commented on May 20, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.