core
core copied to clipboard
Kostal Plenticore Solar Inverter could not be used in energy settings
The problem
No entity of the "Kostal Plenticore Solar Inverter " could be used in the energy tab to set as energy consumption
https://www.home-assistant.io/integrations/kostal_plenticore/
https://github.com/home-assistant/core/tree/dev/homeassistant/components/kostal_plenticore
https://developers.home-assistant.io/docs/core/entity/sensor/#long-term-statistics
What version of Home Assistant Core has the issue?
2022.10.4
What was the last working version of Home Assistant Core?
2022.10.4
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Kostal Plenticore Solar Inverter
Link to integration documentation on our website
https://www.home-assistant.io/integrations/kostal_plenticore/
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
No response
Additional information
No response
Hey there @stegm, mind taking a look at this issue as it has been labeled with an integration (kostal_plenticore
) you are listed as a code owner for? Thanks!
(message by CodeOwnersMention)
kostal_plenticore documentation kostal_plenticore source (message by IssueLinks)
Can you download and attach the diagnosis information of the kostal plenticore integration?
I have also a similar problem with the integration. Entities Energy Discharge to Grid are showing wrong values comparing to Kostal app. In parallel I am running Iobroker using Kostal adapter, which shows the same values for Energy Discharge to Grid comparing to Kostal app. Please consider.
Is this the same issue as 66747 ?
I have also a similar problem with the integration. Entities Energy Discharge to Grid are showing wrong values comparing to Kostal app. In parallel I am running Iobroker using Kostal adapter, which shows the same values for Energy Discharge to Grid comparing to Kostal app. Please consider.
The HA integration uses the local Web-API, so I don't know what the Kostal app is using and which one is correct (I only use the HA and local Web but not the app). Maybe you can compare the absolute values from all three?
I'm also not sure if "Energy Discharge to Grid" is the right one. As @seb2020 mentioned, take a look at #66747 if you want to get the energy to grid. It needs a template sensor, because the Web-API doesn't provide one.
For example I use this one:
template:
- sensor:
- name: "Plenticore Energy PV to Grid Total (Template)"
unit_of_measurement: "kWh"
device_class: energy
state_class: total
state: >
{% set yield = states('sensor.scb_energy_yield_total') | float %}
{% set batteryToHome = states('sensor.scb_home_consumption_from_battery_total') | float %}
{% set pvToHome = states('sensor.scb_home_consumption_from_pv_total') | float %}
{{ yield - pvToHome - batteryToHome }}
Hi @stegm,
Cab you tell from where is coming sensor.scb_energy_XXX ? Il have enabled the kostal Integration but i haven't this value
Hi @stegm,
Cab you tell from where is coming sensor.scb_energy_XXX ? Il have enabled the kostal Integration but i haven't this value
Most of the entities are disabled per default. You have to enable the ones which you want to use in the entity page.
In my HA, it's kostal_ instead of scb_. I have updated the template.
I have also a similar problem with the integration. Entities Energy Discharge to Grid are showing wrong values comparing to Kostal app. In parallel I am running Iobroker using Kostal adapter, which shows the same values for Energy Discharge to Grid comparing to Kostal app. Please consider.
The HA integration uses the local Web-API, so I don't know what the Kostal app is using and which one is correct (I only use the HA and local Web but not the app). Maybe you can compare the absolute values from all three?
I'm also not sure if "Energy Discharge to Grid" is the right one. As @seb2020 mentioned, take a look at #66747 if you want to get the energy to grid. It needs a template sensor, because the Web-API doesn't provide one.
For example I use this one:
template: - sensor: - name: "Plenticore Energy PV to Grid Total (Template)" unit_of_measurement: "kWh" device_class: energy state_class: total state: > {% set yield = states('sensor.scb_energy_yield_total') | float %} {% set batteryToHome = states('sensor.scb_home_consumption_from_battery_total') | float %} {% set pvToHome = states('sensor.scb_home_consumption_from_pv_total') | float %} {{ yield - pvToHome - batteryToHome }}
Yes this seems to be a solution. Nevertheless the above mentioned "Entities Energy Discharge to Grid" values differ comparing modbus values or am I wrong?
Yes this seems to be a solution. Nevertheless the above mentioned "Entities Energy Discharge to Grid" values differ comparing modbus values or am I wrong?
Actually I don't use this entity because it seems not to be the amount of energy which is goes to the grid from the PV. That's the reason why I use the template sensor. As I don't use modbus I can't say anything about that.
All important sensors can be found in the Plenticore entities. Unfortunately, these are not selectable in the energy dashboard. Here are always the .......total linked. But unfortunately not the normal without total
All important sensors can be found in the Plenticore entities. Unfortunately, these are not selectable in the energy dashboard. Here are always the .......total linked. But unfortunately not the normal without total
Please give an example which entity for which part of the dashboard is missing. For my understanding only the total make sense.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.