tibber / com.tibber.athom

Tibber app for Athom Homey
16 stars 3 forks source link

Show day ahead price #6

Closed Zeppen closed 3 years ago

Zeppen commented 3 years ago

Suggestion/idea Would be slick to get the day ahead prices once a day or when called upon.

toini commented 3 years ago

Thanks for the suggestion! Where would like to have the day ahead prices put in? We currently populate the insights but it does not support storing them in future.

Zeppen commented 3 years ago

Dunno how or where to put it but would be nice to get the price hour by hour when called upon, if graphs not possible via insights then text format would do I guess. Same function would be nice to have in the Tibber app too..

toini commented 3 years ago

You can see prices hour by hour in text format when you use your credentials to log into the site at https://developer.tibber.com/explorer and then select and run the query "Current energy price". Will that be of any help?

Note that very high/low prices are notified in the app with push messages which we think provides a nice user experience.

lovethyresson commented 3 years ago

Hey,

Typically day ahead prices are available from Nordpool around 12 the day before so we could expose them. Could you help explain the intended use case a bit better? Are you looking for triggers, ie "Price tomorrow is above/below x" etc?

toini commented 3 years ago

Same function would be nice to have in the Tibber app too..

Price graphs can be viewed in the app:

image

Zeppen commented 3 years ago

my bad about the app and graphs.

You can see prices hour by hour in text format when you use your credentials to log into the site at https://developer.tibber.com/explorer and then select and run the query "Current energy price". Will that be of any help?

Note that very high/low prices are notified in the app with push messages which we think provides a nice user experience.

yup, that would do it I guess. Im looking for the feature of trigging the EV charger (Zappi v2) to use the cheapest hours for charging (combined with solar panels if available and sun is shining) the thing about the Zappi charger is that there is a Esense function that allows to power charge / economy charge the EV.

I might be on thin ice here but if esense is activated via a power socket (ie sonoff/tasmota / z-wave plug) then the different charging states can be activated (esense function)

Id then steer the power socket depending on the hours with the lowest price

Eeasee charger is a good one but since one can charge via solar panels using the Zappi charger I prefer that one over Easee.

there is a pretty good documented API of the zappi charger over here. https://github.com/twonk/MyEnergi-App-Api

and the wiki of the Zappi charger incl the esense function and so on here https://myenergi.com/wiki/zappi-v2-wiki/installation-3/#eSenseInput

I might be throwing a bunch of stupid ideas here but would be very nice to see you support more EV chargers than Easee :)

lovethyresson commented 3 years ago

Hey Zeppen,

I hear you. The primary reason we haven't expanded to multiple charge stations is that getting the logic to work correctly is pretty hard work, and there's also often dependencies on how cars react to different charge settings etc.

We may very well look at adding additional ones down the line.

But should I take it that you are ok with what's available today then? We already have a trigger for "Current price is [x] % below average for the next [y] hours". I'd assume the challenge here is that may not work across 22-06 for example if we don't expose tomorrows prices there, but I'd need @toini to comment if we can today, or if it's a simple fix.

EDIT: We do fetch tomorrow's prices. So it sounds like using the trigger above should work for your use case.

Zeppen commented 3 years ago

Thnx, I totally get it about the chargers 😊 I did a ad hoc by using a homey flow plus "Current price is [x] % below average for the next [y] hours" and together with a smartplug connected to the Zappi chargers esense input I can now use the plunge pricing 😊

Zeppen commented 3 years ago

All sorted 👍

lovethyresson commented 3 years ago

Happy you're happy! :)