hombach / ioBroker.tibberlink

links tibber API data to be used in ioBroker
https://github.com/hombach/ioBroker.tibberlink
GNU General Public License v3.0
25 stars 5 forks source link

Feature Request: Min/Max Prices for today and tomorrow #131

Closed Horgul123 closed 1 year ago

Horgul123 commented 1 year ago

In my Vis I show the prices in a diagramm for today and tomorrow. Below I show current price (only for today), avarage price (thanks for this feature :) ) and min/max price incl. the hour. (e.g. 21.2ct at 8:00)

I do the calculation for min/max via a blockly, but it would be great if these values would be calculated in the adapter.

If someone is interested in the blockly I use (esp. if this feature will not be implemented), see attached file. It's not very nice, but it works :)

calculate min-max.txt

Horgul123 commented 1 year ago

It's a duplicate. Didn't notice the other request :(

hombach commented 1 year ago

I don't got your point that another reqest is handling min/max price tomorrow..... If you think about first and last element of jsonBYpriceASC, then yes, ist's available. (For min/max price today, the calculator with channel type "best price single" could be used"

Horgul123 commented 1 year ago

I thought it's a duplicate of https://github.com/hombach/ioBroker.tibberlink/issues/16 But if this is a missunderstanding I would be happy to have datapoint with min/max and the time

hombach commented 1 year ago

Not exactly a duplicate. Do you need value with min/max cost + a value with the corresponding hour OR would be a state switched on/off etc. in this periods of time ??

Horgul123 commented 1 year ago

I would need the first option: e.g. 0,17ct 08:00 0.39ct 13:00

I use this information to see which prices I could expect during the day

hombach commented 1 year ago

Ok, so it's like a Tibber News Feed - HIGHLIGHT and LOWLIGHT of the day

Horgul123 commented 1 year ago

Yes, something like this :)

hombach commented 1 year ago

Will be implemented like: image -> new group minimum + new group maximum - each with data points: energy, tax, total, startsAt, level

Horgul123 commented 1 year ago

Thanks a lot 😃👍

hombach @.***> schrieb am So., 22. Okt. 2023, 15:27:

Will be implemented like: [image: image] https://user-images.githubusercontent.com/63002482/277167761-d68d922b-c47e-455e-abd2-16b2dd585e5c.png -> new group minimum + new group maximum - each with data points: energy, tax, total, startsAt, level

— Reply to this email directly, view it on GitHub https://github.com/hombach/ioBroker.tibberlink/issues/131#issuecomment-1774095919, or unsubscribe https://github.com/notifications/unsubscribe-auth/AK6YUYU46G3USBDBX7CKMNDYAUNMDAVCNFSM6AAAAAA6GTDOO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZUGA4TKOJRHE . You are receiving this because you modified the open/close state.Message ID: @.***>

hombach commented 1 year ago

Implemented in 1.4.0 - not released yet

hombach commented 1 year ago

1.4.0 released in beta repo

Horgul123 commented 1 year ago

Hmm. Installed 1.4.0 but can't see the values. Do I need to change anything?

hombach commented 1 year ago

The Today and Tomorrow data is only written when NEW data is available from Tibber. Same for min, max, average. So simply wait. At about 13:00 there schould pop um the min/max for Tomorrow, and the rest this night. .... But yes, a forced total update at restart of the adapter (e.g. after installation of a new version) might be a useful enhancement :)

Horgul123 commented 1 year ago

Ok. I'll check it later. And yes: Calculating the values after restart would be great :)

Horgul123 commented 1 year ago

Works great. got min(max for tomorrow. Thanks a lot for the fast implementation!

hombach commented 1 year ago

You're welcome!