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

Wrong numbers for home consumption (continued) #258

Closed
benvanmierloo opened this issue Jun 6, 2023 · 9 comments · Fixed by #266
Closed

Wrong numbers for home consumption (continued) #258

benvanmierloo opened this issue Jun 6, 2023 · 9 comments · Fixed by #266
Labels
bug Something isn't working

Comments

@benvanmierloo
Copy link

benvanmierloo commented Jun 6, 2023

Hi,

it seems I have found an edge case linked to issue #231.

When feeding all power (Solar + Battery) to the grid, the Home calculation not correct. In the screenshot below you can see the situation. 4.67 kW is being fed into the grid. The battery supplies 2.62 kW and the Solar panels 2.38 kW. This means the Home consumption should be Solar + Battery discharge - Grid injection (2.38kW+2.62kW-4.67kW) = 330W instead of 2.62kW,

screenshot_discharge_to_grid

Originally posted by @benvanmierloo in #231 (comment)

@flixlix flixlix added the bug Something isn't working label Jun 7, 2023
@flixlix
Copy link
Owner

flixlix commented Jun 7, 2023

Did this work in version 0.1.3?
Because this seems like a very strange scenario.
Why would you be exporting to the grid while producing from the battery?

@neildsb
Copy link

neildsb commented Jun 7, 2023

Did this work in version 0.1.3? Because this seems like a very strange scenario. Why would you be exporting to the grid while producing from the battery?

I am currently on the 'Tesla Energy Plan' AKA 'virtual power plant' and get paid at peak rates to dump the battery to the grid

https://www.tesla.com/support/energy/powerwall/own/california-virtual-power-plant

ps I am in the UK and the plan is now obsolete, this is the new option on renewal https://octopus.energy/smart/flux/

@neildsb
Copy link

neildsb commented Jun 7, 2023

also, yes, its working on 1.3, I rolled back -

image

@flixlix
Copy link
Owner

flixlix commented Jun 7, 2023

Can you check if this file solves the issue?

The Console MUST log the following:
Console Version
Otherwise, you don't have the file is not being used. Check the instructions in the readme for a manual install and clear the cache of your browser.

power-flow-card-plus.js.zip

Would love to get some feedback, so I now if the issue is fixed and can push the changes to the next version

@neildsb
Copy link

neildsb commented Jun 7, 2023

no probs will check tomorrow, I will only know if it's working if-

  1. its sunny in the UK (the weather is looking good BTW) and
  2. at 4pm BST...

I understand how to manually install, but, can I just copy the 'single' file (power-flow-card-plus.js) to the HACS dir that was created and reload....?

image

@flixlix
Copy link
Owner

flixlix commented Jun 7, 2023

I just tested the card with the numbers and it is now working as intended, so I'll release this in the next version, so you don't need to install it manually anymore.

If you still want to install the card manually (yes, only the js file is enough. I just zipped it so I can share it here):

  • Paste the js file directly in the www directory
  • Change the resource of this card from the HACS path to local/power-flow-card-plus.js
    But, as I said, no need to do that since the new version will be available shortly

@flixlix flixlix linked a pull request Jun 7, 2023 that will close this issue
@flixlix
Copy link
Owner

flixlix commented Jun 7, 2023

Just released the new version, which fixes this issue! 🥳

https://github.com/flixlix/power-flow-card-plus/releases/tag/v0.1.5.2

@flixlix flixlix closed this as completed Jun 7, 2023
@neildsb
Copy link

neildsb commented Jun 7, 2023

thanks, have pulled the update, I will feedback tomorrow at 4pm BST, thanks take care

@neildsb
Copy link

neildsb commented Jun 8, 2023

its all working fine @flixlix thanks again for your help and hard work!!

Home Assistant 2023.6.0
Supervisor 2023.06.1
Operating System 10.2
Frontend 20230607.0 - latest

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants