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]: Unknown values for MIC X3 #1203

Open
the-real-mcarn opened this issue Jan 6, 2025 · 0 comments
Open

[Bug]: Unknown values for MIC X3 #1203

the-real-mcarn opened this issue Jan 6, 2025 · 0 comments
Labels
bug Something isn't working solax

Comments

@the-real-mcarn
Copy link

Describe the bug

Plugin connects to the inverter correctly, though throwing a warning, and all values remain either 'Unknown' or just 0. Behaviour is since 2024.12.01 but I had not updated since the breaking changes HASS version 2025.1.0. Reverting to a previous version fixes the issue.

Integration Version

2025.01.6

Homeassistant core version

2025.1.0

Inverter brand

SolaX Power

Plugin used

plugin_solax.py

Serial prefix

MC208T

Inverter firmware versions

ARM 1.15 DSP1.18

Connection Method

Waveshare Adapter

Dongle firmware

V1.452

Detailed Error Log

2025-01-06 21:03:00.497 INFO (MainThread) [custom_components.solax_modbus] Inverter is not connected, trying to connect
2025-01-06 21:03:00.497 DEBUG (MainThread) [custom_components.solax_modbus] Trying to connect to Inverter at 192.168.2.236:502
2025-01-06 21:03:00.505 INFO (MainThread) [custom_components.solax_modbus] Inverter connected at 192.168.2.236:502
2025-01-06 21:03:00.505 INFO (MainThread) [custom_components.solax_modbus.plugin_solax] SolaX: trying to determine inverter type
2025-01-06 21:03:00.533 WARNING (MainThread) [custom_components.solax_modbus.plugin_solax] SolaX: reading serial number from address 0x0 failed; other address may succeed
2025-01-06 21:03:00.533 INFO (MainThread) [custom_components.solax_modbus.plugin_solax] Read SolaX 0x0 serial number: None
2025-01-06 21:03:00.576 INFO (MainThread) [custom_components.solax_modbus.plugin_solax] Read SolaX 0x300 serial number: MC208T********
2025-01-06 21:03:00.577 INFO (MainThread) [custom_components.solax_modbus.button] hub.wakeuButton: None
2025-01-06 21:03:00.638 INFO (MainThread) [custom_components.solax_modbus.sensor] SolaX sensor groups: 1
2025-01-06 21:03:00.638 DEBUG (MainThread) [custom_components.solax_modbus.sensor] SolaX group: 15
2025-01-06 21:03:00.638 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x318 rtc to block with start 0x318
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x347 q-curve to block with start 0x318
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x351 active_power_limit to block with start 0x318
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x352 firmware_dsp to block with start 0x318
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x353 firmware_arm to block with start 0x318
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x367 lock_state to block with start 0x318
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x371 export_power_limit to block with start 0x318
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x400 pv_voltage_1 to block with start 0x400
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x401 pv_voltage_2 to block with start 0x400
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x402 pv_current_1 to block with start 0x400
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x403 pv_current_2 to block with start 0x400
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x404 inverter_voltage_l1 to block with start 0x400
2025-01-06 21:03:00.639 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x405 inverter_voltage_l2 to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x406 inverter_voltage_l3 to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x407 inverter_frequency_l1 to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x408 inverter_frequency_l2 to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x409 inverter_frequency_l3 to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x40a inverter_current_l1 to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x40b inverter_current_l2 to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x40c inverter_current_l3 to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x40d inverter_temperature to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x40e inverter_power to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x40f run_mode to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x410 inverter_power_l1 to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x411 inverter_power_l2 to block with start 0x400
2025-01-06 21:03:00.640 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x412 inverter_power_l3 to block with start 0x400
2025-01-06 21:03:00.641 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x414 pv_power_1 to block with start 0x400
2025-01-06 21:03:00.641 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x415 pv_power_2 to block with start 0x400
2025-01-06 21:03:00.641 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x423 total_yield to block with start 0x400
2025-01-06 21:03:00.641 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x425 today_s_yield to block with start 0x400
2025-01-06 21:03:00.642 DEBUG (MainThread) [custom_components.solax_modbus.sensor] Starting new block at 0x43b
2025-01-06 21:03:00.642 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x43b measured_power to block with start 0x43b
2025-01-06 21:03:00.642 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x43d total_grid_export to block with start 0x43b
2025-01-06 21:03:00.643 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x43f total_grid_import to block with start 0x43b
2025-01-06 21:03:00.643 DEBUG (MainThread) [custom_components.solax_modbus.sensor] Starting new block at 0x704
2025-01-06 21:03:00.643 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x704 measured_power_l1 to block with start 0x704
2025-01-06 21:03:00.643 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x706 measured_power_l2 to block with start 0x704
2025-01-06 21:03:00.643 DEBUG (MainThread) [custom_components.solax_modbus.sensor] adding register 0x708 measured_power_l3 to block with start 0x704
2025-01-06 21:03:00.643 INFO (MainThread) [custom_components.solax_modbus.sensor] SolaX returning holding block: 0x318 0x372 [792, 839, 849, 850, 851, 871, 881]
2025-01-06 21:03:00.643 INFO (MainThread) [custom_components.solax_modbus.sensor] SolaX returning input block: 0x400 0x427 [1024, 1025, 1026, 1027, 1028, 1029, 1030, 1031, 1032, 1033, 1034, 1035, 1036, 1037, 1038, 1039, 1040, 1041, 1042, 1044, 1045, 1059, 1061]
2025-01-06 21:03:00.643 INFO (MainThread) [custom_components.solax_modbus.sensor] SolaX returning input block: 0x43b 0x441 [1083, 1085, 1087]
2025-01-06 21:03:00.643 INFO (MainThread) [custom_components.solax_modbus.sensor] SolaX returning input block: 0x704 0x70a [1796, 1798, 1800]

---Extremely long entries for holdingBlocks, inputBlocks and computedRegs ---

2025-01-06 21:03:15.582 DEBUG (MainThread) [custom_components.solax_modbus] device group inverter
2025-01-06 21:03:15.582 DEBUG (MainThread) [custom_components.solax_modbus] SolaX modbus holding block start: 0x318 end: 0x372 len: 90
regs: [792, 839, 849, 850, 851, 871, 881]
2025-01-06 21:03:15.610 INFO (MainThread) [custom_components.solax_modbus] read_error : SolaX cannot read holding registers at device 1 position 0x318
NoneType: None
2025-01-06 21:03:15.612 DEBUG (MainThread) [custom_components.solax_modbus] assuming sleep mode - slowing down by factor 10
2025-01-06 21:03:15.612 DEBUG (MainThread) [custom_components.solax_modbus] device group read done
2025-01-06 21:05:30.590 DEBUG (MainThread) [custom_components.solax_modbus] device group inverter
2025-01-06 21:05:30.618 INFO (SyncWorker_3) [custom_components.solax_modbus] no local data file found after 5 tries - is this a first time run? or didnt you modify any DATA_LOCAL entity?
2025-01-06 21:05:30.618 DEBUG (MainThread) [custom_components.solax_modbus] assuming sleep mode - slowing down by factor 10

Additional context

The following solutions I tried without success:

  • Restarted inverter & RS485 adapter
  • Reconnected RS485 adapter
  • Run without PocketLAN (v3) connected
  • Restarted home assistant
  • Reconfigured inverter in home assistant
  • Removed and added the inverter back in home assistant

Reading the holding register 0x318 (0d792) returns 0x0000 in Open ModScan.

@the-real-mcarn the-real-mcarn added bug Something isn't working solax labels Jan 6, 2025
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