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

Solar inverter is recognized but unavailable after #94

Open
hofvanta opened this issue Mar 8, 2022 · 9 comments
Open

Solar inverter is recognized but unavailable after #94

hofvanta opened this issue Mar 8, 2022 · 9 comments

Comments

@hofvanta
Copy link

hofvanta commented Mar 8, 2022

HA - SunSpec integration with APsystem ECU_R_PRO (TCP/IP) is not working well. When you start the integration, the ECU_R_PRO is discover (host-ip) and also the read-modules (1, 101, 111,123). After the inverter is imported and device overview will show the (value) details. But after several seconds the device and entities becomes unavailable.
The ECU_R_PRO is configured with multiple inverters which assigned an unique address in the modbus configuration.
When additional inverters are added the same behavior takes places (see the values ones).
Deletion of the inverter, will block reactivation again for the same address until HA is restarted.

Please advise me how to generate the (debug) logs to investigate the problem and to help to develop the SunSpec integration for APsystems.

@nielssteenvoorde
Copy link

nielssteenvoorde commented Mar 18, 2022

Same for me with a ECU-C. Everything comes up and than stops working..

@dewi-ny-je
Copy link

Same experience with me (ECU-R-PRO).

I wonder whether a physical Modbus connection would be more stable, since cheap modbus-wifi bridges are available and work well (EW-11 from Hi-flying, I have one for my heater and it works well).

@CJNE
Copy link
Owner

CJNE commented Apr 5, 2022

To enable debug logging, add this to you configuration.yaml:

logger:
  default: info
  logs:
    custom_components.sunspec: debug

Does it help to disable some models, for example all but the 111 model?

@hofvanta
Copy link
Author

hofvanta commented Apr 5, 2022

I disbled/enabled each inverter with different kind of models one by one. With only one inverter and model 111, I get:
2022-04-05 19:20:01 WARNING (MainThread) [homeassistant.config_entries] Config entry '192.168.1.15:502:2' for sunspec integration not ready yet: None; Retrying in background
2022-04-05 19:20:12 WARNING (MainThread) [custom_components.sunspec] Response timeout
2022-04-05 19:20:37 WARNING (MainThread) [custom_components.sunspec] Response timeout
2022-04-05 19:20:37 ERROR (MainThread) [custom_components.sunspec] Error fetching sunspec data:
2022-04-05 19:20:42 WARNING (MainThread) [custom_components.sunspec] Response timeout
2022-04-05 19:21:07 WARNING (MainThread) [custom_components.sunspec] Response timeout
2022-04-05 19:21:12 WARNING (MainThread) [custom_components.sunspec] Response timeout
2022-04-05 19:21:37 WARNING (MainThread) [custom_components.sunspec] Response timeout
2022-04-05 19:21:42 WARNING (MainThread) [custom_components.sunspec] Response timeout
2022-04-05 19:22:07 WARNING (MainThread) [custom_components.sunspec] Response timeout
2022-04-05 19:22:12 WARNING (MainThread) [custom_components.sunspec] Response timeout
The last messages repeated.

Only after adding you see shortly the values and soon after the second update cycle the are unavailable.

@dewi-ny-je
Copy link

I remember trying with only one model and I experienced the same: after the first reading it works, then it stops.
I don't have the component anymore so I cannot try again.

@hofvanta
Copy link
Author

@CJNE Any idea?

@nielssteenvoorde
Copy link

nielssteenvoorde commented Jul 7, 2022

ECU-C Installation/User Manual page 23:
For three-phase Microinverter: Please refer to the document
https://certifications.sunspec.org/PICS/Altenergy_Power_System_Inc.___three_phase_microinverter_11-12.xlsx
For single-phase Microinverter: Please refer to the document:
https://certifications.sunspec.org/PICS/Altenergy_Power_System_Inc.___single_phase_MicroinverterAPpcs_11-12.xlsx

There area tabs called: 1, 103, 113 and 123 with some instruction and Adress values I don't get. When adding in HA Read models 111, 1, 123 and 101 not the values mentioned in manual.

Didn't fill in any prefix names when adding.

Now running:
Home Assistant 2022.7.0
Supervisor 2022.07.0
Operating System 8.2
Frontend-versie: 20220706.0 - latest

It looks like something still closes when adding into HA. There are good values in screen and after a couple of seconds the values in screen are all empty. Anyone got any idea yet?

@hofvanta
Copy link
Author

hofvanta commented Jul 7, 2022

Try so change the interval back to 5s. That worked for me. But it stressed the ECU after some time.

@CJNE
Copy link
Owner

CJNE commented Dec 12, 2022

I suspect that inverter hardware is a bit weak and is struggling with serving the modbus requests.
MIght be worth checking if there is a firmware update that might fix this?

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

4 participants