NEWS
Test Adapter melcloud v2.0.x Latest
-
@ralf_62 Das kommt drauf an, ob diese Information von der API mitgegeben wird. Ist das denn in der Melcloud-App selbst ersichtlich? Wenn ja, sollte sich das relativ problemlos auch im Adapter integrieren lassen.
-
@black-thunder Das sieht nicht so gut aus, in der App kann ich nichts finden, dass mir den Betrieb abbildet. Auch ein Umweg z.B. über die Drehzahl des Ventilators ist nicht möglich. Da ich noch ein Energiemessgerät einbauen werde, kann ich das dann vielleicht über die Stromaufnahme feststellen.
-
@ralf_62 Schade, dann wird es wohl keine Möglichkeit geben, das so einfach in den Adapter aufzunehmen. Im Prinzip bilde ich hier auch nur das ab, was in der App passiert bzw. möglich ist.
Da wird dann dann die Erkennung über die Stromaufnahme wirklich der zielführendste Weg sein. -
@black-thunder Habe jetzt die Response vom Melcloud-Server.
Direkt nach dem Start ist manchmal das ein oder andere der fünf Geräte "online", meist werden aber alle als Offline angezeigt. Steuerbar sind jedoch alle (per Adapter oder App) und der Adapter an sich ist auch "grün".
Sind es vielleicht zu viele Geräte?
[ { "ID": 123456, "Name": "Familie XXX ", "AddressLine1": "XXX", "AddressLine2": null, "City": "XXX ", "Postcode": "12345", "Latitude": 50.0, "Longitude": 10.0, "District": null, "FPDefined": false, "FPEnabled": false, "FPMinTemperature": 14, "FPMaxTemperature": 16, "HMDefined": false, "HMEnabled": false, "HMStartDate": null, "HMEndDate": null, "BuildingType": 1, "PropertyType": 8, "DateBuilt": null, "HasGasSupply": true, "LocationLookupDate": "2022-09-18T17:53:31.827", "Country": 85, "TimeZoneContinent": 3, "TimeZoneCity": 49, "TimeZone": 119, "Location": 1, "CoolingDisabled": false, "Expanded": true, "Structure": { "Floors": [ { "ID": 142712, "Name": "DG", "BuildingId": 174639, "AccessLevel": 4, "DirectAccess": false, "EndDate": "2500-01-01T00:00:00", "Areas": [], "Devices": [ { "DeviceID": 65089022, "DeviceName": "Dach-Nord", "BuildingID": 174639, "BuildingName": null, "FloorID": 142712, "FloorName": null, "AreaID": null, "AreaName": null, "ImageID": -6, "InstallationDate": null, "LastServiceDate": null, "Presets": [ { "SetTemperature": 20, "Power": true, "OperationMode": 1, "VaneHorizontal": 12, "VaneVertical": 0, "FanSpeed": 0, "ID": 385844, "Client": 235906, "DeviceLocation": 65089022, "Number": 1, "Configuration": "<settings><st>20</st><pw>true</pw><om>1</om><vd>0</vd><hd>12</hd><fs>0</fs></settings>", "NumberDescription": "Heizen" } ], "OwnerID": 235906, "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": "2bb68619-2a03-4af9-9b46-80adb4be0701", "Type": 0, "MacAddress": "c4:ac:59:4d:2f:4b", "SerialNumber": "1911248141", "Device": { "PCycleActual": 0, "ErrorMessages": "", "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, "MaxTempCoolDry": 31, "MinTempHeat": 10, "MaxTempHeat": 31, "MinTempAutomatic": 16, "MaxTempAutomatic": 31, "LegacyDevice": false, "UnitSupportsStandbyMode": true, "IsSplitSystem": true, "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": 22, "SetTemperature": 17, "ActualFanSpeed": 0, "FanSpeed": 5, "AutomaticFanSpeed": false, "VaneVerticalDirection": 3, "VaneVerticalSwing": false, "VaneHorizontalDirection": 3, "VaneHorizontalSwing": false, "OperationMode": 3, "EffectiveFlags": 0, "LastEffectiveFlags": 0, "InStandbyMode": false, "DemandPercentage": 100, "ConfiguredDemandPercentage": null, "HasDemandSideControl": false, "DefaultCoolingSetTemperature": 21, "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, "HasEnergyConsumedMeter": true, "CurrentEnergyConsumed": 500, "CurrentEnergyMode": 3, "CoolingDisabled": false, "EnergyCorrectionModel": 690, "EnergyCorrectionActive": false, "MinPcycle": 1, "MaxPcycle": 1, "EffectivePCycle": 1, "MaxOutdoorUnits": 255, "MaxIndoorUnits": 255, "MaxTemperatureControlUnits": 0, "ModelCode": "0130", "DeviceID": 65089022, "MacAddress": "c4:ac:59:4d:2f:4b", "SerialNumber": "1911248141", "TimeZoneID": 119, "DiagnosticMode": 0, "DiagnosticEndDate": null, "ExpectedCommand": 1, "Owner": 235906, "DetectedCountry": null, "AdaptorType": -1, "FirmwareDeployment": null, "FirmwareUpdateAborted": false, "LinkedDevice": "2bb68619-2a03-4af9-9b46-80adb4be0701", "WifiSignalStrength": -45, "WifiAdapterStatus": "NORMAL", "Position": "Unknown", "PCycle": 10, "PCycleConfigured": null, "RecordNumMax": 0, "LastTimeStamp": "2023-03-24T18:11:00", "ErrorCode": 8000, "HasError": false, "LastReset": "2023-02-14T19:49:18.01", "FlashWrites": 2, "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": 19000, "FirmwareWebVersion": 0, "FirmwareWlanVersion": 0, "MqttFlags": 9, "HasErrorMessages": false, "HasZone2": false, "Offline": true, "SupportsHourlyEnergyReport": true, "Units": [ { "ID": 1, "Device": 0, "SerialNumber": "0E000240TR", "ModelNumber": 690, "Model": "MSZ-AP25VG(K)", "UnitType": 1, "IsIndoor": true } ] }, "DiagnosticMode": 0, "DiagnosticEndDate": null, "Location": 68420, "DetectedCountry": null, "Registrations": 21, "LocalIPAddress": null, "TimeZone": 119, "RegistReason": "STARTUP", "ExpectedCommand": 1, "RegistRetry": 0, "DateCreated": "2023-02-14T19:21:07.25Z", "FirmwareDeployment": null, "FirmwareUpdateAborted": false, "Permissions": { "CanSetOperationMode": true, "CanSetFanSpeed": true, "CanSetVaneDirection": true, "CanSetPower": true, "CanSetTemperatureIncrementOverride": true, "CanDisableLocalController": true, "CanSetDemandSideControl": false } }, { "DeviceID": 65088256, "DeviceName": "Dach-Süd", "BuildingID": 174639, "BuildingName": null, "FloorID": 142712, "FloorName": null, "AreaID": null, "AreaName": null, "ImageID": -6, "InstallationDate": null, "LastServiceDate": null, "Presets": [ { "SetTemperature": 20, "Power": true, "OperationMode": 1, "VaneHorizontal": 0, "VaneVertical": 0, "FanSpeed": 0, "ID": 385842, "Client": 235906, "DeviceLocation": 65088256, "Number": 1, "Configuration": "<settings><st>20</st><pw>true</pw><om>1</om><vd>0</vd><hd>0</hd><fs>0</fs></settings>", "NumberDescription": "Heizen" } ], "OwnerID": 235906, "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": 3, "LinkedDevice": "0b34e272-e06a-41c2-a7ef-54c00f090bc5", "Type": 0, "MacAddress": "70:61:be:57:97:c1", "SerialNumber": "2141709042", "Device": { "PCycleActual": 0, "ErrorMessages": "", "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, "MaxTempCoolDry": 31, "MinTempHeat": 10, "MaxTempHeat": 31, "MinTempAutomatic": 16, "MaxTempAutomatic": 31, "LegacyDevice": false, "UnitSupportsStandbyMode": true, "IsSplitSystem": true, "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": 22, "SetTemperature": 22, "ActualFanSpeed": 0, "FanSpeed": 3, "AutomaticFanSpeed": false, "VaneVerticalDirection": 3, "VaneVerticalSwing": false, "VaneHorizontalDirection": 3, "VaneHorizontalSwing": false, "OperationMode": 3, "EffectiveFlags": 0, "LastEffectiveFlags": 0, "InStandbyMode": false, "DemandPercentage": 100, "ConfiguredDemandPercentage": null, "HasDemandSideControl": false, "DefaultCoolingSetTemperature": 21, "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, "HasEnergyConsumedMeter": true, "CurrentEnergyConsumed": 400, "CurrentEnergyMode": 3, "CoolingDisabled": false, "EnergyCorrectionModel": 690, "EnergyCorrectionActive": false, "MinPcycle": 1, "MaxPcycle": 1, "EffectivePCycle": 1, "MaxOutdoorUnits": 255, "MaxIndoorUnits": 255, "MaxTemperatureControlUnits": 0, "ModelCode": "0130", "DeviceID": 65088256, "MacAddress": "70:61:be:57:97:c1", "SerialNumber": "2141709042", "TimeZoneID": 119, "DiagnosticMode": 0, "DiagnosticEndDate": null, "ExpectedCommand": 1, "Owner": 235906, "DetectedCountry": null, "AdaptorType": 3, "FirmwareDeployment": null, "FirmwareUpdateAborted": false, "LinkedDevice": "0b34e272-e06a-41c2-a7ef-54c00f090bc5", "WifiSignalStrength": -49, "WifiAdapterStatus": "NORMAL", "Position": "Unknown", "PCycle": 10, "PCycleConfigured": null, "RecordNumMax": 0, "LastTimeStamp": "2023-03-24T18:10:00", "ErrorCode": 8000, "HasError": false, "LastReset": "2023-02-14T19:24:14.78", "FlashWrites": 2, "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": 37000, "FirmwareWebVersion": 0, "FirmwareWlanVersion": 0, "MqttFlags": 9, "HasErrorMessages": false, "HasZone2": false, "Offline": true, "SupportsHourlyEnergyReport": true, "Units": [ { "ID": 1, "Device": 0, "SerialNumber": "1E016115TR", "ModelNumber": 690, "Model": "MSZ-AP25VG(K)", "UnitType": 1, "IsIndoor": true } ] }, "DiagnosticMode": 0, "DiagnosticEndDate": null, "Location": 68420, "DetectedCountry": null, "Registrations": 11, "LocalIPAddress": null, "TimeZone": 119, "RegistReason": "STARTUP", "ExpectedCommand": 1, "RegistRetry": 1, "DateCreated": "2023-02-14T19:10:21.314Z", "FirmwareDeployment": null, "FirmwareUpdateAborted": false, "Permissions": { "CanSetOperationMode": true, "CanSetFanSpeed": true, "CanSetVaneDirection": true, "CanSetPower": true, "CanSetTemperatureIncrementOverride": true, "CanDisableLocalController": true, "CanSetDemandSideControl": false } } ], "MinTemperature": 0, "MaxTemperature": 40, "Expanded": true }, { "ID": 115741, "Name": "EG", "BuildingId": 174639, "AccessLevel": 4, "DirectAccess": false, "EndDate": "2500-01-01T00:00:00", "Areas": [], "Devices": [ { "DeviceID": 283826, "DeviceName": "Klima Wohnzimmer", "BuildingID": 174639, "BuildingName": null, "FloorID": 115741, "FloorName": null, "AreaID": null, "AreaName": null, "ImageID": -9, "InstallationDate": null, "LastServiceDate": null, "Presets": [ { "SetTemperature": 22, "Power": true, "OperationMode": 1, "VaneHorizontal": 0, "VaneVertical": 0, "FanSpeed": 0, "ID": 162725, "Client": 235906, "DeviceLocation": 283826, "Number": 1, "Configuration": "<settings><st>22</st><pw>true</pw><om>1</om><vd>0</vd><hd>0</hd><fs>0</fs></settings>", "NumberDescription": "Heizen" }, { "SetTemperature": 22, "Power": true, "OperationMode": 3, "VaneHorizontal": 0, "VaneVertical": 0, "FanSpeed": 5, "ID": 181510, "Client": 235906, "DeviceLocation": 283826, "Number": 2, "Configuration": "<settings><st>22</st><pw>true</pw><om>3</om><vd>0</vd><hd>0</hd><fs>5</fs></settings>", "NumberDescription": "Kühlen" }, { "SetTemperature": 24, "Power": false, "OperationMode": 8, "VaneHorizontal": 0, "VaneVertical": 0, "FanSpeed": 0, "ID": 189371, "Client": 235906, "DeviceLocation": 283826, "Number": 3, "Configuration": "<settings><st>24</st><pw>false</pw><om>8</om><vd>0</vd><hd>0</hd><fs>0</fs></settings>", "NumberDescription": "Auto" } ], "OwnerID": 235906, "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": "c4:ac:59:61:0f:b9", "SerialNumber": "1912279470", "Device": { "PCycleActual": 0, "ErrorMessages": "", "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, "MaxTempCoolDry": 31, "MinTempHeat": 10, "MaxTempHeat": 31, "MinTempAutomatic": 16, "MaxTempAutomatic": 31, "LegacyDevice": false, "UnitSupportsStandbyMode": true, "IsSplitSystem": 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": 21, "SetTemperature": 25, "ActualFanSpeed": 0, "FanSpeed": 0, "AutomaticFanSpeed": true, "VaneVerticalDirection": 3, "VaneVerticalSwing": false, "VaneHorizontalDirection": 3, "VaneHorizontalSwing": false, "OperationMode": 1, "EffectiveFlags": 0, "LastEffectiveFlags": 0, "InStandbyMode": false, "DemandPercentage": 100, "ConfiguredDemandPercentage": null, "HasDemandSideControl": false, "DefaultCoolingSetTemperature": 20, "DefaultHeatingSetTemperature": 25, "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": 78200, "CurrentEnergyMode": 1, "CoolingDisabled": false, "EnergyCorrectionModel": 700, "EnergyCorrectionActive": true, "MinPcycle": 1, "MaxPcycle": 1, "EffectivePCycle": 1, "MaxOutdoorUnits": 255, "MaxIndoorUnits": 255, "MaxTemperatureControlUnits": 0, "ModelCode": "0130", "DeviceID": 283826, "MacAddress": "c4:ac:59:61:0f:b9", "SerialNumber": "1912279470", "TimeZoneID": 119, "DiagnosticMode": 0, "DiagnosticEndDate": null, "ExpectedCommand": 1, "Owner": 235906, "DetectedCountry": null, "AdaptorType": -1, "FirmwareDeployment": null, "FirmwareUpdateAborted": false, "LinkedDevice": null, "WifiSignalStrength": -45, "WifiAdapterStatus": "NORMAL", "Position": "Unknown", "PCycle": 10, "PCycleConfigured": null, "RecordNumMax": 0, "LastTimeStamp": "2023-03-24T18:13:00", "ErrorCode": 8000, "HasError": false, "LastReset": "2022-03-31T18:12:55.234", "FlashWrites": 4, "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": 19000, "FirmwareWebVersion": 0, "FirmwareWlanVersion": 0, "MqttFlags": 9, "HasErrorMessages": false, "HasZone2": false, "Offline": true, "SupportsHourlyEnergyReport": true, "Units": [ { "ID": 1, "Device": 0, "SerialNumber": "0C003586TR", "ModelNumber": 700, "Model": "MUZ-AP35VG(H)", "UnitType": 0, "IsIndoor": false }, { "ID": 2, "Device": 0, "SerialNumber": "0E011853TR", "ModelNumber": 691, "Model": "MSZ-AP35VG(K)", "UnitType": 1, "IsIndoor": true } ] }, "DiagnosticMode": 0, "DiagnosticEndDate": null, "Location": 68420, "DetectedCountry": null, "Registrations": 650, "LocalIPAddress": null, "TimeZone": 119, "RegistReason": "STARTUP", "ExpectedCommand": 1, "RegistRetry": 0, "DateCreated": "2020-08-20T15:30:17.247Z", "FirmwareDeployment": null, "FirmwareUpdateAborted": false, "Permissions": { "CanSetOperationMode": true, "CanSetFanSpeed": true, "CanSetVaneDirection": true, "CanSetPower": true, "CanSetTemperatureIncrementOverride": true, "CanDisableLocalController": true, "CanSetDemandSideControl": false } } ], "MinTemperature": 0, "MaxTemperature": 40, "Expanded": true }, { "ID": 115740, "Name": "OG", "BuildingId": 174639, "AccessLevel": 4, "DirectAccess": false, "EndDate": "2500-01-01T00:00:00", "Areas": [], "Devices": [ { "DeviceID": 255156, "DeviceName": "Klima Schlafzimmer", "BuildingID": 174639, "BuildingName": null, "FloorID": 115740, "FloorName": null, "AreaID": null, "AreaName": null, "ImageID": -6, "InstallationDate": null, "LastServiceDate": null, "Presets": [ { "SetTemperature": 22, "Power": true, "OperationMode": 3, "VaneHorizontal": 0, "VaneVertical": 0, "FanSpeed": 0, "ID": 122804, "Client": 235906, "DeviceLocation": 255156, "Number": 1, "Configuration": "<settings><st>22</st><pw>true</pw><om>3</om><vd>0</vd><hd>0</hd><fs>0</fs></settings>", "NumberDescription": "Kühlen" }, { "SetTemperature": 22, "Power": true, "OperationMode": 1, "VaneHorizontal": 0, "VaneVertical": 0, "FanSpeed": 0, "ID": 122879, "Client": 235906, "DeviceLocation": 255156, "Number": 2, "Configuration": "<settings><st>22</st><pw>true</pw><om>1</om><vd>0</vd><hd>0</hd><fs>0</fs></settings>", "NumberDescription": "Heizen" }, { "SetTemperature": 23, "Power": true, "OperationMode": 8, "VaneHorizontal": 0, "VaneVertical": 0, "FanSpeed": 5, "ID": 189370, "Client": 235906, "DeviceLocation": 255156, "Number": 3, "Configuration": "<settings><st>23</st><pw>true</pw><om>8</om><vd>0</vd><hd>0</hd><fs>5</fs></settings>", "NumberDescription": "Auto" } ], "OwnerID": 235906, "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": "0b34e272-e06a-41c2-a7ef-54c00f090bc5", "Type": 0, "MacAddress": "c4:ac:59:4e:79:4f", "SerialNumber": "1911248139", "Device": { "PCycleActual": 0, "ErrorMessages": "", "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, "MaxTempCoolDry": 31, "MinTempHeat": 10, "MaxTempHeat": 31, "MinTempAutomatic": 16, "MaxTempAutomatic": 31, "LegacyDevice": false, "UnitSupportsStandbyMode": true, "IsSplitSystem": true, "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": 22, "SetTemperature": 20, "ActualFanSpeed": 0, "FanSpeed": 0, "AutomaticFanSpeed": true, "VaneVerticalDirection": 0, "VaneVerticalSwing": false, "VaneHorizontalDirection": 4, "VaneHorizontalSwing": false, "OperationMode": 1, "EffectiveFlags": 0, "LastEffectiveFlags": 0, "InStandbyMode": false, "DemandPercentage": 100, "ConfiguredDemandPercentage": null, "HasDemandSideControl": false, "DefaultCoolingSetTemperature": 21, "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, "HasEnergyConsumedMeter": true, "CurrentEnergyConsumed": 810300, "CurrentEnergyMode": 1, "CoolingDisabled": false, "EnergyCorrectionModel": 690, "EnergyCorrectionActive": false, "MinPcycle": 1, "MaxPcycle": 1, "EffectivePCycle": 1, "MaxOutdoorUnits": 255, "MaxIndoorUnits": 255, "MaxTemperatureControlUnits": 0, "ModelCode": "0130", "DeviceID": 255156, "MacAddress": "c4:ac:59:4e:79:4f", "SerialNumber": "1911248139", "TimeZoneID": 119, "DiagnosticMode": 0, "DiagnosticEndDate": null, "ExpectedCommand": 1, "Owner": 235906, "DetectedCountry": null, "AdaptorType": -1, "FirmwareDeployment": null, "FirmwareUpdateAborted": false, "LinkedDevice": "0b34e272-e06a-41c2-a7ef-54c00f090bc5", "WifiSignalStrength": -57, "WifiAdapterStatus": "NORMAL", "Position": "Unknown", "PCycle": 10, "PCycleConfigured": null, "RecordNumMax": 0, "LastTimeStamp": "2023-03-24T18:11:00", "ErrorCode": 8000, "HasError": false, "LastReset": "2022-03-31T18:21:01.974", "FlashWrites": 2, "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": 19000, "FirmwareWebVersion": 0, "FirmwareWlanVersion": 0, "MqttFlags": 9, "HasErrorMessages": false, "HasZone2": false, "Offline": true, "SupportsHourlyEnergyReport": true, "Units": [ { "ID": 1, "Device": 0, "SerialNumber": "01P01121", "ModelNumber": null, "Model": "MXZ-2F53VF(2)", "UnitType": 0, "IsIndoor": false }, { "ID": 2, "Device": 0, "SerialNumber": "0E000239TR", "ModelNumber": 690, "Model": "MSZ-AP25VG(K)", "UnitType": 1, "IsIndoor": true } ] }, "DiagnosticMode": 0, "DiagnosticEndDate": null, "Location": 68420, "DetectedCountry": null, "Registrations": 425, "LocalIPAddress": null, "TimeZone": 119, "RegistReason": "STARTUP", "ExpectedCommand": 1, "RegistRetry": 0, "DateCreated": "2020-06-27T10:56:14.053Z", "FirmwareDeployment": null, "FirmwareUpdateAborted": false, "Permissions": { "CanSetOperationMode": true, "CanSetFanSpeed": true, "CanSetVaneDirection": true, "CanSetPower": true, "CanSetTemperatureIncrementOverride": true, "CanDisableLocalController": true, "CanSetDemandSideControl": false } }, { "DeviceID": 44369676, "DeviceName": "Laura", "BuildingID": 174639, "BuildingName": null, "FloorID": 115740, "FloorName": null, "AreaID": null, "AreaName": null, "ImageID": -6, "InstallationDate": null, "LastServiceDate": null, "Presets": [ { "SetTemperature": 21, "Power": true, "OperationMode": 3, "VaneHorizontal": 0, "VaneVertical": 0, "FanSpeed": 0, "ID": 293126, "Client": 235906, "DeviceLocation": 44369676, "Number": 1, "Configuration": "<settings><st>21</st><pw>true</pw><om>3</om><vd>0</vd><hd>0</hd><fs>0</fs></settings>", "NumberDescription": "Kühlen" }, { "SetTemperature": 23, "Power": true, "OperationMode": 1, "VaneHorizontal": 0, "VaneVertical": 0, "FanSpeed": 0, "ID": 324446, "Client": 235906, "DeviceLocation": 44369676, "Number": 2, "Configuration": "<settings><st>23</st><pw>true</pw><om>1</om><vd>0</vd><hd>0</hd><fs>0</fs></settings>", "NumberDescription": "Heizen" } ], "OwnerID": 235906, "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": 3, "LinkedDevice": "2bb68619-2a03-4af9-9b46-80adb4be0701", "Type": 0, "MacAddress": "70:61:be:57:ce:86", "SerialNumber": "2141710139", "Device": { "PCycleActual": 0, "ErrorMessages": "", "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, "MaxTempCoolDry": 31, "MinTempHeat": 10, "MaxTempHeat": 31, "MinTempAutomatic": 16, "MaxTempAutomatic": 31, "LegacyDevice": false, "UnitSupportsStandbyMode": true, "IsSplitSystem": true, "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": false, "RoomTemperature": 19.5, "SetTemperature": 15, "ActualFanSpeed": 0, "FanSpeed": 0, "AutomaticFanSpeed": true, "VaneVerticalDirection": 0, "VaneVerticalSwing": false, "VaneHorizontalDirection": 1, "VaneHorizontalSwing": false, "OperationMode": 1, "EffectiveFlags": 0, "LastEffectiveFlags": 0, "InStandbyMode": false, "DemandPercentage": 100, "ConfiguredDemandPercentage": null, "HasDemandSideControl": false, "DefaultCoolingSetTemperature": 21, "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, "HasEnergyConsumedMeter": true, "CurrentEnergyConsumed": 177800, "CurrentEnergyMode": 1, "CoolingDisabled": false, "EnergyCorrectionModel": null, "EnergyCorrectionActive": false, "MinPcycle": 1, "MaxPcycle": 1, "EffectivePCycle": 1, "MaxOutdoorUnits": 255, "MaxIndoorUnits": 255, "MaxTemperatureControlUnits": 0, "ModelCode": "0130", "DeviceID": 44369676, "MacAddress": "70:61:be:57:ce:86", "SerialNumber": "2141710139", "TimeZoneID": 119, "DiagnosticMode": 0, "DiagnosticEndDate": null, "ExpectedCommand": 1, "Owner": 235906, "DetectedCountry": null, "AdaptorType": 3, "FirmwareDeployment": null, "FirmwareUpdateAborted": false, "LinkedDevice": "2bb68619-2a03-4af9-9b46-80adb4be0701", "WifiSignalStrength": -39, "WifiAdapterStatus": "NORMAL", "Position": "Unknown", "PCycle": 10, "PCycleConfigured": null, "RecordNumMax": 0, "LastTimeStamp": "2023-03-24T18:19:00", "ErrorCode": 8000, "HasError": false, "LastReset": "2022-11-24T12:12:43.89", "FlashWrites": 8, "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": 37000, "FirmwareWebVersion": 0, "FirmwareWlanVersion": 0, "MqttFlags": 9, "HasErrorMessages": false, "HasZone2": false, "Offline": false, "SupportsHourlyEnergyReport": true, "Units": [] }, "DiagnosticMode": 0, "DiagnosticEndDate": null, "Location": 68420, "DetectedCountry": null, "Registrations": 62, "LocalIPAddress": null, "TimeZone": 119, "RegistReason": "CONFIG", "ExpectedCommand": 1, "RegistRetry": 0, "DateCreated": "2022-06-28T18:46:46.29Z", "FirmwareDeployment": null, "FirmwareUpdateAborted": false, "Permissions": { "CanSetOperationMode": true, "CanSetFanSpeed": true, "CanSetVaneDirection": true, "CanSetPower": true, "CanSetTemperatureIncrementOverride": true, "CanDisableLocalController": true, "CanSetDemandSideControl": false } } ], "MinTemperature": 0, "MaxTemperature": 40, "Expanded": true } ], "Areas": [], "Devices": [], "Clients": [] }, "AccessLevel": 4, "DirectAccess": true, "MinTemperature": 0, "MaxTemperature": 40, "Owner": null, "EndDate": "2500-01-01T00:00:00", "iDateBuilt": null, "QuantizedCoordinates": { "Latitude": 50.0, "Longitude": 10.0 } } ]
Der eigentliche Init ist unauffällig:
melcloud.0 2023-03-24 18:25:00.557 debug Updated device data for device 44369676 (Laura) melcloud.0 2023-03-24 18:25:00.552 debug Created and saved ATA device 44369676 (Laura) melcloud.0 2023-03-24 18:25:00.478 debug Updated device data for device 255156 (Klima Schlafzimmer) melcloud.0 2023-03-24 18:25:00.469 debug Created and saved ATA device 255156 (Klima Schlafzimmer) melcloud.0 2023-03-24 18:25:00.341 debug Updated device data for device 283826 (Klima Wohnzimmer) melcloud.0 2023-03-24 18:25:00.327 debug Created and saved ATA device 283826 (Klima Wohnzimmer) melcloud.0 2023-03-24 18:25:00.217 debug Updated device data for device 65088256 (Dach-Süd) melcloud.0 2023-03-24 18:25:00.205 debug Created and saved ATA device 65088256 (Dach-Süd) melcloud.0 2023-03-24 18:25:00.096 debug Updated device data for device 65089022 (Dach-Nord) melcloud.0 2023-03-24 18:25:00.078 debug Created and saved ATA device 65089022 (Dach-Nord) melcloud.0 2023-03-24 18:24:59.860 debug Saving device data... melcloud.0 2023-03-24 18:24:59.860 debug Got air-to-air device from cloud: 44369676 (Laura) melcloud.0 2023-03-24 18:24:59.859 debug Got air-to-air device from cloud: 283826 (Klima Wohnzimmer) melcloud.0 2023-03-24 18:24:59.859 debug Got air-to-air device from cloud: 65088256 (Dach-Süd) melcloud.0 2023-03-24 18:24:59.859 debug Got air-to-air device from cloud: 255156 (Klima Schlafzimmer) melcloud.0 2023-03-24 18:24:59.858 debug Got air-to-air device from cloud: 65089022 (Dach-Nord)
-
@oxident In deinem geposteten JSON sind auch gerade 4 der 5 Geräte als offline ("Offline": true) markiert, von daher passt es ja, wenn diese so angezeigt werden. Da kann ich aus Adaptersicht nichts dran rütteln, weil diese Daten so aus der Melcloud zurückgegeben werden.
Warum diese sich dann aber trotzdem steuern lassen und damit ja offensichtlich eine Verbindung haben, kann ich dir leider auch nicht sagen. Evtl. nochmal die Wifi-Adapter zurücksetzen und neu verbinden? -
@black-thunder Okay, verstehe. Da kannst Du ja wirklich nix dran machen
Ich mach dann mal auf Netzwerkebene weiter...
Danke für's Drüberschauen!UPDATE: Sieht so aus, als gäbe es da wohl ein generelles Problem bei Mitsubishi. Tibber hat derzeit auch Stress mit der Abfrage
-
Hi kurze Frage habe gerade ein Problem mit dem Mel Adapter.,,,irgendwie holt er sich keine Verbrauchsdaten mehr auch der Cloud...?? keine Ahnung warum habe den Adapter schon neu installiert.... Habe aktuell noch die 1.21 Version installiert die 1.3 wir mir aktuell im IObroker als Update nicht angeboten ???
-
@dataeasy Welche Version angezeigt wird, kommt darauf an, ob du als Repository "Stable" oder "Latest" eingestellt hast. In Stable ist im Moment v1.2.1 die neueste, in Latest v1.3.1. Du kannst gerne auch mal probehalber auf Latest umstellen, hat aber mit deinem eigentlichen Problem denke ich nichts zu tun.
Und mit Verbrauchsdaten meinst du die Berichte über die Energienutzung? Die werden nie automatisch geholt, sondern immer nur durch Auslösen des entsprechenden States "getPowerConsumptionReport".
Ansonsten stell doch mal die Logstufe des Adapters auf "Debug" und poste das Log hier (ohne persönliche Daten). Evtl. sieht man da ja schon das Problem. -
@black-thunder habe jetzt mal auf latest geupdated .. selbes verhalten ... und ja ich meine den Consumption report bis Montag hat alles noch funktioniert seid Dienstag keine Daten mehr ???
melcloud.0
2023-04-05 20:03:59.965 debug Received response from: https://app.melcloud.com/Mitsubishi.Wifi.Client/User/ListDevices (status code: 200 - OK)melcloud.0
2023-04-05 20:03:59.830 debug Fetching devices...melcloud.0
2023-04-05 20:03:59.829 debug Login successful. ContextKey: 018D803A3C1445A0931DD33FE0E102melcloud.0
2023-04-05 20:03:59.829 debug Response from cloud: {"ErrorId":null,"ErrorMessage":null,"LoginStatus":0,"UserId":0,"RandomKey":null,"AppVersionAnnouncement":null,"LoginData":{"ContextKey":"018D803A3C1445A0931DD33FE0E102","Client":373118,"Terms":1282,"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":4,"Country":85,"RealClient":0,"Name":"Thomas Rees","UseFahrenheit":false,"Duration":525600,"Expiry":"2024-04-04T18:03:52.843","CMSC":false,"PartnerApplicationVersion":null,"EmailSettingsReminderShown":true,"EmailUnitErrors":1,"EmailCommsErrors":1,"ChartSeriesHidden":512,"DeletePending":false,"IsImpersonated":false,"LanguageCode":"de","CountryName":"Deutschland","CurrencySymbol":"€","SupportEmailAddress":null,"DateSeperator":"/","TimeSeperator":":","AtwLogoFile":"ecodan_logo.png","DECCReport":false,"CSVReport1min":false,"HidePresetPanel":false,"EmailSettingsReminderRequired":false,"TermsText":null,"MapView":false,"MapZoom":13,"MapLongitude":7.541700635273401,"MapLatitude":50.58184916555166},"ListPendingInvite":[],"ListOwnershipChangeRequest":[],"ListPendingAnnouncement":[],"LoginMinutes":0,"LoginAttempts":0}melcloud.0
2023-04-05 20:03:59.828 debug Received response from: https://app.melcloud.com/Mitsubishi.Wifi.Client/Login/ClientLogin (status code: 200 - OK)melcloud.0
2023-04-05 20:03:59.386 debug Fetching context key...melcloud.0
2023-04-05 20:03:59.386 info Connecting initially to MELCloud and retrieving data...melcloud.0
2023-04-05 20:03:59.385 debug Found known device: 20433761melcloud.0
2023-04-05 20:03:59.305 debug Getting current known devices...melcloud.0
2023-04-05 20:03:59.304 debug Checking adapter settings...melcloud.0
2023-04-05 20:03:59.293 debug Initializing objects...melcloud.0
2023-04-05 20:03:59.285 info starting. Version 1.3.1 (non-npm: Black-Thunder/ioBroker.melcloud#c3baab76a6c010a229be184cc6c608038e6e35e3) in C:/ioBroker/node_modules/iobroker.melcloud, node: v18.15.0, js-controller: 4.0.24melcloud.0
2023-04-05 20:03:26.945 warn Terminated (ADAPTER_ALREADY_RUNNING): Without reasonmelcloud.0
2023-04-05 20:03:26.943 error melcloud.0 already runningmelcloud.0
2023-04-05 20:03:26.938 debug States connected to redis: 127.0.0.1:9000melcloud.0
2023-04-05 20:03:26.905 debug States create User PubSub Clientmelcloud.0
2023-04-05 20:03:26.905 debug States create System PubSub Clientmelcloud.0
2023-04-05 20:03:26.887 debug Redis States: Use Redis connection: 127.0.0.1:9000melcloud.0
2023-04-05 20:03:26.730 debug Objects connected to redis: 127.0.0.1:9001melcloud.0
2023-04-05 20:03:26.725 debug Objects client initialize lua scriptsmelcloud.0
2023-04-05 20:03:26.614 debug Objects create User PubSub Clientmelcloud.0
2023-04-05 20:03:26.613 debug Objects create System PubSub Clientmelcloud.0
2023-04-05 20:03:26.598 debug Objects client ready ... initialize nowmelcloud.0
2023-04-05 20:03:26.560 debug Redis Objects: Use Redis connection: 127.0.0.1:9001 -
@dataeasy Kann sein, dass es nach dem Umstellen auf Latest etwas dauert, bis die neue Version angeboten wird.
Aber auch bis Montag musstest du "getPowerConsumptionReport" triggern, damit die Berichte abgerufen werden. Automatisch ging das noch nie
Was steht denn dann im Log, wenn du das tust? -
@black-thunder ja ich habe ein Script das triggert regelmäßig alle 4 Stunden mit dem tagesaktuellen Datum...
das steht dann im LOG
melcloud.0
2023-04-05 21:03:00.848 debug Updated report data for device 20433761 (Klimaanlage)melcloud.0
2023-04-05 21:03:00.836 debug Response from cloud: {"Heating":[5.2,57.50000000000003,146.49999999999994,27.4],"Cooling":[0,0,0,0],"Auto":[0,0,0,0],"Dry":[0,0,0,0],"Fan":[0,0,0,0],"Other":[0,0,0,0],"TotalHeatingConsumed":236.6,"TotalCoolingConsumed":0,"TotalAutoConsumed":0,"TotalDryConsumed":0,"TotalFanConsumed":0,"TotalOtherConsumed":0,"LinkedDevicesIncludedInArregateEnergyReport":"","LinkedDevicesNotIncludedInArregateEnergyReport":"","UsageDisclaimerPercentages":"41.9%","Status":0,"LabelType":2,"TempLabels":[0,0,0,0],"Labels":[1,2,3,4],"HasZone2":false,"CurrencySymbol":"kWh","FromDate":"2023-01-01T00:00:00","ToDate":"2023-04-05T00:00:00","DeviceName":"Klimaanlage","BuildingAddress":null,"BuildingCity":null,"BuildingCountry":null,"CustomerName":null,"costs":null,"TotalMinutes":135360,"MissingMinutes":78600}melcloud.0
2023-04-05 21:03:00.836 debug Received response from: https://app.melcloud.com/Mitsubishi.Wifi.Client/EnergyCost/Report (status code: 200 - OK)melcloud.0
2023-04-05 21:03:00.680 debug Getting power consumption report for 20433761 (Klimaanlage)melcloud.0
2023-04-05 21:03:00.680 debug Processing command 'getPowerConsumptionReport' with value 'false' for device object with id 20433761 (Klimaanlage)...melcloud.0
2023-04-05 21:03:00.679 debug Trying to get device object with id 20433761...melcloud.0
2023-04-05 21:02:27.576 debug Updated report data for device 20433761 (Klimaanlage) -
@dataeasy Das sieht ja eigentlich laut Log gut aus. Die Verbrauchswerte für Heizen und der Gesamtverbrauch sind befüllt. Was passt denn dann nicht bzw. welche Werte aktualisieren sich nicht?
-
Hi @Black-Thunder ;
als 1. ein großes Dankeschön für den Adapter. Ich bin recht neu im ioB Thema und versuche mich vorerst an der Einbindung meiner smarten Geräte.
Da meine neue Klimaanlage jetzt läuft, wollte ich sie über einige Parameter aus meiner PV-Anlage steuern.
Das hat bis vor kurzem auch recht gut funktioniert.
Ich habe jetzt leider folgendes Phänomen:
Melcloude auf dem Hdy offen, Melcloude im Browser offen, Datenpunkte des Adapters im ioB offen. Klimaanlage (KA) aus.
Wenn ich per Hdy oder per Web die KA einschalte wird der Datenpunkt ...devices.12345678.control.Power spätestens nach meinem Abrufinterval (2min) auf true gesetzt. die KA schaltet ein.
Wenn ich allerdings diesen Datenpunkt mittels JS (setState("melcloud.0.devices.12345678.control.power"/Power/,true, true)) setze, schaltet weder die KA noch erfolgt eine Anzeige auf dem Hdy oder dem Browser... nach einiger Zeit wird der Status (nach Ablauf des Intervals?) wieder zurück auf false gesetzt.
Was komisch ist, das setzen anderer Parameter wie z.B Temepratur ist in Browser oder App sichtbar...
Was mache ich falsch?
Vielen Dank für Deine Hilfe. -
@ringo-66 Freut mich natürlich, wenn dir mein Adapter gefällt.
Das Problem, wenn du einen Datenpunkt via setState() so steuerst, wie du es im Moment tust, liegt an dem sogenannten ack-Flag (letzter Aufrufparameter, siehe Doku). Steht das auf "true", wird das nicht als benutzergesteuertes Kommando vom Adapter interpretiert und daher ignoriert. Mit folgendem Aufruf sollte es funktionieren (beachte das letzte "false"). Du kannst das aber auch ganz weglassen, da es standardmäßig eh auf "false" steht.
setState("melcloud.0.devices.12345678.control.power", true, false) setState("melcloud.0.devices.12345678.control.power", true)
-
@black-thunder said in Test Adapter melcloud v1.3.x Latest:
@ringo-66 Freut mich natürlich, wenn dir mein Adapter gefällt.
Das Problem, wenn du einen Datenpunkt via setState() so steuerst, wie du es im Moment tust, liegt an dem sogenannten ack-Flag (letzter Aufrufparameter, siehe Doku). Steht das auf "true", wird das nicht als benutzergesteuertes Kommando vom Adapter interpretiert und daher ignoriert. Mit folgendem Aufruf sollte es funktionieren (beachte das letzte "false"). Du kannst das aber auch ganz weglassen, da es standardmäßig eh auf "false" steht.
setState("melcloud.0.devices.12345678.control.power", true, false) setState("melcloud.0.devices.12345678.control.power", true)
Ah, OK dann bau ich das um... Danke Dir für die schnelle Hilfe
..und funktioniert sofort -
@Black-Thunder
thanks a lot for your great tool. Was looking forward to latest functions.Now, just updated melcloud to v1.3.5 and keep receiving errors on iobroker. running on raspberry pi4. Have updated to node.js 18.x, running js-controller 4.x;
Error starts with "Caught by controller[0]: node:internal/modules/cjs/loader:1080"
have deleted complete entries, removed adapter and reinstalled.
After errors, i-iobroker reports: "Rebuild for adapter system.adapter.melcloud.0 not successful in 3 tries."; manual rebuilt does not help.Error chain keeps coming
host.bb-broker 2023-08-05 19:02:42.971 error instance system.adapter.melcloud.0 terminated with code 1 (JS_CONTROLLER_STOPPED) host.bb-broker 2023-08-05 19:02:42.970 error Caught by controller[0]: Node.js v18.17.0 host.bb-broker 2023-08-05 19:02:42.970 error Caught by controller[0]: } host.bb-broker 2023-08-05 19:02:42.970 error Caught by controller[0]: ] host.bb-broker 2023-08-05 19:02:42.970 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.melcloud/main.js' host.bb-broker 2023-08-05 19:02:42.970 error Caught by controller[0]: '/opt/iobroker/node_modules/iobroker.melcloud/node_modules/@iobroker/adapter-core/build/index.js', host.bb-broker 2023-08-05 19:02:42.970 error Caught by controller[0]: requireStack: [ host.bb-broker 2023-08-05 19:02:42.970 error Caught by controller[0]: code: 'MODULE_NOT_FOUND', host.bb-broker 2023-08-05 19:02:42.969 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) { host.bb-broker 2023-08-05 19:02:42.969 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:960:12) host.bb-broker 2023-08-05 19:02:42.969 error Caught by controller[0]: at Module.load (node:internal/modules/cjs/loader:1119:32) host.bb-broker 2023-08-05 19:02:42.969 error Caught by controller[0]: at Module._extensions..js (node:internal/modules/cjs/loader:1310:10) host.bb-broker 2023-08-05 19:02:42.969 error Caught by controller[0]: at Module._compile (node:internal/modules/cjs/loader:1256:14) host.bb-broker 2023-08-05 19:02:42.969 error Caught by controller[0]: at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.melcloud/node_modules/@iobroker/adapter-core/build/index.js:21:1) host.bb-broker 2023-08-05 19:02:42.969 error Caught by controller[0]: at require (node:internal/modules/cjs/helpers:110:18) host.bb-broker 2023-08-05 19:02:42.968 error Caught by controller[0]: at Module.require (node:internal/modules/cjs/loader:1143:19) host.bb-broker 2023-08-05 19:02:42.968 error Caught by controller[0]: at Module._load (node:internal/modules/cjs/loader:922:27) host.bb-broker 2023-08-05 19:02:42.968 error Caught by controller[0]: at Module._resolveFilename (node:internal/modules/cjs/loader:1077:15) host.bb-broker 2023-08-05 19:02:42.968 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.melcloud/main.js host.bb-broker 2023-08-05 19:02:42.968 error Caught by controller[0]: - /opt/iobroker/node_modules/iobroker.melcloud/node_modules/@iobroker/adapter-core/build/index.js host.bb-broker 2023-08-05 19:02:42.967 error Caught by controller[0]: Require stack: host.bb-broker 2023-08-05 19:02:42.967 error Caught by controller[0]: Error: Cannot find module '@iobroker/types' host.bb-broker 2023-08-05 19:02:42.967 error Caught by controller[0]: ^ host.bb-broker 2023-08-05 19:02:42.967 error Caught by controller[0]: throw err; host.bb-broker 2023-08-05 19:02:42.966 error Caught by controller[0]: node:internal/modules/cjs/loader:1080 modbus.0 2023-08-05 19:02:01.098 error Client in error state. modbus.0 2023-08-05 19:02:01.097 error Socket Error
Any idea - hints much appreciated
-
@vsebian At first glance, I think there's rather an issue with your environment than with the adapter itself. You may check your system according to this instructions to see if there's anything not quite right.
Especially check whether the command
sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
returns a similar output like in the link above.
-
Welche Version von node bzw. npm verwendest du?
EDIT: grad gesehen, node 18, das sollte OK seinCaught by controller[0]: Error: Cannot find module '@iobroker/types'
Das Problem tritt bei npm 6 auf da npm 6 peerDependencies nicht automatisch installiert. Das sollte bei node 18 aber nicht der Fall sein - außer du hast eine unsaubere Installation mit npm6
-
Hallo Zusammen, der Adapter verbindet sich nicht mit Melcloud, Passwort/User habe ich mehrfach geprüft. Zur Sicherheit die Frage, ob es mit folgenden Versionen laufen sollte:
js-controler 4.0.23
npm 6.14.17
node 14.20.0 -
@highline sagte in Test Adapter melcloud v1.3.x Latest:
node 14.20.0
Installier da nodejs@18.
Brauchst du ohnehin auch für andere Adapter und ist die aktuell für den ioBroker empfohlene Version.