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] #263

Closed
klio-klio opened this issue Dec 18, 2022 · 19 comments
Closed

[BUG] #263

klio-klio opened this issue Dec 18, 2022 · 19 comments

Comments

@klio-klio
Copy link

Hello, after the update do not get all data. Before everything worked wonderfully

Mandatory details

  1. Integration Version: last
  2. HA Version: Home Assistant 2022.12.7
  3. Inverter Brand: Solax H3-Hybrid-8.0-D-E
  4. Plugin Used:
  5. First 6 digits of Serial:H3DE08F7......
  6. Connection Method: Network Wired

Something went wrong reading from modbus
22:13:35 – (FEHLER) SolaX Inverter Modbus (benutzerdefinierte Integration) - Die Nachricht ist zum ersten Mal um 22:01:20 aufgetreten und erscheint 6 mal
SolaX error reading holding registers at device 1 position 0x206
22:01:20 – (FEHLER) SolaX Inverter Modbus (benutzerdefinierte Integration)

Vollständige Protokolle anzeigen
2022-12-18 21:49:45.602 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration solaxcloud which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-18 21:49:45.604 WARNING (SyncWorker_4) [homeassistant.loader] We found a custom integration solax_modbus which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant
2022-12-18 22:01:20.396 ERROR (MainThread) [custom_components.solax_modbus] SolaX error reading holding registers at device 1 position 0x206
2022-12-18 22:01:20.396 ERROR (MainThread) [custom_components.solax_modbus] Something went wrong reading from modbus
File "/config/custom_components/solax_modbus/init.py", line 320, in read_modbus_data
File "/config/custom_components/solax_modbus/init.py", line 397, in read_modbus_registers_all
File "/config/custom_components/solax_modbus/const.py", line 182, in value_function_grid_import
2022-12-18 22:03:35.394 ERROR (MainThread) [custom_components.solax_modbus] Something went wrong reading from modbus
File "/config/custom_components/solax_modbus/init.py", line 320, in read_modbus_data
File "/config/custom_components/solax_modbus/init.py", line 397, in read_modbus_registers_all
File "/config/custom_components/solax_modbus/const.py", line 182, in value_function_grid_import
2022-12-18 22:06:05.409 ERROR (MainThread) [custom_components.solax_modbus] Something went wrong reading from modbus
File "/config/custom_components/solax_modbus/init.py", line 320, in read_modbus_data
File "/config/custom_components/solax_modbus/init.py", line 397, in read_modbus_registers_all
Screenshot 2022-12-18 223324

File "/config/custom_components/solax_modbus/const.py", line 182, in value_function_grid_import
2022-12-18 22:08:35.412 ERROR (MainThread) [custom_components.solax_modbus] Something went wrong reading from modbus
File "/config/custom_components/solax_modbus/init.py", line 320, in read_modbus_data
File "/config/custom_components/solax_modbus/init.py", line 397, in read_modbus_registers_all
File "/config/custom_components/solax_modbus/const.py", line 182, in value_function_grid_import
2022-12-18 22:11:05.428 ERROR (MainThread) [custom_components.solax_modbus] Something went wrong reading from modbus
File "/config/custom_components/solax_modbus/init.py", line 320, in read_modbus_data
File "/config/custom_components/solax_modbus/init.py", line 397, in read_modbus_registers_all
File "/config/custom_components/solax_modbus/const.py", line 182, in value_function_grid_import
2022-12-18 22:13:35.435 ERROR (MainThread) [custom_components.solax_modbus] Something went wrong reading from modbus
File "/config/custom_components/solax_modbus/init.py", line 320, in read_modbus_data
File "/config/custom_components/solax_modbus/init.py", line 397, in read_modbus_registers_all

@wills106
Copy link
Owner

Can you please go back to 2022.12.6

This is the same as https://community.home-assistant.io/t/universal-solar-inverter-over-modbus-rs485-tcp-custom-component-formally-solax-no-pocket-wifi/140143/933?u=wills106

Also #262

These BMS Info registers were introduced as Investigation for #245

I'm going to remove them as it appears not all Inverters like / have these registers available and they don't provide anything useful other than the serial numbers for your batteries.

@klio-klio
Copy link
Author

klio-klio commented Dec 18, 2022

I'm back on Home Assistant 2022.12.6

Screenshot 2022-12-18 235702

Screenshot 2022-12-18 235722

Screenshot 2022-12-18 235746

Screenshot 2022-12-18 235819

Screenshot 2022-12-18 235847
Screenshot 2022-12-18 235918

Screenshot 2022-12-19 000007

@wills106
Copy link
Owner

Did you remove the Integration from the integration page before downgrading and restarting HA and then adding it back again on the Integration page?

@klio-klio
Copy link
Author

No, now I have tried several variants. always restarted after removing integration. Which variant should actually work? always the same result. I don't see through it anymore. Thank you for your efforts.

@wills106
Copy link
Owner

2022.12.6 should work fine. Do you get errors in your log with 2022.12.6? Are you using the built in ethernet and not trying to connect to the Pocket Wifi?

@klio-klio
Copy link
Author

Internal network only

@klio-klio
Copy link
Author

2022.12.6 HA logs

@lowprize
Copy link

lowprize commented Dec 19, 2022

Did you remove the Integration from the integration page before downgrading and restarting HA and then adding it back again on the Integration page?
I do.

Version 12.07 works fine for X3-Hybrid-10.0-E

{
"domain": "solax_modbus",
"name": "SolaX Inverter Modbus",
"version": "2022.12.7",
"documentation": "https://github.com/wills106/homsassistant-solax-modbus",
"issue_tracker": "https://github.com/wills106/homsassistant-solax-modbus/issues",
"requirements": ["pymodbus>=2.5.3", "pymodbus<=3.0.1"],
"dependencies": [],
"codeowners": ["@wills106"],
"config_flow": true,
"iot_class": "local_polling"
}

@wills106
Copy link
Owner

@lowprize Does your Inverter serial start different to H3DE or H3UE?

@lowprize
Copy link

@wills106 H3UE10....

@wills106
Copy link
Owner

H3UE10....

That's Interesting to know.
I have 1 reported H3UE working (yours) and 1 reported not working with these BMS registers.

@lowprize
Copy link

lowprize commented Dec 19, 2022

@wills106 works with version 12.7
Version 12.8 does not. No problem enter to my HA, contact me over telegram(same nick) if is the way how to solve it.

@wills106
Copy link
Owner

Ok, I thought you meant the latest 2022.12.8 was working.

@lowprize
Copy link

Right, sry for misunderstood, Im bfu

@klio-klio
Copy link
Author

Serial:H3DE08F7...... Not working yet?

@wills106
Copy link
Owner

I have removed these BMS Registers in 2022.12.9

@klio-klio
Copy link
Author

Hey Super!!!! functioned. also works with Home Assistant 2022.12.7 ? Can I support the project somewhere? sorry for my English. I have to translate everything.

@lowprize
Copy link

Confirmed, version 12.9 works with H2UE..

@wills106
Copy link
Owner

Can I support the project somewhere?

There is a Ko-fi button in the readme, or you can help translate the config_flow if your language hasn't already been translated.

I'm going to close this Issue down and the BMS registers causing the problem have been removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants