[APP][Pro] MELCloud & MELCloud Extension - Take control of your heat pump

Indeed these cards don’t work the same way than the main card because they are generated differently by the system (it’s a “sub-capability”), so the source value cannot be selected.

Then it’s working as expected but I will correct the labels and remove the “till”.

I have been using the “Current FAN speed” as an indicator that my Hero is working/heating but now it seems to be at 100% all the time, is this correct?

The Device has two FAN speed now, 5 (Wanted) and 100% (Actual?).

Hi, thanks for this catch. I’ve located the issue, should be fixed in next patch.

Thanks!

@Marius_Stensrod, @KWallin, @Christer_Sjostrom, your issues should be fixed MELCloud App for Homey | Homey

@OlivierZal , still the same. Impossible to use.

Problem is that I have no Android device to test with, and on iPhone it works well.

What I can try to do is to add a setting to disable the animations.

Anyone else encountering any issue with the widget? I’ve been using it for some months (because I created it in my dev environment quite a long time ago, while widgets were released to Homey 2016-2019 only this week), and never encountered any problem.

f4382e97-1e90-414a-9024-af0f1cdc8ae2

The app regularly stops working, showing the red error sign in the tile of the climate unit.
I need to reset the app more the once a day, which was NOT the fact 1 week ago.

Please check.

Hi @Phil_Bro,

If you are the one who sent a report some minutes ago, I’ve already answered.

Now some rules on this community forum.

Remember that:

  • I’m not an Athom employee
  • I’m not paid for my work
  • I do it on my free time

Please:

  • you can say “hi”, “thanks”, “regards”: it’s polite…
  • DON’T USE CAPITAL LETTERS: it’s rude
  • don’t use imperative (“Please check”): it’s rude

Thanks in advance to respect the developers, and be nice with them :slight_smile:

Kind regards

3 Likes

Hi Oliver,

Thank you in full respect for the reply and recommendation by mail.

I am aware of the community rules and active some time to help people in other topics.

Appreciate your concern regarding my request.

BR,

1 Like

Hi Olivier,

For some reason the test version is not available. I tried the link you sent me by mail, it simply goes to the live version, 40.0.2. Any chance the test link was deactivated?

Thanks!

Hi, There is a problem with memory use on the 40 version of the app. I am running 2 Homeys with 3 Heaters/AC on each. One 2019 Homey and one 2023 Homey. After release on version 40 and upwards the 2019 crash the app during the nights due to excessive memory use. the 2023 Homey survives the memory use without crashing the app. When the app crashes on the 2019 the heaters just keep on heating and the house is just like a sauna. Can you Please put a new version without the new features until its memory problem is fixed. Included is the screen dump from Homey 2019 and 2023. The one with massive peaks are the 2019 Homey. BR Kjell from Sweden.


Hi @Phil_Bro,

In the meanwhile the test version has been approved and became the production one.

I’ll contact you in a direct message to debug you personally.

Kind regard

Hi @Kjell_Blomberg, thanks for your insights.

Some remarks:

  • unfortunately it’s not that simple to roll-back on Homey, because it would roll-back for every user, and it would be a mess because of breaking changes
  • the possible leak I’ve identified was on the widget, but since it shouldn’t happen if the widget is not set up, that would mean there is another one, and I don’t know yet where it is located…
  • also the fact it works well on Homey 2023 and not on Homey 2016-2019 could point out that the issue is due to obsolete node version or buggy architecture on this product, and since I’m not Athom it’s complicated to investigate and by-pass.

I’ll try my best, but again I do it on my free time, so please be patient: you can see I’m always reactive and take into account every request which is raised to me, but if I cannot reproduce the issue myself it’s complicated.

Something which would help me a lot: are air-to-water users encountering the same issue on a Homey 2016-2019?

Hi Oliver, I fully understand your position regarding the development. So I have not setup the widget ( don’t now how to ), so the other memory leak have occurred after the push of +40 widget version. Does the widget work on the 2019 Homey or just on the 2023. I also noted that since late versions i.e +39. Every time the app is updating to new versions some of my virtual devices based on “Device Capabilities” calculation fields that uses “Better Logic Library” stop calculating and I have to restart the Homey 2019 to solve this. This is not happening on the 2023 Homey.

39+ versions contained breaking changes because they took into account new Homey development features. So it could be the cause, but an app cannot be aware of the way other apps handle (well or bad) third-parties including the app itself.

The widget should work on both, but Homey code bases and firmwares are different and not aligned between Homey 2023 and 2016-2019, and I have no visibility on that.

I’m investigating what could cause such leak.

The widget should not work unless it’s explicitly set up.

After having read some documentation, it seems that it’s related to the way ESM is run by Homey 2016-2019 (node 16), and could be fixed by adding a parameter --max-old-space-size to be sure that old objects free the space quick enough, but since the app is run by the Homey Pro, I have no control on it (as far as I know). Someone requested this from Athom some days ago and it hasn’t been answered: Lack of memory · Issue #371 · athombv/homey-apps-sdk-issues · GitHub

The best solution would be Athom upgrading Node version on old Homeys, but it’s not planned at all.

So a solution would be to roll-back the whole app to CommonJS… would cost me a lot compared to the effort I’ve put in this release :frowning:

OK but how do we solve this problem ?. The app crashes every night on the 2019. Is it possible to push up the 39 version for jut the old 2016-2019 Homeys ? and the 40 versions for the 2023 Homeys. Maybe give the app different names for the old and new ones. Then update works for the new one.

Unfortuntely it doesn’t work this way.