"Better" house consumption data (based on AC power) #30
marq24
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
As you might know the house consumption value that's provided by your Senec.HOME is not accurate, since it's based on the DC Power of the Inverters - and with that the loss of the DC->AC conversion is included in the home usage...
In the past couple of days I spend some time in order to find alternative source of information in order to improve my home consumption value. [This might be just cosmetics, since there is no need to pay tax on the own consumption in Germany any longer - at least if you also have a battery in place].
Actually I have an additional challenge, since I have an additional Inverter. Cause of software issues, the Senec.HOME not always include the PV-Power of the additional inverter [I would had anyhow preferred, if the data of the additional inverter would not be included at the first place - but that's a different story]. So the second challenge is, that I want to know the PV-Power generated by the build in inverter(s) [I have a Hybrid duo - so there are two!].
Challenge I: Get the AC PV-Power of the Senec Inverter(s) separately
As explained in detail here the Senec.HOME have additional LAN connectors, that are not connected by default. When you connect them and read the data you will get actually AC-power data (so really the power you can use)!
Challenge II: Separate the Battery Power (import & export)
But before getting too excited - the data the main inverter (called LV) providing also include the power that will be imported/exported into/from the battery. Additionally the LV-INV providing a value called
BDC LINK_Power
which seams to be the AC power that is exchanged between the (power) network and the battery.Challenge III: Get the AC House consumption
As already introduced, the Senec.HOME System will include the power loss of the DC->AC conversion
Finally the code ;-)
In order to simply copy & paste the code below there are some important constraints you have to be aware. The Sensor names/entitie_ids might be different in your environment and you might just have a single inverter build into your Senec.HOME System - so please double check it with your (HA) installation!
Requirements
INV-LV
INV-HV
senec
sensor.sn_3010997393_grid_power
The sensors/output
My HA
configuration.yml
Beta Was this translation helpful? Give feedback.
All reactions