nathanmarlor / foxess_modbus

FoxESS inverter integration. Connect directly to your FoxESS inverter (no cloud!) for real-time status and control.
MIT License
105 stars 14 forks source link

Kopp Kuara H3 doesn't support remote control #532

Closed sleepymaxx closed 5 months ago

sleepymaxx commented 5 months ago

There ar no more Readings with this release sorry

Error reading registers. Type: RegisterType.HOLDING; start: 44008; count: 5; slave: 247 from tcp://192.168.2.49:502: Exception Response(131, 3, IllegalAddress)

-->

V1.10.0b5

-->

Configuration

Normal Configuration through Web Interface

Describe the bug

NO more readings in the Whole integration

Debug log

Dieser Fehler wurde von einer benutzerdefinierten Integration verursacht

Logger: custom_components.foxess_modbus.modbus_controller Source: custom_components/foxess_modbus/modbus_controller.py:144 Integration: FoxESS - Modbus (documentation, issues) First occurred: 19:13:43 (1 occurrences) Last logged: 19:13:43

Failed to write registers pymodbus.exceptions.ModbusIOException: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/config/custom_components/foxess_modbus/modbus_controller.py", line 144, in write_registers await self._client.write_registers(start_address, values, self._slave) File "/config/custom_components/foxess_modbus/client/modbus_client.py", line 179, in write_registers raise ModbusClientFailedError(message, self, response) from response custom_components.foxess_modbus.client.modbus_client.ModbusClientFailedError: Error writing registers. Start: 44000; values: [0]; slave: 247 from tcp://192.168.2.49:502: Modbus Error: [Input/Output] Modbus Error: [Invalid Message] No response received, expected at least 8 bytes (0 received)


Thank you again very very much for your work on this Integration
canton7 commented 5 months ago

Thanks!

What inverter model do you have, what is the manager version, and how are you connected to it?

sleepymaxx commented 5 months ago

Kopp Kuara H3 Manager Version: Master: 1.69 Slave: 1.03 Manager: 1.59 Connected over Lan to Modbus Waveshare RS232/485 TO ETH

canton7 commented 5 months ago

Interesting. They must not have implemented the remote control functionality. I'll remove support for that inverter.

sleepymaxx commented 5 months ago

tried to reinstall the whole thing no really good changings here -went back to v1.9.0 great sucess

grafik

Logfile of the "false / not functioning version : v1.10.0b5 home-assistant_2024-01-30T15-47-17.632Z.log

canton7 commented 5 months ago

Yep, it looks like the betas won't work with your inverter. I'll fix that in the next beta.

sleepymaxx commented 5 months ago

you can not imagine how much i apreciate your work thanks a lot!

canton7 commented 5 months ago

Leaving open until I fix this