Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectToInverter ¶
func ConnectToInverter(inverterUrl string)
Types ¶
type TibberResult ¶
type TibberResult struct { Viewer struct { Homes []struct { CurrentSubscription struct { PriceInfo struct { Current struct { Total float32 Energy float32 Tax float32 StartsAt time.Time } Today []struct { Total float32 Energy float32 Tax float32 StartsAt time.Time } Tomorrow []struct { Total float32 Energy float32 Tax float32 StartsAt time.Time } } } } } }
func GetPriceForecast ¶
func GetPriceForecast(tibberApiUrl string, apiToken string) (TibberResult, bool)
Click to show internal directories.
Click to hide internal directories.