MELCloud Binding Mitubishi

Hi everyone,
thanks for your interest in this binding and sorry for my absence.

I just tested and can control my units without a problem with the current binding and am running on openHAB 2.5.5-1.
I use this binding in my daily setup so when it’s hot I’ll quickly notice when it doesn’t work and will have a look at fixing it.

@jmone, can you confirm the credentials are ok?
Try re-entering them, save and then disable en enable the binding again.
If that doesn’t work we’ll contiunue from there.

@Andreu_Ferret, did you manage to get scheduling working as I don’t really have any samples.
I don’t use scheduling for my AC units myself except to turn them off after a chosen amount of minutes (before going to sleep or so).
The scheduling in general is more openHAB specific than binding specific but if you have a good use case we might take a look.
It might perhaps also be a good idea to add some sample rules to the documentation.

Thanks - I’ve now even run up a simple “Test” openhab instance (2.5 Stable on Windows 10 64-Bit) with only the MELCloud binding, but same thing:

2020-06-04 11:57:46.259 [hingStatusInfoChangedEvent] - 'melcloud:melcloudaccount:32ddc75a' changed from UNINITIALIZED to INITIALIZING
2020-06-04 11:57:46.267 [hingStatusInfoChangedEvent] - 'melcloud:melcloudaccount:32ddc75a' changed from INITIALIZING to OFFLINE
2020-06-04 11:57:47.497 [hingStatusInfoChangedEvent] - 'melcloud:melcloudaccount:32ddc75a' changed from OFFLINE to OFFLINE (CONFIGURATION_ERROR): Login failed, error code: 1.0

I can login / logout using the “Mitsuibshi Wi-Fi Control” Android App so I’m sure the credentials are fine.

Still no dice from my end. I’m wondering if it is regionally locked or a different service? The App I’m using on Android is this one:

Looks like we Australians use a different server / app than MELCloud. I had to side load MELCloud as it is “not available” to me from the app store. Tried to register the controller but no dice. I think I’ll need to try to reset it and register it to MELCloud instead of Mitsubishi Wi-Fi Control.

Good find. They indeed have different services in some countries but this binding is specific for MELCloud as it logs into that account.
I just checked and I have MAC-567IFB-E controllers in our units.
Not sure if you’ll be able to connect your unit to MELCloud but do hope so for you :slight_smile:

Did some more checking. I have the “MAC-568IF-E” and it works with the MELView not MELNet so this binding will not work. Not is all lost however, as the “MAC-568IF-E” supports direct integration using Echonet-Lite. I’ll start a separate thread on this here:

I am facing issues with my 2 A.C.'s.
Logs in openHAB seems to be OK:

2020-07-06 13:46:47.605 [hingStatusInfoChangedEvent] - ‘melcloud:melcloudaccount:62781xxx’ changed from UNINITIALIZED to INITIALIZING
2020-07-06 13:46:47.641 [hingStatusInfoChangedEvent] - ‘melcloud:melcloudaccount:62781xxx’ changed from INITIALIZING to OFFLINE
2020-07-06 13:46:49.721 [hingStatusInfoChangedEvent] - ‘melcloud:melcloudaccount:62781xxx’ changed from OFFLINE to ONLINE

But when try to add an A.C. via adding things, choosing MEL Clound Binding - it does not discover the A.C.s.
Operations via MEL-Web-Site and via iPhone MELCloud App is working fine for me.
Any help how to troubleshoot the MEL-Binding is highly appreciated :slight_smile:

could you please increase logging for the binding by entering following in Karaf:
log:set DEBUG org.openhab.binding.melcloud

we’ll get more info on what is actually happening and where it might go wrong.
Thanks.

1 Like

Thanks for your answer. I enabled debug level logging.
I shortened the log output by deleting 18000 characters and I changed some numbers for data protection (e.g. device IDs or address). If needed I can sent the complete log - if helpful.

I started device discovery by adding a thing in openHAB and chose MELcloud Bindung, than AC-device.

Log:
==> /var/log/openhab2/openhab.log <==

2020-07-09 14:06:01.153 [DEBUG] [ernal.handler.MelCloudAccountHandler] - Check MELCloud connection

2020-07-09 14:06:01.156 [DEBUG] [ernal.handler.MelCloudAccountHandler] - Connection to MELCloud open

2020-07-09 14:06:02.460 [DEBUG] [l.discovery.MelCloudDiscoveryService] - Discover devices

2020-07-09 14:06:02.927 [DEBUG] [loud.internal.api.MelCloudConnection] - Device list response: [{“ID”:123456,“Name”:“xyz”,“AddressLine1”:"xyz ",“AddressLine2”:null,“City”:“xyz”,“Postcode”:“12345”,“Latitude”:12.34567,“Longitude”:1.234568,“District”:null,“FPDefined”:false,“FPEnabled”:false,“FPMinTemperature”:14,“FPMaxTemperature”:16,“HMDefined”:false,“HMEnabled”:false,“HMStartDate”:null,“HMEndDate”:null,“BuildingType”:2,“PropertyType”:1,“DateBuilt”:null,“HasGasSupply”:true,“LocationLookupDate”:“2019-12-06T13:53:48.577”,“Country”:85,“TimeZoneContinent”:3,“TimeZoneCity”:49,“TimeZone”:119,“Location”:8230,“CoolingDisabled”:false,“Expanded”:true,“Structure”:{“Floors”:[],“Areas”:[{“ID”:12345,“Name”:“LivingRoom”,“BuildingId”:123456,“FloorId”:null,“AccessLevel”:4,“DirectAccess”:false,“EndDate”:“2500-01-01T00:00:00”,“MinTemperature”:0,“MaxTemperature”:40,“Expanded”:true,“Devices”:[{“DeviceID”:123456,“DeviceName”:“SZ”,“BuildingID”:12345,“BuildingName”:null, …18000 more characters deleted! }}]

2020-07-09 14:06:02.933 [DEBUG] [loud.internal.api.MelCloudConnection] - Found 0 devices

Thanks for the log.
The response does show devices in the list so we need to look further.
Perhaps you have an unsupported device type, we currently only support types 0 and 1.
If a different type is found during discovery you should see “Unsupported device found:” in the log somewhere.

1 Like

ok, I hope nobody hits me, when I do post the whole log :slight_smile:
It says device type = 0 and I cannot find “unsupported device” or so.
not-shortened Log:

2020-07-09 14:06:01.153 [DEBUG] [ernal.handler.MelCloudAccountHandler] - Check MELCloud connection

2020-07-09 14:06:01.156 [DEBUG] [ernal.handler.MelCloudAccountHandler] - Connection to MELCloud open

2020-07-09 14:06:02.460 [DEBUG] [l.discovery.MelCloudDiscoveryService] - Discover devices

2020-07-09 14:06:02.927 [DEBUG] [loud.internal.api.MelCloudConnection] - Device list response: [{“ID”:123456,“Name”:“xyz”,“AddressLine1”:“xyz “,“AddressLine2”:null,“City”:“xyz”,“Postcode”:“12345”,“Latitude”:12.34567,“Longitude”:1.234568,“District”:null,“FPDefined”:false,“FPEnabled”:false,“FPMinTemperature”:14,“FPMaxTemperature”:16,“HMDefined”:false,“HMEnabled”:false,“HMStartDate”:null,“HMEndDate”:null,“BuildingType”:2,“PropertyType”:1,“DateBuilt”:null,“HasGasSupply”:true,“LocationLookupDate”:“2019-12-06T13:53:48.577”,“Country”:85,“TimeZoneContinent”:3,“TimeZoneCity”:49,“TimeZone”:119,“Location”:8230,“CoolingDisabled”:false,“Expanded”:true,“Structure”:{“Floors”:,“Areas”:[{“ID”:12345,“Name”:“LivingRoom”,“BuildingId”:123456,“FloorId”:null,“AccessLevel”:4,“DirectAccess”:false,“EndDate”:“2500-01-01T00:00:00”,“MinTemperature”:0,“MaxTemperature”:40,“Expanded”:true,“Devices”:[{“DeviceID”:123456,“DeviceName”:“SZ”,“BuildingID”:12345,“BuildingName”:null, “FloorID”:null,“FloorName”:null,“AreaID”:43636,“AreaName”:null,“ImageID”:-6,“InstallationDate”:null,“LastServiceDate”:null,“Presets”:[{“SetTemperature”:21.0,“Power”:true,“OperationMode”:3,“VaneHorizontal”:0,“VaneVertical”:0,“FanSpeed”:0,“ID”:124515,“Client”:191275,“DeviceLocation”:206555,“Number”:1,“Configuration”:”21true3000”,“NumberDescription”:“21”},{“SetTemperature”:21.0,“Power”:true,“OperationMode”:3,“VaneHorizontal”:1,“VaneVertical”:1,“FanSpeed”:0,“ID”:124600,“Client”:191275,“DeviceLocation”:206555,“Number”:2,“Configuration”:“21true3110”,“NumberDescription”:“21 zur Seite links”}],“OwnerID”:null,“OwnerName”:null,“OwnerEmail”:null,“AccessLevel”:4,“DirectAccess”:false,“EndDate”:“2500-01-01T00:00:00”,“Zone1Name”:null,“Zone2Name”:null,“MinTemperature”:0,“MaxTemperature”:40,“HideVaneControls”:false,“HideDryModeControl”:false,“HideRoomTemperature”:false,“HideSupplyTemperature”:false,“HideOutdoorTemperature”:false,“BuildingCountry”:null,“OwnerCountry”:null,“AdaptorType”:-1,“LinkedDevice”:null,“Type”:0,“MacAddress”:“d4:53:83:1c:69:8e”,“SerialNumber”:“1234567890”,“Device”:{“ListHistory24Formatters”:[null,null,{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_0”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_0(System.Object)”,“Signature2”:“System.String <.cctor>b__352_0(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_1”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_1(System.Object)”,“Signature2”:“System.String <.cctor>b__352_1(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_2”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_2(System.Object)”,“Signature2”:“System.String <.cctor>b__352_2(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_3”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_3(System.Object)”,“Signature2”:“System.String <.cctor>b__352_3(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_4”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_4(System.Object)”,“Signature2”:“System.String <.cctor>b__352_4(System.Object)”,“MemberType”:8,“GenericArguments”:null}},null,null,null,null,{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_5”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_5(System.Object)”,“Signature2”:“System.String <.cctor>b__352_5(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_6”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_6(System.Object)”,“Signature2”:“System.String <.cctor>b__352_6(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_7”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_7(System.Object)”,“Signature2”:“System.String <.cctor>b__352_7(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_8”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_8(System.Object)”,“Signature2”:“System.String <.cctor>b__352_8(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_9”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_9(System.Object)”,“Signature2”:“System.String <.cctor>b__352_9(System.Object)”,“MemberType”:8,“GenericArguments”:null}},null,null,null],“DeviceType”:0,“CanCool”:true,“CanHeat”:true,“CanDry”:true,“HasAutomaticFanSpeed”:true,“AirDirectionFunction”:true,“SwingFunction”:true,“NumberOfFanSpeeds”:5,“UseTemperatureA”:true,“TemperatureIncrementOverride”:0,“TemperatureIncrement”:0.5,“MinTempCoolDry”:16.0,“MaxTempCoolDry”:31.0,“MinTempHeat”:10.0,“MaxTempHeat”:31.0,“MinTempAutomatic”:16.0,“MaxTempAutomatic”:31.0,“LegacyDevice”:false,“UnitSupportsStandbyMode”:true,“HasWideVane”:false,“ModelIsAirCurtain”:true,“ModelSupportsFanSpeed”:true,“ModelSupportsAuto”:true,“ModelSupportsHeat”:true,“ModelSupportsDry”:true,“ModelSupportsVaneVertical”:true,“ModelSupportsVaneHorizontal”:true,“ModelSupportsWideVane”:true,“ModelDisableEnergyReport”:true,“ModelSupportsStandbyMode”:true,“ModelSupportsEnergyReporting”:false,“ProhibitSetTemperature”:false,“ProhibitOperationMode”:false,“ProhibitPower”:false,“Power”:false,“RoomTemperature”:24.0,“SetTemperature”:20.0,“ActualFanSpeed”:0,“FanSpeed”:1,“AutomaticFanSpeed”:false,“VaneVerticalDirection”:1,“VaneVerticalSwing”:false,“VaneHorizontalDirection”:1,“VaneHorizontalSwing”:false,“OperationMode”:3,“EffectiveFlags”:0,“LastEffectiveFlags”:0,“InStandbyMode”:false,“DefaultCoolingSetTemperature”:21.0,“DefaultHeatingSetTemperature”:23.0,“RoomTemperatureLabel”:0,“HeatingEnergyConsumedRate1”:0,“HeatingEnergyConsumedRate2”:0,“CoolingEnergyConsumedRate1”:0,“CoolingEnergyConsumedRate2”:0,“AutoEnergyConsumedRate1”:0,“AutoEnergyConsumedRate2”:0,“DryEnergyConsumedRate1”:0,“DryEnergyConsumedRate2”:0,“FanEnergyConsumedRate1”:0,“FanEnergyConsumedRate2”:0,“OtherEnergyConsumedRate1”:0,“OtherEnergyConsumedRate2”:0,“HasEnergyConsumedMeter”:true,“CurrentEnergyConsumed”:2400,“CurrentEnergyMode”:3,“CoolingDisabled”:false,“MinPcycle”:1,“MaxPcycle”:1,“EffectivePCycle”:1,“MaxOutdoorUnits”:255,“MaxIndoorUnits”:255,“MaxTemperatureControlUnits”:0,“DeviceID”:206555,“MacAddress”:“d4:53:83:1c:69:8e”,“SerialNumber”:“1234567890”,“TimeZoneID”:119,“DiagnosticMode”:0,“DiagnosticEndDate”:null,“ExpectedCommand”:1,“Owner”:null,“DetectedCountry”:null,“AdaptorType”:-1,“FirmwareDeployment”:null,“FirmwareUpdateAborted”:false,“LinkedDevice”:null,“WifiSignalStrength”:-57,“WifiAdapterStatus”:“NORMAL”,“Position”:“Unknown”,“PCycle”:1,“RecordNumMax”:0,“LastTimeStamp”:“2020-07-09T14:05:00”,“ErrorCode”:8000,“HasError”:false,“LastReset”:“2019-12-06T14:05:52.293”,“FlashWrites”:0,“Scene”:null,“SSLExpirationDate”:“2037-12-31T00:00:00”,“SPTimeout”:1,“Passcode”:null,“ServerCommunicationDisabled”:false,“ConsecutiveUploadErrors”:0,“DoNotRespondAfter”:null,“OwnerRoleAccessLevel”:1,“OwnerCountry”:85,“HideEnergyReport”:false,“ExceptionHash”:null,“ExceptionDate”:null,“ExceptionCount”:null,“Rate1StartTime”:null,“Rate2StartTime”:null,“ProtocolVersion”:0,“UnitVersion”:0,“FirmwareAppVersion”:17000,“FirmwareWebVersion”:0,“FirmwareWlanVersion”:0,“HasErrorMessages”:false,“HasZone2”:false,“Offline”:false,“Units”:},“DiagnosticMode”:0,“DiagnosticEndDate”:null,“Location”:8230,“DetectedCountry”:null,“Registrations”:68,“LocalIPAddress”:null,“TimeZone”:119,“RegistReason”:“STARTUP”,“ExpectedCommand”:1,“RegistRetry”:0,“DateCreated”:“2019-12-06T14:05:52.293”,“FirmwareDeployment”:null,“FirmwareUpdateAborted”:false,“Permissions”:{“CanSetOperationMode”:true,“CanSetFanSpeed”:true,“CanSetVaneDirection”:true,“CanSetPower”:true,“CanSetTemperatureIncrementOverride”:true,“CanDisableLocalController”:true}}]},{“ID”:43635,“Name”:“Wohnzimmer”,“BuildingId”:123456,“FloorId”:null,“AccessLevel”:4,“DirectAccess”:false,“EndDate”:“2500-01-01T00:00:00”,“MinTemperature”:0,“MaxTemperature”:40,“Expanded”:true,“Devices”:[{“DeviceID”:12345,“DeviceName”:“WZ”,“BuildingID”:123456,“BuildingName”:null,“FloorID”:null,“FloorName”:null,“AreaID”:43635,“AreaName”:null,“ImageID”:-4,“InstallationDate”:null,“LastServiceDate”:null,“Presets”:[{“SetTemperature”:20.0,“Power”:true,“OperationMode”:3,“VaneHorizontal”:0,“VaneVertical”:0,“FanSpeed”:0,“ID”:123456,“Client”:123456,“DeviceLocation”:206544,“Number”:1,“Configuration”:“20true3000”,“NumberDescription”:“20”},{“SetTemperature”:21.0,“Power”:true,“OperationMode”:3,“VaneHorizontal”:0,“VaneVertical”:0,“FanSpeed”:0,“ID”:123456,“Client”:123456,“DeviceLocation”:206544,“Number”:2,“Configuration”:“21true3000”,“NumberDescription”:“21”},{“SetTemperature”:22.0,“Power”:true,“OperationMode”:3,“VaneHorizontal”:0,“VaneVertical”:0,“FanSpeed”:0,“ID”:124514,“Client”:191275,“DeviceLocation”:206544,“Number”:3,“Configuration”:“22true3000”,“NumberDescription”:“22”}],“OwnerID”:null,“OwnerName”:null,“OwnerEmail”:null,“AccessLevel”:4,“DirectAccess”:false,“EndDate”:“2500-01-01T00:00:00”,“Zone1Name”:null,“Zone2Name”:null,“MinTemperature”:0,“MaxTemperature”:40,“HideVaneControls”:false,“HideDryModeControl”:false,“HideRoomTemperature”:false,“HideSupplyTemperature”:false,“HideOutdoorTemperature”:false,“BuildingCountry”:null,“OwnerCountry”:null,“AdaptorType”:-1,“LinkedDevice”:null,“Type”:0,“MacAddress”:“e8:e8:b7:15:04:xx”,“SerialNumber”:“1234567890”,“Device”:{“ListHistory24Formatters”:[null,null,{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_0”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808e0000”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_0(System.Object)”,“Signature2”:“System.String <.cctor>b__352_0(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_1”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_1(System.Object)”,“Signature2”:“System.String <.cctor>b__352_1(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_2”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_2(System.Object)”,“Signature2”:“System.String <.cctor>b__352_2(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_3”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_3(System.Object)”,“Signature2”:“System.String <.cctor>b__352_3(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_4”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_4(System.Object)”,“Signature2”:“System.String <.cctor>b__352_4(System.Object)”,“MemberType”:8,“GenericArguments”:null}},null,null,null,null,{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_5”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_5(System.Object)”,“Signature2”:“System.String <.cctor>b__352_5(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_6”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_6(System.Object)”,“Signature2”:“System.String <.cctor>b__352_6(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_7”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_7(System.Object)”,“Signature2”:“System.String <.cctor>b__352_7(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_8”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_8(System.Object)”,“Signature2”:“System.String <.cctor>b__352_8(System.Object)”,“MemberType”:8,“GenericArguments”:null}},{“Delegate”:{},“target0”:{},“method0”:{“Name”:“<.cctor>b__352_9”,“AssemblyName”:“Mitsubishi.Wifi.Data, Version=1.20.0.5, Culture=neutral, PublicKeyToken=36776ba0808eb702”,“ClassName”:“Mitsubishi.Wifi.Data.Entities.Device.AtaDeviceSettings+<>c”,“Signature”:“System.String <.cctor>b__352_9(System.Object)”,“Signature2”:“System.String <.cctor>b__352_9(System.Object)”,“MemberType”:8,“GenericArguments”:null}},null,null,null],“DeviceType”:0,“CanCool”:true,“CanHeat”:true,“CanDry”:true,“HasAutomaticFanSpeed”:true,“AirDirectionFunction”:true,“SwingFunction”:true,“NumberOfFanSpeeds”:5,“UseTemperatureA”:true,“TemperatureIncrementOverride”:0,“TemperatureIncrement”:0.5,“MinTempCoolDry”:16.0,“MaxTempCoolDry”:31.0,“MinTempHeat”:10.0,“MaxTempHeat”:31.0,“MinTempAutomatic”:16.0,“MaxTempAutomatic”:31.0,“LegacyDevice”:false,“UnitSupportsStandbyMode”:true,“HasWideVane”:false,“ModelIsAirCurtain”:false,“ModelSupportsFanSpeed”:true,“ModelSupportsAuto”:true,“ModelSupportsHeat”:true,“ModelSupportsDry”:true,“ModelSupportsVaneVertical”:true,“ModelSupportsVaneHorizontal”:true,“ModelSupportsWideVane”:true,“ModelDisableEnergyReport”:false,“ModelSupportsStandbyMode”:true,“ModelSupportsEnergyReporting”:true,“ProhibitSetTemperature”:false,“ProhibitOperationMode”:false,“ProhibitPower”:false,“Power”:false,“RoomTemperature”:26.0,“SetTemperature”:21.0,“ActualFanSpeed”:0,“FanSpeed”:0,“AutomaticFanSpeed”:true,“VaneVerticalDirection”:0,“VaneVerticalSwing”:false,“VaneHorizontalDirection”:0,“VaneHorizontalSwing”:false,“OperationMode”:3,“EffectiveFlags”:0,“LastEffectiveFlags”:0,“InStandbyMode”:false,“DefaultCoolingSetTemperature”:21.0,“DefaultHeatingSetTemperature”:23.0,“RoomTemperatureLabel”:0,“HeatingEnergyConsumedRate1”:0,“HeatingEnergyConsumedRate2”:0,“CoolingEnergyConsumedRate1”:0,“CoolingEnergyConsumedRate2”:0,“AutoEnergyConsumedRate1”:0,“AutoEnergyConsumedRate2”:0,“DryEnergyConsumedRate1”:0,“DryEnergyConsumedRate2”:0,“FanEnergyConsumedRate1”:0,“FanEnergyConsumedRate2”:0,“OtherEnergyConsumedRate1”:0,“OtherEnergyConsumedRate2”:0,“HasEnergyConsumedMeter”:true,“CurrentEnergyConsumed”:120800,“CurrentEnergyMode”:3,“CoolingDisabled”:false,“MinPcycle”:1,“MaxPcycle”:1,“EffectivePCycle”:1,“MaxOutdoorUnits”:255,“MaxIndoorUnits”:255,“MaxTemperatureControlUnits”:0,“DeviceID”:206544,“MacAddress”:“e8:e8:b7:15:xx:xx”,“SerialNumber”:“1234567890”,“TimeZoneID”:119,“DiagnosticMode”:0,“DiagnosticEndDate”:null,“ExpectedCommand”:1,“Owner”:null,“DetectedCountry”:null,“AdaptorType”:-1,“FirmwareDeployment”:null,“FirmwareUpdateAborted”:false,“LinkedDevice”:null,“WifiSignalStrength”:-48,“WifiAdapterStatus”:“NORMAL”,“Position”:“Unknown”,“PCycle”:1,“RecordNumMax”:0,“LastTimeStamp”:“2020-07-09T14:05:00”,“ErrorCode”:8000,“HasError”:false,“LastReset”:“2019-12-06T13:42:50.977”,“FlashWrites”:0,“Scene”:null,“SSLExpirationDate”:“2037-12-31T00:00:00”,“SPTimeout”:1,“Passcode”:null,“ServerCommunicationDisabled”:false,“ConsecutiveUploadErrors”:0,“DoNotRespondAfter”:null,“OwnerRoleAccessLevel”:1,“OwnerCountry”:85,“HideEnergyReport”:false,“ExceptionHash”:null,“ExceptionDate”:null,“ExceptionCount”:null,“Rate1StartTime”:null,“Rate2StartTime”:null,“ProtocolVersion”:0,“UnitVersion”:0,“FirmwareAppVersion”:15000,“FirmwareWebVersion”:0,“FirmwareWlanVersion”:0,“HasErrorMessages”:false,“HasZone2”:false,“Offline”:false,“Units”:},“DiagnosticMode”:0,“DiagnosticEndDate”:null,“Location”:8230,“DetectedCountry”:null,“Registrations”:62,“LocalIPAddress”:null,“TimeZone”:119,“RegistReason”:“STARTUP”,“ExpectedCommand”:1,“RegistRetry”:0,“DateCreated”:“2019-12-06T13:42:50.98”,“FirmwareDeployment”:null,“FirmwareUpdateAborted”:false,“Permissions”:{“CanSetOperationMode”:true,“CanSetFanSpeed”:true,“CanSetVaneDirection”:true,“CanSetPower”:true,“CanSetTemperatureIncrementOverride”:true,“CanDisableLocalController”:true}}]}],“Devices”:,“Clients”:},“AccessLevel”:4,“DirectAccess”:true,“MinTemperature”:0,“MaxTemperature”:40,“Owner”:null,“EndDate”:“2500-01-01T00:00:00”,“iDateBuilt”:null,“QuantizedCoordinates”:{“Latitude”:12.3,“Longitude”:1.234 }}]

2020-07-09 14:06:02.933 [DEBUG] [loud.internal.api.MelCloudConnection] - Found 0 devices

perfect thanks!
I took a quick look and I think we’re only looking into area’s when they are on a floor.
Could you test by opening MELCloud and moving one device to an Area on a Floor in a Building?
Discovery should then find it.
I’ll look into it further this week and fix the issue.

1 Like

I added a floor in MELcloud following your advise - and A.C. was found! :+1:
Obviously that was the issue. I didn’t maintain any floors, just rooms because I didn’t see any sense for me.
But now it’s working! Thanks for your help. I highly appreciate it! :slight_smile:

1 Like

Glad to hear the workaround works for you.
Thanks for reporting the issue, it should just work no matter where the devices are so I definitely need to fix this :slight_smile:.
I’m updating my dev environment now and hope to have time this weekend or next week latest.

1 Like

My PR with a fix got merged so it will be in openHAB 2.5.7.
From then on it doesn’t matter where the devices are, they will be discovered.

On a side note, once discovery is done with the current version and devices are added you can move them back to any level you want in MELCloud and it will pose no problem for the binding.

Sorry for delayed answer @thewiep averything ios working perfect!

All my AC Machines, Water Pumps, Pool even Crypto mining Rigs working at home related to that addon.

One suggestion, it would me amazing to get the value of the % autosufiency like the one we get on the Fronius solar Web.

Thanks!

@Andreu_Ferret, glad to hear it’s working for you.
Is this value something that is present in the MELCloud app?

Happy to see this binding. I’m hoping to use it for voice control via google assistant.

Unfortunately, I am struggling to get it working. It keeps giving me

[WARN ] [ternal.handler.MelCloudDeviceHandler] - No initial data available, ignore command

When I try to use it.

I’ve tried a couple of versions as mentioned in this post, but to no avail.

(to change the bundle, I copy it to addons, and clear cache before restarting). I tried to set the log level to DEBUG, but this binding does not seem to give me any more info…

Any suggestion for my next step troubleshooting ?

Which version of openHAB are you using?
I haven’t seen the issue you mentioned in quite some time and thought I fixed it.
When setting the binding to DEBUG it does log more but it indeed nit excessive.

I have managed to turn on debug for the binding (via the console), and managed to see useful info!

I was using bad ids (I used the serial instead)(I like to use text file configuration). I put in the correct ids and it now works! Just one comment I guess, the log that says it does not find the id could be at ERROR level. Would have helped me.

Great binding!
Thank you!

1 Like