cdpuk / givenergy-local

Home Assistant integration for local access to GivEnergy inverter and battery systems
MIT License
47 stars 14 forks source link

GivEnergy all-in-one (AIO) support #71

Open Piccyman opened 5 months ago

Piccyman commented 5 months ago

Failed to connect to the inverter. The error appears when adding the device in devises and services.

I have a 13.5kW All In One and it has 2 IP addresses, one for the inverter/Battery and one for the gateway. I have tried both and neither works.

GivEnergy Local update seems to be working ok

cdpuk commented 5 months ago

This is strongly related to #61, which aims to add support for newer firmware versions found on non-AIO inverters. My understanding is that the AIO works slightly differently, so may require even more work. If you're able to run Home Assistant OS and want a quicker solution, you may want to try the giv-tcp project.

cdpuk commented 5 months ago

Hi @Piccyman, while nothing has been done to explicitly support the AIO, v2.x of the integration communicates with devices in a very different way. I'd be curious to hear whether you see any change, and some logs would be interesting to see. https://github.com/cdpuk/givenergy-local/blob/master/docs/troubleshooting.md#debug-logs

norfolkmustard commented 1 week ago

Hi. Adding to this as I have the same situation.

Inverter Firmware Version D0.611-A0.611

GivenergyLocal version 2.0.4

After enabling debug, seems there's still not much in the logs as it fails on initial onboarding of the inverter. I'm getting a very similar issue with GivTCP (can't find serial number but seems it can initially connect)

This error originated from a custom integration.

Logger: custom_components.givenergy_local Source: custom_components/givenergy_local/config_flow.py:48 integration: GivEnergy Local (documentation, issues) First occurred: 10:51:18 (1 occurrences) Last logged: 10:51:18

Failed to validate inverter configuration Traceback (most recent call last): File "/config/custom_components/givenergy_local/config_flow.py", line 48, in async_step_user serial_no = await read_inverter_serial(user_input) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/givenergy_local/config_flow.py", line 24, in read_inverter_serial await client.refresh_plant() File "/config/custom_components/givenergy_local/givenergy_modbus/client/client.py", line 126, in refresh_plant await self.execute(reqs, timeout=timeout, retries=retries) File "/config/custom_components/givenergy_local/givenergy_modbus/client/client.py", line 313, in send_request_and_await_response raise asyncio.TimeoutError() TimeoutError

This error originated from a custom integration.

Logger: custom_components.givenergy_local.givenergy_modbus.client.client Source: custom_components/givenergy_local/givenergy_modbus/client/client.py:307 integration: givenergy_local (documentation, issues) First occurred: 10:51:18 (22 occurrences) Last logged: 10:55:56

Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x32 base_register=60) after 1 tries at 1s, giving up Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x33 base_register=60) after 1 tries at 1s, giving up Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x34 base_register=60) after 1 tries at 1s, giving up Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x35 base_register=60) after 1 tries at 1s, giving up Timeout awaiting 2:4/ReadInputRegistersResponse(slave_address=0x36 base_register=60) after 1 tries at 1s, giving up