| document type | cmdlet |
|---|---|
| external help file | PSTibber-Help.xml |
| HelpUri | https://developer.tibber.com/docs/reference#livemeasurement |
| Locale | sv-SE |
| Module Name | PSTibber |
| ms.date | 09-19-2025 |
| PlatyPS schema version | 2024-05-01 |
| title | Register-TibberLiveMeasurementSubscription |
Create new GraphQL subscription to the live measurement API.
Register-TibberLiveMeasurementSubscription [-Connection] <Object> [[-Fields] <string[]>]
[[-TimeoutInSeconds] <int>] [<CommonParameters>]
This cmdlet has the following aliases, {{Insert list of aliases}}
Calling this function will return a subscription object for the created subscription. The object returned is intended to be used with other functions for managing the subscription.
$subscription = Register-TibberLiveMeasurementSubscription -Connection
Specifies the connection to use for the communication.
Type: System.Object
DefaultValue: ''
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''Specifies the fields to return.
Type: System.String[]
DefaultValue: >-
@(
'timestamp'
'power'
'powerReactive'
'powerProduction'
'powerProductionReactive'
'accumulatedConsumption'
'accumulatedConsumptionLastHour'
'accumulatedProduction'
'accumulatedProductionLastHour'
'accumulatedCost'
'accumulatedReward'
'currency'
'minPower'
'averagePower'
'maxPower'
'minPowerProduction'
'maxPowerProduction'
'voltagePhase1'
'voltagePhase2'
'voltagePhase3'
'currentL1'
'currentL2'
'currentL3'
'lastMeterConsumption'
'lastMeterProduction'
'powerFactor'
'signalStrength'
)
SupportsWildcards: false
Aliases: []
ParameterSets:
- Name: (All)
Position: 1
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''Specifies the time to wait for WebSocket operations, or -1 to wait indefinitely.
Type: System.Int32
DefaultValue: 10
SupportsWildcards: false
Aliases:
- Timeout
ParameterSets:
- Name: (All)
Position: 2
IsRequired: false
ValueFromPipeline: false
ValueFromPipelineByPropertyName: true
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
{{ Fill in the Description }}
{{ Fill in the Description }}
{{ Fill in the Description }}