-
-
Notifications
You must be signed in to change notification settings - Fork 109
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
Fix inverter and measured power for older SolaX MIC inverters #1154
base: main
Are you sure you want to change the base?
Fix inverter and measured power for older SolaX MIC inverters #1154
Conversation
- The Measured Power entity for Gen1 and Gen2 MIC inverters is actually the Inverter Power. - The Inverter Power entity for Gen1 and Gen2 MIC inverters is actually the Measured Power. - The Measured Power Lx entity for Gen1 X3-MIC inverters is actually the Lx Inverter Power.
House load can be calculated for MIC inverters that have a meter connected.
@wills106 Could you please have a look at this? |
Thanks @Kars-de-Jong for the fix, I will test this locally |
@Kars-de-Jong Looks good to me. Except for Measured Power L1, which still does not make sense to me (i.e. it stays at 0 even when charging with 11kW). But that might be a problem of the inverter. |
@mrichtarsky |
@mrichtarsky Done. Could you please test? The fact that "Measured Power L1" is 0 in your case might indicate a problem with your kWh meter. Maybe the L1 CT is not connected properly? |
Thanks for working on this. Once mrichtarsky has confirmed the latest changes are ok I'll merge it. |
Thanks @Kars-de-Jong! Inverter Power L1-3 are zero although current and voltage are not, perhaps the value must be calculated and is not available directly? |
@mrichtarsky Thanks for testing again. I see now in your original issue report that you already tried reading 0x410, 0x411 and 0x412 and that they always return 0 in your case. All I can suggest is for you to try and read all input registers using pymodbus or for instance |
Correct inverter and measurement entities for older SolaX MIC inverters
Enable house load entity for MIC inverters
House load can be calculated for MIC inverters that have a meter connected.
Enable Inverter Power Lx entities for X3 Gen2
Tested with a Gen1 X3-MIC with an emulated SDM230 meter connected.
Please note that this change breaks the history of the existing entities. Not sure if an upgrade script is possible / needed.