GrowNode
gn_hydroboard2_watering_control.h File Reference

Functions

gn_leaf_descriptor_handle_t gn_hb2_watering_control_config (gn_leaf_handle_t leaf_config)
 

Variables

static const int32_t GN_HYDROBOARD2_MIN_WATERING_INTERVAL = 10
 
static const int32_t GN_HYDROBOARD2_MAX_WATERING_INTERVAL = 60*60*24*30
 
static const int32_t GN_HYDROBOARD2_MIN_WATERING_TIME = 1
 
static const int32_t GN_HYDROBOARD2_MAX_WATERING_TIME = 60*60
 
static const int32_t GN_HYDROBOARD2_MIN_WATERING_TARGET_TEMP = 12
 
static const int32_t GN_HYDROBOARD2_MAX_WATERING_TARGET_TEMP = 30
 
static const int64_t GN_HYDROBOARD2_MAX_HCC_CYCLE_TIME_SEC = 60 * 5
 
static const char GN_LEAF_HYDROBOARD2_WATERING_CONTROL_TYPE [] = "watering_control"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_FAN [] = "leaf_PLT_FAN"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_PUMP [] = "leaf_PLT_PUMP"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_WAT_PUMP [] = "leaf_WAT_PUMP"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_COOL [] = "leaf_PLT_COOL"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_HOT [] = "leaf_PLT_HOT"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_ENV_FAN [] = "leaf_ENV_FAN"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_BME280 [] = "leaf_BME280"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_DS18B20 [] = "leaf_DS18B20"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_WAT_LEV [] = "leaf_WAT_LEV"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_LIGHT_1 [] = "leaf_LIGHT_1"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_LIGHT_2 [] = "leaf_LIGHT_2"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_WATERING_INTERVAL_SEC [] = "wat_int_sec"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_WATERING_TIME_SEC [] = "wat_time_sec"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_WATERING_TARGET_TEMP [] = "wat_t_temp"
 
static const char GN_HYDROBOARD2_WAT_CTR_PARAM_ACTIVE [] = "active"
 
static const int32_t GN_HYDROBOARD2_WAT_CTR_CYCLE_TIME_MS = 1000L
 

Function Documentation

◆ gn_hb2_watering_control_config()

gn_leaf_descriptor_handle_t gn_hb2_watering_control_config ( gn_leaf_handle_t  leaf_config)

Variable Documentation

◆ GN_HYDROBOARD2_MAX_HCC_CYCLE_TIME_SEC

const int64_t GN_HYDROBOARD2_MAX_HCC_CYCLE_TIME_SEC = 60 * 5
static

◆ GN_HYDROBOARD2_MAX_WATERING_INTERVAL

const int32_t GN_HYDROBOARD2_MAX_WATERING_INTERVAL = 60*60*24*30
static

◆ GN_HYDROBOARD2_MAX_WATERING_TARGET_TEMP

const int32_t GN_HYDROBOARD2_MAX_WATERING_TARGET_TEMP = 30
static

◆ GN_HYDROBOARD2_MAX_WATERING_TIME

const int32_t GN_HYDROBOARD2_MAX_WATERING_TIME = 60*60
static

◆ GN_HYDROBOARD2_MIN_WATERING_INTERVAL

const int32_t GN_HYDROBOARD2_MIN_WATERING_INTERVAL = 10
static

◆ GN_HYDROBOARD2_MIN_WATERING_TARGET_TEMP

const int32_t GN_HYDROBOARD2_MIN_WATERING_TARGET_TEMP = 12
static

◆ GN_HYDROBOARD2_MIN_WATERING_TIME

const int32_t GN_HYDROBOARD2_MIN_WATERING_TIME = 1
static

◆ GN_HYDROBOARD2_WAT_CTR_CYCLE_TIME_MS

const int32_t GN_HYDROBOARD2_WAT_CTR_CYCLE_TIME_MS = 1000L
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_ACTIVE

const char GN_HYDROBOARD2_WAT_CTR_PARAM_ACTIVE[] = "active"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_BME280

const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_BME280[] = "leaf_BME280"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_DS18B20

const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_DS18B20[] = "leaf_DS18B20"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_ENV_FAN

const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_ENV_FAN[] = "leaf_ENV_FAN"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_LIGHT_1

const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_LIGHT_1[] = "leaf_LIGHT_1"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_LIGHT_2

const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_LIGHT_2[] = "leaf_LIGHT_2"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_COOL

const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_COOL[] = "leaf_PLT_COOL"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_FAN

const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_FAN[] = "leaf_PLT_FAN"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_HOT

const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_HOT[] = "leaf_PLT_HOT"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_PUMP

const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_PLT_PUMP[] = "leaf_PLT_PUMP"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_WAT_LEV

const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_WAT_LEV[] = "leaf_WAT_LEV"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_WAT_PUMP

const char GN_HYDROBOARD2_WAT_CTR_PARAM_LEAF_WAT_PUMP[] = "leaf_WAT_PUMP"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_WATERING_INTERVAL_SEC

const char GN_HYDROBOARD2_WAT_CTR_PARAM_WATERING_INTERVAL_SEC[] = "wat_int_sec"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_WATERING_TARGET_TEMP

const char GN_HYDROBOARD2_WAT_CTR_PARAM_WATERING_TARGET_TEMP[] = "wat_t_temp"
static

◆ GN_HYDROBOARD2_WAT_CTR_PARAM_WATERING_TIME_SEC

const char GN_HYDROBOARD2_WAT_CTR_PARAM_WATERING_TIME_SEC[] = "wat_time_sec"
static

◆ GN_LEAF_HYDROBOARD2_WATERING_CONTROL_TYPE

const char GN_LEAF_HYDROBOARD2_WATERING_CONTROL_TYPE[] = "watering_control"
static