Created At

Dec 29, 2021

Last Update

Jun 01, 2022

Platforms

HC 3 Lite, Yubii Home, HC 3

Views

1036

Download

293

Type Quick App

This QuickApp gets todays and tomorrows energy prices and energy consumption from the Tibber platform. 
Next to the current prices the lowest, highest and average price for the next hours is calculated.
Tax and extra cost (cable owner) are included in the hourly, daily, monthly, yearly and total cost.  
All values are displayed in the labels. 

 

Tibber_Monitor-2.thumb.png.7c5be3ea197eb2f293319a1f759e6dc0.png


Child devices are available for:

  • Hourly Energy 
  • Hourly Cost
  • Daily Energy  
  • Daily Cost (including extra cost)
  • Monthly Energy 
  • Monthly Cost
  • Yearly Energy 
  • Yearly Cost
  • Total Energy (com.fibaro.energyMeter with automatic rateType=consumption for Fibaro Energy Panel)
  • Total Cost
  • Current Price
  • Minimum price today (for the next [forNextHour] hours)
  • Maximum price today (for the next [forNextHour] hours)
  • Average price (calculated over the current prices and the next 10 prices)
  • Percentage +0 hour (positive value means an increase of the price, negative value means a decrease of the price)
  • Percentage +1 hour 
  • Percentage +2 hour
  • Percentage +3 hour
  • Percentage +4 hour
  • Percentage +5 hour
  • Percentage +6 hour
  • Percentage +7 hour
  • Percentage +8 hour
  • Percentage +9 hour
  • Percentage +10 hour

These devices can be used to control appliances according to the lowest and forecast prices during the day. 

 

image.thumb.png.964622f96612c390bd9ce7efc8c5d49f.png

 

For easy use in for example blockscenes, Global Variables are available for:

  • Current Price Level (NORMAL, CHEAP, VERY CHEAP, EXPENSIVE, VERY EXPENSIVE)
  • Level +0 +1 +2 +3 +3 +4 +5 +6 +7 +8 +9 +10 hour (NORMAL, CHEAP, VERY CHEAP, EXPENSIVE, VERY EXPENSIVE)

To communicate with the API you need to acquire a OAuth access token and pass this along with every request passed to the server.
A Personal Access Token give you access to your data and your data only. 
This is ideal for DIY people that want to leverage the Tibber platform to extend the smartness of their home. 
Such a token can be acquired here: https://developer.tibber.com

 

When creating your access token or OAuth client you’ll be asked which scopes you want the access token to be associated with. 
These scopes tells the API which data and operations the client is allowed to perfom on the user’s behalf. 

The scopes your app requires depend on the type of data it is trying to request. 
If you for example need access to user information you add the USER scope. 

If information about the users homes is needed you add the appropiate HOME scopes.

 

Tomorrow values are available from 13:00 hour

If you have more than one home in your subscription, you need to fill in your home number the change between your homes. 

 

Use this QuickApp at your own risk. You are responsible for ensuring that the information provided via this QuickApp do not contain errors. 

Tibber is a registered trademark being the property of TIBBER. TIBBER reserves all rights to the registered trademarks.
Information which is published on TIBBER’s websites belongs to TIBBER or is used with the permission of the rights holder.

Making of copies, presentations, distribution, display or any other transfer of the information on the website to the public is, except for strictly private use, prohibited unless done with the consent of TIBBER.

Published material on dedicated TIBBER press websites, intended for public use, is exempt from the consent requirement.
Also see: https://tibber.com/en/legal-notice 

 

The QuickApp show price levels from Tibber with these indications: 

3E208096-87E5-460B-92CA-049FB6080985.thumb.jpeg.fa90673391a38e1d3e06f247688ae28e.jpeg

Tibber API documentation: https://developer.tibber.com/docs/guides/calling-api
Tibber API explorer: https://developer.tibber.com/explorer

Changes version 2.0 (25th May 2022)

  • Changed the device for the energy panel from the Daily Energy to the Total Energy child device. Because Tibber reports always the past hour at the start of the new hour (so always too late) and the Energy panel and the Daily Energy child devices both resets at midnight and the Total Energy child device doesn't resets, that prevents the last hour from not getting into the energy panel. Thanks to @JcBorgs for analysing and testing. 
  • Added workaround with the help of @JcBorgs for a Tibber API bug in 00-01 hour consumption (energy and cost can change to "null" during the day) 
  • Added workaround for empty Tibber responses between 00:00 and 00:05 hour with help of @JcBorgs
  • Added insert of hour-1 price in Energy Panel (can be turned on or off) with help of @JcBorgs
  • Changed the name of all child devices Percentage to dynamic names like "At hour 16:00", "At hour 17:00", etc. with  help of @jgab and @JcBorgs
  • Changed handling of no response from Tibber
  • Removed user defined icon (not necessary anymore)

 

Variables (mandatory and created automatically): 

  • token = Authorization token (see the Tibber website: https://developer.tibber.com)
  • homeNr = Tibber home (nodes) number if you have more than one home (default = 1)
  • extraCost = Extra cost per kWh for Tibber and Cable owner, decimals with dot, not komma (default = 0)
  • interval = Interval in seconds to get the data from the Tibber Platform. The QuickApp should run at least once an hour. The default is 930 seconds (15 minutes and 30 seconds). (Tibber has a rate limit of 100 requests in 5 minutes per IP address)
  • debugLevel = Number (1=some, 2=few, 3=all, 4=simulation mode) (default = 1)
  • setGlobalVar = true or false, whether you want to use the Global Variables (default = false)
  • setPercentage = current or average, whether you want to relate to the average price or current price for the percentage calculation (default = average)
  • setEnergyPanel = inserting prices in Energy Panel (default = false)
  • forNextHour = How many hours forward it will show the prices in the labels (default = 12, minimum = 12, maximum = 35)
  • workaroundE01 = Stores the value of the 00-01 hour energy for a Tibber API bug workaround (default = 0)
  • workaroundC01 = Stores the value of the 00-01 hour cost for a Tibber API bug workaround (default = 0)
  • workaroundPnn = Stores the hour-1 price for the Energy Panel (default = 0)
  • workaroundP23 = Stores the 23h price for the Energy Panel (default = 0)

9 Comments,  Want to add comment please login
04801fd12b48c36cbcdf5af0b140e42d

a Quickapp for Tibber Live is under construction

04801fd12b48c36cbcdf5af0b140e42d

The new version of the Tibber Monitor quickapp is available. You need to install a new quickapp (use the .fqa file), because of the many changes. Changes version 2.0 (25th May 2022) Changed the device for the energy panel from the Daily Energy to the Total Energy child device. Because Tibber reports always the past hour at the start of the new hour (so always too late) and the Energy panel and the Daily Energy child devices both resets at midnight and the Total Energy child device doesn't resets, that prevents the last hour from not getting into the energy panel. Thanks to @JcBorgs for analysing and testing. Added workaround with the help of @JcBorgs for a Tibber API bug in 00-01 hour consumption (energy and cost can change to "null" during the day) Added workaround for empty Tibber responses between 00:00 and 00:05 hour with help of @JcBorgs Added insert of hour-1 price in Energy Panel (can be turned on or off) with help of @JcBorgs Changed the name of all child devices Percentage to dynamic names like "At hour 16:00", "At hour 17:00", etc. with help of @jgab and @JcBorgs Changed handling of no response from Tibber Removed user defined icon (not necessary anymore) So the Total Energy child device is the new device for your Energy Panel.

04801fd12b48c36cbcdf5af0b140e42d

On the forum there is a post for a HC2 solution: https://forum.fibaro.com/topic/30282-scene-for-getting-electricity-prices-from-tibber/

3a45988b4064216a1b61fccba1d36c70

Is there anything similar available for HC2?

427fe6b8bdf97f526e479f2c639a7d82

Current consumption has a complete different technique. I hope they can figure a way out.