This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

Tibber API
#41
(23.02.2024, 11:35)admin Wrote: Can you send your token and home ID via PM?

Thank's for your answer admin.

I restored the LM with a backup from January, and Tibber is working again.
Lost some loggings, but everything else seems ok.

Best regards, 
Carl
Reply
#42
Hey, i'm trying to get the current price. But i dont have a subscription or a home in tibber. So is it possible to read the current price? And want to write it in a GA.
Here is my code and what i get, but i dont understand why.

Attached Files Thumbnail(s)
   
Reply
#43
(23.04.2024, 06:16)davidkoch29 Wrote: Hey, i'm trying to get the current price. But i dont have a subscription or a home in tibber. So is it possible to read the current price? And want to write it in a GA.
Here is my code and what i get, but i dont understand why.

You need a Tibber account with a token.

Best regards, Jørn.
Reply
#44
Hi Jorn, i have a Tibber account and token.

I deleted the token for the picture
Reply
#45
Try this query:
Code:
query = [[
{
  viewer {
    homes {
      currentSubscription {
        priceInfo {
          current {
            total
          }
        }
      }
    }
  }
}
]]

I suppose you need to create a currentSubscription/home before using queries.
Reply


Forum Jump: