Skip to content
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

Delta Pro Ultra - has no user_name = response["data"]["user"]["name"] #51

Open
muenchris opened this issue Jan 21, 2024 · 2 comments
Open
Assignees
Labels
bug Something isn't working delta pro Delta Pro

Comments

@muenchris
Copy link

muenchris commented Jan 21, 2024

I do see a valid token in the response but the data/user/name does not exist in the JSON.
There is: user_name = response["data"]["user"]["email"]

HACS is using:
user_name = response["data"]["user"].get("name", "")

@berezhinskiy
Copy link
Owner

@muenchris Thanks for reporting. I'll fix it

@berezhinskiy berezhinskiy added bug Something isn't working delta pro Delta Pro labels Jan 24, 2024
@berezhinskiy berezhinskiy self-assigned this Jan 24, 2024
@muenchris
Copy link
Author

Unfortunately the DPU needs a lot more work. it uses Protobuf instead of cleartext JSON and is similar to the Powerstream. The best research on this is here: https://github.com/foxthefox/ioBroker.ecoflow-mqtt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working delta pro Delta Pro
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants