This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm that you accept these cookies being set.

API with Mitsubishi MELCloud for heatingpumps
#10
Hi there

Has anyone experience controlling (starting and stopping) a MELCloud-Device (AC)?

I successfully get the context key to authenticate myself and am able to get a list with devices, also with the Device-IDs, but I fail to start or stop a device. 
Also, because my customer has multiple devices the returned json-string for all device-data is too long to display and decode for LogicMachine. Is there a way to split the returned json-string?

I found this thread to start and stop the device via powershell and adapted it to LUA: 
Control-MELCloudDevice/Start-MELCloudDevice.psm1 at master · freddiecode/Control-MELCloudDevice · GitHub
Control-MELCloudDevice/Stop-MELCloudDevice.psm1 at master · freddiecode/Control-MELCloudDevice · GitHub

According to the MELCloud website and app, I'm successfully able to start and stop the device. Because when I send the commands, it shows the appropriate state immediately. So the command is sent successfully to the cloud. Unfortunately the device itself doesn't change the state. Also on the MELCloud website and app, the state changes a few seconds after to the original state (probably because MELCloud syncs the state with the device and refreshes it on the MELCloud). So the command isn't sent successfully from MELCloud to the device. 

Also I'd like to get the current state of the device. But as the returned json-string from the devices is too long, i can't decode it. 

Thank you in advance!
Reply


Messages In This Thread
RE: API with Mitsubishi MELCloud for heatingpumps - by leutech - 09.01.2026, 09:18

Forum Jump: