7

I have created this climate:

- name: "Riscaldamento"
  unique_id: "termostato"
  modes:
    - "off"
    - "heat"
    - "cool"
  mode_command_topic: "home/riscaldamento_raffrescamento/TEST/mode/set"
  mode_state_topic: "home/riscaldamento_raffrescamento/TEST/mode/state"
  temperature_command_topic: "home/riscaldamento_raffrescamento/TEST/temp/set"
  current_temperature_topic: "home/riscaldamento_raffrescamento/TEST/temp/state"
  power_command_topic: "home/riscaldamento_raffrescamento/TEST/pump/set"
  payload_on: 1 
  payload_off: 0
  min_temp: 17
  max_temp: 28
  temp_step: 0.1
  precision: 0.1

thinking that the power_command_topic would be sent whenever the temperature would go over/under the one set, but nothing ever get send to that topic. How can I turn on the pump when the temperature goes under the one set and turn it off when it goes over?

you are viewing a single comment's thread
view the rest of the comments
[-] peregus@lemmy.world 1 points 3 months ago* (last edited 3 months ago)

I'm trying to use the generic thermostat:

climate:
  - platform: generic_thermostat
    name: termostato_raffreddamento
    heater: switch.valvola_climatizzazione
    target_sensor: sensor.aqara_temp_sala_temperature
    min_temp: 24
    max_temp: 28
    ac_mode: true
    target_temp: 26 
    cold_tolerance: 0.1
    hot_tolerance: 0.1
    min_cycle_duration:
      seconds: 300
    keep_alive:
      minutes: 3
    initial_hvac_mode: "off"
    away_temp: 28
    precision: 0.1

But I only have the button to turn it off:

If I click it nothing happens. What have I done wrong?

[-] paf@jlai.lu 2 points 3 months ago* (last edited 3 months ago)

on your card, click on the three dots. You should have more options there. If it doesn't work, change "intial_hvac_mode" to "cool"

edit: didn't see your next replied, glad you work it out

[-] peregus@lemmy.world 1 points 3 months ago

I remove the feature "Climate HVAC mode" and added it again and now I can use it.

this post was submitted on 02 Mar 2024
7 points (100.0% liked)

homeassistant

12007 readers
97 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS