MelCloud plugin
Moderator: leecollings
-
harrykausl
- Posts: 225
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: MelCloud plugin
Is the log in the domoticz protocol?
-
harrykausl
- Posts: 225
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: MelCloud plugin
The seconds are saved now. Here is the log, I saw, that it counts down with hearbeats (10 seconds) and not with seconds as defined in the interface.
2026-07-18 18:09:10.056 MelCloud: Polling unit in 1 heartbeats.
2026-07-18 18:09:20.077 MelCloud: Poll unit
2026-07-18 18:09:20.077 MelCloud: Current MEL Cloud Key ID:0-99CE176A9E7D4AB5A6E4F7552518B3-1312352-1
2026-07-18 18:09:20.181 MelCloud: JSON REPLY: {'EffectiveFlags': 0, 'LocalIPAddress': None, 'RoomTemperature': 26.0, 'SetTemperature': 23.0, 'SetFanSpeed': 0, 'OperationMode': 3, 'VaneHorizontal': 5, 'VaneVertical': 5, 'Name': None, 'NumberOfFanSpeeds': 5, 'WeatherObservations': [{'Date': '2026-07-18T18:00:00', 'Sunrise': '2026-07-18T05:38:00', 'Sunset': '2026-07-18T21:21:00', 'Condition': 116, 'Humidity': 29, 'Temperature': 29, 'Icon': 'wsymbol_0002_sunny_intervals', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 0}, {'Date': '2026-07-19T03:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 116, 'Humidity': 75, 'Temperature': 16, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 2}, {'Date': '2026-07-19T15:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 113, 'Humidity': 42, 'Temperature': 21, 'Icon': 'wsymbol_0001_sunny', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 1}, {'Date': '2026-07-20T03:00:00', 'Sunrise': '2026-07-20T05:40:00', 'Sunset': '2026-07-20T21:19:00', 'Condition': 113, 'Humidity': 62, 'Temperature': 11, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 2}], 'ErrorMessage': None, 'ErrorCode': 8000, 'DefaultHeatingSetTemperature': None, 'DefaultCoolingSetTemperature': None, 'HideVaneControls': False, 'HideDryModeControl': False, 'RoomTemperatureLabel': 0, 'InStandbyMode': False, 'TemperatureIncrementOverride': 0, 'ProhibitSetTemperature': False, 'ProhibitOperationMode': False, 'ProhibitPower': False, 'DemandPercentage': 100, 'DeviceID': 159674875, 'DeviceType': 0, 'LastCommunication': '2026-07-18T16:08:49.853', 'NextCommunication': '2026-07-18T16:09:49.853', 'Power': True, 'HasPendingCommand': False, 'Offline': False, 'Scene': None, 'SceneOwner': None}
2026-07-18 18:09:20.182 MelCloud: Update unit Schlafzimmer information.
2026-07-18 18:09:20.182 MelCloud: Heartbeat unit info: {'name': 'Schlafzimmer ', 'id': 159674875, 'macaddr': '28:2e:89:3a:32:33', 'sn': '2448110310', 'building_id': 1017666, 'power': True, 'op_mode': 3, 'room_temp': 26.0, 'set_temp': 23.0, 'set_fan': 0, 'vaneH': 5, 'vaneV': 5, 'next_comm': False, 'idoffset': 0, 'energy_wh': 55100.0, 'outdoor_sn': None, 'model': 'MSZ-AY35VGK'}
2026-07-18 18:09:20.182 MelCloud: Mode debounce Schlafzimmer : '20' en attente de confirmation
2026-07-18 18:09:20.198 MelCloud: Update unit 4 my information 2.
2026-07-18 18:09:20.253 MelCloud: JSON REPLY: {'EffectiveFlags': 0, 'LocalIPAddress': None, 'RoomTemperature': 27.0, 'SetTemperature': 23.0, 'SetFanSpeed': 0, 'OperationMode': 3, 'VaneHorizontal': 5, 'VaneVertical': 1, 'Name': None, 'NumberOfFanSpeeds': 5, 'WeatherObservations': [{'Date': '2026-07-18T18:00:00', 'Sunrise': '2026-07-18T05:38:00', 'Sunset': '2026-07-18T21:21:00', 'Condition': 116, 'Humidity': 29, 'Temperature': 29, 'Icon': 'wsymbol_0002_sunny_intervals', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 0}, {'Date': '2026-07-19T03:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 116, 'Humidity': 75, 'Temperature': 16, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 2}, {'Date': '2026-07-19T15:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 113, 'Humidity': 42, 'Temperature': 21, 'Icon': 'wsymbol_0001_sunny', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 1}, {'Date': '2026-07-20T03:00:00', 'Sunrise': '2026-07-20T05:40:00', 'Sunset': '2026-07-20T21:19:00', 'Condition': 113, 'Humidity': 62, 'Temperature': 11, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 2}], 'ErrorMessage': None, 'ErrorCode': 8000, 'DefaultHeatingSetTemperature': None, 'DefaultCoolingSetTemperature': None, 'HideVaneControls': False, 'HideDryModeControl': False, 'RoomTemperatureLabel': 0, 'InStandbyMode': False, 'TemperatureIncrementOverride': 0, 'ProhibitSetTemperature': False, 'ProhibitOperationMode': False, 'ProhibitPower': False, 'DemandPercentage': 100, 'DeviceID': 159673869, 'DeviceType': 0, 'LastCommunication': '2026-07-18T16:07:18.229', 'NextCommunication': '2026-07-18T16:08:18.229', 'Power': False, 'HasPendingCommand': False, 'Offline': True, 'Scene': None, 'SceneOwner': None}
2026-07-18 18:09:20.254 MelCloud: Update unit Wohnzimmer information.
2026-07-18 18:09:20.254 MelCloud: Heartbeat unit info: {'name': 'Wohnzimmer ', 'id': 159673869, 'macaddr': '28:2e:89:49:a2:76', 'sn': '2453921216', 'building_id': 1017666, 'power': False, 'op_mode': 3, 'room_temp': 27.0, 'set_temp': 23.0, 'set_fan': 0, 'vaneH': 5, 'vaneV': 1, 'next_comm': False, 'idoffset': 7, 'energy_wh': 117100.0, 'outdoor_sn': None, 'model': 'MSZ-AY42VGK'}
2026-07-18 18:09:20.254 MelCloud: Mode debounce Wohnzimmer : '0' en attente de confirmation
2026-07-18 18:09:20.277 MelCloud: Update unit 11 my information 2.
2026-07-18 18:09:10.056 MelCloud: Polling unit in 1 heartbeats.
2026-07-18 18:09:20.077 MelCloud: Poll unit
2026-07-18 18:09:20.077 MelCloud: Current MEL Cloud Key ID:0-99CE176A9E7D4AB5A6E4F7552518B3-1312352-1
2026-07-18 18:09:20.181 MelCloud: JSON REPLY: {'EffectiveFlags': 0, 'LocalIPAddress': None, 'RoomTemperature': 26.0, 'SetTemperature': 23.0, 'SetFanSpeed': 0, 'OperationMode': 3, 'VaneHorizontal': 5, 'VaneVertical': 5, 'Name': None, 'NumberOfFanSpeeds': 5, 'WeatherObservations': [{'Date': '2026-07-18T18:00:00', 'Sunrise': '2026-07-18T05:38:00', 'Sunset': '2026-07-18T21:21:00', 'Condition': 116, 'Humidity': 29, 'Temperature': 29, 'Icon': 'wsymbol_0002_sunny_intervals', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 0}, {'Date': '2026-07-19T03:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 116, 'Humidity': 75, 'Temperature': 16, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 2}, {'Date': '2026-07-19T15:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 113, 'Humidity': 42, 'Temperature': 21, 'Icon': 'wsymbol_0001_sunny', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 1}, {'Date': '2026-07-20T03:00:00', 'Sunrise': '2026-07-20T05:40:00', 'Sunset': '2026-07-20T21:19:00', 'Condition': 113, 'Humidity': 62, 'Temperature': 11, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 2}], 'ErrorMessage': None, 'ErrorCode': 8000, 'DefaultHeatingSetTemperature': None, 'DefaultCoolingSetTemperature': None, 'HideVaneControls': False, 'HideDryModeControl': False, 'RoomTemperatureLabel': 0, 'InStandbyMode': False, 'TemperatureIncrementOverride': 0, 'ProhibitSetTemperature': False, 'ProhibitOperationMode': False, 'ProhibitPower': False, 'DemandPercentage': 100, 'DeviceID': 159674875, 'DeviceType': 0, 'LastCommunication': '2026-07-18T16:08:49.853', 'NextCommunication': '2026-07-18T16:09:49.853', 'Power': True, 'HasPendingCommand': False, 'Offline': False, 'Scene': None, 'SceneOwner': None}
2026-07-18 18:09:20.182 MelCloud: Update unit Schlafzimmer information.
2026-07-18 18:09:20.182 MelCloud: Heartbeat unit info: {'name': 'Schlafzimmer ', 'id': 159674875, 'macaddr': '28:2e:89:3a:32:33', 'sn': '2448110310', 'building_id': 1017666, 'power': True, 'op_mode': 3, 'room_temp': 26.0, 'set_temp': 23.0, 'set_fan': 0, 'vaneH': 5, 'vaneV': 5, 'next_comm': False, 'idoffset': 0, 'energy_wh': 55100.0, 'outdoor_sn': None, 'model': 'MSZ-AY35VGK'}
2026-07-18 18:09:20.182 MelCloud: Mode debounce Schlafzimmer : '20' en attente de confirmation
2026-07-18 18:09:20.198 MelCloud: Update unit 4 my information 2.
2026-07-18 18:09:20.253 MelCloud: JSON REPLY: {'EffectiveFlags': 0, 'LocalIPAddress': None, 'RoomTemperature': 27.0, 'SetTemperature': 23.0, 'SetFanSpeed': 0, 'OperationMode': 3, 'VaneHorizontal': 5, 'VaneVertical': 1, 'Name': None, 'NumberOfFanSpeeds': 5, 'WeatherObservations': [{'Date': '2026-07-18T18:00:00', 'Sunrise': '2026-07-18T05:38:00', 'Sunset': '2026-07-18T21:21:00', 'Condition': 116, 'Humidity': 29, 'Temperature': 29, 'Icon': 'wsymbol_0002_sunny_intervals', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 0}, {'Date': '2026-07-19T03:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 116, 'Humidity': 75, 'Temperature': 16, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 2}, {'Date': '2026-07-19T15:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 113, 'Humidity': 42, 'Temperature': 21, 'Icon': 'wsymbol_0001_sunny', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 1}, {'Date': '2026-07-20T03:00:00', 'Sunrise': '2026-07-20T05:40:00', 'Sunset': '2026-07-20T21:19:00', 'Condition': 113, 'Humidity': 62, 'Temperature': 11, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 2}], 'ErrorMessage': None, 'ErrorCode': 8000, 'DefaultHeatingSetTemperature': None, 'DefaultCoolingSetTemperature': None, 'HideVaneControls': False, 'HideDryModeControl': False, 'RoomTemperatureLabel': 0, 'InStandbyMode': False, 'TemperatureIncrementOverride': 0, 'ProhibitSetTemperature': False, 'ProhibitOperationMode': False, 'ProhibitPower': False, 'DemandPercentage': 100, 'DeviceID': 159673869, 'DeviceType': 0, 'LastCommunication': '2026-07-18T16:07:18.229', 'NextCommunication': '2026-07-18T16:08:18.229', 'Power': False, 'HasPendingCommand': False, 'Offline': True, 'Scene': None, 'SceneOwner': None}
2026-07-18 18:09:20.254 MelCloud: Update unit Wohnzimmer information.
2026-07-18 18:09:20.254 MelCloud: Heartbeat unit info: {'name': 'Wohnzimmer ', 'id': 159673869, 'macaddr': '28:2e:89:49:a2:76', 'sn': '2453921216', 'building_id': 1017666, 'power': False, 'op_mode': 3, 'room_temp': 27.0, 'set_temp': 23.0, 'set_fan': 0, 'vaneH': 5, 'vaneV': 1, 'next_comm': False, 'idoffset': 7, 'energy_wh': 117100.0, 'outdoor_sn': None, 'model': 'MSZ-AY42VGK'}
2026-07-18 18:09:20.254 MelCloud: Mode debounce Wohnzimmer : '0' en attente de confirmation
2026-07-18 18:09:20.277 MelCloud: Update unit 11 my information 2.
- Bastien13
- Posts: 17
- Joined: Thursday 16 July 2026 0:28
- Target OS: Linux
- Domoticz version: Last
- Location: France
- Contact:
Re: MelCloud plugin
Thanks, the log helps a lot.harrykausl wrote: Saturday 18 July 2026 18:15 The seconds are saved now. Here is the log, I saw, that it counts down with hearbeats (10 seconds) and not with seconds as defined in the interface.
2026-07-18 18:09:10.056 MelCloud: Polling unit in 1 heartbeats.
2026-07-18 18:09:20.077 MelCloud: Poll unit
2026-07-18 18:09:20.077 MelCloud: Current MEL Cloud Key ID:0-99CE176A9E7D4AB5A6E4F7552518B3-1312352-1
2026-07-18 18:09:20.181 MelCloud: JSON REPLY: {'EffectiveFlags': 0, 'LocalIPAddress': None, 'RoomTemperature': 26.0, 'SetTemperature': 23.0, 'SetFanSpeed': 0, 'OperationMode': 3, 'VaneHorizontal': 5, 'VaneVertical': 5, 'Name': None, 'NumberOfFanSpeeds': 5, 'WeatherObservations': [{'Date': '2026-07-18T18:00:00', 'Sunrise': '2026-07-18T05:38:00', 'Sunset': '2026-07-18T21:21:00', 'Condition': 116, 'Humidity': 29, 'Temperature': 29, 'Icon': 'wsymbol_0002_sunny_intervals', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 0}, {'Date': '2026-07-19T03:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 116, 'Humidity': 75, 'Temperature': 16, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 2}, {'Date': '2026-07-19T15:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 113, 'Humidity': 42, 'Temperature': 21, 'Icon': 'wsymbol_0001_sunny', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 1}, {'Date': '2026-07-20T03:00:00', 'Sunrise': '2026-07-20T05:40:00', 'Sunset': '2026-07-20T21:19:00', 'Condition': 113, 'Humidity': 62, 'Temperature': 11, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 2}], 'ErrorMessage': None, 'ErrorCode': 8000, 'DefaultHeatingSetTemperature': None, 'DefaultCoolingSetTemperature': None, 'HideVaneControls': False, 'HideDryModeControl': False, 'RoomTemperatureLabel': 0, 'InStandbyMode': False, 'TemperatureIncrementOverride': 0, 'ProhibitSetTemperature': False, 'ProhibitOperationMode': False, 'ProhibitPower': False, 'DemandPercentage': 100, 'DeviceID': 159674875, 'DeviceType': 0, 'LastCommunication': '2026-07-18T16:08:49.853', 'NextCommunication': '2026-07-18T16:09:49.853', 'Power': True, 'HasPendingCommand': False, 'Offline': False, 'Scene': None, 'SceneOwner': None}
2026-07-18 18:09:20.182 MelCloud: Update unit Schlafzimmer information.
2026-07-18 18:09:20.182 MelCloud: Heartbeat unit info: {'name': 'Schlafzimmer ', 'id': 159674875, 'macaddr': '28:2e:89:3a:32:33', 'sn': '2448110310', 'building_id': 1017666, 'power': True, 'op_mode': 3, 'room_temp': 26.0, 'set_temp': 23.0, 'set_fan': 0, 'vaneH': 5, 'vaneV': 5, 'next_comm': False, 'idoffset': 0, 'energy_wh': 55100.0, 'outdoor_sn': None, 'model': 'MSZ-AY35VGK'}
2026-07-18 18:09:20.182 MelCloud: Mode debounce Schlafzimmer : '20' en attente de confirmation
2026-07-18 18:09:20.198 MelCloud: Update unit 4 my information 2.
2026-07-18 18:09:20.253 MelCloud: JSON REPLY: {'EffectiveFlags': 0, 'LocalIPAddress': None, 'RoomTemperature': 27.0, 'SetTemperature': 23.0, 'SetFanSpeed': 0, 'OperationMode': 3, 'VaneHorizontal': 5, 'VaneVertical': 1, 'Name': None, 'NumberOfFanSpeeds': 5, 'WeatherObservations': [{'Date': '2026-07-18T18:00:00', 'Sunrise': '2026-07-18T05:38:00', 'Sunset': '2026-07-18T21:21:00', 'Condition': 116, 'Humidity': 29, 'Temperature': 29, 'Icon': 'wsymbol_0002_sunny_intervals', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 0}, {'Date': '2026-07-19T03:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 116, 'Humidity': 75, 'Temperature': 16, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Teilweise bewölkt', 'Day': 6, 'WeatherType': 2}, {'Date': '2026-07-19T15:00:00', 'Sunrise': '2026-07-19T05:39:00', 'Sunset': '2026-07-19T21:20:00', 'Condition': 113, 'Humidity': 42, 'Temperature': 21, 'Icon': 'wsymbol_0001_sunny', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 1}, {'Date': '2026-07-20T03:00:00', 'Sunrise': '2026-07-20T05:40:00', 'Sunset': '2026-07-20T21:19:00', 'Condition': 113, 'Humidity': 62, 'Temperature': 11, 'Icon': 'wsymbol_0008_clear_sky_night', 'ConditionName': 'Heiter', 'Day': 0, 'WeatherType': 2}], 'ErrorMessage': None, 'ErrorCode': 8000, 'DefaultHeatingSetTemperature': None, 'DefaultCoolingSetTemperature': None, 'HideVaneControls': False, 'HideDryModeControl': False, 'RoomTemperatureLabel': 0, 'InStandbyMode': False, 'TemperatureIncrementOverride': 0, 'ProhibitSetTemperature': False, 'ProhibitOperationMode': False, 'ProhibitPower': False, 'DemandPercentage': 100, 'DeviceID': 159673869, 'DeviceType': 0, 'LastCommunication': '2026-07-18T16:07:18.229', 'NextCommunication': '2026-07-18T16:08:18.229', 'Power': False, 'HasPendingCommand': False, 'Offline': True, 'Scene': None, 'SceneOwner': None}
2026-07-18 18:09:20.254 MelCloud: Update unit Wohnzimmer information.
2026-07-18 18:09:20.254 MelCloud: Heartbeat unit info: {'name': 'Wohnzimmer ', 'id': 159673869, 'macaddr': '28:2e:89:49:a2:76', 'sn': '2453921216', 'building_id': 1017666, 'power': False, 'op_mode': 3, 'room_temp': 27.0, 'set_temp': 23.0, 'set_fan': 0, 'vaneH': 5, 'vaneV': 1, 'next_comm': False, 'idoffset': 7, 'energy_wh': 117100.0, 'outdoor_sn': None, 'model': 'MSZ-AY42VGK'}
2026-07-18 18:09:20.254 MelCloud: Mode debounce Wohnzimmer : '0' en attente de confirmation
2026-07-18 18:09:20.277 MelCloud: Update unit 11 my information 2.
First a quick note, yes the log is in Domoticz, Setup menu then Log. In the log search box you can type "MelCloud" to keep only the plugin lines.
About the counter being in heartbeats rather than seconds, it's not a bug, it's just the cloud counter shown in 10-second beats. If your interval is 5 min, that's 30 heartbeats, so it is respected.
Your log does show the real issue though, both your units are polled by the cloud, which means local control isn't active on your side. And it's precisely local control that makes changes done on the remote show up instantly. Without it, only the cloud is left, which is slow.
To see why local doesn't start, no need to restart all of Domoticz, just edit the plugin hardware and save the configuration, that restarts the plugin on its own. Then look at the first lines in the log (filter "MelCloud"). You should get something like this:
Code: Select all
Status: MelCloud: Started.
Status: MelCloud: Initialized version 2.1.1, author '...'
MelCloud: Icônes: 27/27 entrée(s) résolue(s) par nom ; zips manquants: aucun
MelCloud: Local: activé (poll 10s, cloud en secours toutes les 300s).
MelCloud: Cache: ... unité(s) rechargée(s)
MelCloud: MELCloud connection OK
MelCloud: MELCloud login successfulIn that case, re-run the install:
Code: Select all
sudo pip3 install -r plugins/domoticz-python-melcloud/requirements.txtCopy me those few startup lines and we'll know right away where it's stuck.
-
harrykausl
- Posts: 225
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: MelCloud plugin
pi@pi:~$ sudo pip3 install -r plugins/domoticz-python-melcloud/requirements.txt
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
- Bastien13
- Posts: 17
- Joined: Thursday 16 July 2026 0:28
- Target OS: Linux
- Domoticz version: Last
- Location: France
- Contact:
Re: MelCloud plugin
That's normal on a recent Raspberry Pi, Debian no longer lets you install python packages with pip directly.harrykausl wrote: Saturday 18 July 2026 18:50 pi@pi:~$ sudo pip3 install -r plugins/domoticz-python-melcloud/requirements.txt
error: externally-managed-environment
× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.
If you wish to install a non-Debian-packaged Python package,
create a virtual environment using python3 -m venv path/to/venv.
Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
sure you have python3-full installed.
For more information visit http://rptl.io/venv
note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can override this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.
The cleanest way, install the packages through apt:
Code: Select all
sudo apt install python3-pycryptodome python3-requestsThen edit the plugin hardware and save it again to restart it, and check whether the log shows "Local: activé" this time.
If you'd rather stick with pip, the other option is to add the flag the message suggests:
Code: Select all
sudo pip3 install -r plugins/domoticz-python-melcloud/requirements.txt --break-system-packagesTo check that pycryptodome is visible to python, you can run:
Code: Select all
python3 -c "import Crypto; print(Crypto.__version__)"-
harrykausl
- Posts: 225
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: MelCloud plugin
Thanks, I'll try it tomorrow
- Bastien13
- Posts: 17
- Joined: Thursday 16 July 2026 0:28
- Target OS: Linux
- Domoticz version: Last
- Location: France
- Contact:
Re: MelCloud plugin
No rush, take your time. Ping me here if the log still doesn't show "Local: activé" after installing pycryptodome, and we'll take it from there. And if it works on your Pi, I'll add a proper Raspberry Pi section to the README, thanks to your feedback. Good luck!
-
harrykausl
- Posts: 225
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: MelCloud plugin
pi@pi:~$ sudo apt install python3-pycryptodome python3-requests
python3-pycryptodome is already the newest version (3.20.0+dfsg-3).
python3-requests is already the newest version (2.32.3+dfsg-5+deb13u1).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 8
pi@pi:~$ python3 -c "import Crypto; print(Crypto.__version__)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
import Crypto; print(Crypto.__version__)
^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'Crypto'
I also sent you a pm
python3-pycryptodome is already the newest version (3.20.0+dfsg-3).
python3-requests is already the newest version (2.32.3+dfsg-5+deb13u1).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 8
pi@pi:~$ python3 -c "import Crypto; print(Crypto.__version__)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
import Crypto; print(Crypto.__version__)
^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'Crypto'
I also sent you a pm
- Bastien13
- Posts: 17
- Joined: Thursday 16 July 2026 0:28
- Target OS: Linux
- Domoticz version: Last
- Location: France
- Contact:
Re: MelCloud plugin
Thanks a lot, the diagnosis is exactly right. The Debian package ships pycryptodome under the name Cryptodome and not Crypto, and the lib expected Crypto, so local control was disabled without saying so.harrykausl wrote: Sunday 19 July 2026 9:42 pi@pi:~$ sudo apt install python3-pycryptodome python3-requests
python3-pycryptodome is already the newest version (3.20.0+dfsg-3).
python3-requests is already the newest version (2.32.3+dfsg-5+deb13u1).
Summary:
Upgrading: 0, Installing: 0, Removing: 0, Not Upgrading: 8
pi@pi:~$ python3 -c "import Crypto; print(Crypto.__version__)"
Traceback (most recent call last):
File "<string>", line 1, in <module>
import Crypto; print(Crypto.__version__)
^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'Crypto'
I also sent you a pm
Good news, I've just fixed it (version 2.1.2). I took a slightly different approach from the one suggested, instead of replacing the imports with Cryptodome in the lib (which would break the other way around, the pip installs that provide Crypto), the plugin sets up a Cryptodome-to-Crypto bridge before loading the lib. That way both work, pip and apt, and I don't have to modify the vendored lib.
So you don't need to reinstall anything. Just do:
Code: Select all
git pullCheck the log, you should finally see "Local: activé". Let me know how it goes, and whether local control finds your units on your network.
-
harrykausl
- Posts: 225
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: MelCloud plugin
I don't find local active, here's the log from starting, I replaced the name with xxx.
2026-07-19 11:59:33.505 Status: PluginSystem: 1 plugins started.
2026-07-19 11:59:33.992 Status: MelCloud: Initialized version 2.1.2, author 'gysmo schurgan dalonsic ChatGPT Claude Bastien1307'
2026-07-19 11:59:34.067 Status: RFXCOM: Using serial port: /dev/ttyUSB-RFXtrx433
2026-07-19 11:59:34.083 MelCloud: Icônes: 27/27 entrée(s) résolue(s) par nom ; zips manquants: aucun
2026-07-19 11:59:34.090 Status: [web:8080] Incoming connection from: 127.0.0.1
2026-07-19 11:59:34.093 MelCloud: Local: activé (poll 30s, cloud en secours toutes les 300s).
2026-07-19 11:59:34.094 MelCloud: Cache: 2 unité(s) rechargée(s) sans cloud: Schlafzimmer , Wohnzimmer
2026-07-19 11:59:34.245 MelCloud: MELCloud connection OK
2026-07-19 11:59:34.346 MelCloud: MELCloud login successful
2026-07-19 11:59:34.547 MelCloud: Find 1 buildings
2026-07-19 11:59:34.547 MelCloud: Find 0 areas in building xxxxxxx
2026-07-19 11:59:34.547 MelCloud: Find 0 floors in building xxxxxxx
2026-07-19 11:59:34.548 MelCloud: Found Schlafzimmer in building xxxxxxx Devices | EnergyConsumed: 55.200 kWh
2026-07-19 11:59:34.548 MelCloud: Found Wohnzimmer in building xxxxxxx Devices | EnergyConsumed: 117.500 kWh
2026-07-19 11:59:34.548 MelCloud: Found 2 devices in building xxxxxxx Devices of the Type 0 (Aircondition) CurrentEnergyConsumed 173 kWh
2026-07-19 11:59:34.548 MelCloud: Found 0 devices in building xxxxxxx Areas of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 11:59:34.548 MelCloud: Found 0 devices in building xxxxxxx Floors of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 11:59:34.548 MelCloud: Units infos [{'name': 'Schlafzimmer ', 'id': 159674875, 'macaddr': '28:2e:89:3a:32:33', 'sn': '2448110310', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 0, 'energy_wh': 55200.0, 'outdoor_sn': None, 'model': 'MSZ-AY35VGK'}, {'name': 'Wohnzimmer ', 'id': 159673869, 'macaddr': '28:2e:89:49:a2:76', 'sn': '2453921216', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 7, 'energy_wh': 117500.0, 'outdoor_sn': None, 'model': 'MSZ-AY42VG
2026-07-19 11:59:33.505 Status: PluginSystem: 1 plugins started.
2026-07-19 11:59:33.992 Status: MelCloud: Initialized version 2.1.2, author 'gysmo schurgan dalonsic ChatGPT Claude Bastien1307'
2026-07-19 11:59:34.067 Status: RFXCOM: Using serial port: /dev/ttyUSB-RFXtrx433
2026-07-19 11:59:34.083 MelCloud: Icônes: 27/27 entrée(s) résolue(s) par nom ; zips manquants: aucun
2026-07-19 11:59:34.090 Status: [web:8080] Incoming connection from: 127.0.0.1
2026-07-19 11:59:34.093 MelCloud: Local: activé (poll 30s, cloud en secours toutes les 300s).
2026-07-19 11:59:34.094 MelCloud: Cache: 2 unité(s) rechargée(s) sans cloud: Schlafzimmer , Wohnzimmer
2026-07-19 11:59:34.245 MelCloud: MELCloud connection OK
2026-07-19 11:59:34.346 MelCloud: MELCloud login successful
2026-07-19 11:59:34.547 MelCloud: Find 1 buildings
2026-07-19 11:59:34.547 MelCloud: Find 0 areas in building xxxxxxx
2026-07-19 11:59:34.547 MelCloud: Find 0 floors in building xxxxxxx
2026-07-19 11:59:34.548 MelCloud: Found Schlafzimmer in building xxxxxxx Devices | EnergyConsumed: 55.200 kWh
2026-07-19 11:59:34.548 MelCloud: Found Wohnzimmer in building xxxxxxx Devices | EnergyConsumed: 117.500 kWh
2026-07-19 11:59:34.548 MelCloud: Found 2 devices in building xxxxxxx Devices of the Type 0 (Aircondition) CurrentEnergyConsumed 173 kWh
2026-07-19 11:59:34.548 MelCloud: Found 0 devices in building xxxxxxx Areas of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 11:59:34.548 MelCloud: Found 0 devices in building xxxxxxx Floors of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 11:59:34.548 MelCloud: Units infos [{'name': 'Schlafzimmer ', 'id': 159674875, 'macaddr': '28:2e:89:3a:32:33', 'sn': '2448110310', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 0, 'energy_wh': 55200.0, 'outdoor_sn': None, 'model': 'MSZ-AY35VGK'}, {'name': 'Wohnzimmer ', 'id': 159673869, 'macaddr': '28:2e:89:49:a2:76', 'sn': '2453921216', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 7, 'energy_wh': 117500.0, 'outdoor_sn': None, 'model': 'MSZ-AY42VG
- Bastien13
- Posts: 17
- Joined: Thursday 16 July 2026 0:28
- Target OS: Linux
- Domoticz version: Last
- Location: France
- Contact:
Re: MelCloud plugin
Actually good news, it worked: the line "Local: activé" means local control did start (it's French, you were probably looking for "active"). The pycryptodome problem is solved.harrykausl wrote: Sunday 19 July 2026 12:06 I don't find local active, here's the log from starting, I replaced the name with xxx.
2026-07-19 11:59:33.505 Status: PluginSystem: 1 plugins started.
2026-07-19 11:59:33.992 Status: MelCloud: Initialized version 2.1.2, author 'gysmo schurgan dalonsic ChatGPT Claude Bastien1307'
2026-07-19 11:59:34.067 Status: RFXCOM: Using serial port: /dev/ttyUSB-RFXtrx433
2026-07-19 11:59:34.083 MelCloud: Icônes: 27/27 entrée(s) résolue(s) par nom ; zips manquants: aucun
2026-07-19 11:59:34.090 Status: [web:8080] Incoming connection from: 127.0.0.1
2026-07-19 11:59:34.093 MelCloud: Local: activé (poll 30s, cloud en secours toutes les 300s).
2026-07-19 11:59:34.094 MelCloud: Cache: 2 unité(s) rechargée(s) sans cloud: Schlafzimmer , Wohnzimmer
2026-07-19 11:59:34.245 MelCloud: MELCloud connection OK
2026-07-19 11:59:34.346 MelCloud: MELCloud login successful
2026-07-19 11:59:34.547 MelCloud: Find 1 buildings
2026-07-19 11:59:34.547 MelCloud: Find 0 areas in building xxxxxxx
2026-07-19 11:59:34.547 MelCloud: Find 0 floors in building xxxxxxx
2026-07-19 11:59:34.548 MelCloud: Found Schlafzimmer in building xxxxxxx Devices | EnergyConsumed: 55.200 kWh
2026-07-19 11:59:34.548 MelCloud: Found Wohnzimmer in building xxxxxxx Devices | EnergyConsumed: 117.500 kWh
2026-07-19 11:59:34.548 MelCloud: Found 2 devices in building xxxxxxx Devices of the Type 0 (Aircondition) CurrentEnergyConsumed 173 kWh
2026-07-19 11:59:34.548 MelCloud: Found 0 devices in building xxxxxxx Areas of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 11:59:34.548 MelCloud: Found 0 devices in building xxxxxxx Floors of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 11:59:34.548 MelCloud: Units infos [{'name': 'Schlafzimmer ', 'id': 159674875, 'macaddr': '28:2e:89:3a:32:33', 'sn': '2448110310', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 0, 'energy_wh': 55200.0, 'outdoor_sn': None, 'model': 'MSZ-AY35VGK'}, {'name': 'Wohnzimmer ', 'id': 159673869, 'macaddr': '28:2e:89:49:a2:76', 'sn': '2453921216', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 7, 'energy_wh': 117500.0, 'outdoor_sn': None, 'model': 'MSZ-AY42VG
What's left is to see whether the plugin finds your units on your network. That happens right after startup, not in the lines you pasted. Let it run for a minute after the plugin starts, then look a bit further down in the log for lines starting with "Local:". You should see either:
- "Local: clim ... trouvée en ..." if all is well
- "Local: scan round ..." while it's searching
- or "... injoignable en local" / "isolé ?" if the plugin can't reach your units
For the most detail, you can also set the plugin's Debug parameter to a verbose level before restarting.
-
harrykausl
- Posts: 225
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: MelCloud plugin
I don't see anything with local, hers once again the info, same network
2026-07-19 12:31:08.960 Status: PluginSystem: 1 plugins started.
2026-07-19 12:31:09.391 Status: MelCloud: Initialized version 2.1.2, author 'gysmo schurgan dalonsic ChatGPT Claude Bastien1307'
2026-07-19 12:31:09.483 MelCloud: Icônes: 27/27 entrée(s) résolue(s) par nom ; zips manquants: aucun
2026-07-19 12:31:09.489 Status: [web:8080] Incoming connection from: 127.0.0.1
2026-07-19 12:31:09.493 MelCloud: Local: activé (poll 30s, cloud en secours toutes les 300s).
2026-07-19 12:31:09.494 MelCloud: Cache: 2 unité(s) rechargée(s) sans cloud: Schlafzimmer , Wohnzimmer
2026-07-19 12:31:09.517 Status: RFXCOM: Using serial port: /dev/ttyUSB-RFXtrx433
2026-07-19 12:31:09.644 MelCloud: MELCloud connection OK
2026-07-19 12:31:09.795 MelCloud: MELCloud login successful
2026-07-19 12:31:09.947 MelCloud: Find 1 buildings
2026-07-19 12:31:09.947 MelCloud: Find 0 areas in building xxxxxxx
2026-07-19 12:31:09.947 MelCloud: Find 0 floors in building xxxxxxx
2026-07-19 12:31:09.947 MelCloud: Found Schlafzimmer in building xxxxxxx Devices | EnergyConsumed: 55.200 kWh
2026-07-19 12:31:09.947 MelCloud: Found Wohnzimmer in building xxxxxxx Devices | EnergyConsumed: 117.700 kWh
2026-07-19 12:31:09.947 MelCloud: Found 2 devices in building xxxxxxx Devices of the Type 0 (Aircondition) CurrentEnergyConsumed 173 kWh
2026-07-19 12:31:09.948 MelCloud: Found 0 devices in building xxxxxxx Areas of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 12:31:09.948 MelCloud: Found 0 devices in building xxxxxxx Floors of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 12:31:09.948 MelCloud: Units infos [{'name': 'Schlafzimmer ', 'id': 159674875, 'macaddr': '28:2e:89:3a:32:33', 'sn': '2448110310', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 0, 'energy_wh': 55200.0, 'outdoor_sn': None, 'model': 'MSZ-AY35VGK'}, {'name': 'Wohnzimmer ', 'id': 159673869, 'macaddr': '28:2e:89:49:a2:76', 'sn': '2453921216', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 7, 'energy_wh': 117700.0, 'outdoor_sn': None, 'model': 'MSZ-AY42VGK'}]
2026-07-19 12:31:10.092
2026-07-19 12:31:10.168 subtype = Interface Response
2026-07-19 12:31:10.168 Sequence nbr = 2
2026-07-19 12:31:10.168 response on cmnd = Get Status
2026-07-19 12:31:10.168 Transceiver type = 433.92MHz
2026-07-19 12:31:10.168 Firmware version = 1028
2026-07-19 12:31:10.168 Firmware type = Ext2
2026-07-19 12:31:10.168 Hardware version = 1.3
2026-07-19 12:31:10.168 Undec off
2026-07-19 12:31:10.168 X10 enabled
2026-07-19 12:31:10.168 ARC enabled
2026-07-19 12:31:10.168 AC enabled
2026-07-19 12:31:10.168 HomeEasy EU disabled
2026-07-19 12:31:10.168 Meiantech/Atlantic disabled
2026-07-19 12:31:10.168 Oregon Scientific enabled
2026-07-19 12:31:10.168 ATI/Cartelectronic disabled
2026-07-19 12:31:10.168 Visonic disabled
2026-07-19 12:31:10.168 Mertik disabled
2026-07-19 12:31:10.168 AD disabled
2026-07-19 12:31:10.168 Hideki disabled
2026-07-19 12:31:10.168 La Crosse disabled
2026-07-19 12:31:10.168 Legrand disabled
2026-07-19 12:31:10.168 MSG4Reserved5 disabled
2026-07-19 12:31:10.168 BlindsT0 disabled
2026-07-19 12:31:10.168 BlindsT1 disabled
2026-07-19 12:31:10.168 AE disabled
2026-07-19 12:31:10.168 RUBiCSON disabled
2026-07-19 12:31:10.168 FineOffset disabled
2026-07-19 12:31:10.168 Lighting4 disabled
2026-07-19 12:31:10.168 Conrad RSL disabled
2026-07-19 12:31:10.168 ByronSX disabled
2026-07-19 12:31:10.168 IMAGINTRONIX disabled
2026-07-19 12:31:10.168 KEELOQ disabled
2026-07-19 12:31:10.168 Home Confort disabled
2026-07-19 12:31:08.960 Status: PluginSystem: 1 plugins started.
2026-07-19 12:31:09.391 Status: MelCloud: Initialized version 2.1.2, author 'gysmo schurgan dalonsic ChatGPT Claude Bastien1307'
2026-07-19 12:31:09.483 MelCloud: Icônes: 27/27 entrée(s) résolue(s) par nom ; zips manquants: aucun
2026-07-19 12:31:09.489 Status: [web:8080] Incoming connection from: 127.0.0.1
2026-07-19 12:31:09.493 MelCloud: Local: activé (poll 30s, cloud en secours toutes les 300s).
2026-07-19 12:31:09.494 MelCloud: Cache: 2 unité(s) rechargée(s) sans cloud: Schlafzimmer , Wohnzimmer
2026-07-19 12:31:09.517 Status: RFXCOM: Using serial port: /dev/ttyUSB-RFXtrx433
2026-07-19 12:31:09.644 MelCloud: MELCloud connection OK
2026-07-19 12:31:09.795 MelCloud: MELCloud login successful
2026-07-19 12:31:09.947 MelCloud: Find 1 buildings
2026-07-19 12:31:09.947 MelCloud: Find 0 areas in building xxxxxxx
2026-07-19 12:31:09.947 MelCloud: Find 0 floors in building xxxxxxx
2026-07-19 12:31:09.947 MelCloud: Found Schlafzimmer in building xxxxxxx Devices | EnergyConsumed: 55.200 kWh
2026-07-19 12:31:09.947 MelCloud: Found Wohnzimmer in building xxxxxxx Devices | EnergyConsumed: 117.700 kWh
2026-07-19 12:31:09.947 MelCloud: Found 2 devices in building xxxxxxx Devices of the Type 0 (Aircondition) CurrentEnergyConsumed 173 kWh
2026-07-19 12:31:09.948 MelCloud: Found 0 devices in building xxxxxxx Areas of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 12:31:09.948 MelCloud: Found 0 devices in building xxxxxxx Floors of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 12:31:09.948 MelCloud: Units infos [{'name': 'Schlafzimmer ', 'id': 159674875, 'macaddr': '28:2e:89:3a:32:33', 'sn': '2448110310', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 0, 'energy_wh': 55200.0, 'outdoor_sn': None, 'model': 'MSZ-AY35VGK'}, {'name': 'Wohnzimmer ', 'id': 159673869, 'macaddr': '28:2e:89:49:a2:76', 'sn': '2453921216', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 7, 'energy_wh': 117700.0, 'outdoor_sn': None, 'model': 'MSZ-AY42VGK'}]
2026-07-19 12:31:10.092
2026-07-19 12:31:10.168 subtype = Interface Response
2026-07-19 12:31:10.168 Sequence nbr = 2
2026-07-19 12:31:10.168 response on cmnd = Get Status
2026-07-19 12:31:10.168 Transceiver type = 433.92MHz
2026-07-19 12:31:10.168 Firmware version = 1028
2026-07-19 12:31:10.168 Firmware type = Ext2
2026-07-19 12:31:10.168 Hardware version = 1.3
2026-07-19 12:31:10.168 Undec off
2026-07-19 12:31:10.168 X10 enabled
2026-07-19 12:31:10.168 ARC enabled
2026-07-19 12:31:10.168 AC enabled
2026-07-19 12:31:10.168 HomeEasy EU disabled
2026-07-19 12:31:10.168 Meiantech/Atlantic disabled
2026-07-19 12:31:10.168 Oregon Scientific enabled
2026-07-19 12:31:10.168 ATI/Cartelectronic disabled
2026-07-19 12:31:10.168 Visonic disabled
2026-07-19 12:31:10.168 Mertik disabled
2026-07-19 12:31:10.168 AD disabled
2026-07-19 12:31:10.168 Hideki disabled
2026-07-19 12:31:10.168 La Crosse disabled
2026-07-19 12:31:10.168 Legrand disabled
2026-07-19 12:31:10.168 MSG4Reserved5 disabled
2026-07-19 12:31:10.168 BlindsT0 disabled
2026-07-19 12:31:10.168 BlindsT1 disabled
2026-07-19 12:31:10.168 AE disabled
2026-07-19 12:31:10.168 RUBiCSON disabled
2026-07-19 12:31:10.168 FineOffset disabled
2026-07-19 12:31:10.168 Lighting4 disabled
2026-07-19 12:31:10.168 Conrad RSL disabled
2026-07-19 12:31:10.168 ByronSX disabled
2026-07-19 12:31:10.168 IMAGINTRONIX disabled
2026-07-19 12:31:10.168 KEELOQ disabled
2026-07-19 12:31:10.168 Home Confort disabled
- Bastien13
- Posts: 17
- Joined: Thursday 16 July 2026 0:28
- Target OS: Linux
- Domoticz version: Last
- Location: France
- Contact:
Re: MelCloud plugin
It works! Your debug log shows exactly what's needed:harrykausl wrote: Sunday 19 July 2026 12:36 I don't see anything with local, hers once again the info, same network
2026-07-19 12:31:08.960 Status: PluginSystem: 1 plugins started.
2026-07-19 12:31:09.391 Status: MelCloud: Initialized version 2.1.2, author 'gysmo schurgan dalonsic ChatGPT Claude Bastien1307'
2026-07-19 12:31:09.483 MelCloud: Icônes: 27/27 entrée(s) résolue(s) par nom ; zips manquants: aucun
2026-07-19 12:31:09.489 Status: [web:8080] Incoming connection from: 127.0.0.1
2026-07-19 12:31:09.493 MelCloud: Local: activé (poll 30s, cloud en secours toutes les 300s).
2026-07-19 12:31:09.494 MelCloud: Cache: 2 unité(s) rechargée(s) sans cloud: Schlafzimmer , Wohnzimmer
2026-07-19 12:31:09.517 Status: RFXCOM: Using serial port: /dev/ttyUSB-RFXtrx433
2026-07-19 12:31:09.644 MelCloud: MELCloud connection OK
2026-07-19 12:31:09.795 MelCloud: MELCloud login successful
2026-07-19 12:31:09.947 MelCloud: Find 1 buildings
2026-07-19 12:31:09.947 MelCloud: Find 0 areas in building xxxxxxx
2026-07-19 12:31:09.947 MelCloud: Find 0 floors in building xxxxxxx
2026-07-19 12:31:09.947 MelCloud: Found Schlafzimmer in building xxxxxxx Devices | EnergyConsumed: 55.200 kWh
2026-07-19 12:31:09.947 MelCloud: Found Wohnzimmer in building xxxxxxx Devices | EnergyConsumed: 117.700 kWh
2026-07-19 12:31:09.947 MelCloud: Found 2 devices in building xxxxxxx Devices of the Type 0 (Aircondition) CurrentEnergyConsumed 173 kWh
2026-07-19 12:31:09.948 MelCloud: Found 0 devices in building xxxxxxx Areas of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 12:31:09.948 MelCloud: Found 0 devices in building xxxxxxx Floors of the Type 0 (Aircondition) CurrentEnergyConsumed 0 kWh
2026-07-19 12:31:09.948 MelCloud: Units infos [{'name': 'Schlafzimmer ', 'id': 159674875, 'macaddr': '28:2e:89:3a:32:33', 'sn': '2448110310', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 0, 'energy_wh': 55200.0, 'outdoor_sn': None, 'model': 'MSZ-AY35VGK'}, {'name': 'Wohnzimmer ', 'id': 159673869, 'macaddr': '28:2e:89:49:a2:76', 'sn': '2453921216', 'building_id': 1017666, 'power': '', 'op_mode': '', 'room_temp': '', 'set_temp': '', 'set_fan': '', 'vaneH': '', 'vaneV': '', 'next_comm': False, 'idoffset': 7, 'energy_wh': 117700.0, 'outdoor_sn': None, 'model': 'MSZ-AY42VGK'}]
2026-07-19 12:31:10.092
2026-07-19 12:31:10.168 subtype = Interface Response
2026-07-19 12:31:10.168 Sequence nbr = 2
2026-07-19 12:31:10.168 response on cmnd = Get Status
2026-07-19 12:31:10.168 Transceiver type = 433.92MHz
2026-07-19 12:31:10.168 Firmware version = 1028
2026-07-19 12:31:10.168 Firmware type = Ext2
2026-07-19 12:31:10.168 Hardware version = 1.3
2026-07-19 12:31:10.168 Undec off
2026-07-19 12:31:10.168 X10 enabled
2026-07-19 12:31:10.168 ARC enabled
2026-07-19 12:31:10.168 AC enabled
2026-07-19 12:31:10.168 HomeEasy EU disabled
2026-07-19 12:31:10.168 Meiantech/Atlantic disabled
2026-07-19 12:31:10.168 Oregon Scientific enabled
2026-07-19 12:31:10.168 ATI/Cartelectronic disabled
2026-07-19 12:31:10.168 Visonic disabled
2026-07-19 12:31:10.168 Mertik disabled
2026-07-19 12:31:10.168 AD disabled
2026-07-19 12:31:10.168 Hideki disabled
2026-07-19 12:31:10.168 La Crosse disabled
2026-07-19 12:31:10.168 Legrand disabled
2026-07-19 12:31:10.168 MSG4Reserved5 disabled
2026-07-19 12:31:10.168 BlindsT0 disabled
2026-07-19 12:31:10.168 BlindsT1 disabled
2026-07-19 12:31:10.168 AE disabled
2026-07-19 12:31:10.168 RUBiCSON disabled
2026-07-19 12:31:10.168 FineOffset disabled
2026-07-19 12:31:10.168 Lighting4 disabled
2026-07-19 12:31:10.168 Conrad RSL disabled
2026-07-19 12:31:10.168 ByronSX disabled
2026-07-19 12:31:10.168 IMAGINTRONIX disabled
2026-07-19 12:31:10.168 KEELOQ disabled
2026-07-19 12:31:10.168 Home Confort disabled
Local poll Schlafzimmer ...
Local poll Wohnzimmer ...
Both your units are being controlled locally, with real power in watts. You didn't see anything before because those lines only show up in Debug mode, but local control was already running.
To confirm the last point you were missing at the start, change something on the remote (on/off, temperature) and wait for the local poll interval. You can even set it to 10s to make it more responsive, I'm on 10s myself and it works very well. The device in Domoticz should then update on its own.
Once you've checked, set the Debug parameter back to none, otherwise the log quickly gets buried in details.
Thanks a lot for testing, it's the first time someone other than me runs local control, your feedback really helped me validate all this.
-
harrykausl
- Posts: 225
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: MelCloud plugin
Thanks, the one in Schlafzimmer seems to work now vice versa. The one in Wohnzimmer doesn't work correct. When I start it with the remote and cool, I get auto in domoticz. When I stop it in domoticz nothing happens. I can't change it in domoticz. I'll have to look on it.
I think I'll delete all the devices for this climate and let it become new found.
I think I'll delete all the devices for this climate and let it become new found.
-
harrykausl
- Posts: 225
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: MelCloud plugin
I deleted all whinzimmer devices and restartet domiticz. No new devices are created, I get following errors:
Call to function 'onHeartbeat' failed, exception details:
2026-07-19 14:15:11.616 Error: MelCloud: Traceback (most recent call last):
2026-07-19 14:15:11.616 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1659, in onHeartbeat
2026-07-19 14:15:11.616 Error: MelCloud: _plugin.onHeartbeat()
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~^^
2026-07-19 14:15:11.617 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1151, in onHeartbeat
2026-07-19 14:15:11.617 Error: MelCloud: self._local_heartbeat()
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~~~^^
2026-07-19 14:15:11.617 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1100, in _local_heartbeat
2026-07-19 14:15:11.617 Error: MelCloud: self._local_sync_unit(unit, state)
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
2026-07-19 14:15:11.617 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1139, in _local_sync_unit
2026-07-19 14:15:11.617 Error: MelCloud: self.domoticz_sync_switchs(unit)
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
2026-07-19 14:15:11.618 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1575, in domoticz_sync_switchs
2026-07-19 14:15:11.618 Error: MelCloud: self._update_if_changed(Devices[self.list_switchs[1]["id"]+unit["idoffset"]],
2026-07-19 14:15:11.618 Error: MelCloud: ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-07-19 14:15:11.618 Error: MelCloud: KeyError: 9
Call to function 'onHeartbeat' failed, exception details:
2026-07-19 14:15:11.616 Error: MelCloud: Traceback (most recent call last):
2026-07-19 14:15:11.616 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1659, in onHeartbeat
2026-07-19 14:15:11.616 Error: MelCloud: _plugin.onHeartbeat()
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~^^
2026-07-19 14:15:11.617 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1151, in onHeartbeat
2026-07-19 14:15:11.617 Error: MelCloud: self._local_heartbeat()
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~~~^^
2026-07-19 14:15:11.617 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1100, in _local_heartbeat
2026-07-19 14:15:11.617 Error: MelCloud: self._local_sync_unit(unit, state)
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
2026-07-19 14:15:11.617 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1139, in _local_sync_unit
2026-07-19 14:15:11.617 Error: MelCloud: self.domoticz_sync_switchs(unit)
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
2026-07-19 14:15:11.618 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1575, in domoticz_sync_switchs
2026-07-19 14:15:11.618 Error: MelCloud: self._update_if_changed(Devices[self.list_switchs[1]["id"]+unit["idoffset"]],
2026-07-19 14:15:11.618 Error: MelCloud: ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-07-19 14:15:11.618 Error: MelCloud: KeyError: 9
- Bastien13
- Posts: 17
- Joined: Thursday 16 July 2026 0:28
- Target OS: Linux
- Domoticz version: Last
- Location: France
- Contact:
Re: MelCloud plugin
Nice catch, you hit a real bug: when you delete the devices of one unit while keeping another one's, the plugin didn't recreate them and crashed (the KeyError you see). I've just fixed it, it now recreates the missing devices on its own.harrykausl wrote: Sunday 19 July 2026 14:16 I deleted all whinzimmer devices and restartet domiticz. No new devices are created, I get following errors:
Call to function 'onHeartbeat' failed, exception details:
2026-07-19 14:15:11.616 Error: MelCloud: Traceback (most recent call last):
2026-07-19 14:15:11.616 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1659, in onHeartbeat
2026-07-19 14:15:11.616 Error: MelCloud: _plugin.onHeartbeat()
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~^^
2026-07-19 14:15:11.617 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1151, in onHeartbeat
2026-07-19 14:15:11.617 Error: MelCloud: self._local_heartbeat()
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~~~^^
2026-07-19 14:15:11.617 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1100, in _local_heartbeat
2026-07-19 14:15:11.617 Error: MelCloud: self._local_sync_unit(unit, state)
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
2026-07-19 14:15:11.617 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1139, in _local_sync_unit
2026-07-19 14:15:11.617 Error: MelCloud: self.domoticz_sync_switchs(unit)
2026-07-19 14:15:11.617 Error: MelCloud: ~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^
2026-07-19 14:15:11.618 Error: MelCloud: File "/home/pi/domoticz/plugins/domoticz-python-melcloud/plugin.py", line 1575, in domoticz_sync_switchs
2026-07-19 14:15:11.618 Error: MelCloud: self._update_if_changed(Devices[self.list_switchs[1]["id"]+unit["idoffset"]],
2026-07-19 14:15:11.618 Error: MelCloud: ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026-07-19 14:15:11.618 Error: MelCloud: KeyError: 9
Do a git pull in the plugin folder, then edit the plugin hardware and save it to restart it. The Wohnzimmer devices should be recreated automatically and the crash should be gone.
For the mode issue (cool showing as auto), I'll send you a small diagnostic script by private message, so we can see exactly what your Wohnzimmer reports.
-
harrykausl
- Posts: 225
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: MelCloud plugin
I deletet all devices and disabled the hardware, then restartet, enabled the hardware and no it seems to work. I'll have to test it. Thanks a lot for your work. If I will see any problems, I'll inform you.
- Bastien13
- Posts: 17
- Joined: Thursday 16 July 2026 0:28
- Target OS: Linux
- Domoticz version: Last
- Location: France
- Contact:
Re: MelCloud plugin
Just checking in: did deleting and recreating the devices also fix the Wohnzimmer? Specifically, when you set it to cool with the remote, does it now show as cool in Domoticz (no longer auto), and can you control it from Domoticz (on/off)?harrykausl wrote: Sunday 19 July 2026 16:28 I deletet all devices and disabled the hardware, then restartet, enabled the hardware and no it seems to work. I'll have to test it. Thanks a lot for your work. If I will see any problems, I'll inform you.
If it's all good, great. If cool still shows as auto, let me know and we'll look into it with the little script I sent you.
-
harrykausl
- Posts: 225
- Joined: Sunday 13 November 2016 10:43
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021.1
- Location: Germany
- Contact:
Re: MelCloud plugin
All seems to be good. Thanks!!
- Bastien13
- Posts: 17
- Joined: Thursday 16 July 2026 0:28
- Target OS: Linux
- Domoticz version: Last
- Location: France
- Contact:
Re: MelCloud plugin
Great, thanks a lot for all your testing and feedback! It let me fix several things. Don't hesitate if you run into anything in the future.