Growatt Solar Inverter Binding [4.0.0;4.2.0)

logo

This binding supports the integration of Growatt solar inverters.

It depends on the independent Grott proxy server application. This intercepts the logging data that the Growatt inverter data logger normally sends directly to the Growatt cloud server. It sends the original (encoded) data onwards to the cloud server (so the cloud server will not notice anything different), and it also sends a (decoded) copy to OpenHAB.

Latest News

  • The binding has now been adopted into openHAB main distribution. So it will be part of OH v4.2 MILESTONE and SNAPSHOT builds from now on.
  • The JAR on the link below will NOT be regularly updated. For latest versions use the one in the openHAB main distribution.

Changelog

Version 1.0

  • Initial release
  • Added rule actions to setup battery charging programs

Resources

4 Likes

In Readme.md the following configuration in grott.ini is suggested:

[extension] // enable the ‘grottext’ extension
extension = True
extname = grottext
extvar = {“url”: "http://127.0.0.1:8080/growatt"} // or ip address of openHAB (if remote)

This does NOT work for me.

I had to use:

extvar = {“ip”: “127.0.0.1”, “port” : “8080”}

AND changed in grottext.py:

url = “http://” + conf.extvar[“ip”] + “:” + str(conf.extvar[“port”] + “/growatt”)

I had a PR merged into Grott that should have fixed your issue. But maybe you are using an earlier version of Grott that did not yet have that fix in it?

Thank you! I cross-checked…

I downloaded Master Branch Version 2.8.3 … and your code change is in PR 2.7.8.
So, it seems the changes did not find their way into the master branch.
Both solutions work and require - so far - changes in the Master-Branch grottext.py file.
Anyway … I have all my PV data in OpenHab :slight_smile:

1 Like