-
Notifications
You must be signed in to change notification settings - Fork 16
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
app_email/password requested in CLI even if not using libbi #38
Comments
You should be using the MyEnergi hub serial for username and the API key for password. But you can’t call the ME servers asynchronously as their security method is session based, then you can log-on once and control all of their products. |
Yes, I am using hub serial and API key. But still the CLI still asks me to type app_email and app_password, which I don't want to pass. Pressing Enter is not an option, since I want it to run without user interaction in a cron tab. |
Running the CLI like this solves the problem as a workaround:
This simulates pressing Enter when prompted for |
I just added a "--skip-oauth" flag to the cli in PR #43 |
Awesome, thanks a lot! |
@carlosgalvezp 0.2.0 has been released today and now you can use the |
Awesome, just tried it and works like a charm, thank you! Btw, I realize that password is also required when running |
Ah, good catch, but to be fair |
Fixed in 0.2.1, thanks for the PR! |
Hi!
I'm using the CLI to control my zappi. My understanding is that app_email and app_password are only required for libbi, but still I get prompted for them when using zappi.
I am not able to set dummy values for these, since I get an authentication failure. Is it possible to skip them somehow?
The text was updated successfully, but these errors were encountered: