feat(shelly): add terraform_shelly workspace for Taupi-4.0 dew point ventilation

This commit is contained in:
Moritz Graf
2026-07-03 09:07:08 +02:00
parent 768f7c83f7
commit 85bfabd387
8 changed files with 608 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
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
}