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…
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…
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…
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.
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).
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”
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 .
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.