grzegorz914 / homebridge-melcloud-control

Homebridge plugin for Mitsubishi Air Conditioner, Heat Pump and Energy Recovery Ventilation, publish as dynamic external platform accessory.
MIT License
55 stars 2 forks source link

Button not worked after upgraded from v2 to v3 #154

Closed sam-cheuk closed 3 weeks ago

sam-cheuk commented 3 weeks ago

I created a button for "MODE FAN" in v2, and it worked flawlessly.

After upgrading the plugin to v3 and connecting to MELCloud via Homebridge UI X, the previously defined button was lost. I defined the button again, and it correctly reflects the current state in MELCloud - specifically, the switch shows as ON when the air conditioner is in FAN mode. However, seems there's no event trigger when I click it. Additionally, I didn’t see any log entries for this event in the debug log, and the button state reverts to its previous state after a few seconds.

Below is my configuration:

{
    "accounts": [
        {
            "name": "Primary",
            "user": "username@domain.com",
            "passwd": "xxx",
            "language": "0",
            "ataDevices": [
                {
                    "id": xxxxxxxx,
                    "type": 0,
                    "typeString": "Air Conditioner",
                    "name": "Living Room",
                    "displayMode": 1,
                    "heatDryFanMode": 1,
                    "coolDryFanMode": 1,
                    "autoDryFanMode": 1,
                    "temperatureSensor": false,
                    "temperatureSensorOutdoor": false,
                    "presets": [
                        {
                            "displayType": 0,
                            "namePrefix": false
                        }
                    ],
                    "buttonsSensors": [
                        {
                            "name": "Fan Mode",
                            "mode": 4,
                            "displayType": 2,
                            "namePrefix": false
                        }
                    ]
                }
            ],
            "atwDevices": [
                {
                    "displayMode": 1,
                    "temperatureSensor": false,
                    "temperatureSensorFlow": false,
                    "temperatureSensorReturn": false,
                    "temperatureSensorFlowZone1": false,
                    "temperatureSensorReturnZone1": false,
                    "temperatureSensorFlowWaterTank": false,
                    "temperatureSensorReturnWaterTank": false,
                    "temperatureSensorFlowZone2": false,
                    "temperatureSensorReturnZone2": false,
                    "presets": [
                        {
                            "displayType": 0,
                            "namePrefix": false
                        }
                    ],
                    "buttonsSensors": [
                        {
                            "displayType": 0,
                            "namePrefix": false
                        }
                    ]
                }
            ],
            "ervDevices": [
                {
                    "displayMode": 1,
                    "temperatureSensor": false,
                    "temperatureSensorOutdoor": false,
                    "temperatureSensorSupply": false,
                    "presets": [
                        {
                            "displayType": 0,
                            "namePrefix": false
                        }
                    ],
                    "buttonsSensors": [
                        {
                            "displayType": 0,
                            "namePrefix": false
                        }
                    ]
                }
            ],
            "refreshInterval": 120,
            "deviceRefreshInterval": 5,
            "enableDebugMode": true,
            "disableLogInfo": false,
            "disableLogDeviceInfo": false,
            "restFul": {
                "enable": false,
                "debug": false
            },
            "mqtt": {
                "enable": false,
                "debug": false,
                "auth": false
            }
        }
    ],
    "_bridge": {
        "username": "xx:xx:xx:xx:xx:xx"
    },
    "platform": "melcloudcontrol"
}

Version Information: Homebridge - 1.8.4 Homebridge UI - 4.58.0 MELCloud Control - 3.1.11

sam-cheuk commented 3 weeks ago

After upgrading to v3.1.15, I can see log entries for the specific event in the debug log. However, the operation mode of air conditioner seems always change to FAN, regardless of whether I switch the MODE FAN button state to ON or OFF.

The operation mode of air conditioner will return to its selected mode in Home App (AUTO/HEAT/COOL) when I switch the MODE FAN button state to OFF in v2.

grzegorz914 commented 3 weeks ago

Fixed in 3.1.16

sam-cheuk commented 3 weeks ago

I’ve tried versions 3.1.16 and 3.1.18, but the behavior remains the same as in version 3.1.15.

Here is the log showing my attempt to switch the MODE FAN button state from ON to OFF for your reference.

[11/09/2024, 14:11:52] [homebridge-melcloud-control] Launched child bridge with PID 2076076
[11/09/2024, 14:11:53] Registering platform 'homebridge-melcloud-control.melcloudcontrol'
[11/09/2024, 14:11:53] [homebridge-melcloud-control] Loaded homebridge-melcloud-control v3.1.18 child bridge successfully
[11/09/2024, 14:11:53] Loaded 0 cached accessories from cachedAccessories.xxxxxxxxxxxx.
[11/09/2024, 14:11:53] [homebridge-melcloud-control] Account: Primary, did finish launching.
[11/09/2024, 14:11:53] [homebridge-melcloud-control] Account: Primary, Config: {
  "name": "Primary",
  "user": "user@domain.com",
  "passwd": "removed",
  "language": "0",
  "ataDevices": [
    {
      "id": xxxxxxxx,
      "type": 0,
      "typeString": "Air Conditioner",
      "name": "Living Room",
      "displayMode": 1,
      "heatDryFanMode": 1,
      "coolDryFanMode": 1,
      "autoDryFanMode": 1,
      "temperatureSensor": false,
      "temperatureSensorOutdoor": false,
      "presets": [
        {
          "displayType": 0,
          "namePrefix": false
        }
      ],
      "buttonsSensors": [
        {
          "name": "送風模式",
          "mode": 4,
          "displayType": 2,
          "namePrefix": false
        }
      ]
    }
  ],
  "atwDevices": [
    {
      "displayMode": 1,
      "temperatureSensor": false,
      "temperatureSensorFlow": false,
      "temperatureSensorReturn": false,
      "temperatureSensorFlowZone1": false,
      "temperatureSensorReturnZone1": false,
      "temperatureSensorFlowWaterTank": false,
      "temperatureSensorReturnWaterTank": false,
      "temperatureSensorFlowZone2": false,
      "temperatureSensorReturnZone2": false,
      "presets": [
        {
          "displayType": 0,
          "namePrefix": false
        }
      ],
      "buttonsSensors": [
        {
          "displayType": 0,
          "namePrefix": false
        }
      ]
    }
  ],
  "ervDevices": [
    {
      "displayMode": 1,
      "temperatureSensor": false,
      "temperatureSensorOutdoor": false,
      "temperatureSensorSupply": false,
      "presets": [
        {
          "displayType": 0,
          "namePrefix": false
        }
      ],
      "buttonsSensors": [
        {
          "displayType": 0,
          "namePrefix": false
        }
      ]
    }
  ],
  "refreshInterval": 120,
  "deviceRefreshInterval": 5,
  "enableDebugMode": true,
  "disableLogInfo": false,
  "disableLogDeviceInfo": false,
  "restFul": {
    "enable": false,
    "debug": false
  },
  "mqtt": {
    "enable": false,
    "debug": false,
    "auth": false,
    "passwd": "removed"
  }
}
[11/09/2024, 14:11:53] [homebridge-melcloud-control] Account Primary, debug: Connecting to MELCloud.
[11/09/2024, 14:11:53] Homebridge v1.8.4 (HAP v0.12.2) (homebridge-melcloud-control) is running on port 41189.
[11/09/2024, 14:11:53] 

NOTICE TO USERS AND PLUGIN DEVELOPERS
> Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
> Please visit the following link to learn more about the changes and how to prepare:
> https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[11/09/2024, 14:11:55] [homebridge-melcloud-control] Account Primary, debug: MELCloud Info: {
  "ContextKey": "removed",
  "Client": "removed",
  "Terms": 1284,
  "AL": 1,
  "ML": 0,
  "CMI": true,
  "IsStaff": false,
  "CUTF": false,
  "CAA": false,
  "ReceiveCountryNotifications": false,
  "ReceiveAllNotifications": false,
  "CACA": false,
  "CAGA": false,
  "MaximumDevices": 10,
  "ShowDiagnostics": false,
  "Language": 0,
  "Country": 237,
  "RealClient": 0,
  "Name": "removed",
  "UseFahrenheit": false,
  "Duration": 525600,
  "Expiry": "2025-09-11T06:11:54.97",
  "CMSC": false,
  "PartnerApplicationVersion": null,
  "EmailSettingsReminderShown": true,
  "EmailUnitErrors": 1,
  "EmailCommsErrors": 1,
  "ChartSeriesHidden": 0,
  "DeletePending": false,
  "Throttle": true,
  "IsImpersonated": false,
  "LanguageCode": "en",
  "CountryName": "United Kingdom",
  "CurrencySymbol": "£",
  "SupportEmailAddress": "melcloud.support@meuk.mee.com",
  "DateSeperator": "/",
  "TimeSeperator": ":",
  "AtwLogoFile": "ecodan_logo.png",
  "DECCReport": true,
  "CSVReport1min": true,
  "HidePresetPanel": false,
  "EmailSettingsReminderRequired": false,
  "TermsText": null,
  "MapView": false,
  "MapZoom": 4,
  "MapLongitude": "removed",
  "MapLatitude": "removed",
  "Throttled": false,
  "ClientId": "removed"
}
[11/09/2024, 14:11:55] [homebridge-melcloud-control] Account Primary, debug: Data saved to: /var/lib/homebridge/melcloud/Primary_Account.
[11/09/2024, 14:11:55] [homebridge-melcloud-control] Account Primary, Connect to MELCloud Success.
[11/09/2024, 14:11:55] [homebridge-melcloud-control] Account Primary, debug: Scanning for devices.
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Account Primary, debug: Buildings: [
  {
    "ID": xxxxxx,
    "Name": "",
    "AddressLine1": "",
    "AddressLine2": "",
    "City": "",
    "Postcode": "",
    "Latitude": 0.0000000000000000,
    "Longitude": 0.0000000000000000,
    "District": 1026,
    "FPDefined": false,
    "FPEnabled": false,
    "FPMinTemperature": 14,
    "FPMaxTemperature": 16,
    "HMDefined": false,
    "HMEnabled": false,
    "HMStartDate": null,
    "HMEndDate": null,
    "BuildingType": 2,
    "PropertyType": 2,
    "DateBuilt": null,
    "HasGasSupply": true,
    "LocationLookupDate": "2023-07-05T04:20:00.88",
    "Country": 237,
    "TimeZoneContinent": 3,
    "TimeZoneCity": 43,
    "TimeZone": 118,
    "Location": 153275,
    "CoolingDisabled": false,
    "LinkToMELCloudHome": false,
    "Expanded": true,
    "Structure": {
      "Floors": [],
      "Areas": [],
      "Devices": [
        {
          "DeviceID": xxxxxxxx,
          "DeviceName": "Living Room",
          "BuildingID": xxxxxx,
          "BuildingName": null,
          "FloorID": null,
          "FloorName": null,
          "AreaID": null,
          "AreaName": null,
          "ImageID": -9,
          "InstallationDate": null,
          "LastServiceDate": null,
          "Presets": [],
          "OwnerID": xxxxxx,
          "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,
          "EstimateAtaEnergyProductionOptIn": false,
          "EstimateAtaEnergyProduction": false,
          "BuildingCountry": null,
          "OwnerCountry": null,
          "AdaptorType": 3,
          "LinkedDevice": null,
          "Type": 0,
          "MacAddress": "xx:xx:xx:xx:xx:xx",
          "SerialNumber": "xxxxxxxxxx",
          "Device": {
            "PCycleActual": 0,
            "ErrorMessages": "",
            "DeviceType": 0,
            "CanCool": true,
            "CanHeat": true,
            "CanDry": true,
            "CanAuto": true,
            "HasAutomaticFanSpeed": true,
            "AirDirectionFunction": true,
            "SwingFunction": true,
            "NumberOfFanSpeeds": 4,
            "UseTemperatureA": true,
            "TemperatureIncrementOverride": 0,
            "TemperatureIncrement": 0.5,
            "MinTempCoolDry": 16,
            "MaxTempCoolDry": 31,
            "MinTempHeat": 10,
            "MaxTempHeat": 31,
            "MinTempAutomatic": 16,
            "MaxTempAutomatic": 31,
            "LegacyDevice": false,
            "UnitSupportsStandbyMode": true,
            "IsSplitSystem": false,
            "HasHalfDegreeIncrements": true,
            "HasOutdoorTemperature": false,
            "ModelIsAirCurtain": false,
            "ModelSupportsFanSpeed": true,
            "ModelSupportsAuto": true,
            "ModelSupportsHeat": true,
            "ModelSupportsDry": true,
            "ModelSupportsVaneVertical": true,
            "ModelSupportsVaneHorizontal": true,
            "ModelSupportsWideVane": false,
            "ModelDisableEnergyReport": false,
            "ModelSupportsStandbyMode": true,
            "ModelSupportsEnergyReporting": false,
            "ProhibitSetTemperature": false,
            "ProhibitOperationMode": false,
            "ProhibitPower": false,
            "Power": true,
            "RoomTemperature": 29,
            "OutdoorTemperature": null,
            "SetTemperature": 26,
            "ActualFanSpeed": 2,
            "FanSpeed": 0,
            "AutomaticFanSpeed": true,
            "VaneVerticalDirection": 0,
            "VaneVerticalSwing": false,
            "VaneHorizontalDirection": 12,
            "VaneHorizontalSwing": true,
            "OperationMode": 7,
            "EffectiveFlags": 0,
            "LastEffectiveFlags": 0,
            "InStandbyMode": false,
            "DemandPercentage": 100,
            "ConfiguredDemandPercentage": null,
            "HasDemandSideControl": false,
            "DefaultCoolingSetTemperature": 26,
            "DefaultHeatingSetTemperature": 23,
            "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,
            "EstimateAtaEnergyProduction": false,
            "EstimateAtaEnergyProductionOptIn": false,
            "EstimateAtaEnergyProductionOptInTimestamp": null,
            "WeatherForecast": [],
            "HasEnergyConsumedMeter": false,
            "CurrentEnergyConsumed": 0,
            "CurrentEnergyMode": 7,
            "CoolingDisabled": false,
            "EnergyCorrectionModel": null,
            "EnergyCorrectionActive": false,
            "MinPcycle": 1,
            "MaxPcycle": 1,
            "EffectivePCycle": 1,
            "MaxOutdoorUnits": 255,
            "MaxIndoorUnits": 255,
            "MaxTemperatureControlUnits": 0,
            "ModelCode": "0130",
            "DeviceID": xxxxxxxx,
            "MacAddress": "xx:xx:xx:xx:xx:xx",
            "SerialNumber": "xxxxxxxxxx",
            "TimeZoneID": 118,
            "DiagnosticMode": 0,
            "DiagnosticEndDate": null,
            "ExpectedCommand": 1,
            "Owner": xxxxxx,
            "DetectedCountry": null,
            "AdaptorType": 3,
            "FirmwareDeployment": null,
            "FirmwareUpdateAborted": false,
            "LinkedDevice": null,
            "WifiSignalStrength": -29,
            "WifiAdapterStatus": "NORMAL",
            "Position": "Unknown",
            "PCycle": 10,
            "PCycleConfigured": null,
            "RecordNumMax": 0,
            "LastTimeStamp": "2024-09-11T07:11:00",
            "ErrorCode": 8000,
            "HasError": false,
            "LastReset": "2024-04-22T19:12:41.231",
            "FlashWrites": 5,
            "Scene": null,
            "SSLExpirationDate": "2037-12-31T00:00:00",
            "SPTimeout": 1,
            "Passcode": null,
            "ServerCommunicationDisabled": false,
            "ConsecutiveUploadErrors": 0,
            "DoNotRespondAfter": null,
            "OwnerRoleAccessLevel": 1,
            "OwnerCountry": 237,
            "HideEnergyReport": false,
            "ExceptionHash": null,
            "ExceptionDate": null,
            "ExceptionCount": null,
            "Rate1StartTime": null,
            "Rate2StartTime": null,
            "ProtocolVersion": 0,
            "UnitVersion": 0,
            "FirmwareAppVersion": 37000,
            "FirmwareWebVersion": 0,
            "FirmwareWlanVersion": 0,
            "LinkToMELCloudHome": false,
            "LinkedByUserFromMELCloudHome": "00000000-0000-0000-0000-000000000000",
            "MqttFlags": 9,
            "HasErrorMessages": false,
            "HasZone2": false,
            "Offline": false,
            "SupportsHourlyEnergyReport": true,
            "Units": [
              {
                "ID": 1,
                "Device": 0,
                "SerialNumber": null,
                "ModelNumber": 108,
                "Model": "MUZ-GE60VA",
                "UnitType": 0,
                "IsIndoor": false
              },
              {
                "ID": 2,
                "Device": 0,
                "SerialNumber": null,
                "ModelNumber": 23,
                "Model": "MSZ-GE60VA",
                "UnitType": 1,
                "IsIndoor": true
              }
            ]
          },
          "DiagnosticMode": 0,
          "DiagnosticEndDate": null,
          "Location": 153275,
          "DetectedCountry": null,
          "Registrations": 44,
          "LocalIPAddress": null,
          "TimeZone": 118,
          "RegistReason": "CONFIG",
          "ExpectedCommand": 1,
          "RegistRetry": 0,
          "DateCreated": "2023-07-04T12:51:21.23Z",
          "FirmwareDeployment": null,
          "FirmwareUpdateAborted": false,
          "Permissions": {
            "CanSetOperationMode": true,
            "CanSetFanSpeed": true,
            "CanSetVaneDirection": true,
            "CanSetPower": true,
            "CanSetTemperatureIncrementOverride": true,
            "CanDisableLocalController": true,
            "CanSetDemandSideControl": false
          }
        }
      ],
      "Clients": []
    },
    "AccessLevel": 4,
    "DirectAccess": true,
    "MinTemperature": 0,
    "MaxTemperature": 40,
    "Owner": null,
    "EndDate": "2500-01-01T00:00:00",
    "iDateBuilt": null,
    "QuantizedCoordinates": {
      "Latitude": 0.0,
      "Longitude": 0.0
    }
  }
]
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Account Primary, debug: Data saved to: /var/lib/homebridge/melcloud/Primary_Buildings.
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Account Primary, debug: Buildings list saved.
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Account Primary, debug: Data saved to: /var/lib/homebridge/melcloud/Primary_Devices.
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Account Primary, debug: 1 devices saved.
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, debug: Device Data: {
  "DeviceID": xxxxxxxx,
  "DeviceName": "Living Room",
  "BuildingID": xxxxxx,
  "BuildingName": null,
  "FloorID": null,
  "FloorName": null,
  "AreaID": null,
  "AreaName": null,
  "ImageID": -9,
  "InstallationDate": null,
  "LastServiceDate": null,
  "Presets": [],
  "OwnerID": xxxxxx,
  "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,
  "EstimateAtaEnergyProductionOptIn": false,
  "EstimateAtaEnergyProduction": false,
  "BuildingCountry": null,
  "OwnerCountry": null,
  "AdaptorType": 3,
  "LinkedDevice": null,
  "Type": 0,
  "MacAddress": "xx:xx:xx:xx:xx:xx",
  "SerialNumber": "xxxxxxxxxx",
  "Device": {
    "PCycleActual": 0,
    "ErrorMessages": "",
    "DeviceType": 0,
    "CanCool": true,
    "CanHeat": true,
    "CanDry": true,
    "CanAuto": true,
    "HasAutomaticFanSpeed": true,
    "AirDirectionFunction": true,
    "SwingFunction": true,
    "NumberOfFanSpeeds": 4,
    "UseTemperatureA": true,
    "TemperatureIncrementOverride": 0,
    "TemperatureIncrement": 0.5,
    "MinTempCoolDry": 16,
    "MaxTempCoolDry": 31,
    "MinTempHeat": 10,
    "MaxTempHeat": 31,
    "MinTempAutomatic": 16,
    "MaxTempAutomatic": 31,
    "LegacyDevice": false,
    "UnitSupportsStandbyMode": true,
    "IsSplitSystem": false,
    "HasHalfDegreeIncrements": true,
    "HasOutdoorTemperature": false,
    "ModelIsAirCurtain": false,
    "ModelSupportsFanSpeed": true,
    "ModelSupportsAuto": true,
    "ModelSupportsHeat": true,
    "ModelSupportsDry": true,
    "ModelSupportsVaneVertical": true,
    "ModelSupportsVaneHorizontal": true,
    "ModelSupportsWideVane": false,
    "ModelDisableEnergyReport": false,
    "ModelSupportsStandbyMode": true,
    "ModelSupportsEnergyReporting": false,
    "ProhibitSetTemperature": false,
    "ProhibitOperationMode": false,
    "ProhibitPower": false,
    "Power": true,
    "RoomTemperature": 29,
    "OutdoorTemperature": null,
    "SetTemperature": 26,
    "ActualFanSpeed": 2,
    "FanSpeed": 0,
    "AutomaticFanSpeed": true,
    "VaneVerticalDirection": 0,
    "VaneVerticalSwing": false,
    "VaneHorizontalDirection": 12,
    "VaneHorizontalSwing": true,
    "OperationMode": 7,
    "EffectiveFlags": 0,
    "LastEffectiveFlags": 0,
    "InStandbyMode": false,
    "DemandPercentage": 100,
    "ConfiguredDemandPercentage": null,
    "HasDemandSideControl": false,
    "DefaultCoolingSetTemperature": 26,
    "DefaultHeatingSetTemperature": 23,
    "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,
    "EstimateAtaEnergyProduction": false,
    "EstimateAtaEnergyProductionOptIn": false,
    "EstimateAtaEnergyProductionOptInTimestamp": null,
    "WeatherForecast": [],
    "HasEnergyConsumedMeter": false,
    "CurrentEnergyConsumed": 0,
    "CurrentEnergyMode": 7,
    "CoolingDisabled": false,
    "EnergyCorrectionModel": null,
    "EnergyCorrectionActive": false,
    "MinPcycle": 1,
    "MaxPcycle": 1,
    "EffectivePCycle": 1,
    "MaxOutdoorUnits": 255,
    "MaxIndoorUnits": 255,
    "MaxTemperatureControlUnits": 0,
    "ModelCode": "0130",
    "DeviceID": xxxxxxxx,
    "MacAddress": "xx:xx:xx:xx:xx:xx",
    "SerialNumber": "xxxxxxxxxx",
    "TimeZoneID": 118,
    "DiagnosticMode": 0,
    "DiagnosticEndDate": null,
    "ExpectedCommand": 1,
    "Owner": xxxxxx,
    "DetectedCountry": null,
    "AdaptorType": 3,
    "FirmwareDeployment": null,
    "FirmwareUpdateAborted": false,
    "LinkedDevice": null,
    "WifiSignalStrength": -29,
    "WifiAdapterStatus": "NORMAL",
    "Position": "Unknown",
    "PCycle": 10,
    "PCycleConfigured": null,
    "RecordNumMax": 0,
    "LastTimeStamp": "2024-09-11T07:11:00",
    "ErrorCode": 8000,
    "HasError": false,
    "LastReset": "2024-04-22T19:12:41.231",
    "FlashWrites": 5,
    "Scene": null,
    "SSLExpirationDate": "2037-12-31T00:00:00",
    "SPTimeout": 1,
    "Passcode": null,
    "ServerCommunicationDisabled": false,
    "ConsecutiveUploadErrors": 0,
    "DoNotRespondAfter": null,
    "OwnerRoleAccessLevel": 1,
    "OwnerCountry": 237,
    "HideEnergyReport": false,
    "ExceptionHash": null,
    "ExceptionDate": null,
    "ExceptionCount": null,
    "Rate1StartTime": null,
    "Rate2StartTime": null,
    "ProtocolVersion": 0,
    "UnitVersion": 0,
    "FirmwareAppVersion": 37000,
    "FirmwareWebVersion": 0,
    "FirmwareWlanVersion": 0,
    "LinkToMELCloudHome": false,
    "LinkedByUserFromMELCloudHome": "00000000-0000-0000-0000-000000000000",
    "MqttFlags": 9,
    "HasErrorMessages": false,
    "HasZone2": false,
    "Offline": false,
    "SupportsHourlyEnergyReport": true,
    "Units": [
      {
        "ID": 1,
        "Device": 0,
        "SerialNumber": null,
        "ModelNumber": 108,
        "Model": "MUZ-GE60VA",
        "UnitType": 0,
        "IsIndoor": false
      },
      {
        "ID": 2,
        "Device": 0,
        "SerialNumber": null,
        "ModelNumber": 23,
        "Model": "MSZ-GE60VA",
        "UnitType": 1,
        "IsIndoor": true
      }
    ]
  },
  "DiagnosticMode": 0,
  "DiagnosticEndDate": null,
  "Location": 153275,
  "DetectedCountry": null,
  "Registrations": 44,
  "LocalIPAddress": null,
  "TimeZone": 118,
  "RegistReason": "CONFIG",
  "ExpectedCommand": 1,
  "RegistRetry": 0,
  "DateCreated": "2023-07-04T12:51:21.23Z",
  "FirmwareDeployment": null,
  "FirmwareUpdateAborted": false,
  "Permissions": {
    "CanSetOperationMode": true,
    "CanSetFanSpeed": true,
    "CanSetVaneDirection": true,
    "CanSetPower": true,
    "CanSetTemperatureIncrementOverride": true,
    "CanDisableLocalController": true,
    "CanSetDemandSideControl": false
  }
}
[11/09/2024, 14:11:56] [homebridge-melcloud-control] ---- Air Conditioner: Living Room ----
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Account: Primary
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Indoor: MSZ-GE60VA
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Outdoor: MUZ-GE60VA
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Serial: xxxxxxxxxx
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Firmware: 37000
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Manufacturer: Mitsubishi
[11/09/2024, 14:11:56] [homebridge-melcloud-control] ----------------------------------
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29°C
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, debug: Prepare accessory
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, debug: Prepare information service
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, debug: Prepare heater/cooler service
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Air Conditioner, Living Room, debug: Prepare buttons/sensors services
[11/09/2024, 14:11:56] [homebridge-melcloud-control] Primary, Air Conditioner Living Room, published as external accessory.
[11/09/2024, 14:11:56] Living Room 0000 is running on port 46463.
[11/09/2024, 14:11:56] Please add [Living Room 0000] manually in Home app. Setup Code: 000-00-000
[11/09/2024, 14:12:01] [homebridge-melcloud-control] Air Conditioner, Living Room, debug: Device Data: {...}
[11/09/2024, 14:12:06] [homebridge-melcloud-control] Air Conditioner, Living Room, debug: Device Data: {...}
[11/09/2024, 14:12:11] [homebridge-melcloud-control] Air Conditioner, Living Room, debug: Device Data: {...}
[11/09/2024, 14:12:16] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 14:12:16] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 14:12:16] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29°C
[11/09/2024, 14:12:16] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[11/09/2024, 14:12:16] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 14:12:16] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 14:12:16] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 14:12:16] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 14:12:16] [homebridge-melcloud-control] Air Conditioner, Living Room, Set: 送風模式
[11/09/2024, 14:12:16] [homebridge-melcloud-control] Air Conditioner, Living Room, debug: Device Data: {
  "DeviceID": xxxxxxxx,
  "DeviceName": "Living Room",
  "BuildingID": xxxxxx,
  "BuildingName": null,
  "FloorID": null,
  "FloorName": null,
  "AreaID": null,
  "AreaName": null,
  "ImageID": -9,
  "InstallationDate": null,
  "LastServiceDate": null,
  "Presets": [],
  "OwnerID": xxxxxx,
  "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,
  "EstimateAtaEnergyProductionOptIn": false,
  "EstimateAtaEnergyProduction": false,
  "BuildingCountry": null,
  "OwnerCountry": null,
  "AdaptorType": 3,
  "LinkedDevice": null,
  "Type": 0,
  "MacAddress": "xx:xx:xx:xx:xx:xx",
  "SerialNumber": "xxxxxxxxxx",
  "Device": {
    "PCycleActual": 0,
    "ErrorMessages": "",
    "DeviceType": 0,
    "CanCool": true,
    "CanHeat": true,
    "CanDry": true,
    "CanAuto": true,
    "HasAutomaticFanSpeed": true,
    "AirDirectionFunction": true,
    "SwingFunction": true,
    "NumberOfFanSpeeds": 4,
    "UseTemperatureA": true,
    "TemperatureIncrementOverride": 0,
    "TemperatureIncrement": 0.5,
    "MinTempCoolDry": 16,
    "MaxTempCoolDry": 31,
    "MinTempHeat": 10,
    "MaxTempHeat": 31,
    "MinTempAutomatic": 16,
    "MaxTempAutomatic": 31,
    "LegacyDevice": false,
    "UnitSupportsStandbyMode": true,
    "IsSplitSystem": false,
    "HasHalfDegreeIncrements": true,
    "HasOutdoorTemperature": false,
    "ModelIsAirCurtain": false,
    "ModelSupportsFanSpeed": true,
    "ModelSupportsAuto": true,
    "ModelSupportsHeat": true,
    "ModelSupportsDry": true,
    "ModelSupportsVaneVertical": true,
    "ModelSupportsVaneHorizontal": true,
    "ModelSupportsWideVane": false,
    "ModelDisableEnergyReport": false,
    "ModelSupportsStandbyMode": true,
    "ModelSupportsEnergyReporting": false,
    "ProhibitSetTemperature": false,
    "ProhibitOperationMode": false,
    "ProhibitPower": false,
    "Power": true,
    "RoomTemperature": 29,
    "OutdoorTemperature": null,
    "SetTemperature": 26,
    "ActualFanSpeed": 2,
    "FanSpeed": 0,
    "AutomaticFanSpeed": true,
    "VaneVerticalDirection": 0,
    "VaneVerticalSwing": false,
    "VaneHorizontalDirection": 12,
    "VaneHorizontalSwing": true,
    "OperationMode": 7,
    "EffectiveFlags": 0,
    "LastEffectiveFlags": 0,
    "InStandbyMode": false,
    "DemandPercentage": 100,
    "ConfiguredDemandPercentage": null,
    "HasDemandSideControl": false,
    "DefaultCoolingSetTemperature": 26,
    "DefaultHeatingSetTemperature": 23,
    "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,
    "EstimateAtaEnergyProduction": false,
    "EstimateAtaEnergyProductionOptIn": false,
    "EstimateAtaEnergyProductionOptInTimestamp": null,
    "WeatherForecast": [],
    "HasEnergyConsumedMeter": false,
    "CurrentEnergyConsumed": 0,
    "CurrentEnergyMode": 7,
    "CoolingDisabled": false,
    "EnergyCorrectionModel": null,
    "EnergyCorrectionActive": false,
    "MinPcycle": 1,
    "MaxPcycle": 1,
    "EffectivePCycle": 1,
    "MaxOutdoorUnits": 255,
    "MaxIndoorUnits": 255,
    "MaxTemperatureControlUnits": 0,
    "ModelCode": "0130",
    "DeviceID": xxxxxxxx,
    "MacAddress": "xx:xx:xx:xx:xx:xx",
    "SerialNumber": "xxxxxxxxxx",
    "TimeZoneID": 118,
    "DiagnosticMode": 0,
    "DiagnosticEndDate": null,
    "ExpectedCommand": 1,
    "Owner": xxxxxx,
    "DetectedCountry": null,
    "AdaptorType": 3,
    "FirmwareDeployment": null,
    "FirmwareUpdateAborted": false,
    "LinkedDevice": null,
    "WifiSignalStrength": -29,
    "WifiAdapterStatus": "NORMAL",
    "Position": "Unknown",
    "PCycle": 10,
    "PCycleConfigured": null,
    "RecordNumMax": 0,
    "LastTimeStamp": "2024-09-11T07:11:00",
    "ErrorCode": 8000,
    "HasError": false,
    "LastReset": "2024-04-22T19:12:41.231",
    "FlashWrites": 5,
    "Scene": null,
    "SSLExpirationDate": "2037-12-31T00:00:00",
    "SPTimeout": 1,
    "Passcode": null,
    "ServerCommunicationDisabled": false,
    "ConsecutiveUploadErrors": 0,
    "DoNotRespondAfter": null,
    "OwnerRoleAccessLevel": 1,
    "OwnerCountry": 237,
    "HideEnergyReport": false,
    "ExceptionHash": null,
    "ExceptionDate": null,
    "ExceptionCount": null,
    "Rate1StartTime": null,
    "Rate2StartTime": null,
    "ProtocolVersion": 0,
    "UnitVersion": 0,
    "FirmwareAppVersion": 37000,
    "FirmwareWebVersion": 0,
    "FirmwareWlanVersion": 0,
    "LinkToMELCloudHome": false,
    "LinkedByUserFromMELCloudHome": "00000000-0000-0000-0000-000000000000",
    "MqttFlags": 9,
    "HasErrorMessages": false,
    "HasZone2": false,
    "Offline": false,
    "SupportsHourlyEnergyReport": true,
    "Units": [
      {
        "ID": 1,
        "Device": 0,
        "SerialNumber": null,
        "ModelNumber": 108,
        "Model": "MUZ-GE60VA",
        "UnitType": 0,
        "IsIndoor": false
      },
      {
        "ID": 2,
        "Device": 0,
        "SerialNumber": null,
        "ModelNumber": 23,
        "Model": "MSZ-GE60VA",
        "UnitType": 1,
        "IsIndoor": true
      }
    ]
  },
  "DiagnosticMode": 0,
  "DiagnosticEndDate": null,
  "Location": 153275,
  "DetectedCountry": null,
  "Registrations": 44,
  "LocalIPAddress": null,
  "TimeZone": 118,
  "RegistReason": "CONFIG",
  "ExpectedCommand": 1,
  "RegistRetry": 0,
  "DateCreated": "2023-07-04T12:51:21.23Z",
  "FirmwareDeployment": null,
  "FirmwareUpdateAborted": false,
  "Permissions": {
    "CanSetOperationMode": true,
    "CanSetFanSpeed": true,
    "CanSetVaneDirection": true,
    "CanSetPower": true,
    "CanSetTemperatureIncrementOverride": true,
    "CanDisableLocalController": true,
    "CanSetDemandSideControl": false
  }
}
grzegorz914 commented 3 weeks ago

Ok, what you want to do if you set button from ON to OFF, what need to be set?

sam-cheuk commented 3 weeks ago

Oh, my mistake! I thought the behavior in v2 was different from that in v3.1.16. However, the behavior is actually the same when I reverted to v2 and tested it.

So, it’s a suggestion rather than a behavior issue. Is it possible to revert the operation mode to the "selected" setting in the Home app once the MODE button is switched OFF? This is especially relevant for operation modes that are not supported by the Home app, such as FAN and DRY. For example, in my case shown in the screenshot below, it switches to COOL when I turn OFF the FAN button.

image

Alternatively, a more flexible suggestion would be to allow the operation mode buttons to be configured to set a fallback operation mode when switched from ON to OFF.

For me personally, the first suggestion would be sufficient.

grzegorz914 commented 3 weeks ago

try v3.2.0, now the buttons after set to OFF restore the previous state before ON

sam-cheuk commented 3 weeks ago

I just tried v3.2.0, and it still remains in FAN mode when set MODE FAN button to OFF.

[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29°C
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 23°C
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Set: 送風模式
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29°C
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 23°C
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Set: 送風模式
grzegorz914 commented 3 weeks ago

because was in FAN mode before

sam-cheuk commented 3 weeks ago

Actually, I switched to AUTO and switched ON the MODE FAN button, which then switched to FAN mode as expected. However, it remains in FAN mode when I switch OFF the MODE FAN button.

This is a more comprehensive log

[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: AUTO
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29°C
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 23°C
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Set power: ON
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: AUTO
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29°C
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 23°C
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 15:50:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Set operation mode: AUTO
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29°C
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 23°C
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 15:50:38] [homebridge-melcloud-control] Air Conditioner, Living Room, Set: 送風模式
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29°C
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 23°C
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 15:50:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Set: 送風模式
grzegorz914 commented 3 weeks ago

All is correct here only the log need to be corrected, update to 3.2.1 and get the log again

sam-cheuk commented 3 weeks ago

Here is the complete log after upgraded to v3.2.1, what I've performed in Home app:

  1. Switch ON the AC - AC was turned ON and in COOL mode, MODE FAN button state is OFF
  2. Switch ON the MODE FAN button - AC was changed to FAN mode, MODE FAN button state keeps ON
  3. Switch OFF the MODE FAN button - AC remained in FAN mode, MODE FAN button state reverted to ON after several seconds

Question: Expect step 3 will change AC to COOL mode, isn't it? Otherwise, it never restore the previous state before MODE FAN button switched ON

[11/09/2024, 16:27:18] [homebridge-melcloud-control] Restarting Process...
[11/09/2024, 16:27:19] [homebridge-melcloud-control] Launched child bridge with PID 2104576
[11/09/2024, 16:27:19] [homebridge-melcloud-control] Loaded homebridge-melcloud-control v3.2.1 child bridge successfully
[11/09/2024, 16:27:21] [homebridge-melcloud-control] Account Primary, Connect to MELCloud Success.
[11/09/2024, 16:27:22] [homebridge-melcloud-control] ---- Air Conditioner: Living Room ----
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Account: Primary
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Indoor: MSZ-GE60VA
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Outdoor: MUZ-GE60VA
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Serial: XXXXXXXXXX
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Firmware: 37000
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Manufacturer: Mitsubishi
[11/09/2024, 16:27:22] [homebridge-melcloud-control] ----------------------------------
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: OFF
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: AIR CONDITIONER OFF
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 30°C
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 16:27:22] [homebridge-melcloud-control] Primary, Air Conditioner Living Room, published as external accessory.
[11/09/2024, 16:27:34] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 16:27:34] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[11/09/2024, 16:27:34] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[11/09/2024, 16:27:34] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 30°C
[11/09/2024, 16:27:34] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 16:27:34] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 16:27:34] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 16:27:34] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 16:27:34] [homebridge-melcloud-control] Air Conditioner, Living Room, Set power: ON
[11/09/2024, 16:27:35] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 16:27:35] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[11/09/2024, 16:27:35] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[11/09/2024, 16:27:35] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 30°C
[11/09/2024, 16:27:35] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 16:27:35] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 16:27:35] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 16:27:35] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 16:27:35] [homebridge-melcloud-control] Air Conditioner, Living Room, Set operation mode: COOLING
[11/09/2024, 16:27:48] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 16:27:48] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 16:27:48] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[11/09/2024, 16:27:48] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 30°C
[11/09/2024, 16:27:48] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 16:27:48] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 16:27:48] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 16:27:48] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 16:27:48] [homebridge-melcloud-control] Air Conditioner, Living Room, Set button error: ReferenceError: set is not defined
[11/09/2024, 16:28:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 16:28:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 16:28:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[11/09/2024, 16:28:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 30°C
[11/09/2024, 16:28:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 16:28:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 16:28:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 16:28:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 16:28:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Set button error: ReferenceError: set is not defined
grzegorz914 commented 3 weeks ago

try again 3.2.2 and get the log

sam-cheuk commented 3 weeks ago

Here is the complete log after upgraded to v3.2.2, same actions as performed in my last reply:

[11/09/2024, 16:50:29] [homebridge-melcloud-control] Restarting Process...
[11/09/2024, 16:50:30] [homebridge-melcloud-control] Launched child bridge with PID 2109250
[11/09/2024, 16:50:31] [homebridge-melcloud-control] Loaded homebridge-melcloud-control v3.2.2 child bridge successfully
[11/09/2024, 16:50:32] [homebridge-melcloud-control] Account Primary, Connect to MELCloud Success.
[11/09/2024, 16:50:33] [homebridge-melcloud-control] ---- Air Conditioner: Living Room ----
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Account: Primary
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Indoor: MSZ-GE60VA
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Outdoor: MUZ-GE60VA
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Serial: XXXXXXXXXX
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Firmware: 37000
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Manufacturer: Mitsubishi
[11/09/2024, 16:50:33] [homebridge-melcloud-control] ----------------------------------
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: OFF
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: AIR CONDITIONER OFF
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 30°C
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 16:50:33] [homebridge-melcloud-control] Primary, Air Conditioner Living Room, published as external accessory.
[11/09/2024, 16:50:49] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 16:50:49] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[11/09/2024, 16:50:49] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[11/09/2024, 16:50:49] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 30°C
[11/09/2024, 16:50:49] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 16:50:49] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 16:50:49] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 16:50:49] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 16:50:49] [homebridge-melcloud-control] Air Conditioner, Living Room, Set power: ON
[11/09/2024, 16:50:50] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 16:50:50] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[11/09/2024, 16:50:50] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[11/09/2024, 16:50:50] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 30°C
[11/09/2024, 16:50:50] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 16:50:50] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 16:50:50] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 16:50:50] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 16:50:50] [homebridge-melcloud-control] Air Conditioner, Living Room, Set operation mode: COOLING
[11/09/2024, 16:51:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 16:51:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 16:51:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[11/09/2024, 16:51:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 30°C
[11/09/2024, 16:51:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 16:51:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 16:51:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 16:51:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 16:51:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Set: 送風模式, Value: 3
[11/09/2024, 16:51:23] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 16:51:23] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 16:51:23] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[11/09/2024, 16:51:23] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 30°C
[11/09/2024, 16:51:23] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 16:51:23] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 16:51:23] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 16:51:23] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 16:51:23] [homebridge-melcloud-control] Air Conditioner, Living Room, Unset: 送風模式, Value: 7
grzegorz914 commented 3 weeks ago

fixed in 3.2.4

sam-cheuk commented 3 weeks ago

Thanks for the fix! It can restore the previous state before the MODE FAN button is switched ON now.

There's one scenario I’m wondering about: should the value be "AIR CONDITIONER OFF" when the AC is powered OFF and the MODE FAN button is switched ON? In this case, it should turn off the AC (which is its previous state) when the MODE FAN button is switched OFF, rather than the state remaining unchanged.

[11/09/2024, 18:01:40] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: OFF
[11/09/2024, 18:01:40] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: AIR CONDITIONER OFF
[11/09/2024, 18:01:40] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[11/09/2024, 18:01:40] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[11/09/2024, 18:01:40] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 18:01:40] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 18:01:40] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 18:01:40] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 18:03:42] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 18:03:42] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 18:03:42] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[11/09/2024, 18:03:42] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[11/09/2024, 18:03:42] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 18:03:42] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 18:03:42] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 18:03:42] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 18:03:42] [homebridge-melcloud-control] Air Conditioner, Living Room, Set:  送風模式, Value: 7
[11/09/2024, 18:04:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[11/09/2024, 18:04:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[11/09/2024, 18:04:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[11/09/2024, 18:04:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[11/09/2024, 18:04:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[11/09/2024, 18:04:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[11/09/2024, 18:04:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[11/09/2024, 18:04:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[11/09/2024, 18:04:09] [homebridge-melcloud-control] Air Conditioner, Living Room, Unset: 送風模式, Value: 7
grzegorz914 commented 3 weeks ago

If the AC unit is OFF or go to OFF all buttons update its state to OFF. The buttons store only its mode state and can only Powered ON the AC device

sam-cheuk commented 3 weeks ago

I’m just brainstorming - is it possible to obtain the last operation mode from MELCloud directly, considering it separates the power state and operation mode?

grzegorz914 commented 3 weeks ago

Yes, this is possible but in plugin we have also separate Power and Operation Mode. I quit don't understanding hat You want to do? If you be more specific with Your Idea then I will implement this if possible.

grzegorz914 commented 2 weeks ago

Try 3.2.6-beta. Here I added in AUTO mode possibility to set lo and hi temp, let me know if this work.

sam-cheuk commented 2 weeks ago

Let me explain my scenario.

I allow the fan of the indoor unit to continue running for another 30 minutes after turning off the AC. This helps ventilate and dry the heat exchanger, providing a self-cleaning function similar to what other brands offer, but not what Mitsubishi Electric AC provides.

To achieve this, I installed a Homebridge plugin called "homebridge-delay-switch," which works in conjunction with "homebridge-melcloud-control" to perform the following operations:

  1. When I want to turn OFF the AC, I switch ON the dedicated delay switch instead of turning OFF the AC directly
  2. (Home app automation) When the delay switch is ON and the AC is in COOL operation mode, the MODE FAN button is activated
  3. After 30 minutes, the delay switch automatically switches OFF and triggers the associated motion sensor
  4. (Home app automation) When the motion sensor is triggered, the AC is turned OFF and set to FAN operation mode, as shown in MELCloud app

On another day, when a shortcut in Home app is used to turn ON the AC in COOL operation mode, it works as expected sometimes, but at other times, the AC turns ON and remains in FAN operation mode. I'm unsure if this is a plugin issue or a shortcut issue. When this happens, I have to go into the Home app and manually adjust the operation modes to activate COOL mode.

Here is a screenshot of the shortcut configured to turn ON the AC in COOL operation mode image

Here is the log for my actions to activate the COOL operation mode: (Note: Although the log shows COOLING when powered ON [timestamp - 12/09/2024, 19:23:45], the actual operation mode of the AC remains in FAN until manually adjust the operation mode to COOL [timestamp - 12/09/2024, 19:24:28 & 12/09/2024, 19:24:29])

[12/09/2024, 12:43:37] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: OFF
[12/09/2024, 12:43:37] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: AIR CONDITIONER OFF
[12/09/2024, 12:43:37] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[12/09/2024, 12:43:37] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 12:43:37] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 12:43:37] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 12:43:37] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 12:43:37] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 17:49:46] [homebridge-melcloud-control] Account Primary, Check devices list: Error: Scanning for devices error: timeout of 10000ms exceeded...
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Set heating threshold temperature: 26°C
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 19:23:44] [homebridge-melcloud-control] Air Conditioner, Living Room, Set local physical controls: UNLOCK
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Set cooling threshold temperature: 26°C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Set power: ON
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Set operation mode: COOLING
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Set fan speed mode: AUTO
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 19:23:45] [homebridge-melcloud-control] Air Conditioner, Living Room, Set vane swing mode: AUTO
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: HEATING
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Set power: ON
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: HEATING
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 19:24:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Set operation mode: HEATING
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Set power: ON
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[12/09/2024, 19:24:29] [homebridge-melcloud-control] Air Conditioner, Living Room, Set operation mode: COOLING
[12/09/2024, 19:25:41] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[12/09/2024, 19:25:41] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[12/09/2024, 19:25:41] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 29.5°C
[12/09/2024, 19:25:41] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[12/09/2024, 19:25:41] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[12/09/2024, 19:25:41] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[12/09/2024, 19:25:41] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[12/09/2024, 19:25:41] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
sam-cheuk commented 2 weeks ago

Regarding the changes in v3.2.6-beta, I noticed from the CHANGELOG that it has been consolidated into v3.3.0, so I upgraded to v3.3.0 for testing.

However, I'm not quite familiar with AUTO operation mode, especially since the Home app has separate heating and cooling thresholds, while MELCloud only has one temperature setting that seems to combine both COOL and HEAT.

Could you clarify the mapping between these settings?

grzegorz914 commented 2 weeks ago

In 3.3.0 I have added full support for AUTO mode, you can set Heating And Cooling threshold separately. Try to use it and let me know.

sam-cheuk commented 2 weeks ago

Is this the correct behavior? I noticed that the heating threshold temperature changed automatically from 23°C to 22°C at 2:31:32, and then the AC switched to HEAT mode while the current room temperature was at 26°C. Additionally, I'm unsure why it changed to 24°C as well, which seems incorrect.

[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: AUTO
[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 26°C
[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Heating threshold temperature: 23°C
[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Cooling threshold temperature: 26°C
[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[13/09/2024, 02:29:27] [homebridge-melcloud-control] Air Conditioner, Living Room, Set heating threshold temperature: 23°C
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: AUTO
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 26°C
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Heating threshold temperature: 23°C
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Cooling threshold temperature: 26°C
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[13/09/2024, 02:29:28] [homebridge-melcloud-control] Air Conditioner, Living Room, Set cooling threshold temperature: 26°C
[13/09/2024, 02:29:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[13/09/2024, 02:29:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: AUTO
[13/09/2024, 02:29:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 26°C
[13/09/2024, 02:29:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Heating threshold temperature: 23°C
[13/09/2024, 02:29:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Cooling threshold temperature: 26°C
[13/09/2024, 02:29:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[13/09/2024, 02:29:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[13/09/2024, 02:29:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[13/09/2024, 02:29:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[13/09/2024, 02:29:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[13/09/2024, 02:29:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[13/09/2024, 02:31:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[13/09/2024, 02:31:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: AUTO
[13/09/2024, 02:31:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 24°C
[13/09/2024, 02:31:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Heating threshold temperature: 22°C
[13/09/2024, 02:31:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Cooling threshold temperature: 26°C
[13/09/2024, 02:31:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[13/09/2024, 02:31:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[13/09/2024, 02:31:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[13/09/2024, 02:31:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[13/09/2024, 02:31:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[13/09/2024, 02:31:32] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
sam-cheuk commented 2 weeks ago

I just experienced the issue again. I turned on the AC in COOL mode at 14:17:51 ( There's an entry showing "Set operation mode: COOLING" at 14:17:52 ). Although the log shows it as COOLING, the AC remained in FAN mode in reality. The log eventually shows FAN at 14:19:33.

Is this a problem with the MELCloud API that cannot be resolved until MELCloud addresses it?

[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 26°C
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Set vane swing mode: AUTO
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 26°C
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Set heating threshold temperature: 26°C
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 26°C
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[14/09/2024, 14:17:51] [homebridge-melcloud-control] Air Conditioner, Living Room, Set local physical controls: UNLOCK
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 26°C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Set cooling threshold temperature: 26°C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 26°C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Set fan speed mode: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 26°C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Set operation mode: COOLING
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: COOLING
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 26°C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
[14/09/2024, 14:17:52] [homebridge-melcloud-control] Air Conditioner, Living Room, Set power: ON
[14/09/2024, 14:19:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Power: ON
[14/09/2024, 14:19:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Operation mode: FAN
[14/09/2024, 14:19:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Room temperature: 30°C
[14/09/2024, 14:19:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Target temperature: 26°C
[14/09/2024, 14:19:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Fan speed mode: AUTO
[14/09/2024, 14:19:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane horizontal: SWING
[14/09/2024, 14:19:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane vertical: AUTO
[14/09/2024, 14:19:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Vane swing mode: AUTO
[14/09/2024, 14:19:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Temperature display unit: °C
[14/09/2024, 14:19:33] [homebridge-melcloud-control] Air Conditioner, Living Room, Lock physical controls: UNLOCKED
grzegorz914 commented 2 weeks ago

You set many operation in this log, If you want to test something make only one and same operation at a time. In other case you need to know the current state data on MELCLoud server is refreshed every 120sec by default, You can decrease it in plugin config but possible problems with api throttling and lock temporary account.

grzegorz914 commented 2 weeks ago

I have personally set 90sec and all is correct since 1 week