home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
70.46k stars 29.39k forks source link

Solar panels only allowed to "produce" energy #54275

Closed PetersPGM closed 3 years ago

PetersPGM commented 3 years ago

The problem

In contrast with most other energy sensors solar panels don't seem to offer the distinction between produced and consumed. While most of the time solar panels do produce energy, when they don't the invertor still (during some time) consumes energy.

What is version of Home Assistant Core has the issue?

core-2021.8.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Supervised

Integration causing the issue

No response

Link to integration documentation on our website

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

nielssteenvoorde commented 3 years ago

Got same 'problem'. Reading out the smart meter with P1-cabel and the integration: https://www.home-assistant.io/integrations/dsmr I have a entiteit (dutch) called "sensor.power_production" but this "entiteit" doesn't show up under energie (also dutch ;-)). I can get it in a dashboard and that works great but not under solar production in the "energie" menu (http://IP-ADRESS:8123/config/energy. I got 29 "entiteiten" from the smart meter and this integration works great. I now have: Current Phase L1 sensor.current_phase_l1 DSMR Slimme Meter Meterkast

Current Phase L2 sensor.current_phase_l2 DSMR Slimme Meter Meterkast

Current Phase L3 sensor.current_phase_l3 DSMR Slimme Meter Meterkast

Energy Consumption (tarif 1) sensor.energy_consumption_tarif_1 DSMR Slimme Meter Meterkast

Energy Consumption (tarif 2) sensor.energy_consumption_tarif_2 DSMR Slimme Meter Meterkast

Energy Consumption (total) sensor.energy_consumption_total DSMR Slimme Meter Meterkast

Energy Production (tarif 1) sensor.energy_production_tarif_1 DSMR Slimme Meter Meterkast

Energy Production (tarif 2) sensor.energy_production_tarif_2 DSMR Slimme Meter Meterkast

Gas Consumption sensor.gas_consumption DSMR Slimme Meter Meterkast

Long Power Failure Count sensor.long_power_failure_count DSMR Slimme Meter Meterkast

Power Consumption sensor.power_consumption DSMR Slimme Meter Meterkast

Power Consumption Phase L1 sensor.power_consumption_phase_l1 DSMR Slimme Meter Meterkast

Power Consumption Phase L2 sensor.power_consumption_phase_l2 DSMR Slimme Meter Meterkast

Power Consumption Phase L3 sensor.power_consumption_phase_l3 DSMR Slimme Meter Meterkast

Power Production sensor.power_production DSMR Slimme Meter Meterkast

Power Production Phase L1 sensor.power_production_phase_l1 DSMR Slimme Meter Meterkast

Power Production Phase L2 sensor.power_production_phase_l2 DSMR Slimme Meter Meterkast

Power Production Phase L3 sensor.power_production_phase_l3 DSMR Slimme Meter Meterkast

Power Tariff sensor.power_tariff DSMR Slimme Meter Meterkast

Short Power Failure Count sensor.short_power_failure_count DSMR Slimme Meter Meterkast

Voltage Phase L1 sensor.voltage_phase_l1 DSMR Slimme Meter Meterkast

Voltage Phase L2 sensor.voltage_phase_l2 DSMR Slimme Meter Meterkast

Voltage Phase L3 sensor.voltage_phase_l3 DSMR Slimme Meter Meterkast

Voltage Sags Phase L1 sensor.voltage_sags_phase_l1 DSMR Slimme Meter Meterkast

Voltage Sags Phase L2 sensor.voltage_sags_phase_l2 DSMR Slimme Meter Meterkast

Voltage Sags Phase L3 sensor.voltage_sags_phase_l3 DSMR Slimme Meter Meterkast

Voltage Swells Phase L1 sensor.voltage_swells_phase_l1 DSMR Slimme Meter Meterkast

Voltage Swells Phase L2 sensor.voltage_swells_phase_l2 DSMR Slimme Meter Meterkast

Voltage Swells Phase L3 sensor.voltage_swells_phase_l3 DSMR Slimme Meter Meterkast I have a 3-phase configuration with a DSMR5.0 meter Something isn't wright I think

nelbs commented 3 years ago

There is a difference between power (W) and energy (kWh). Only energy sensors are supported in the energydashboard right now. So you cant see the current power production but you can see the total produced energy per hour.

PetersPGM commented 3 years ago

And also not all energy sensors are accepted by Home Assistant. My wife is working on things like Plugwise and P1 meters and they might come sometime in the future.

frenck commented 3 years ago

Some inverters provide data for this, which could be added to a power-consuming device that can be monitored. Of course, if your device does not provide this data, Home Assistant will not be able to monitor that.

As from the Home Assistant feature set; this is not a limitation or bug.

middelink commented 3 years ago

That is a weird reasoning, for the grid we have consumed/produced, for the future battery we will have produced/consumed and for solar only produced? My OCD objects! I mean, it is always possible to leave the consumed entity field empty, as one would do with a grid connection based of a pulse meter orso. It would be just cool to see 0.1kWh consumed in the little solor bulb.

Mariusthvdb commented 3 years ago

Solar edge ( and the modbus attached to it ) has those:

image

And if you have a smart meter, this will ofc be calculated in the return to grid entity. With that you should also be able to create a template sensor .

nielssteenvoorde commented 3 years ago

TNX for this advice. I only use a APSystems ECU-C (not the ECU-R) and it isn't supported yet in HA. The hacs pluginfrom apsystems also doesn't work for me. It installs but there are no entities visable. I think it has something to do with my own skills. Instead of using the APS ECU-C I'm now reading out my smart meter and it looks like it has a parameter produced solar power which is usable only doesn't show up in the energy portal. In my dashboard its is visible.

Op ma 9 aug. 2021 om 22:58 schreef Marius @.***>:

Solar edge ( and the modbus attached to it ) has those:

[image: image] https://user-images.githubusercontent.com/33354141/128773311-70f08211-a3b1-4532-a4c3-6484320afc30.jpeg

And if you have a smart meter, this will ofc be calculated in the return to grid entity. With that you should also be able to create a template sensor .

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/54275#issuecomment-895541693, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIF3SSAAAIGHOCMMTB2I4GDT4A6P5ANCNFSM5BYWMMFQ .