Thanks! I bought it on Amazon...
About the start/stop, I have an automation in HomeAssistant... the automation is quite easy:
climate:
- platform: generic_thermostat
name: Proxmox Fan Controller
heater: switch.sonoff_10013646a3_1
target_sensor: sensor.proxmox_cpu_temperature
min_temp: 30
max_temp: 100
ac_mode: true
target_temp: 70
cold_tolerance: 2
hot_tolerance: 2
min_cycle_duration:
seconds: 60
keep_alive:
minutes: 5
initial_hvac_mode: "cool"
The sensor.proxmox_cpu_temperature sensor is created with an entity like this:
- platform: command_line
name: "Proxmox CPU Temperature"
command: "ssh -i /config/id_rsa -o StrictHostKeyChecking=no root@xxxxxxxxx -t 'cat /sys/class/hwmon/hwmon2/temp1_input'"
unit_of_measurement: '°C'
scan_interval: 10
value_template: '{{ (value | multiply(0.001)) | round(1) }}'
you can also read the current CPU governor or other... if you run pfSense on the CW box you probably need to change the command you run on the box, but the method is still valid.
I played a lot with the interactions between the CW hardware and HomeAssistant... this is what I realized in the end, you can also change the governor from HA:
About the start/stop, I have an automation in HomeAssistant... the automation is quite easy:
climate:
- platform: generic_thermostat
name: Proxmox Fan Controller
heater: switch.sonoff_10013646a3_1
target_sensor: sensor.proxmox_cpu_temperature
min_temp: 30
max_temp: 100
ac_mode: true
target_temp: 70
cold_tolerance: 2
hot_tolerance: 2
min_cycle_duration:
seconds: 60
keep_alive:
minutes: 5
initial_hvac_mode: "cool"
The sensor.proxmox_cpu_temperature sensor is created with an entity like this:
- platform: command_line
name: "Proxmox CPU Temperature"
command: "ssh -i /config/id_rsa -o StrictHostKeyChecking=no root@xxxxxxxxx -t 'cat /sys/class/hwmon/hwmon2/temp1_input'"
unit_of_measurement: '°C'
scan_interval: 10
value_template: '{{ (value | multiply(0.001)) | round(1) }}'
you can also read the current CPU governor or other... if you run pfSense on the CW box you probably need to change the command you run on the box, but the method is still valid.
I played a lot with the interactions between the CW hardware and HomeAssistant... this is what I realized in the end, you can also change the governor from HA: