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]: Slow Update Interval after Firmware Update on Solax X3 MiC G2 #965

Closed
treimy opened this issue Jul 25, 2024 · 5 comments
Closed

[Bug]: Slow Update Interval after Firmware Update on Solax X3 MiC G2 #965

treimy opened this issue Jul 25, 2024 · 5 comments
Labels
bug Something isn't working solax

Comments

@treimy
Copy link

treimy commented Jul 25, 2024

Describe the bug

I had Firmware Version fo the SolaX X3 MiX G2: ARM: 128 DSP: 125 with the WiFi/LAN Stick
Then I've got Update from SolaX to ARM: 129 DSP: 127

After that Update my Entities only Updates every several minutes. Sometimes it takes 15 minutes to update an entity.
I hav etried to restart the Inverter, restart the Stick. Delete the Integration. All of them together, but nothing helps.

Integration Version

2024.05.7

Homeassistant core version

2024.6.4

Inverter brand

Solax X3 MiC G2

Plugin used

plugin_solax.py

Serial prefix

MC208TI

Inverter firmware versions

ARM 129 DSP 127

Connection Method

Solax Pocket WiFi/LAN

Dongle firmware

02.09

Detailed Error Log

2024-07-25 09:31:32.001 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:33:00.490 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:33:05.498 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:33:10.506 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:33:45.673 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:33:50.680 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:33:55.688 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:34:20.705 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:34:25.714 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:34:30.727 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:34:35.734 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:34:40.743 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:36:41.284 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:36:46.291 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:37:31.323 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:37:36.331 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:37:36.436 WARNING (MainThread) [pymodbus.logging] Failed to connect
2024-07-25 09:38:01.349 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:38:26.367 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:38:51.387 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:39:16.436 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:39:41.475 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:40:06.499 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:40:31.579 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:41:16.630 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:41:26.647 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:41:51.700 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:45:12.574 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:45:17.628 ERROR (MainThread) [pymodbus.logging] Cancel send, because not connected!
2024-07-25 09:45:26.385 WARNING (MainThread) [pymodbus.logging] Failed to connect

Additional context

No response

@treimy treimy added bug Something isn't working solax labels Jul 25, 2024
@treimy
Copy link
Author

treimy commented Jul 25, 2024

solax

@treimy
Copy link
Author

treimy commented Jul 26, 2024

`Protokolldetails (WARNUNG)
Logger: homeassistant.util.loop
Quelle: util/loop.py:84
Erstmals aufgetreten: 02:50:32 (2 Vorkommnisse)
Zuletzt protokolliert: 02:50:57

Detected blocking call to open inside the event loop by custom integration 'solax_modbus' at custom_components/solax_modbus/init.py, line 332: fp = open(self._hass.config.path(f"{self.name}_data.json")) (offender: /config/custom_components/solax_modbus/init.py, line 332: fp = open(self._hass.config.path(f"{self.name}_data.json"))), please create a bug report at https://github.com/wills106/homsassistant-solax-modbus/issues Traceback (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 672, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 639, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1988, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/config/custom_components/solax_modbus/init.py", line 377, in _refresh await self.async_refresh_modbus_data(grp, _now) File "/config/custom_components/solax_modbus/init.py", line 403, in async_refresh_modbus_data update_result = await self.async_read_modbus_data(group) File "/config/custom_components/solax_modbus/init.py", line 619, in async_read_modbus_data res = await self.async_read_modbus_registers_all(group) File "/config/custom_components/solax_modbus/init.py", line 795, in async_read_modbus_registers_all self.loadLocalData() File "/config/custom_components/solax_modbus/init.py", line 332, in loadLocalData fp = open(self._hass.config.path(f"{self.name}_data.json"))`

@treimy
Copy link
Author

treimy commented Jul 26, 2024

Protokolldetails (WARNUNG)
Logger: pymodbus.logging
Quelle: runner.py:190
Erstmals aufgetreten: 08:08:54 (3696 Vorkommnisse)
Zuletzt protokolliert: 08:29:21

Failed to connect [Errno 111] Connect call failed ('192.168.0.10', 502)
Failed to connect

@treimy
Copy link
Author

treimy commented Jul 29, 2024

Short feedback, I have also an Wifi 3.0 Dongle. With this Dongle I don't have such issues. So it seems to be a problem with the LAN/Wifi Dongle. I have contacted SolaX Support but haven't got any response yet.

@treimy treimy closed this as completed Aug 13, 2024
@treimy
Copy link
Author

treimy commented Aug 22, 2024

I have got a new firmware for the LAN/Wi-Fi Stick. With this firmware I don't have any of these problems anymore

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