Get the home(s) visible to the logged-in user.
Get-TibberHome [-Fields <String[]>] [-IncludeAddress] [-AddressFields <String[]>] [-IncludeOwner]
[-OwnerFields <String[]>] [-IncludeMetering] [-MeteringFields <String[]>] [-IncludeSubscription]
[-SubscriptionFields <String[]>] [-IncludeFeatures] [-FeatureFields <String[]>]
[-PersonalAccessToken <String>] [-UserAgent <String>] [-Force] [-DebugResponse] [<CommonParameters>]
Get-TibberHome -HomeId <String> [-Fields <String[]>] [-IncludeAddress] [-AddressFields <String[]>]
[-IncludeOwner] [-OwnerFields <String[]>] [-IncludeMetering] [-MeteringFields <String[]>]
[-IncludeSubscription] [-SubscriptionFields <String[]>] [-IncludeFeatures] [-FeatureFields <String[]>]
[-PersonalAccessToken <String>] [-UserAgent <String>] [-Force] [-DebugResponse] [<CommonParameters>]
Get-TibberHome [-Fields <String[]>] [-IncludeAddress] [-AddressFields <String[]>] [-IncludeOwner]
[-OwnerFields <String[]>] [-IncludeMetering] [-MeteringFields <String[]>] [-IncludeSubscription]
[-SubscriptionFields <String[]>] [-IncludeFeatures] [-FeatureFields <String[]>] [-URI <Uri>]
[-PersonalAccessToken <String>] [-UserAgent <String>] [-Force] [-DebugResponse] [<CommonParameters>]
Calling this function will return the home(s) visible to the logged-in user.
$response = Get-TibberHome -Fields 'id', 'appNickname' -IncludeFeatures
($response | ? { $_.appNickname -eq 'Vitahuset' }).id | Tee-Object -Variable homeId
$response = Get-TibberHome -Fields 'appNickname' -IncludeFeatures -Id $homeId
Write-Host "Your home, $($response.appNickname), has real-time consumption $(
if ([bool]::Parse($response.features.realTimeConsumptionEnabled)) {
'enabled!'
}
else {
'disabled...'
}
)"
(Get-TibberHome -Fields 'mainFuseSize' -Id $homeId).mainFuseSize
Specifies the home Id, e.g. '96a14971-525a-4420-aae9-e5aedaa129ff'.
Type: String
Parameter Sets: HomeId
Aliases: Id
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Specifies the fields to return.
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: @(
'id'
'timeZone'
'appNickname'
'appAvatar'
'size'
'type'
'numberOfResidents'
'primaryHeatingSource'
'hasVentilationSystem'
'mainFuseSize'
)
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Switch to include home address in results.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies the address fields to return (applicable when -IncludeAddress provided). https://developer.tibber.com/docs/reference#address
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: @(
'address1'
'address2'
'address3'
'city'
'postalCode'
'country'
'latitude'
'longitude'
)
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Switch to include home owner details in results.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies the home owner fields to return (applicable when -IncludeOwner provided). https://developer.tibber.com/docs/reference#legalentity
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: @(
'id'
'firstName'
'isCompany'
'name'
'middleName'
'lastName'
'organizationNo'
'language'
'contactInfo { email mobile }'
"address { $AddressFields }"
)
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Switch to include metering details in results.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies the metering fields to return (applicable when -IncludeMetering provided). https://developer.tibber.com/docs/reference#meteringpointdata
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: @(
'consumptionEan'
'gridCompany'
'gridAreaCode'
'priceAreaCode'
'productionEan'
'energyTaxType'
'vatType'
'estimatedAnnualConsumption'
)
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Switch to include metering details in results.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies the metering fields to return (applicable when -IncludeMetering provided). https://developer.tibber.com/docs/reference#meteringpointdata
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: @(
'validFrom'
'validTo'
'status'
"subscriber { $OwnerFields }"
)
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
Switch to include home features in results.
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: False
Accept pipeline input: False
Accept wildcard characters: False
Specifies the feature fields to return (applicable when -IncludeFeatures provided). https://developer.tibber.com/docs/reference#homefeatures
Type: String[]
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: @(
'realTimeConsumptionEnabled'
)
Accept pipeline input: True (ByPropertyName)
Accept wildcard characters: False
{{ Fill DebugResponse Description }}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill Force Description }}
Type: SwitchParameter
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill PersonalAccessToken Description }}
Type: String
Parameter Sets: (All)
Aliases: PAT, AccessToken, Token
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill URI Description }}
Type: Uri
Parameter Sets: URI
Aliases: URL
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
{{ Fill UserAgent Description }}
Type: String
Parameter Sets: (All)
Aliases:
Required: False
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.