MelCloud plugin

Moderator: leecollings

Post Reply
manjh
Posts: 783
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

MelCloud plugin

Post by manjh »

I installed the MelCloud plugin to control my Mitsubishi Electric airconditioning.
The plugin installs OK, and I can see a number of devices reflecting the current status of the machine.
But when I try to change a setting, the Domoticz log shows:

Code: Select all

MelCloud: MELCloud receive unknonw message with error code 500

The setting does not change in the device.
Does anyone have experience with this plugin? Any clues as to what might be wrong?

I cannot find a way to report this error in the plugin's Github entry.
Hans
FlyingDomotic
Posts: 397
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: MelCloud plugin

Post by FlyingDomotic »

Error code 500 means "Internal server error". Otherwise said, the remote server (here MelCloud) has a problem...
You may perhaps contact them to ensure they know there's a problem ;-)
manjh
Posts: 783
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: MelCloud plugin

Post by manjh »

Is anyone else using this plugin at all? Or am I the only one trying to control the Mitsubishi Electric machine from Domoticz?
Hans
FlyingDomotic
Posts: 397
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: MelCloud plugin

Post by FlyingDomotic »

Some people don't like to much using external servers (like MelCloud) and do prefer having a direct, local control on AC, working without Internet access.

Some, including me, are connecting an ESP8266 into CN105 AC connector (https://github.com/SwiCago/HeatPump), and use Domoticz plugin (viewtopic.php?t=28365&p=295429) to control it

You'll find more details at https://chrdavis.github.io/hacking-a-mi ... mp-Part-1/

However, generally 500 errors are only temporary ones, and are often fixed by server reboot.
manjh
Posts: 783
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: MelCloud plugin

Post by manjh »

FlyingDomotic wrote: Thursday 31 October 2024 21:33 Some people don't like to much using external servers (like MelCloud) and do prefer having a direct, local control on AC, working without Internet access.

Some, including me, are connecting an ESP8266 into CN105 AC connector (https://github.com/SwiCago/HeatPump), and use Domoticz plugin (viewtopic.php?t=28365&p=295429) to control it

You'll find more details at https://chrdavis.github.io/hacking-a-mi ... mp-Part-1/

However, generally 500 errors are only temporary ones, and are often fixed by server reboot.
Do you know of any ready-made units available?
Hans
FlyingDomotic
Posts: 397
Joined: Saturday 27 February 2016 0:30
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Contact:

Re: MelCloud plugin

Post by FlyingDomotic »

Personally, no, but you have only to solder 4 wires to an ESP8266, and plug the connector in A/C.
Truffe13
Posts: 4
Joined: Sunday 23 March 2025 21:55
Target OS: Linux
Domoticz version: 2024.7
Contact:

Re: MelCloud plugin

Post by Truffe13 »

Could you try this plugin version, which works well for me ?
https://github.com/truffe13/domoticz-python-melcloud
manjh
Posts: 783
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: MelCloud plugin

Post by manjh »

Truffe13 wrote: Wednesday 30 April 2025 22:41 Could you try this plugin version, which works well for me ?
https://github.com/truffe13/domoticz-python-melcloud
Works!

How many Domticz devices are you seeing? I got 7, not sure if there are any more!
Hans
Truffe13
Posts: 4
Joined: Sunday 23 March 2025 21:55
Target OS: Linux
Domoticz version: 2024.7
Contact:

Re: MelCloud plugin

Post by Truffe13 »

Great
I have got 7 devices per unit : Mode, Fan, Vane Vertical, Vane Horizontal, temp, temp set point, info
JP
harrykausl
Posts: 196
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: MelCloud plugin

Post by harrykausl »

@truffe13
I installed your plugin, it works fine. I have 2 questions. The devices are updated ba a timed trigger (4 minutes). Would it be possible, to call the update directly. So when I change something in like temperature of the ac in domoticz, I would start the update immediatly by a update switch, which calls a lua and there the python. Second question: Mitsubishi will switch to a new cloud platform, the new app is mecloud home. Will your plugin work with this platform too? Thanks a lot.
Truffe13
Posts: 4
Joined: Sunday 23 March 2025 21:55
Target OS: Linux
Domoticz version: 2024.7
Contact:

Re: MelCloud plugin

Post by Truffe13 »

Hi harrykausl

Yes, I put 4mn as the period to update data in domoticz, it is to avoid to overload the melcloud server with messages.
However when you change something in domoticz like temperature, vane position or switch on/off ,it is sent immediately to melcloud (but some domoticz information will be updated within 4mn max and not immediatly). I can try to change that to force a display update right after... I will try soon.
For your second question I was not aware and I really dont know. My plugin version is just a fork of other similar plugins managing the communication with melcloud server. If the interface change, I suppose that we will have to adapt ... if possible.. let's see
best regards
harrykausl
Posts: 196
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: MelCloud plugin

Post by harrykausl »

Thanks for your answer, I will try the new home app in the next weeks!
harrykausl
Posts: 196
Joined: Sunday 13 November 2016 10:43
Target OS: Raspberry Pi / ODroid
Domoticz version: 2021.1
Location: Germany
Contact:

Re: MelCloud plugin

Post by harrykausl »

@truffe13:I tried to change mode in domoticz, this seems to work partially, I select cold, the ac starts but on the remote there is off. But when I change mode on the remote, I don't get back the correct mode (after time update) in domoticz. With the settemperature device, I can change it in domoticz, but it seems not to update in the ac. When I change in ac, I see the new temperature in domoticz. Does this work correct in your installation?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest