Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

House Power consumption calculation is wrong #80

Open
mstoffel-sag opened this issue Jun 8, 2021 · 1 comment
Open

House Power consumption calculation is wrong #80

mstoffel-sag opened this issue Jun 8, 2021 · 1 comment

Comments

@mstoffel-sag
Copy link

Thanks for that great card. I struggle to ge the display right. Imoh I did everything right.....

Which version of HA do you use?
core-2021.6.2
Which version of the card do you use?
power-wheel-cardVersion: 0.1.5L

Describe the bug
The house consumption is displayed wrong. The home_energy_entity: sensor.power_load_fronius_power_flow_4_http_10_13_24_193 is ignored and instead calculated. I should be 207 but instead it is calculated by PV - Battery + Grid

Configuration of the card
type: custom:power-wheel-card
title: Power wheel
solar_power_entity: sensor.power_photovoltaics_fronius_power_flow_4_http_10_13_24_193
grid_power_entity: sensor.power_grid_fronius_power_flow_4_http_10_13_24_193
battery_power_entity: sensor.power_battery_fronius_power_flow_4_http_10_13_24_193
battery_soc_entity: sensor.state_of_charge_fronius_power_flow_4_http_10_13_24_193
home_energy_entity: sensor.power_load_fronius_power_flow_4_http_10_13_24_193
charging_is_positive: false

Dev console debug output
power-wheel-cardVersion: 0.1.5Lovelace resource: power-wheel-card.jsHA version: 2021.6.2Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36Report issues here: https://github.com/gurbyz/power-wheel-card/issuesProcessed config: { "type": "custom:power-wheel-card", "title": "Power wheel", "solar_power_entity": "sensor.power_photovoltaics_fronius_power_flow_4_http_10_13_24_193", "grid_power_entity": "sensor.power_grid_fronius_power_flow_4_http_10_13_24_193", "battery_power_entity": "sensor.power_battery_fronius_power_flow_4_http_10_13_24_193", "battery_soc_entity": "sensor.state_of_charge_fronius_power_flow_4_http_10_13_24_193", "home_energy_entity": "sensor.power_load_fronius_power_flow_4_http_10_13_24_193", "debug": true, "charging_is_positive": 1, "production_is_positive": 1, "title_power": "Power wheel", "title_energy": "Power wheel", "title_money": "Power wheel", "power_decimals": 0, "energy_decimals": 3, "money_decimals": 2, "money_unit": "€", "color_icons": true, "consuming_color": "var(--label-badge-yellow, #f4b400)", "producing_color": "var(--label-badge-green, #0da035)", "invert_grid_colors": false, "active_arrow_color": "var(--paper-item-icon-active-color, #fdd835)", "initial_view": "power", "initial_auto_toggle_view": false, "auto_toggle_view_period": 10}Registered sensors: [ "sensor.power_photovoltaics_fronius_power_flow_4_http_10_13_24_193", "sensor.power_grid_fronius_power_flow_4_http_10_13_24_193", "sensor.power_battery_fronius_power_flow_4_http_10_13_24_193", "sensor.power_load_fronius_power_flow_4_http_10_13_24_193", "sensor.state_of_charge_fronius_power_flow_4_http_10_13_24_193"]Views object: { "power": { "title": "Power wheel", "oneGridSensor": true, "twoGridSensors": false, "batteryCapable": true, "capable": true, "unit": "W" }, "energy": { "title": "Power wheel", "oneGridSensor": false, "twoGridSensors": false, "capable": false }, "money": { "title": "Power wheel", "oneGridSensor": false, "twoGridSensors": false, "capable": false, "unit": "€" }}

Expected behavior
Home should display the entity value of 203w

Screenshots
image

Additional context
Add any other context about the problem here.

@mstoffel-sag
Copy link
Author

Actually it seems to be correct because my fronius app shows the roughly the same values as the card. But I still dont get where the error in my calculation is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant