Jump to content

Welcome to Smart Home Forum by FIBARO

Dear Guest,

 

as you can notice parts of Smart Home Forum by FIBARO is not available for you. You have to register in order to view all content and post in our community. Don't worry! Registration is a simple free process that requires minimal information for you to sign up. Become a part of of Smart Home Forum by FIBARO by creating an account.

 

As a member you can:

  •     Start new topics and reply to others
  •     Follow topics and users to get email updates
  •     Get your own profile page and make new friends
  •     Send personal messages
  •     ... and learn a lot about our system!

 

Regards,

Smart Home Forum by FIBARO Team


Question

Posted

Hi,

 

Anyone integrated tibber on HC3 yet? I cant write LUA so need help

  • Like 1

Recommended Posts

  • 0
Posted (edited)

Build the Quickapp

 

Please login or register to see this attachment.

 

but now Tibber doesn’t responses with the tomorrow values anymore:

 

Please login or register to see this code.


The tomorrow response is empty []

 

Strange, without the tomorrow values it aint gonna work. Doesn’t work in the 

Please login or register to see this link.

 either. 

 

Anyone else also having this issue?

 

 

 

Edited by SmartHomeEddy
  • 0
Posted (edited)

Happy you are working on this. 
Looking forward to test it my self. 
 

Don’t have other Tibber lua code in my system then this hour cost, so can’t test with my token. 

 

But tomorrow prices are published around/after 13.00 each day. Did you test before that time and that could be the case?

 

Tested in developer now, and seems to be working now if there where some issues. 

Edited by dorten75
  • 0
Posted
9 minutes ago, dorten75 said:

But tomorrow prices are published around/after 13.00 each day. Did you test before that time and that could be the case?

Oh, didn’t know that. I think that is the case. 
 

I need the tomorrow values for example in the percentage child devices +1 to +5 hours at least around 19 hour at the evening. 

  • 0
Posted

?? Should be enough time then for planning the next hours after midnight. 


So in the QA above the 2+ hour shows a reduction of 1,18% in price?

  • 0
Posted
47 minutes ago, dorten75 said:

?? Should be enough time then for planning the next hours after midnight. 


So in the QA above the 2+ hour shows a reduction of 1,18% in price?

 

I have to look at that code, haven't debugged it because of the missing tomorrow values in this routine.

It is now: (current price - price +1 hour) / current price * 100

 

For example if current price = 0.7 and price +1 hour = 0.6 (cheaper) then:

(0.7-0.6) / 0.7 * 100 = 14.29%

 

And if for example if current price = 0.7 and price +2 hour = 0.8 (more expensive) then:

(0.7-0.8) / 0.7 *100 = -14.28%

 

Is that what you expect, what it should be?

 

 

  • 0
Posted

Yea, that should give the correct %

 

Just wanted to confirm that I understood the setup.

  • 0
Posted

So if the next hour price is cheaper, the percentage is positive. And if the next hour price is more expensive, the percentage is negative. 

  • 0
Posted
9 hours ago, SmartHomeEddy said:

So if the next hour price is cheaper, the percentage is positive. And if the next hour price is more expensive, the percentage is negative. 

Sorry, I was only looking at the math and overlooked that part ?

 

In my head it is correct thinking decrease/increase. So when the price is cheaper it is decreasing and negative. When price is more expensive it is increasing, so positive. 
I see that both ways can be argumented, so as long as the user know the setup it will be good. 
If there maybe is room for small red/green arrows showing the direction it would make no doubt. 

  • 0
Posted

 

1 hour ago, dorten75 said:

Sorry, I was only looking at the math and overlooked that part ?

?

 

I will turn it around. 
 

For the minimum and maximum price, I now compare to all available values today and tomorrow. In the morning till 13:00 there are less values available (without the tomorrow results) and from 13:00 there are 24 more results available. So the minimum and maximum price changes depending on the amount of available values. That sounds a bit strange. Maybe it is better to get the minimum and maximum prices from the next 12 hours. 

 

  • 0
Posted
3 hours ago, SmartHomeEddy said:

Maybe it is better to get the minimum and maximum prices from the next 12 hours. 

I agree - looking forward 12 hours should be good enough and makes sense. 

  • 0
Posted

The new Tibber Monitor quickapp is available for download and testing. Enjoy and hope to get some feedback. 

 

 

  • Like 1
  • 0
Posted


Hi I see that some in here have tibber pulse, Fibaro recommends Qubino 3 phase smart meter z-wave. It is 100% compatible with Fibaro HC3 and shows all values in real time. I have made a video on how to limit power consumption to 5 kW. The video is in Norwegian.

Please login or register to see this link.

  • Like 1
  • 0
Posted (edited)
On 11/24/2021 at 6:38 PM, TrygveD said:

The LUA language for HC3 is different from HC2. Does anyone have a code for getting information from Tibber Pulse to my Fibaro HC3?


The quickapp for Tibber Live (Pulse) is available. 
 

 

 

Edited by SmartHomeEddy
  • Like 2

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...