-
-
Notifications
You must be signed in to change notification settings - Fork 34
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
Invalid value active power after update HA core 2024.12 #316
Comments
Hi @Pstart, you are running containerized home assistant? |
Hi, no i use Assistant OS on x86-64 hardware Core |
Did you try downgrade of the core (to some known to be working) to see of the problem prevails? Edit: 2024.12 contains python upgrade to 3.13 and I'm for now not sure what's different there what could cause issues like this but it's the best candidate nevertheless. |
@davidrapan Yes, I downgraded version to 2024.11.3 that's all working good. But when ha-sofarman well work good on 2024.12? |
Once I figure out what's wrong, because right now I don't have even slight idea... as everything works w/o any issues on my installation w/ 2024.12.2. |
Same problem with inverter file sofar_g3hyd.yaml |
I also have the same issue with sofar_g3hyd.yaml file |
Can someone record 10 minute debug log? |
@davidrapan this is the log from HA:
How can I create the debug log? Happy to provide it ... |
Sent it to you via mail (hope that is fine) ... |
Having the same issue :( |
I did not receive any debug logs. Please upload it here in the thread. 😉 |
Hi David, part of the code corrected :
|
@maconly34, it's there for a reason. You proly checked scale modifier in the options. 😉 |
Description
PV - HYD 10KTL-3PH-PRO
I had integration Solarman StephanJoubert but update core 2024.12 entered incorrect values many entity. I changed for new integration ha-solarman. Most of the values is ok but active_energe and battery power is incorect for more time. More time returning value is 65kW, like
ActivePower_Output_R 64,526 W
ActivePower_Output_S 910 W
ActivePower_Output_T 64,876 W
ActivePower_Output_Total 64,766 W
ActivePower_PCC_R 64,406 W
ActivePower_PCC_S 64,456 W
ActivePower_PCC_T 64,586 W
ActivePower_PCC_Total 62,356 W
Details is chart in attachment.
My max use energy is about 8kW
My profile is sofar_g3hyd.yaml
Reproduction Steps
I only use integration. Value active power is invalid.
Log
[33m2024-12-11 20:38:15.422 WARNING (MainThread) [py.warnings] /config/custom_components/solarman/parser.py:226: RuntimeWarning: overflow encountered in scalar subtract
value = (value - maxint) if not magnitude else -(value & (maxint >> 1))
[0m
[33m2024-12-11 20:38:15.423 WARNING (MainThread) [py.warnings] /config/custom_components/solarman/parser.py:229: RuntimeWarning: overflow encountered in scalar multiply
value *= scale
[0m
[33m2024-12-11 20:38:41.460 WARNING (MainThread) [py.warnings] /config/custom_components/solarman/parser.py:226: RuntimeWarning: overflow encountered in scalar subtract
value = (value - maxint) if not magnitude else -(value & (maxint >> 1))
[0m
[33m2024-12-11 20:38:41.460 WARNING (MainThread) [py.warnings] /config/custom_components/solarman/parser.py:229: RuntimeWarning: overflow encountered in scalar multiply
value *= scale
Version
24.12.10
Home Assistant Version
2024.12.2
The text was updated successfully, but these errors were encountered: