Get Tibber home ID from API-Key

Hi, I´m using https://flows.nodered.org/node/node-red-contrib-tibber-api
this requires the home ID for quering, from Tibber you get the API-Key, but not the home ID.

Do you know how to get the home ID ?

As this is more related to the contrib node rather than Node-RED, I looked into its GitHub repository ... and found this:

Nope:

but I got another way:
https://developer.tibber.com/explorer

{
  viewer {
    homes {
      id
    }
  }
}

Well... the author of the contrib node proposed to call getHomesComplete():

You can find the homeID of your homes by calling getHomesComplete()

Your query seems to do something else...

1 Like

ah sorry, my mistake.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.