# Tibber-Query data output problem

**URL:** <https://discourse.nodered.org/t/tibber-query-data-output-problem/99104>\
**Category:** General\
**Created:** [18 September 2025 20:32 UTC](https://discourse.nodered.org/t/tibber-query-data-output-problem/99104 "2025-09-18T20:32:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Phil1999](https://avatars.discourse-cdn.com/v4/letter/p/ce73a5/32.png) [@Phil1999](https://discourse.nodered.org/u/Phil1999)\
**Post date:** [18 September 2025 20:32 UTC](https://discourse.nodered.org/t/tibber-query-data-output-problem/99104/1 "2025-09-18T20:32:53Z")

</div>

Hallo every body,

im new here and have no huge experience with Node-Red.  
I have a problem with the tibber query node.  
I only whant to switch on a relay if the energy price is low, so I copyed a script of a guy witch is working with the Demo Tibber Access token. But if I replace this Token with my own, than the script stops working.

That's the script with the error codes:

 ![Tibber](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/b/db129f86d3afef89752afcdeaf64b31058c2b54c.png)

The Problem is, that I have two homes in my tibber App, so the querry node is sending two price informations to the Price resiver node.

How do I change the "Template-Node" so, that the "query-Node" only puts out prices for home 1 ?

 ![Tibber 2](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/a/fa3e3ace158ed00cf608ed39be7e9a591dd77221.png)

Thanks for your help.

Greatings Phil

---

<div class="post-metadata">

**Author:** ![E1cid](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/e1cid/32/77971_2.png) [@E1cid](https://discourse.nodered.org/u/E1cid)\
**Post date:** [19 September 2025 08:18 UTC](https://discourse.nodered.org/t/tibber-query-data-output-problem/99104/2 "2025-09-19T08:18:21Z")

</div>

Without an example flow it is hard to be sure.

You could just move `msg.payload.viewers.homes[1]` to `msg.payload.viewers.homes` using a change node after the tibber noide

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [18 December 2025 08:19 UTC](https://discourse.nodered.org/t/tibber-query-data-output-problem/99104/3 "2025-12-18T08:19:14Z")

</div>

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