Core: Tibber reports wrong values

Created on 20 Apr 2018  Â·  13Comments  Â·  Source: home-assistant/core

Home assistant v 0.66.1
Tibber plugin
Shows incorrecr max and min price last 2 days from midnight(maybe all the time, but was awake at theese occasions). Max price looks like its the same as current price at 00:00. I convert max and min price to a percentvalue. 0=min and 100=max. All above 60% etx triggers powersaving. Very bad when i got wrong values.. Last night corrwct price updatet aprox 2am.

Most helpful comment

An update: It seems to be a timezone issue when calculating the min/max values. I hope to make a fix tonight.

All 13 comments

Could you please try to upgrade to 0.67.1?
Or this fix https://github.com/home-assistant/home-assistant/pull/13865

Jeg går egentlig bare ut ifra at kommunikasjonen kan foregå på norsk her jeg…
Skal oppdatere HA ila kvelden, senest i helga.
Jeg skal ta en titt på githublinken din, men er ennå ikke veldig bevandret i githubverdenen, så må sette meg litt inn i det ser jeg.

Med vennlig hilsen
Tore Austad
Elektriker

Nyvold Installasjon AS
-et selskap i Vintervollgruppen
Inge Krokanns vei 14 , 7340 Oppdal
Telefon: 72400600 Mobil: 92491059
E-post: Tore.[email protected]Tore.Austad@nyinst.no

www.nyinst.nohttp://www.nyinst.no
[cid:[email protected]]

Fra: Daniel Høyer Iversen [mailto:[email protected]]
Sendt: fredag 20. april 2018 06.28
Til: home-assistant/home-assistant home-assistant@noreply.github.com
Kopi: Tore Austad Tore.Austad@nyinst.no; Author author@noreply.github.com
Emne: Re: [home-assistant/home-assistant] Tibber reports wrong values (#14009)

Could you please try to upgrade to 0.67.1?
Or this fix #13865https://github.com/home-assistant/home-assistant/pull/13865

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/home-assistant/issues/14009#issuecomment-382971812, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkvZODn1ItRdRT4DpCxgdWRjsvoC0Jyqks5tqWPkgaJpZM4TcmQB.

You can try to upgrade to 0.67.1 first

https://1drv.ms/u/s!AgJYMRIOw6lloUBtIhz1zUClUjkl

https://1drv.ms/u/s!AgJYMRIOw6lloT-Iysrwr9XrIu_V

Screenshots from 00.12 today. Have updated ha to 0.67.1

Tomorrow i will delete and make new tibber token

Sendt fra min Samsung Galaxy-smarttelefon.

-------- Opprinnelig melding --------
Fra: Daniel Høyer Iversen notifications@github.com
Dato: 20.04.2018 08:01 (GMT+01:00)
Til: home-assistant/home-assistant home-assistant@noreply.github.com
Ko: Tore Austad Tore.Austad@nyinst.no, Author author@noreply.github.com
Emne: Re: [home-assistant/home-assistant] Tibber reports wrong values (#14009)

You can try to upgrade to 0.67.1 first

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/home-assistant/issues/14009#issuecomment-382987634, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkvZOO0KmV1D_8Nv6yuQ-UGxwYpjRq0yks5tqXmYgaJpZM4TcmQB.

This looks fine.

HA shows the current and the historic price (not the future values)
The max/min values should be max/min over the current day

I dont belive this is correct.
Its flawless from 2-4am. Now the sensor is reporting min_price of 0.318 and max_price 0.456. This is correct as of the screenshot from tibber-abb, but the values shown from screenshot 00.12 is not correct. Its not critical, i can just set my automations to not run 00.00-02.00, but the best would be correct update at midnight

I scale this price to a 0-100 value, where min_price is 0, and max_price is 100. I have a RGB strip that shows this value, 0% is green 100% bright and 100 is red 100%, 50% is 50/50 red green etc. 20.04.20018 between 00.00 and 0200 it was 100% red, and of course tibber sensor reporting max_price same as current(even tho the max price reported directly in tibber app was about 20 øre more or so. also weird/wrong min_price. At 02.00 the rgbstrip turned perfectly green and tibber sensor reported correct values…

Med vennlig hilsen
Tore Austad
Elektriker

Nyvold Installasjon AS
-et selskap i Vintervollgruppen
Inge Krokanns vei 14 , 7340 Oppdal
Telefon: 72400600 Mobil: 92491059
E-post: Tore.[email protected]Tore.Austad@nyinst.no

www.nyinst.nohttp://www.nyinst.no
[cid:[email protected]]

Fra: Daniel Høyer Iversen [mailto:[email protected]]
Sendt: 21. april 2018 08:36
Til: home-assistant/home-assistant home-assistant@noreply.github.com
Kopi: Tore Austad Tore.Austad@nyinst.no; Author author@noreply.github.com
Emne: Re: [home-assistant/home-assistant] Tibber reports wrong values (#14009)

This looks fine.

HA shows the current and the historic price (not the future values)
The max/min values should be max/min over the current day

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/home-assistant/issues/14009#issuecomment-383272026, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkvZOO7hbtnwcna5MUY0Ikty_0vgAH_Aks5tqtNRgaJpZM4TcmQB.

Have you tried this fix #13865 ?
The same as the latest dev version of HA

Maybe there is a timezone issue, so it would be great if you could try the latest version.

I been looking at this now, and realise i have no clue on how to actually perform this update. I will look further into it, but if youve had the time to put me in the right direction id guess that save me a lot of time…

Med vennlig hilsen
Tore Austad
Elektriker

Nyvold Installasjon AS
-et selskap i Vintervollgruppen
Inge Krokanns vei 14 , 7340 Oppdal
Telefon: 72400600 Mobil: 92491059
E-post: Tore.[email protected]Tore.Austad@nyinst.no

www.nyinst.nohttp://www.nyinst.no
[cid:[email protected]]

Fra: Daniel Høyer Iversen [mailto:[email protected]]
Sendt: 21. april 2018 14:11
Til: home-assistant/home-assistant home-assistant@noreply.github.com
Kopi: Tore Austad Tore.Austad@nyinst.no; Author author@noreply.github.com
Emne: Re: [home-assistant/home-assistant] Tibber reports wrong values (#14009)

Maybe there is a timezone issue, so it would be great if you could try the latest version.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/home-assistant/home-assistant/issues/14009#issuecomment-383290246, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AkvZOITqPv5CntSuimTIXBWiw1qsXek9ks5tqyG-gaJpZM4TcmQB.

Hello @austadt. Sorry to interfere in this thread, but I would really like to see your HA config regarding showing % of min/max and showing this on a RGB strip. Seems like something I could find neat :)

An update: It seems to be a timezone issue when calculating the min/max values. I hope to make a fix tonight.

How will this update be available for use? Is there som sort of automatic sensor code update or do i manually need to do somethi g?
Much appreciated the work your doing! :)

I will share my code when i have my laptop around. Tonight, or tomorrow morning @elbogi

The last Tibber PR (#13865) is already merged and in the scheduled 0.68 release for 27.04. This fix (timezone issues) will most likely be in the next one, coming in approx. 14 days, so unless you want to run RC (release candidates) of HA, you should probaly wait :)

@Danielhiversen , correct me if I'm wrong :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Ciqsky picture Ciqsky  Â·  129Comments

gieljnssns picture gieljnssns  Â·  277Comments

abouelric picture abouelric  Â·  165Comments

McGiverGim picture McGiverGim  Â·  124Comments

nodkan picture nodkan  Â·  161Comments