Mitsubishi MELCLOUD integration with Home Assistant

Is there any news regarding component update?

You can try to update component… Should be working now on 0.96.x version…

Hi,

I justed updated the component to support new homeassistant v0.96. I also introduced some minor fixes.

BR

4 Likes

Thanks @o0Zz
Updated now.

I get this error ‘OPERATION_COOL_STR’ is not defined and Dry, cool, fan and auto not possible to select. Get that error above.

Edit: Found a few errors in the code where old operations mode was not changed to HVAC_MODE_. After fixing the dry, cool functions etc both heatpumps loads correct.

I have created a pull request to fix the Auto, dry, cool and fan options.

1 Like

Thanks Denis87, I merged your pull request to the master.

1 Like

Anybody tested… is it safe to make FW update of Melcloud…?

Updated the firmware on the wifi units on both of my heat pumps. No issues. So think it should be ok. But no guarantees :stuck_out_tongue:

The latest version can only be used with HA 0.96 and up, right?

How to start the climate?

Begfore there was ON/OFF, now I do not find this button…

But I can confirm that I found 3 Melcloud adapters normaly…

[o0Zz] Thanks a lot .
I install it and it working perfect.
:smile:

Right, I think it can’t work on previous HA versions since functions and constants has been renamed in 0.96.

Hi @kslb

I cannot understand your issue, I have this screen on my side.

Which kind of air conditioner do you have and what UI plugin do you use ? Actually, “Humidity” is not supported by my implementation and I can see on your side you can control humidity.

Or maybe you are not using HA 0.96, do you ?

It did fix it after restart of HA and after additional cleaning Chrome catch…

But I have big problems with automation… I can not figureout what I need to change that code will work with updated componet…

Current (not working) automation code:

- id: '1503'
  alias: KABINET - ugasni KLIMA (manj kot 20)
  trigger:
    platform: numeric_state
    entity_id: sensor.kabinet_t
    below: '20'
    for:
      hours: 0
      minutes: 30
      seconds: 0
  condition:
      - condition: state
        entity_id: climate.melcloud_kabinet_XXXXXX
        state: 'Cool'
  action:
    - service: climate.set_temperature
      entity_id: climate.melcloud_kabinet_XXXXXX
      data:
        temperature: '19'
    - service: climate.set_fan_mode
      entity_id: climate.melcloud_kabinet_XXXXXX
      data:
        fan_mode: 'Speed Auto'
    - service: climate.set_operation_mode
      entity_id: climate.melcloud_kabinet_XXXXXX
      data:
        operation_mode: 'Off'
    - service: climate.set_swing_mode
      entity_id: climate.melcloud_kabinet_XXXXXX
      data:
        swing_mode: 'Swing'
    - service: notify.simon
      data:
        message: "KABINET - izklop klime (hlajenje)."
        title: "KLIMA IZKLOP"

I have now working code for automation, if anybody need it…

- id: '1503'
  alias: KABINET - ugasni KLIMA (manj kot 20)
  trigger:
    platform: numeric_state
    entity_id: sensor.kabinet_t
    below: '20'
    for:
      hours: 0
      minutes: 30
      seconds: 0
  condition:
      - condition: state
        entity_id: climate.melcloud_kabinet_XXXXXX
        state: 'Cool'
  action:
    - service: climate.set_temperature
      entity_id: climate.melcloud_kabinet_XXXXXX
      data:
        temperature: '19'
    - service: climate.set_fan_mode
      entity_id: climate.melcloud_kabinet_XXXXXX
      data:
        fan_mode: 'Speed Auto'
    - service: climate.set_hvac_mode
      data:
        entity_id: climate.melcloud_kabinet_XXXXXX
        hvac_mode: 'off'
    - service: climate.set_swing_mode
      entity_id: climate.melcloud_kabinet_XXXXXX
      data:
        swing_mode: 'Swing'
    - service: notify.simon
      data:
        message: "KABINET - izklop klime (hlajenje)."
        title: "KLIMA IZKLOP"

Options to use:
hvac_modes: heat,cool,dry,fan_only,auto,off
current_temperature: 22
min_temp: 16
max_temp: 30
temperature: 19
fan_mode: Speed Auto
fan_modes: Speed Auto,Speed 1 (Min),Speed 2,Speed 3,Speed 4 (Max)
(depence of internal unit)
swing_mode: Swing
swing_modes: Auto,Top,MiddleTop,Middle,MiddleBottom,Bottom,Swing
friendly_name: Mitsubishi XXXXXX
supported_features: 41

Working code for automation.

CODE to TURN OFF CLIMATE:

- id: '1503'
  alias: KABINET - ugasni KLIMA (manj kot 20)
  trigger:
    platform: numeric_state
    entity_id: sensor.kabinet_t
    below: '20'
    for:
      hours: 0
      minutes: 30
      seconds: 0
  condition:
      - condition: state
        entity_id: climate.melcloud_XXXXXX
        state: 'cool'
  action:
    - service: climate.set_hvac_mode
      data:
        entity_id: climate.melcloud_XXXXXX
        hvac_mode: 'off'
    - service: notify.simon
      data:
        message: "KABINET - izklop klime (hlajenje)."
        title: "KLIMA IZKLOP"

CODE to TURN ON CLIMATE:

- id: '1502'
  alias: KABINET - prižgi KLIMA (več kot 23)
  trigger:
    platform: numeric_state
    entity_id: sensor.kabinet_t
    above: '23'
    for:
      hours: 0
      minutes: 15
      seconds: 0
  condition:
      - condition: numeric_state
        entity_id: sensor.zunaj_t
        above: '4'
  action:
    - service: climate.set_temperature
      entity_id: climate.melcloud_XXXXXX
      data:
        temperature: '19'
    - service: climate.set_fan_mode
      entity_id: climate.melcloud_XXXXXX
      data:
        fan_mode: 'Speed Auto'
    - service: climate.set_hvac_mode
      data:
        entity_id: climate.melcloud_XXXXXX
        hvac_mode: 'cool'
    - service: climate.set_swing_mode
      entity_id: climate.melcloud_XXXXXX
      data:
        swing_mode: 'Swing'
    - service: notify.simon
      data:
        message: "KABINET - vklop klime (hlajenje)."
        title: "KLIMA VKLOP"

BR,
Simon

Anyone else has problems to reach the Melcloud website?
Can’t login from 0923utc this morning and I have a lot of timeouts in HASS.

E.

Yes, I can also not reach the website at the moment.

Same here. No ping