Documentation ¶
Index ¶
- func GetAlertMaxHumidityDay(controllerID string, box int, def float64) (float64, error)
- func GetAlertMaxHumidityNight(controllerID string, box int, def float64) (float64, error)
- func GetAlertMaxTemperatureDay(controllerID string, box int, def float64) (float64, error)
- func GetAlertMaxTemperatureNight(controllerID string, box int, def float64) (float64, error)
- func GetAlertMinHumidityDay(controllerID string, box int, def float64) (float64, error)
- func GetAlertMinHumidityNight(controllerID string, box int, def float64) (float64, error)
- func GetAlertMinTemperatureDay(controllerID string, box int, def float64) (float64, error)
- func GetAlertMinTemperatureNight(controllerID string, box int, def float64) (float64, error)
- func GetBool(key string) (bool, error)
- func GetBoxEnabled(controllerID string, box int) (bool, error)
- func GetBoxTempSource(controllerID string, box int) (int, error)
- func GetHumidityAlertStatus(controllerID string, box int) (bool, error)
- func GetHumidityAlertType(controllerID string, box int) (string, error)
- func GetInt(key string, def int) (int, error)
- func GetKeys(patterns []string) ([]string, error)
- func GetLedBox(controllerID string, led int) (int, error)
- func GetNum(key string, def float64) (float64, error)
- func GetSHT21Present(controllerID string, sht21 int) (bool, error)
- func GetSHT21PresentForBox(controllerID string, box int) (bool, error)
- func GetString(key string) (string, error)
- func GetTemperature(controllerID string, box int) (float64, error)
- func GetTemperatureAlertStatus(controllerID string, box int) (bool, error)
- func GetTemperatureAlertType(controllerID string, box int) (string, error)
- func GetTimerPower(controllerID string, box int) (float64, error)
- func GetValues(keys []string) (map[string]interface{}, error)
- func HasNumKey(key string) (bool, error)
- func Init()
- func SetAlertMaxHumidityDay(controllerID string, box int, value float64) error
- func SetAlertMaxHumidityNight(controllerID string, box int, value float64) error
- func SetAlertMaxTemperatureDay(controllerID string, box int, value float64) error
- func SetAlertMaxTemperatureNight(controllerID string, box int, value float64) error
- func SetAlertMinHumidityDay(controllerID string, box int, value float64) error
- func SetAlertMinHumidityNight(controllerID string, box int, value float64) error
- func SetAlertMinTemperatureDay(controllerID string, box int, value float64) error
- func SetAlertMinTemperatureNight(controllerID string, box int, value float64) error
- func SetBool(key string, value bool, expiration time.Duration) error
- func SetHumidityAlertStatus(controllerID string, box int, value bool) error
- func SetHumidityAlertType(controllerID string, box int, atype string) error
- func SetNum(key string, value float64) error
- func SetString(key, value string) error
- func SetStringWithExpiration(key, value string, expiration time.Duration) error
- func SetTemperatureAlertStatus(controllerID string, box int, value bool) error
- func SetTemperatureAlertType(controllerID string, box int, atype string) error
- type GetAlertStatusFunc
- type GetAlertTypeFunc
- type GetSensorPresentForBoxFunc
- type GetSensorPresentFunc
- type SetAlertStatusFunc
- type SetAlertTypeFunc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAlertMaxHumidityDay ¶
func GetAlertMinHumidityDay ¶
func GetHumidityAlertStatus ¶
func GetTemperatureAlertType ¶
func SetAlertMaxHumidityDay ¶
func SetAlertMinHumidityDay ¶
func SetHumidityAlertStatus ¶
func SetHumidityAlertType ¶
func SetStringWithExpiration ¶
Types ¶
type GetSensorPresentFunc ¶
type SetAlertStatusFunc ¶
Click to show internal directories.
Click to hide internal directories.