76 lines
2.0 KiB
HCL
76 lines
2.0 KiB
HCL
variable "shelly_ip" {
|
|
type = string
|
|
description = "The local IP address of the Shelly Plug S (Gen3) controller"
|
|
default = "192.168.10.168"
|
|
}
|
|
|
|
variable "sensor_aussen_mac" {
|
|
type = string
|
|
description = "The Bluetooth MAC address of the outdoor sensor (e.g. Shelly BLU H&T)"
|
|
}
|
|
|
|
variable "sensor_innen_mac" {
|
|
type = string
|
|
description = "The Bluetooth MAC address of the indoor sensor (e.g. Shelly BLU H&T)"
|
|
}
|
|
|
|
variable "taupunktschwelle" {
|
|
type = number
|
|
description = "Dew point difference threshold [°C] to trigger the fan (indoor_dp > outdoor_dp + threshold)"
|
|
default = 2
|
|
}
|
|
|
|
variable "mindesttemperatur" {
|
|
type = number
|
|
description = "Minimum indoor temperature [°C] required to run the fan"
|
|
default = 10
|
|
}
|
|
|
|
variable "mindesthumi" {
|
|
type = number
|
|
description = "Minimum indoor relative humidity [%] required to run the fan"
|
|
default = 50
|
|
}
|
|
|
|
variable "schaltzeit" {
|
|
type = number
|
|
description = "Switch logic check interval in seconds"
|
|
default = 180
|
|
}
|
|
|
|
variable "battery_warngrenze" {
|
|
type = number
|
|
description = "Battery level warning threshold [%]"
|
|
default = 20
|
|
}
|
|
|
|
variable "lost_connection" {
|
|
type = number
|
|
description = "Time in seconds after which data is considered stale, causing the fan to turn off for safety"
|
|
default = 600
|
|
}
|
|
|
|
variable "critical_humi_base" {
|
|
type = number
|
|
description = "Critical indoor relative humidity [%] at reference temperature (for mold warning curve)"
|
|
default = 80
|
|
}
|
|
|
|
variable "critical_humi_temp_coeff" {
|
|
type = number
|
|
description = "Temperature coefficient [%/°C] for the mold warning curve"
|
|
default = 0.5
|
|
}
|
|
|
|
variable "critical_humi_ref_temp" {
|
|
type = number
|
|
description = "Reference temperature [°C] for the mold warning curve"
|
|
default = 10
|
|
}
|
|
|
|
variable "critical_humi_buffer" {
|
|
type = number
|
|
description = "Safety buffer [%] subtracted from the critical relative humidity threshold"
|
|
default = 10
|
|
}
|