I have solarpanels, and when the Enery integration came out, I thought this would be nice to see how much the panels generate and what my consumption is. I bought a p1-meter (slimmelezer) to get the usage data
I can only see the output of the solarpanels through the website of the supplier. the panels are connected directly into the electricitygrid, panels on the front side are connected to fase2 of the home powergrid, panels at the backside are connected to fase3 of the home powergrid. So power generated through my solarpanels is used directly, and what is left is returned to the general powergrid.
The problem however is that is cannot separate the solar data, I only see the following:
My question is, if anyone can answer it, how to get the data from fase2 and fase3, which is available, and turn it into usable data so I can finally see what is used and what is sent back from the solarpanels.
You describe an interessing solar config. Do you have more info or even better a drawing of the config.
What inverter integration are you using ?
If the data of fase2 and fase3 is available in HA but not in the energy setup, you could create a template sensor that adds up the powers of the phases to 1 value and use that in the energy setup.
Hi Bertreb,
It’s a system from APsystems
I have 24 solarpanels in total, with APS YC 1000 Converters, on which you can connect max 4 solarpanels per converter. The data is sent to a small router, which is connected to my network, and every 5 minutes data is sent
the data of fase2 and fase 3 is available through the esp integration,
The problem is that after many many hours of reading I still haven’t figured out how to create my own sensors. i am not a stupid guy but I am also not a developer
Just to get an idea of the setup / available data: So you have the data you want to show in the HA Energy statistics already in HA (fase2 & fase3), but it does not show up in the Energy dropdown?
If so, what are the two sensors called and what units do they have?
I’ve lately worked a lot with the HA Energy and built a few custom sensors out of my available sensors from my solar panels and battery so I may be able to help, but first I need to understand the issue at hand.
I noticed that you have a purple link at the bottom of your dropdown list, meaning you clicked on the provided link. Did you report the issue for the integration that creates fase2 and fase3? If those sensors are not appearing in the list, the integration that is creating them is not creating them with the necessary information needed to make it appear in the energy configuration dropdown.
You can manually add these attributes through customize.yaml. But the attributes will change depending on what style sensor they are.
The link in the dropdown also leads to a page with more information about the attributes that are needed, but it can be quite complicated, especially if you don’t know how your sensor behaves.
In HA i can see entities:
sensor.power_consumed_phase_1
sensor.power_consumed_phase_2
sensor.power_consumed_phase_3
sensor.power_produced_phase_2
sensor.power_produced_phase_2
sensor.power_produced_phase_3
As far I understand the Grid is using the P1 data (consumed and produced). The solar energy is coming from your AP-systems installation. (via Web or direct connection) Therefore you need to have sensors in place that will collect your Solar Energie. For APsystems there is no standard integration, but via HACS you can install a custom integration (web or direct connection) that will create the sensors for you.
In your energy configuration you can then select your APsystems sensors at the solar config. HA will then calculate your solar energy internal usage based on the total solar production minus the amount sent to the grid.
If you really want to know what is sent to fase 2 and fase 3 you have to create your own sensors type energy for this, but as far I understand this will not show up as sepeerate entities in the standard grafical overview.
In the screenshot below you have to choose your installed HACS APsystem integration instead of my SolarEdge integration as an example.