MyHeatpump App: Day view not showing

Hi. I have problem with my Heatpump app for 4-5 days. May be the issue have something in common with the new updates of the app. The problem occurs only on my local copy. The emocms.org app works fine. When I try to reach daily or hourly view the screen do not show any data and stay blank white or stay in previous mode showing monthly or yearly data.


Does somebody have any idea what`s going on with the app?
This message is shown when trying to configure sofe of the options for Carnot , stnadby power or defrost and other heatloss…
image

Hello @Ivailo_Stefanov you may need to do a database update on your local system? From the Admin page:

Updated it. Did not fixed the problem.

I have the same problem. Have tried a full update and it is still there

I think for me the problem appeared after I updated the whole system before 4 or 5 days… Haven’t used emoncms for the whole summer and after starting it I done the update…

1 Like

I can’t quite see how the code is causing this error.

Could you describe the steps that reproduce the error in more detail.

I have just pushed up some unrelated changes , might be worth updating and trying again, both the app and a database update, just in case it was a stable/master mismatch issue or javascript cache…

I’m seeing this exact error message on my instance if the app doesn’t have a feed for heatpump_elec where it’s trying to calculate standby energy (myheatpump_process.js line 323)

I see similar errors if I don’t have feeds for heatpump_heat or heatpump_returnT, but only when attempting to plot Carnot COP (around line 517).

Problem disappears if all necessary feeds are provided.

I have not chaged this base feeds from the first installation for almost 2 years. I dont have feeds assigned for some of the new options, but have disabled them…the should work anyway…



My own oppinion is that the app has too many option already - some of them useless. It makes the engine work more difficult, program code more complex and eventually bugs appear. At the beggining it was very nice app with everythin needed to monitor a heatpump. Cutting the presision of the COP figures to the max is useless for alot of reasons. Also real life shows that Carnot figures are also a big variable depending ot the type of heatpump and it`s manufacturer…

I’ve pushed up a minor change to try and catch this and also made heatpump_elec a required feed. It has been required for a while now.

1 Like

The app configuration page really needs a new format with all the new options. Maybe an advanced and simple mode. I also wonder if we can remove the option for a cooling and error state flag feeds as auto detection works pretty well for these.

I completely disagree. They might be useless to you but a lot of users have requested the new features - me included. Bugs happen, but the dev response to bug reports here on the forums is outstanding. I really like the way this project is developing and that user feedback is so readily incorporated.

There still is some truth to your statement, in that it is complex for someone just starting out or returning to the app after a time without updates. The myriad of options in the MyHeatpump app could be better visually separated into essential and optional categories. Maybe some setup wizard could also be implemented that explains the individual feeds and options and hides the more advanced toggles and capabilites behind simple questions.

2 Likes

Thanks @Andre_K that is encouraging!

Agreed, I have been re-using common code used for app configuration across all the apps and I think I need to revisit that now to give a better configuration experience.

@Ivailo_Stefanov I will get this bug sorted, it’s a little more challenging as I have not been able to replicate. Any information on how to replicate would be useful (assuming the last fix attempt does not work).

2 Likes

With all the recent changes I have also seen a number of similar bugs, that were resolved by (to be performed in order):

  • Full system update in the Admin view, just to make sure you’re really on the latest version. Under “Components”, I’m on the “Master” branch
  • Update database (probably says “nothing to be updated”
  • Clear daily stats of the heatpump app via http://emonpi/app/cleardaily?name=NameOfYourHeatpumpApp

I also saw some popup windows like you or had weird daily statistics. This solved it. I’m voting for a “Go nuclear” button that just performs the shown steps :joy:.

2 Likes

I tried full update, database update and clearing daily data. Tha app reloaded all 375 days of data but hourly and daily view still not working. If I can help you in all, year, nad month view I dont see the “when running” buttons. They are active but dont see them.

Also I have locally changed process_processlist.php by adding 3 more processes for postprocessing. But this causes this message in components page:


Is Emoncms core updated except the changed file or all the core is not updated?
The situation is the same with emonhub:

Core has been updated to add the icons to the icon file, which should explain the missing icons but not the other issues.

Can you replicate the exact same configuration on your emoncms.org account, I wonder if we can replicate the same issue on there?

Could you revert to a clean unmodified install and check whether any of this still happens?

Never notice that those icon were missing but it is the same on mine


Every time selection works apart from day. It also does not select the day if you click on the bars

1 Like

I will try.

Emoncms core needs to be on 11.6.5 and the app module on 3.0.1

Make sure to do a database update as well, see last item on the Update page :slight_smile:

Do you know how to update these components manually because on full update they do not update due to local changes made?