emoncms / MyHomeEnergyPlanner

My Home Energy Planner - Open Source home energy assessment software based on emoncms framework + openbem
GNU Affero General Public License v3.0
23 stars 27 forks source link

Update emonCMS framework #335

Closed cagabi closed 6 years ago

cagabi commented 6 years ago

To the most recent stable emonCMS branch

TrystanLea commented 6 years ago

Mostly updated in this branch: https://github.com/emoncms/MyHomeEnergyPlanner/tree/emoncms9

There are still a couple of small issues around themeing & login screen

TrystanLea commented 6 years ago

I also wonder if we should move back to installing MyHomeEnergyPlanner as an emoncms module and perhaps document the modifications required that are specific to MyHomeEnergyPlanner?

i.e place assessment module in modules folder and then change user/login view to MHEP theme etc?

TrystanLea commented 6 years ago

I've got the MyHomeEnergyPlanner as emoncms module working, I think this would be a good approach to take as we can separate the core from the mhep code and have the option of adding the ability to do energy monitoring alongside again. I think I originally merged the core into the mhep repo as I wanted to change the theme completely, subsequently I then switched back to using bootstrap and so the differences are not that great any more so it probably makes sense to move it back to being an emoncms module

Here's the module branch:

https://github.com/emoncms/MyHomeEnergyPlanner/tree/module

TrystanLea commented 6 years ago

Here's a screenshot of the mhep assessment module running in emoncms 9 with the blue navbar theme :)

screenshot

TrystanLea commented 6 years ago

I've done a bit of work on the left hand menu, so that you can resize the page for a smaller screen and have it hide but then the option to show/hide it by clicking on the main menu item in the toolbar. This needs the latest version of emoncms master to work, its quite nice! :)

mhep2

TrystanLea commented 6 years ago

I've now installed the MyHomeEnergyPlanner emoncms module on emoncms.org under Extras > MyHomeEnergyPlanner

cagabi commented 6 years ago

Trystan, great job! Thank you very much :)

cagabi commented 6 years ago

For those who move from the old version to this new one and want to keep their database you need to add a column to the users table: ALTER TABLE users ADD startingpage VARCHAR(64) DEFAULT 'assessment/list';