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

Feature request: create Tomorrow sensors #28

Closed
Mariusthvdb opened this issue Oct 18, 2022 · 17 comments
Closed

Feature request: create Tomorrow sensors #28

Mariusthvdb opened this issue Oct 18, 2022 · 17 comments
Labels
enhancement New feature or request wontfix This will not be worked on

Comments

@Mariusthvdb
Copy link

just like

Schermafbeelding 2022-10-18 om 07 35 54

@ikke-zelf
Copy link

hopefully they give no errors in the logging till time reaches 3pm as they are not available until that time.

@Mariusthvdb
Copy link
Author

that should be handled in the integration indeed

currently we have an empty attribute prices_tomorrow: , which seems a bit odd too:

Schermafbeelding 2022-10-18 om 07 32 11

@JaccoR
Copy link
Owner

JaccoR commented Oct 18, 2022

which sensors would you want for tomorrow and how would you use them?

@Mariusthvdb
Copy link
Author

Guess it would be awesome to have those same sensors for both today and tomorrow.

Ultimately my goal would be to plan (and hopefully automate ) devices in the home.

Some indication of the cheapest moments in the next X hours would be the ultimate of usefulness...

@JaccoR
Copy link
Owner

JaccoR commented Oct 19, 2022

So average, highest and lowest for tomorrow?

@JaccoR JaccoR added enhancement New feature or request wontfix This will not be worked on labels Oct 19, 2022
@Mariusthvdb
Copy link
Author

Mariusthvdb commented Oct 19, 2022

yes please, and also the time of highest and lowest if possible, those seem very useful for planning any power consumption the next day

@JaccoR
Copy link
Owner

JaccoR commented Oct 19, 2022

I'll leave this open for now, if there is more interest for this, i could add it. I do not immediately see how one would use the highest/lowest price and times of tomorrow in automations, as you could also use todays sensors for that right?

@Mariusthvdb
Copy link
Author

Mariusthvdb commented Oct 19, 2022

uhm, no?
suppose I have my dishwasher filled and ready, or some other power consuming utility, and I want to activate those tomorrow at the cheapest hour, todays sensors are not very useful?
Not even talking about electricity heaters... turning off at peak prices of the next day, activated the evening before next days work day (away from home..)

btw quick question: do you also plan Gas prices? like eg Frank does that?
Schermafbeelding 2022-10-19 om 23 18 41
if you would consider, Ill issue a FR for that

@JaccoR
Copy link
Owner

JaccoR commented Oct 20, 2022

Todays sensors update at midnight. So when you have the dishwasher ready after the lowest price of the day has already been, and you use the sensor "time of lowest price today" the dishwasher will turn on at next days lowest price. I guess I can't imagine a scenario where you would rather have the dishwasher (or any other appliance) run at tomorrows lowest price than at todays lowest price.

About the gas prices, ENTSO-e unfortunately does not give the gas prices directly. So I am not planning to add that in the near future.

@Mariusthvdb
Copy link
Author

Mariusthvdb commented Oct 20, 2022

ha well, if you put it like that, I can understand your pov.

but now get a bit more specific: say we want to decide when to run it, today or tomorrow. (actual usecase I this household, concerning dishwasher, washing machine and some other utilities, especially the induction stove for perparing some default food basics)

I always have to 'guess' now, based on the Energy forecast integration.

Having valid today and tomorrow entities to be able to compare those would make this choice more based on factuality.

Unless you say there will never be a moment in time when both today and tomorrow lowest price are available?

About the gas prices, ENTSO-e unfortunately does not give the gas prices directly.

would you know of any other service that does provide these?

@Damazinho
Copy link

Damazinho commented Oct 21, 2022

Gas is also the one i'm really missing. I noticed that allmost all energy providers with flex prices in NL have always the same price for the whole day. From one of the providers I found the API (for today: https://mijn.easyenergy.com/nl/api/tariff/getlebatariffs?startTimestamp=2022-10-20T22%3A00%3A00.000Z&endTimestamp=2022-10-21T22%3A00%3A00.000Z&grouping=) but I don't have the knowledge to get the price of gas from the API into HA.

@Mariusthvdb
Copy link
Author

Mariusthvdb commented Oct 21, 2022

here you go:

Schermafbeelding 2022-10-21 om 16 46 57

je kan de kleuren aanpassen in bijgevoegde configuratie:

rest sensor gasprijzen easyenergy_yaml.txt

kon geen yaml uploaden, dus maar in txt

@Damazinho
Copy link

here you go:

Schermafbeelding 2022-10-21 om 16 46 57

je kan de kleuren aanpassen in bijgevoegde configuratie:

rest sensor gasprijzen easyenergy_yaml.txt

kon geen yaml uploaden, dus maar in txt

Wow, thanks! Is er ook nog een manier dat ik op een specifiek moment alleen de prijs ophaal? Aangezien de prijs om 6 uur 's morgens bekend wordt gemaakt en dan voor de rest van de dag geldt?

@Mariusthvdb
Copy link
Author

Mariusthvdb commented Oct 21, 2022

Nee, ik ben daar zelf mee aan het puzzelen ook voor stroom, maar dat lukt nog niet.

Denk aan het hele verhaal in 1 attribute en dan per trigger template (op tijd) laten updaten.

Was mijn hoop....

Voor nu is dit het. Je kunt natuurlijk wel gewoon alles templaten wat je maar wilt op basis van deze test sensor. Zie bv de 3 template sensors die ik er al aan had toegevoegd

Of... is dat eigenlijk wat je bedoelt?

Mss anders beter even een andere topic aanmaken, dit wordt wel erg off topic... tag me gerust

@ikke-zelf
Copy link

Q and A topic toegevoegd waar ik een korte uitleg geef hoe de prijzen te koppelen. kan nog gedetailleerder maar het begin is er.

@JaccoR JaccoR closed this as completed Nov 10, 2022
@sfstar sfstar mentioned this issue Dec 17, 2022
@Vinisz
Copy link

Vinisz commented Dec 19, 2022

here you go:

Schermafbeelding 2022-10-21 om 16 46 57

je kan de kleuren aanpassen in bijgevoegde configuratie:

rest sensor gasprijzen easyenergy_yaml.txt

kon geen yaml uploaden, dus maar in txt

Ziet er cool uit, maar ik ben nogal nieuw in HA, dus , hoe krijg ik dit erin ? copy/paste in een bepaalde config oid ?

@Mariusthvdb
Copy link
Author

Mariusthvdb commented Mar 28, 2023

HI @JaccoR
so here we are....
hope this can be re-opened, for the tomorrow sensors request. Please let me explain.

its now 22.45, and I have to decide to turn on the dishwasher now, or maybe do it tomorrow, at some point during the day, when the price might be better. Currently, the prices are still all for today:

Scherm­afbeelding 2023-03-28 om 22 45 13

and dont point to any moment in time tomorrow.
The attributes are there, so we could create manual template sensors. Which ofc would be silly if the integration could provide them for us in a whim.

#28 (comment) was commented before, but it simply does not hold, nor help to decide in these matters.

other example where we use the 'tomorrow' data:

Scherm­afbeelding 2023-03-28 om 22 49 06

on the left todays sun production, to the right, the forecast for tomorrow. Combine that with Entsoe tomorrow sensors, and we could have a system...

hope you would reconsider,
thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

5 participants