File tree 3 files changed +11
-2
lines changed
apps/OpenEnergyMonitor/myheatpump
3 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -999,6 +999,14 @@ function powergraph_load()
999
999
if ( heat_enabled ) heat_mean = feedstats [ "heatpump_heat" ] . mean ;
1000
1000
if ( elec_mean > 0 ) {
1001
1001
$ ( "#window-cop" ) . html ( ( heat_mean / elec_mean ) . toFixed ( 2 ) ) ;
1002
+
1003
+ var tooltip_text = "" ;
1004
+ tooltip_text += "Electric: " + feedstats [ "heatpump_elec" ] . kwh . toFixed ( 1 ) + " kWh\n" ;
1005
+ if ( feedstats [ "heatpump_heat" ] != undefined ) {
1006
+ tooltip_text += "Heat: " + feedstats [ "heatpump_heat" ] . kwh . toFixed ( 1 ) + " kWh\n" ;
1007
+ }
1008
+ $ ( "#window-cop" ) . attr ( "title" , tooltip_text ) ;
1009
+
1002
1010
if ( feedstats [ "heatpump_heat" ] != undefined ) {
1003
1011
$ ( "#standby_cop" ) . html ( ( feedstats [ "heatpump_heat" ] . kwh / ( feedstats [ "heatpump_elec" ] . kwh - standby_kwh ) ) . toFixed ( 2 ) ) ;
1004
1012
} else {
@@ -1243,6 +1251,7 @@ function bargraph_load(start,end)
1243
1251
tooltip_text += "Heat: " + heat_kwh_in_window . toFixed ( 0 ) + " kWh (" + ( heat_kwh_in_window / days_heat ) . toFixed ( 1 ) + " kWh/d)\n" ;
1244
1252
tooltip_text += "Days: " + days_elec ;
1245
1253
$ ( "#window-cop" ) . attr ( "title" , tooltip_text ) ;
1254
+
1246
1255
$ ( "#window-carnot-cop" ) . html ( "" ) ;
1247
1256
1248
1257
set_url_view_params ( 'daily' , start , end ) ;
Original file line number Diff line number Diff line change 268
268
config.name = "<?php echo $ name ; ?> ";
269
269
config.db = <?php echo json_encode ($ config ); ?> ;
270
270
</script>
271
- <script type="text/javascript" src="<?php echo $ path ; ?> Modules/app/apps/OpenEnergyMonitor/myheatpump/myheatpump.js?v=71 "></script>
271
+ <script type="text/javascript" src="<?php echo $ path ; ?> Modules/app/apps/OpenEnergyMonitor/myheatpump/myheatpump.js?v=72 "></script>
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " App" ,
3
- "version" : " 2.7.8 " ,
3
+ "version" : " 2.7.9 " ,
4
4
"location" : " /var/www/emoncms/Modules" ,
5
5
"branches_available" : [" stable" ," master" ]
6
6
}
You can’t perform that action at this time.
0 commit comments