WK 2026: Scoor de beste deals! Stel jouw winnende opstelling samen met behulp van ons advies.

Aansturing MHI airco via HomeAssistant

Pagina: 1
Acties:

Vraag


  • JW te R
  • Registratie: April 2010
  • Laatst online: 12:09
Hi all,

Ik probeer mijn MHI airco via MQTT aan te sturen vanuit Home Assistant.
In mijn mqtt.yaml staat het volgende:
YAML:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
  climate:
    - name: Airco slaapkamer
      initial: 20
      min_temp: 18
      max_temp: 30
      temp_step: 0.5 
      modes:
        #- "auto" - don't use
        - "dry"
        - "cool"
        - "fan_only"
        - "heat"
        - "off"
      swing_modes:
        - "1"
        - "2"
        - "3"
        - "4"
        - "swing"
      fan_modes:
        - "1"
        - "2"
        - "3"
        - "4"
      mode_command_topic: "MHI-AC-slaapkamer/set/Mode"
      mode_state_topic: "MHI-AC-slaapkamer/Mode"
      temperature_command_topic: "MHI-AC-slaapkamer/set/Tsetpoint"
      temperature_state_topic: "MHI-AC-slaapkamer/Tsetpoint"
      fan_mode_command_topic: "MHI-AC-slaapkamer/set/Fan"
      fan_mode_state_topic: "MHI-AC-slaapkamer/Fan"
      swing_mode_command_topic: "MHI-AC-slaapkamer/set/Vanes"
      swing_mode_state_topic: "MHI-AC-slaapkamer/Vanes"
      current_temperature_topic: "MHI-AC-slaapkamer/Troom"
    - name: Airco kantoor
      initial: 20
      min_temp: 18
      max_temp: 30
      temp_step: 0.5 
      modes:
        #- "auto" - don't use
        - "dry"
        - "cool"
        - "fan_only"
        - "heat"
        - "off"
      swing_modes:
        - "1"
        - "2"
        - "3"
        - "4"
        - "swing"
      fan_modes:
        - "1"
        - "2"
        - "3"
        - "4"
      mode_command_topic: "MHI-AC-kantoor/set/Mode"
      mode_state_topic: "MHI-AC-kantoor/Mode"
      temperature_command_topic: "MHI-AC-kantoor/set/Tsetpoint"
      temperature_state_topic: "MHI-AC-kantoor/Tsetpoint"
      fan_mode_command_topic: "MHI-AC-kantoor/set/Fan"
      fan_mode_state_topic: "MHI-AC-kantoor/Fan"
      swing_mode_command_topic: "MHI-AC-kantoor/set/Vanes"
      swing_mode_state_topic: "MHI-AC-kantoor/Vanes"
      current_temperature_topic: "MHI-AC-kantoor/Troom"
Alles werkt correct, behalve de ventilatiefunctie.

Als ik vanuit Node-Red een MQTT message stuur met topic "<Naam unit>/set/Mode" en payload "fan" doet 'ie het wel, maar de HA thermostaat widget laat niks zien.

Ik zie ongetwijfeld wat over het hoofd maar kan niet bedenken wat.
edit:
Na wat overleg met AI twee regeltjes toegevoegd bij elke unit onder mode_state_topic:
YAML:
1
2
3
4
      mode_command_template: >
        {% if value == 'fan_only' %}fan{% else %}{{ value }}{% endif %}
      mode_state_template: >
        {% if value == 'fan' %}fan_only{% else %}{{ value }}{% endif %}
De units reageren nu wel vanuit HA, maar de HA widget heeft het nog steeds niet in de gaten. HA rapporteert status Unknown.

Iemand een idee?

Edit 2:
Never mind. Deze aanpassing blijkt correct te werken. Je moet alleen HA opnieuw starten.
Alleen de handmatig geconfigureerde MQTT entiteiten herstarten is kennelijk niet voldoende.

Ik laat dit staan; mogelijk heeft iemand anders er ook nog wat aan.

[ Voor 15% gewijzigd door JW te R op 02-06-2026 09:21 . Reden: Aanvulling ]