Climate control not working? *solved*

Hi all,

I’m struggling to control a climate controlled heat pump in Node Red.

I do have the below in configuration.yaml and it works just fine controlling it via Lovelace.

`# Heat pump setting
climate:

  • platform: mqtt
    temperature_state_topic: “f4cfa2734882/HP/0203”
    temperature_command_topic: “f4cfa2734882/HP/SET/0203”
    min_temp: 13
    max_temp: 26
    temp_step: .1
    name: “Room temp setting”
  • platform: mqtt
    temperature_state_topic: “f4cfa2734882/HP/2204”
    temperature_command_topic: “f4cfa2734882/HP/SET/2204”
    min_temp: 0
    max_temp: 10
    temp_step: .1
    name: “Room sensor influence setting”
  • platform: mqtt
    temperature_state_topic: “f4cfa2734882/HP/2205”
    temperature_command_topic: “f4cfa2734882/HP/SET/2205”
    min_temp: 0
    max_temp: 10
    temp_step: .1
    name: “Heat Curve setting”
  • platform: mqtt
    temperature_state_topic: “f4cfa2734882/HP/0207”
    temperature_command_topic: “f4cfa2734882/HP/SET/0207”
    min_temp: 0
    max_temp: 10
    temp_step: .1
    name: “Heat parallel setting”`

However i cannot manage to control it via Node Red ( i do have other Node Red automations that works just fine)?

One example (of many) I have tried is the below:
[{“id”:“1c243697.9a3bd9”,“type”:“api-call-service”,“z”:“295ab6f.8709f4a”,“name”:“Paralell Heat setting”,“server”:“f8e3debf.24b33”,“version”:1,“debugenabled”:false,“service_domain”:“climate”,“service”:“set_temperature”,“entityId”:“climate.heat_parallel_setting”,“data”:"{3}",“dataType”:“json”,“mergecontext”:"",“output_location”:“payload”,“output_location_type”:“msg”,“mustacheAltTags”:false,“x”:440,“y”:200,“wires”:[[“22fabe22.0a6f02”]]},{“id”:“f8e3debf.24b33”,“type”:“server”,“name”:“Home Assistant”}]


Any input is welcome :slight_smile:

https://www.home-assistant.io/integrations/climate/#service-climateset_temperature

The data field is a key/value pair in JSON format.

{"temperature": 3}

https://zachowj.github.io/node-red-contrib-home-assistant-websocket/guide/call-service.html

1 Like

Great, many thanks, working now! Sending beer in your general direction :slight_smile: