Replies: 2 comments 4 replies
-
|
In terms of electrical engineering conventions, this is not the first time that HA developers have got their interpretations wrong. The convention with batteries is when being charged, energy is being added, so is a positive. Conversely when discharged it's losing energy and is a negative. Without an exception that the majority of electrical engineers will have encountered a positive is adding and negative taking away. The point is this topic needs to be seen from the external circuits that charge and discharge the battery, hence charging is a positive. It looks like the HA developers have chosen electron flows to form their convention which is by convention - wrong. The last time I met incorrect thinking was the developers interpretation of Power Factors, where they (ESPHome) reversed the PF readings due to a lack of knowledge, and they rounded up the values to +/-1 and assumed anything less than 1 was irrelevant, how wrong they were. This subject needs to be debated on the HA forum to let the populace views emerge and electrical engineers to influence the outcome. The MyEnergi system was designed by reputable electrical engineers who got it right as we should expect. |
Beta Was this translation helpful? Give feedback.
-
|
I can't take the credit but this is what I did based on advice from another user. In HA: State: Unit of measurement: Device class: State class: Device: Advanced => Availability: |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
I was pleased to see the Live Power monitoring in the 2025.12 release and excited to play with it after the previous upgrade to allow a device to specify the upstream device.
I quickly added the power sensors for all of my devices but when I went to the battery storage section I found the readings are reversed in the case of the Myenergi integration where charging is shown as a positive and discharge as negative. In the HA energy dashboard it says to pick a sensor where positive values indicate discharging the battery, negative values indicate charging the battery.
As a work around I used a helper to create a template sensor that is an inverse of internal_load_ct1 sensor.
I also thought about adding a CT clamp on the feed to/from the Libbi and use that as the sensor Instead.
Has anyone else experienced this? I thought I'd post here in case it is useful to others.
Any thoughts of changing the integration to support what HA expects?
Beta Was this translation helpful? Give feedback.
All reactions