-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
[FR]: Support 'Growatt' - 'TL3-Sl' #1067
Comments
Is this a PV only Inverter or Hybrid? If it's PV only or Hybrid with a discharged battery, I am guessing the Inverter had shut it's self down as the time was 21:55 according to your logs. The Integration requires the Inverter to be powered via PV for the initial connection to the Inverter. |
this is PV only, no batteries. good point with inverter being shut but i was testing it whole day, this is now: 2024-09-23 15:15:27.245 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant |
Released 2024.09.5 adding in your Inverter. It may still not work as I don't know what register set this Inverter uses. So may need further work. |
upgraded my Growatt to latest version (8914) and logs looks different: Traceback (most recent call last): |
It's setup to use plugin_solax by default |
if you mean the setting on the first page, yes, i set growatt each time. with 2024.09.5 initialization takes forever 2024-09-23 16:52:22.532 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration hacs which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant |
Maybe a stupid question.. Have you restarted HA after updating to 2024.09.5? |
many times |
I made a configuration again and collected pcap trace with debug message taken same time. It seems converter and HA are talking on modbus level. IP of converter is 192.168.0.9 and ha 192.168.0.220. Please unzip and open with wireshark to see what growatt is replying to ha. modbus-tcp.zip |
If you replace
Does it start working? |
wow, bingo! :-) it shows me 1 device and 43 entities just after changing this parameter and reboot. Thanks a lot btw, my inverter is 10kW so in the description of this line maybe the range should be 10-22: # PV TL3-SL 15-22kW #1067 ? |
Ok, I didn't realise I only had a quick look for a datasheet and noticed it mentioned 15-22kW. I'm guessing the datasheet I found was out of date. |
For some reason no parameter values are coming back from inverter, like sensor data or diagnostics: same as general parameters: |
Unfortunately your Inverter isn't listed in the Modbus docs. So it's a bit of guess work to see what works best.
You could try changing Other option is for you to reach out to Growatt and see if there are any specific docs for your Inverter. |
I played with GEN2 and GEN3. This parameter causes new entities to appear in sensors section but the values are same unknown. If you would consider adding decoding schema for this Growatt inverter im sharing with you the doc which contains its modbus data format. Thanks for great support. |
Ok that looks different enough from the Current GEN-GEN3 and SPF Registers. |
@wills106 any chance in near future this Growatt will work with this integration? |
Can you give a screen shot of which Entities return values? Or is everything Unknown? |
Can you try 2024.10.2b1 and see if you get more entities returning values. |
I have just released 2024.10.2 with a few more entities. |
Hello |
looks like it doesnt read parameters yet: |
Can you provide a screenshot of the Integration page where it shows what does and doesn't work? |
Just checked the code, you shouldn't have any of those entities, they are for a different Inverter type. You are best, removing the Inverter from the Integration page. Restarting HA and adding the Inverter in again. Then see what does and doesn't work. |
Hello,
after removing latest version and installing 2024.10.2b1
[image: image.png]
the available entities still show unknown:
[image: image.png]
serial number is incorrect: Serial number: dhaa0101
nothing about growat or solax keyword in debug.
modbus config:
[image: image.png]
[image: image.png]
cheers
śr., 16 paź 2024 o 18:45 wills106 ***@***.***> napisał(a):
… AC Power to Grid L1 unavailable
AC Power to Grid L2 unavailable
AC Power to Grid L3 unavailable
AC Power to Grid Total unavailable
AC Power to User L1 unavailable
AC Power to User L2 unavailable
AC Power to User L3 unavailable
AC Power to User Total unavailable
Just checked the code, you shouldn't have any of those entities, they are
for a different Inverter type.
You are best, removing the Inverter from the Integration page. Restarting
HA and adding the Inverter in again.
Then see what does and doesn't work.
—
Reply to this email directly, view it on GitHub
<#1067 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/BEPJ4IE4AND6XOU5T5LH6IDZ32Q2DAVCNFSM6AAAAABOU3NKUOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMJXGUYDAMBUHE>
.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
Replying via email with pictures doesn't work. |
Describe the bug
Hello,
Im using 2024.09.4 and trying to configure it with my growatt (via waveshare eth converter) for the first time. Initialization phase last forever, after configuring again with same settings im getting success box, but device is not added.
in logs:
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 201, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2024-09-22 21:55:14.051 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry growatt for button
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 819, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/button/init.py", line 73, in async_unload_entry
return await component.async_unload_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 201, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2024-09-22 21:55:14.052 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry growatt for number
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 819, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/number/init.py", line 134, in async_unload_entry
return await component.async_unload_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 201, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2024-09-22 21:55:14.052 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry growatt for select
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 819, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/select/init.py", line 109, in async_unload_entry
return await component.async_unload_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 201, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2024-09-22 21:55:14.053 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry growatt for sensor
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 819, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/components/sensor/init.py", line 136, in async_unload_entry
return await component.async_unload_entry(entry)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/entity_component.py", line 201, in async_unload_entry
raise ValueError("Config entry was never loaded!")
ValueError: Config entry was never loaded!
2024-09-22 21:55:14.053 ERROR (MainThread) [homeassistant.config_entries] Error unloading entry growatt for solax_modbus
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 819, in async_unload
result = await component.async_unload_entry(hass, self)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solax_modbus/init.py", line 184, in async_unload_entry
hass.data[DOMAIN].pop(entry.options["name"])
KeyError: 'growatt'
2024-09-22 21:55:25.654 WARNING (MainThread) [custom_components.solax_modbus.plugin_growatt] growatt: attempt to read firmware failed at 0xbb9
Traceback (most recent call last):
File "/config/custom_components/solax_modbus/plugin_growatt.py", line 64, in async_read_serialnr
inverter_data = await hub.async_read_holding_registers(unit=hub._modbus_addr, address=address, count=6)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/solax_modbus/init.py", line 546, in async_read_holding_registers
resp = await self._client.read_holding_registers(address, count, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/site-packages/pymodbus/client/base.py", line 183, in async_execute
raise ModbusIOException(
pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] ERROR: No response received after 6 retries
2024-09-22 21:55:25.655 WARNING (MainThread) [custom_components.solax_modbus.plugin_growatt] growatt: reading firmware number from address 0xbb9 failed; other address may succeed
2024-09-22 21:55:25.655 INFO (MainThread) [custom_components.solax_modbus.plugin_growatt] Read growatt 0xbb9 firmware number before potential swap: None
2024-09-22 21:55:25.655 ERROR (MainThread) [custom_components.solax_modbus.plugin_growatt] growatt: cannot find firmware version, even not for other Inverter
2024-09-22 21:55:25.655 ERROR (MainThread) [custom_components.solax_modbus.plugin_growatt] unrecognized growatt inverter type - firmware version : unknown
2024-09-22 21:55:25.655 INFO (MainThread) [custom_components.solax_modbus] next inverter check in 10sec
2024-09-22 21:55:35.656 INFO (MainThread) [custom_components.solax_modbus.plugin_growatt] growatt: trying to determine inverter type
Integration Version
2024.09.4
Homeassistant core version
2024.9.2
Inverter brand
Growatt
Plugin used
plugin_growatt.py
Serial prefix
EHE2A1
Connection Method
RS485 - ETH, Waweshare adapter
Detailed Error Log
No response
Additional context
this is first time integration, it never worked before
The text was updated successfully, but these errors were encountered: