kellerza / pysma

Async library for SMA Solar's WebConnect interface
MIT License
59 stars 51 forks source link

Anonymous access #33

Closed pniedzwiedzinski closed 3 years ago

pniedzwiedzinski commented 4 years ago

Is there an option for not passing the password? I would like only to have access to public data

kellerza commented 4 years ago

Not today. Honestly did not know there was any public data - do you have some examples?

pniedzwiedzinski commented 4 years ago

I wanted to create a PR for that, but I couldn’t get it work nicely with pysma so I ended with writing my own https://github.com/pniedzwiedzinski/beSMArt

It’s a simple wrapper for one endpoint by now but there’s also endpoint for time series data - as soon as I have time I want to add it.

It would be nice if we could merge it into pysma but I found it a little confusing. Maybe you have idea how to do it.

And by examples you mean what data can I get? Then, there is total yield, current voltage and historic yield.

kellerza commented 4 years ago

Very nice!

Some things making pysma a bit more complex:

Will try see if i get a response from https://{ip}/dyn/getDashValues.json on my inverter, it should be fairly easy to read this

What model SMA do you have? What is your use case to collect this data?

pniedzwiedzinski commented 4 years ago