fans

package
v3.0.0-...-9c34073 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: LGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Fan

type Fan struct {
	// ActualValue is the current speed on a scale betweem 0 to 1 or -1 if unknown
	ActualValue float64 `json:"actualValue"`
	// Blip value indicating how long the fan is supposed to run at 100%
	// when turning it on to get it started (in s)
	Blip float64 `json:"blip"`
	// Frequency is the fan PWM frequency in Hz
	Frequency float64 `json:"frequency"`
	// Max speed of this fan on a scale between 0 and 1
	Max float64 `json:"max"`
	// Min speed of this fan on a scale between 0 and 1
	Min float64 `json:"min"`
	// Name of the fan
	Name string `json:"name"`
	// RequestedValue for this fan on a scale between 0 to 1
	RequestedValue float64 `json:"requestedValue"`
	// Rpm is the current RPM of this fan or -1 if unknown/unset
	Rpm int64 `json:"rpm"`
	// Thermostatic control parameters
	Thermostatic Thermostatic `json:"thermostatic"`
}

Fan represents information about an attached fan

type Thermostatic

type Thermostatic struct {
	// Heaters is a list of heaters to monitor (indices)
	Heaters []int64 `json:"heaters"`
	// HighTemperature is the upper temperature range required to turn
	// on the fan (in degC)
	HighTemperature *float64 `json:"highTemperature"`
	// LowTemperature is the lower temperature range required to turn
	// on the fan (in degC)
	LowTemperature *float64 `json:"lowTemperature"`
}

Thermostatic parameters of a fan

Jump to

Keyboard shortcuts

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