Closed flopp999 closed 3 years ago
@eirikman
Please go to this address https://developer.tibber.com/explorer Login, and open API Explorer In the window where your write the "query" please put in this
{
viewer {
homes {
id
}
}
}
do you get two IDs?
DO NOT POST THEM HERE
Yes, I get two IDS:
{
"data": {
"viewer": {
"homes": [
{
"id": "xxx"
},
{
"id": "yyy"
}
]
}
}
}
Great, then I know how I can do.
Do you think it is a good idea to add both houses to Domoticz?
And it is possible to refer to a spesific house with replacing houses
with house(id: "xxx")
like this:
{
viewer {
home(id: "xxx") {
currentSubscription {
priceInfo {
current {
total
}
}
}
}
}
}
I think the best solution is to chose house, and then make one hardware entry for each house. I believe it is cleaner that way.
Godd job with this plugin by the way! Thanks for the effort.
And it is possible to refer to a spesific house with replacing
houses
withhouse(id: "xxx")
like this:{ viewer { home(id: "xxx") { currentSubscription { priceInfo { current { total } } } } } }
yes, this will work
Note: if two Hardware are used, they will use the same log file Create one log file for each house or have one hardware with all houses?
From an endpoint users perspective I believe it is the cleanest and best way to have one hardware for each house, and live with more logfiles.
Houses can come, and houses can go. Easy to add or remove with one hardware for each house.
@eirikman do you use Domoticz forum, please contact me there if you use it. https://www.domoticz.com/forum/memberlist.php?mode=viewprofile&u=8270
More than one house I have a house and a cabin, both with power from Tibber. Would be nice to be able to input home ID or address in order to select the location of interest. As it is now, it apears that the first house in houses is selected
Sugestion: Allow for home ID as optional input
Originally posted by @eirikman in https://github.com/flopp999/Tibber-Domoticz/issues/14#issuecomment-804809021