cher

package
v0.0.0-...-983d7c1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 14, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Device

type Device struct {
	Name      string
	CreatedAt string
}

Represent device information

type IndoorClimate

type IndoorClimate struct {
	Name             string  `json:"device_name"`
	AirTemp          float64 `json:"air_temp"`          // Units are Kelvin
	Pressure         float64 `json:"pressure"`          // Units are Pascal
	RelativeHumidity float64 `json:"relative_humidity"` // A 0 - 100% value
	CreatedAt        string
}

func (IndoorClimate) CreatedTime

func (i IndoorClimate) CreatedTime() time.Time

type System

type System struct {
	Name      string  `json:"device_name"`
	CPUTemp   float64 `json:"cpu_temp"` // Units are Kelvin
	GPUTemp   float64 `json:"gpu_temp"` // Units are Kelvin
	CreatedAt string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL