-
-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Question]: Suggested initialization flow #150
Comments
One more thing: You don't need to force a connection. The driver starts the connection by itself. |
Got it, how can i get the whole start_listening response (with all stations and device information) after captcha or 2fa events? Should i call start_listening one more time? |
Yes |
In the next version I will also add a |
Thanks. did you find a way to force captcha on a given account? I would like to rework that part on integration but couple of accounts i owned do not ask for captcha. |
If you log into an account incorrectly several times, you will receive a captcha request. But don't overdo it, otherwise the account will be temporarily blocked. |
let me re-open this thread, but I can move it into a new one.
How can client receive captcha/code events properly and respond to them? |
I want to rephrase my overall problem here;
|
Ask your question
before moving forward, thanks again for your great work.
This might be a late question to ask, after couple of months but it is better than never :)
What could be the best optimal way of initializing the communication between WS and external consumers.
Currently, I am following this path;
start listening
message. (I always thought this is required at the beginning so we can get response from any WS call, moreover, it is an easy way to dump all the information about devices and stations)set api schema
messagedriver.connect
messageset captcha
command and sendstart_listening
command.start_listening
would probably return all devices information, continue with setting up internal state.I need guidance around initial flow, currently, my implementation seems to be very complex and interested to fix it.
The text was updated successfully, but these errors were encountered: