WouterTuinstra / Homeassistant-Growatt-Local-Modbus

Provides Home Assistant sensors for Growatt inverters that you can connect directly using modbus protocol
Apache License 2.0
17 stars 11 forks source link

Support for new pymodbus version #20

Closed brupje closed 4 months ago

brupje commented 5 months ago

I had difficulties getting both Victron and Growatt Local working. Victron requires pymodbus>=3.5.1, Growatt Local pymodbus==3.3.2

I have fixed it by replacing the Defaults.xx constants with the hard coded numbers as per the pymodbus own code:

growatt.py.zip

Now it works for me, but can this be fixed?

Saentist commented 4 months ago

guess same issue https://github.com/WouterTuinstra/Homeassistant-Growatt-Local-Modbus/issues/22

WouterTuinstra commented 4 months ago

Fixed with following commit https://github.com/WouterTuinstra/Homeassistant-Growatt-Local-Modbus/commit/28f1af1d5d9861b5be678f42dee432bee74ca675