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

meters() not working #2

Closed
m--k opened this issue Jun 24, 2020 · 4 comments
Closed

meters() not working #2

m--k opened this issue Jun 24, 2020 · 4 comments

Comments

@m--k
Copy link

m--k commented Jun 24, 2020

Hi, I am testing your code on an Raspberry Pi. I have a Solaredge inverter with a Solaredge meter.
This is working:
meter = solaredge_modbus.Meter(host="192.168.178.81", port=1502)

This is working and give a correct value:

>>> inverter.read("frequency")
{'frequency': 5003}

But this gives an error message:

>>> inverter.meters()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'Inverter' object has no attribute 'meters'
>>>

With a different solution (ioBroker), I can sucessfully read the values of the meter. e.g. registers 40207, 40211
image

@nmakel
Copy link
Owner

nmakel commented Jun 25, 2020

Are you using the latest git version, or the package from pypi? I haven't pushed the changes to a new pypi release, yet.

@m--k
Copy link
Author

m--k commented Jun 25, 2020 via email

@m--k
Copy link
Author

m--k commented Jun 29, 2020

It works!! Thanks :)
I plan to use your project together with https://github.com/ngardiner/TWCManager to control a tesla wall charger.

@nmakel
Copy link
Owner

nmakel commented Jun 29, 2020

Good to hear, thanks for letting me know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants