Custom Sensor: Today's Solar Consumption [for Deye SUN Hybrid inverter] #108
PV-Joe
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
-
This sensor calculates the solar energy consumed directly in the household for the current day by taking the total production and subtracting the energy that was either stored in the battery or exported to the grid. It matches the value calculated by the Energy Dashboard in Home Assistant also known as self-used solar energy.
It can be added to the "deye_sg04lp3.yaml" using the following sensors is as follows:
(please note that the Modbus registers used here can only be applied to Deye SUN Hybrid inverters but you can easily customize the Modbus registers to match with other models or brands).
Modbus registers entityID's and calculation:
YAML Sensor to be added to the "deye_sg04lp3.yaml" or "custom_components.yaml":
(It is recommended to use it in a "custom_components.yaml" otherwise it will be overwritten with the next Solarman update)
Energy Dashboard of Home Assistant (orange = self-used energy):
Beta Was this translation helpful? Give feedback.
All reactions