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

Growatt Inverter MIN 2500TL-XE #607

Open
LeoVe opened this issue Nov 16, 2024 · 5 comments
Open

Growatt Inverter MIN 2500TL-XE #607

LeoVe opened this issue Nov 16, 2024 · 5 comments
Labels
enhancement New feature or request

Comments

@LeoVe
Copy link

LeoVe commented Nov 16, 2024

Hi,

Thanks for the great work !
Hope anyone can help me to get it to work.

I am working on connecting a Growatt Inverter type MIN 2500TL-XE to OpenHAB.

The Grott application (v2.8.3) is installed on a Synology NAS (Docker).
OpenHAB is installed on a Raspberry Pi.

Lines from the Grott log:

  • Inverter serial not recognised - using inverter type default
  • Growatt new layout processing
    • offset : 6
    • record layout : T06NNNNX

The found and decrypted data looks good.

Q1: Is the record layout OK or should a better matching one be chosen?

The grottext needed for the OpenHAB binding logs the following:

  • Grott extension processing started : grottext
  • Grott import extension failed: grottext

The url defined in Grott ini is tested with a browser and via the linux wget in the Grott docker machine, both return:
Growatt Binding Servlet
Status: Bridge Online

In the python code the error is on the importlib statement, I couldn't find any module with name grottext.

Q2: What could be the problem with the extension?

@LeoVe
Copy link
Author

LeoVe commented Nov 18, 2024

Hi,

Found a grottext.py in the grott repo in grott/examples/Extensions, is this the right extension to use with the OpenHab Grott binding?

I copied the file to the grott docker and it is processed by Grott, returncode 0!

This looks good, but, in OpenHab only the Grott Bridge is Active, the inverter thing has Communication Error.

The thing type is sph, is this correct?
What should be done?

Thanks for your feedback.

@LeoVe
Copy link
Author

LeoVe commented Nov 18, 2024

Had to fix the url in grottext.py

from:
url = f"http://{conf.extvar['ip']}:{conf.extvar['port']}"
to:
url = f"http://{conf.extvar['ip']}:{conf.extvar['port']}/growatt"

Now it runs.

Maybe a suggestion to add the correct grottext.py to the Grott docker.

Thanks !

@johanmeijer
Copy link
Owner

I will have a look at it. Maybe I should create a special OpenHab extension?

@johanmeijer johanmeijer added the enhancement New feature or request label Nov 24, 2024
@LeoVe
Copy link
Author

LeoVe commented Dec 2, 2024

Hi Johan,

Great work man, thanks for it !

In fact I used ledidobe/grott:beta image and that one did not contain the grottext.py script.
I found one and used it but in that one the before-mentioned error had to be corrected.
I think it will be OK if the corrected grottext.py will be included in de grott image. As far as I understand a special one for OpenHab is nice but does seem necessary.

Thanks

@johanmeijer
Copy link
Owner

The grottext.py is provide as an example I did not realized that it can be used in "real life" I will add it to the next docker version (with the modification).

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

No branches or pull requests

2 participants