Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogData ¶
func LogData(dbPath string, data DeviceData)
Types ¶
type DeviceData ¶
type PeriodData ¶
type PeriodData struct { Period string TempIndoor float32 TempOutdoor float32 HumidityIndoor float32 HumidityOutdoor float32 CoolSetpoint float32 HeatSetpoint float32 RunTime int }
func GetDataForDay ¶
func GetDataForDay(dbPath string, deviceId string, day time.Time) []PeriodData
func GetDataForMonth ¶
func GetDataForMonth(dbPath string, deviceId string, day time.Time) []PeriodData
func GetDataForYear ¶
func GetDataForYear(dbPath string, deviceId string, day time.Time) []PeriodData
Click to show internal directories.
Click to hide internal directories.