23.01.2025, 08:28
Thanks for your quick reply.
I still got the error but ran the pieces of code on https://developer.tibber.com/explorer and it worked there.
Then I remembered that I some weeks ago I added Melcloud powerup in the Tibber-APP..
In my Melcloud-account I have inserted one extra heatpump at another location.
For some reason this has bumped my mainhome to home #2.
So then i had to change the line
info = homes[ 1 ].currentSubscription.priceInfo.current
to
info = homes[ 2 ].currentSubscription.priceInfo.current
and then we are back up and running.
Thank you again for sharing your knowledge
I still got the error but ran the pieces of code on https://developer.tibber.com/explorer and it worked there.
Then I remembered that I some weeks ago I added Melcloud powerup in the Tibber-APP..
In my Melcloud-account I have inserted one extra heatpump at another location.
For some reason this has bumped my mainhome to home #2.
So then i had to change the line
info = homes[ 1 ].currentSubscription.priceInfo.current
to
info = homes[ 2 ].currentSubscription.priceInfo.current
and then we are back up and running.
Thank you again for sharing your knowledge
![Cool Cool](https://forum.logicmachine.net/images/smilies/cool.png)