evcc-io / evcc

Sonne tanken ☀️🚘
https://evcc.io
MIT License
3.6k stars 667 forks source link

Add Zendure #17149

Closed andig closed 4 days ago

andig commented 4 days ago

Fix https://github.com/evcc-io/evcc/issues/14797

Note that battery control is not supported. A local api is announced for 2025, we'll revisit then.

Raudi1 commented 3 days ago

This doesn't work if the global server is used which many advanced users even in Europe have chosen since it's supposedly more stable and offers newer devices faster etc. For the global server the URL to get the credentials is: https://app.zendure.tech/v2/developer/api/apply So another optional parameter for the server is needed. And a Hyper V is mentioned. That's not a Zendure product I know of. The Hyper 2000 is a bi-directional home battery+PV system and the Superbase V is a power station.

andig commented 3 days ago

Thank you, will update asap.

Raudi1 commented 3 days ago

I'm preparing a pull request for the template with some additional examples etc. right now.

linuxstony commented 1 day ago

First off all a HUGE THANK YOU ! To y'all for trying your damn hardest to implement the wishes of the users - you all have my deepest respect. (As I had a peek into the code there was no way in hell i could have accomplished this)

I don't want to be a PIA, but the current "Bad Request error" I get while trying to configure is related to the fact, that currently the EU server is used in general and not the global one - correct?

Error is: cannot create meter type 'template': cannot create meter type 'zendure': unexpected status: 400 (Bad Request) regardless if I use the username or the email i registered with.

andig commented 1 day ago

Probably. Waiting for @Raudi1 if he wants to grab it.

Raudi1 commented 1 day ago

Probably. Waiting for @Raudi1 if he wants to grab it.

I already did the pull request. But only for the template. I could probably figure the rest out, but it would probably take me a couple of hours at least since I'd have to set up a dev environment and take a good look at all the code first and then do it wrong a couple of times before I get it right. I don't have the time for that right now since I'm a dentist with my own practice. The last quarter is always the most busy.