evcc-io/meter/tibber/types.go
2022-11-17 18:49:14 +01:00

17 lines
595 B
Go

package tibber
const SubscriptionURI = "wss://api.tibber.com/v1-beta/gql/subscriptions"
type LiveMeasurement struct {
// Timestamp time.Time
Power float64
LastMeterConsumption float64
LastMeterProduction float64
CurrentL1, CurrentL2, CurrentL3 float64
// Currency string
// AccumulatedConsumption float64
// AccumulatedCost float64
// MinPower float64
// AveragePower float64
// MaxPower float64
}