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

Import/Export Compare values & not taking account of rate overrides #2033

Open
gcoan opened this issue Feb 21, 2025 · 3 comments
Open

Import/Export Compare values & not taking account of rate overrides #2033

gcoan opened this issue Feb 21, 2025 · 3 comments
Assignees

Comments

@gcoan
Copy link
Collaborator

gcoan commented Feb 21, 2025

Describe the bug
Three different issues noticed with the compare function tonight:

  1. The Compare shows current is much cheaper than Cosy Agile that I'm currently on.

On investigation I have identified that current is taking account of rate overrides in apps.yaml for a power up event today:
image

Whereas the other projections are not. I'd suggest that if a rate override has been put in apps.yaml or via the manual_api then it should be honoured in all tariffs
image

  1. Import/export values look impossibly high.

Noticed import projections of over 100kWh, and export projections that can't be achieved either.
image

e.g. Agile Fixed has 13.5kW of projected export.

In the plan there are 4 export slots. I have 2 inverters at 2.4kW, so 4.8 per hour. At best 9.6 + solar - house load.
2 of the slots are at night, two are in the day but when load>solar, so can't achieve this export figure.
image
image

import not checked but similarly way too high

  1. Viewability on a mobile phone

The graphs are completely unreadable both portrait and landscape:
image
image

I'd question whether the title/menu bar needs to be so big and needs to be fixed on small screens like this as it uses quite a bit of real estate

EDIT: 3 further comments/observations/issues identified below #2033 (comment)

Expected behaviour

  1. Take account of rate import/export overrides in apps.yaml for all tariffs

  2. Import and export figures that are correct !

  3. Make the menu bar float on the top of the page when on small resolution screens and scale the graph so that it is readable on all devices

Predbat version
8.14.4

Environment details
2x Gen 1 hybrid inverters
HAOS Core 2025.2.4

Log file
predbat.1.log

@gcoan
Copy link
Collaborator Author

gcoan commented Feb 22, 2025

r/e point 3, if the text 'Predbat' were made a bit smaller and the bat logo was aligned a bit higher then the whole menu bar could be halved in vertical size quite easily

still consideration about making it scroll off the page rather than be fixed at the top on small apperture screen sizes, but just reducing the vertical size would make quite an improvement

@jrwm47
Copy link

jrwm47 commented Feb 23, 2025

Like Geoff, I'm getting some odd-looking numbers in my Comparison table. I'm on Agile In/Fixed Out with a GE AIO (13k5Wh) and about 3k5Wp panels, no EV, iboost currently off. Predbat is set to vanilla (default, non-expert yaml).

For the past few days, my Current has agreed with Agile In/Fixed Out but today it doesn't - see attached. Also the un-dimensioned In/Out Comparison numbers look high. It's windy and predbat was doing a lot of 30/30 arbitrage earlier today.

Despite these niggles, I love predbat and welcome the new tariff comparison feature. Happy to provide any debug data might help. - Julian

Image

Image

@gcoan
Copy link
Collaborator Author

gcoan commented Feb 27, 2025

Sorry @springfall2008 three further observations/bugs/features:

  1. Is it possible for the colours in the chart to be adjusted? In particular I find that the 'current' and 'flux' always come out at the same shade of blue so its very hard to distinguish between them:
    image

  2. The compare entities all have identical friendly names in HA, can these be changed to include the tarrif name because at the moment they are indistinguishable other than the different entity id's:
    image

  3. And on the subject of the compare entities, if I look at the entity value I can see a snapshot of entity state over time, but with a spinning wheel in the Logbook area:
    image

If I click 'show more' to see a graph of compare £ over time then it sits with a spinning wheel for ages and ages before eventually reporting 'no logbook entries'.
Don't have this problem with other Predbat entities, must be something to do with the way these compare entities are written to HA.

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

3 participants