Skip to content
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

[Bug]: the sensors from the X3-MIC/PRO-G2 are not updating. #1055

Open
Snehotice opened this issue Sep 16, 2024 · 0 comments
Open

[Bug]: the sensors from the X3-MIC/PRO-G2 are not updating. #1055

Snehotice opened this issue Sep 16, 2024 · 0 comments
Labels
bug Something isn't working solax

Comments

@Snehotice
Copy link

Describe the bug

Hello. I have two Solax inverters. The X3-Hybrid-G4 is connected via a dongle, and the X3-MIC/PRO-G2 is connected via Waveshare RS485 to ETH (B). Yesterday, I tried to update the Solax inverter Modbus from version 2024.05.7 to 2024.09.2. All the sensors were read, but the sensors from the X3-MIC/PRO-G2 are not updating.

Integration Version

2024.09.2

Homeassistant core version

2024.9.1

Inverter brand

Solax Power

Plugin used

plugin_solax.py

Serial prefix

X3-MIC/PRO-G2: MC210T, X3-Hybrid-G4: H34A10

Inverter firmware versions

X3-MIC/PRO-G2: DSP: 1.18 ARM: 1.15, X3-Hybrid-G4: DSP: 1.33 ARM: 1.31

Connection Method

X3-MIC/PRO-G2: waveshare, X3-Hybrid-G4 wifi dongle 3.0

Dongle firmware

X3-MIC/PRO-G2 i X3-Hybrid-G4 = 3.001.02

Detailed Error Log

Tato chyba pochází z vlastní integrace.

Logger: homeassistant
Zdroj: custom_components/solax_modbus/init.py:460
integrace: SolaX Inverter Modbus (dokumentace, problémy)
První výskyt: 15:35:03 (16 výskyty)
Naposledy logováno: 15:39:45

Error doing job: Task exception was never retrieved (None)
Traceback (most recent call last):
File "/config/custom_components/solax_modbus/init.py", line 409, in _refresh
await self.async_refresh_modbus_data(interval_group, _now)
File "/config/custom_components/solax_modbus/init.py", line 460, in async_refresh_modbus_data
for group in interval_group.device_groups.values():
RuntimeError: dictionary changed size during iteration

Tato chyba pochází z vlastní integrace.

Logger: custom_components.solax_modbus.plugin_solax
Zdroj: custom_components/solax_modbus/plugin_solax.py:81
integrace: SolaX Inverter Modbus (dokumentace, problémy)
První výskyt: 15:30:41 (2 výskyty)
Naposledy logováno: 15:34:04

SolaX mic: reading serial number from address 0x0 failed; other address may succeed

Tato chyba pochází z vlastní integrace.

Logger: custom_components.solax_modbus.plugin_solax
Zdroj: custom_components/solax_modbus/plugin_solax.py:69
integrace: SolaX Inverter Modbus (dokumentace, problémy)
První výskyt: 15:30:41 (2 výskyty)
Naposledy logováno: 15:34:04

SolaX mic: attempt to read serialnumber failed at 0x0 data: None
Traceback (most recent call last):
File "/config/custom_components/solax_modbus/plugin_solax.py", line 69, in async_read_serialnr
inverter_data = await hub.async_read_holding_registers(unit=hub._modbus_addr, address=address, count=7)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
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

Additional context

No response

@Snehotice Snehotice added bug Something isn't working solax labels Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working solax
Projects
None yet
Development

No branches or pull requests

1 participant