Error message for negative power ("-") when battery storage is in grid charge mode
Describe the bug
Description: I have received a warning message indicating negative power from my inverter ("- power"). This message appeared when I configured my hybrid inverter to charge my battery storage via the grid due to current price spikes.
The negative power reading is correct in this scenario, as the inverter is being supplied with DC power to charge the battery storage. Therefore, this displayed negative power is normal technical behavior. It would make sense to consider this situation and prevent the warning message from being issued in this particular case.
I have attached a screenshot that illustrates the situation.
Suggestion: Please consider adjusting the system to avoid triggering an error message when the battery storage is set to grid charge mode. The behavior is technically correct and should not be flagged as an error.
Attachment:
Screenshot showing the warning message. Thank you in advance!
Steps to reproduce
1. 2. 3. ...
Configuration details
none
Log details
[site ] WARN 2024/11/06 11:22:24 pv 1 power: -2034W is negative - check configuration if sign is correct
[db:1 ] TRACE 2024/11/06 11:22:24 modbus: send 37 67 00 00 00 06 01 03 e1 74 00 02
[db:1 ] TRACE 2024/11/06 11:22:24 modbus: recv 37 67 00 00 00 07 01 03 04 00 00 45 2d
[db:1 ] TRACE 2024/11/06 11:22:24 modbus: send 37 68 00 00 00 06 01 03 e1 84 00 02
[db:1 ] TRACE 2024/11/06 11:22:24 modbus: recv 37 68 00 00 00 07 01 03 04 00 01 41 a0
[site ] DEBUG 2024/11/06 11:22:24 battery soc: 20%
[site ] DEBUG 2024/11/06 11:22:24 battery power: -2768W
[site ] DEBUG 2024/11/06 11:22:24 grid power: 5328W
[site ] DEBUG 2024/11/06 11:22:24 pv power: 0W
[site ] DEBUG 2024/11/06 11:22:25 grid powers: [3345 873 1105]W
[site ] DEBUG 2024/11/06 11:22:25 grid currents: [15.3 4.3 5.5]A
[site ] DEBUG 2024/11/06 11:22:25 battery has priority at soc 20% (< 95%)
[site ] DEBUG 2024/11/06 11:22:25 site power: 5378W
[lp-2 ] DEBUG 2024/11/06 11:22:25 charge total import: 1098.561kWh
[lp-2 ] DEBUG 2024/11/06 11:22:25 charger status: A
[site ] DEBUG 2024/11/06 11:22:32 ----
[lp-2 ] DEBUG 2024/11/06 11:22:32 charge power: 0W
[lp-1 ] DEBUG 2024/11/06 11:22:32 charge power: 0W
[lp-2 ] DEBUG 2024/11/06 11:22:32 charge currents: [0 0 0]A
[lp-1 ] DEBUG 2024/11/06 11:22:32 charge currents: [0 0 0]A
[site ] DEBUG 2024/11/06 11:22:32 grid power: 5317W
[db:1 ] TRACE 2024/11/06 11:22:32 modbus: send 37 73 00 00 00 06 01 03 e1 74 00 02
[db:1 ] TRACE 2024/11/06 11:22:32 modbus: recv 37 73 00 00 00 07 01 03 04 10 00 45 2d
[db:1 ] TRACE 2024/11/06 11:22:32 modbus: send 37 74 00 00 00 06 01 03 e1 84 00 02
[db:1 ] TRACE 2024/11/06 11:22:33 modbus: recv 37 74 00 00 00 07 01 03 04 00 01 41 a0
[site ] DEBUG 2024/11/06 11:22:33 battery soc: 20%
[site ] DEBUG 2024/11/06 11:22:33 battery power: -2769W
[site ] WARN 2024/11/06 11:22:33 pv 1 power: -2016W is negative - check configuration if sign is correct
[site ] DEBUG 2024/11/06 11:22:33 pv power: 0W
[site ] DEBUG 2024/11/06 11:22:33 grid powers: [3335 876 1105]W
[site ] DEBUG 2024/11/06 11:22:33 grid currents: [15 4.3 5.2]A
[site ] DEBUG 2024/11/06 11:22:33 battery has priority at soc 20% (< 95%)
[site ] DEBUG 2024/11/06 11:22:33 site power: 5367W
[lp-1 ] DEBUG 2024/11/06 11:22:33 charge total import: 4853.733kWh
[lp-1 ] DEBUG 2024/11/06 11:22:33 charger status: A
What type of operating system are you running?
HomeAssistant Add-on
Nightly build
- [X] I have verified that the issue is reproducible with the latest nightly build
Version
0.131.4
Missing config