Git Product home page Git Product logo

myhomeenergyplanner's Introduction

Emoncms

Emoncms is an open-source web application for processing, logging and visualising energy, temperature and other environmental data and is part of the OpenEnergyMonitor project.

Emoncms

Requirements

  • PHP (tested with 8.1.12)
  • MySQL or MariaDB (tested with 10.5.15)
  • Apache (tested with 2.4.54)
  • Redis* (tested with 6.0.16)

*Redis is recommended because it reduces the number of disk writes and therefore prolongs disk life (noticeably on SD cards e.g. Raspberry Pi). Some input-processors also require Redis and fail silently if Redis is not installed. Some environments such as shared hosting or as far as we have tried Windows servers don't support Redis hence why Emoncms has a fall back mode that allows core operation without Redis.

Documentation

View the Emoncms documentation at: https://docs.openenergymonitor.org/emoncms

Design

Emoncms timeseries database design (feed storage)

Other

Emoncms Terminology

  • Input: An incoming datasource. Each input has an associated "node" identifier and a "key" sub-identifier. Inputs are entry points, only the last value and time of the input is recorded. To record historic data a feed needs to be created from an input.
  • Input: Node: A grouping identifier for an input or feed.
  • Input: Key: A sub-identifier for items within each Node.
  • Input process list (or input processing): A list of processes* performed sequentially on each input value as it is received on that input.
  • Process: A function that can be attached to the process list of an input to change the value or to save the value to a feed*.
  • Feed: A place where data is recorded, a time-series of datapoints. The standard time-series databases used by Emoncms are PHPFina and PHPTimeSeries and were written as part of the Emoncms project.
  • For a description of what each input process does in Emoncms, see the helper note within the Emoncms input processing configuration interface.

Emoncms.org API Reference

Install

Emoncms is designed and tested to run on either Ubuntu Linux (Local, Dedicated machine or VPS) or RaspberryPi OS. It should work on other Debian Linux systems though we dont test or provide documentation for installation on these.

We do not recommend and are unable to support installation on shared hosting or XAMPP servers, shared hosting in particular has no or limited capabilities for running some of the scripts used by emoncms. There is now a large choice of low cost miniature Linux VPS hosting solutions that provide a much better installation environment at similar cost.

Recommended:

docker standalone container

An easy way to start with emoncms is to use the all-in-one docker container

A pipeline using github actions is producing builds with latest emoncms stable version for different architectures : amd64, arm64, arm/v7

These docker images, based on the alpine linux distribution, are designed for iot. Images are tagged using alpine and emoncms versions, for example alpine3.19_emoncms11.4.11.

The images have onboard :

  • the mariadb and redis databases,
  • the mosquitto mqtt broker,
  • the main modules : graph, sync, backup, dashboard and app,
  • the workers : emoncms_mqtt, service-runner and feedwriter.

You can easily :

  • deactivate the low-write
  • use an external broker.

To pull the latest image for testing :

sudo docker pull alexjunk/emoncms

More on https://emoncms-docker.github.io

Experimental

not currently up to date

Multi-platform using Docker Container

Modules

Modules can be installed by downloading or git cloning into the emoncms/Modules folder. Be sure to check for database updates in Administration menu after installing new modules. The following core modules are included on the emonSD image:

There are many other available modules such as the event module and openbem (open source building energy modelling module): check out the Emoncms repo list.

Branches

  • master - The latest and greatest developments. Potential bugs, use at your own risk! All pull-requests should be made to the master branch.

  • stable - emonPi/emonBase release branch, regularly merged from master. Slightly more tried and tested. See release change log.

Tools

  • PHPFina data file viewer - Easily explore phpfina timeseries feed engine data files directly without a full Emoncms installation. Useful for checking backups and archived data.

Android App

Google Play

GitHub Repo

Development Forum

More information

myhomeenergyplanner's People

Contributors

cagabi avatar dependabot[bot] avatar edwardball avatar glynhudson avatar hparton avatar larkery avatar michaelsuhl11 avatar reedy avatar takkaria avatar trystanlea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

myhomeenergyplanner's Issues

re-entry assessment

Hello

Right I’ve re-entered the 63 Nicholas Rd as “63 Nicholas Rd V2”

The only issues I can see are:

  1. For some reason infiltration losses (called ventilation losses at the bottom of “Fabric”) are slightly different: 102 kW in the V2 but 115 kW in old version. I have double checked my entries in the Ventilation section and all element areas but see can’t see any differences. Maybe a second set of eyes would help.

  2. The issue with energy system calc I have already shared in the github where space heat gas demand&fraction is “copied” across all gas supplied demands.

  3. Cooking comes out as 804 kWh /yr in the Ccoop appliances list but as 989 kWh/yr in the Energy system. In addition this figure is not subtracted from the overall Ccoop appliances value so is effectively counted twice.

Not a huge number of problems. But this was just baseline. Haven’t had time to start looking at measures. This has taken 3 hours.

regards

Gervase Mangwana

Waxwing Energy
07956378981
[email protected]

100% green electricity tariff - Current energy

Not clear where primary energy factors of 2.4 and 1.3 are from - most up to date factors are 1.22 for gas and 3.07 for electricity. See table 12 of SAP 2012 (this relates to issue 43 above about ensuring correct version of SAP is being used).

The text also needs to be clearer. By selecting this option it somewhat defeats 'fabric first' objectives (and means someone can go zero-carbon by switching to 'Good Energy' but doing nothing else, which is a bit of a nonsense). Householders need to be aware of this.

back compatibility 2

Also in 63 Nicholas

In addition I think the U-values for the elements I made for the roofs I don’t think are what they were when I entered the data. Interestingly they are set at 1.3 which is the U-value for our old friend CV1. I’m not 100% sure of this change but when I recalculated the U-values it came out at 3.4 so I don’t think I entered 1.3.

Measures for ventilation systems - Ventilation / planned

Need to be able to add ventilation systems as measures. eg, add a extract fans to the measures list or whole house systems (MEV, Passive or MVHR)

CARLOS TO ADD A LIBRARY IN THIS SECTION

MARIANNE NEEDS TO SEND A RUN DOWN OF LIBRARY ELEMENTS TO CARLOS

Party walls - Fabric

Party walls and floors need to have their own section on the fabric page - they're not treated in the same way as standard walls/ floors and only have a very limited number of possible u-values. Floors now have their own section but party walls also need separating out for ease of use.

Library elements tags

We need a better system of identifying when a system tag has already been used, otherwise things could be easily overwritten.

Energy System Gas Boiler glitch

When choosing gas boiler for water heating, cooking and space heating the fraction and demand has become the same in all and is the space heating demand/fraction. This of course makes overall gas demand very high.

Definitely needs sorting this

screen shot 2016-01-27 at 15 54 31

Heat losses in House Heat Loss Graphic

Please could we separate out ventilation heat losses from infiltration heat losses. Quite important to understand the difference between these two - one is unintended heat loss through drughts, one is necessary (though can be mitigated depening on vent system).

fuel costs

Figures for fuel costs in current energy are different inputs than those in Energy system
Better if they are mapped together

Library editing

Mostly when you try to edit an element that you already have entered in an assessment you are unable to change U-value and Tag. Sometimes you can and the change is made in the library itself but not in the assessment.
It is possible to edit them when using the same element in a different library.

I want to talk about this in a discussion about libraries on thursday.

Measures for hot water - Hot water use

Need to be able to display descriptive items for this in the measures list for the report, eg 'low flow shower head', 'low flow taps'.

CARLOS TO ADD A LIBRARY IN THIS SECTION

MARIANNE NEEDS TO SEND A RUN DOWN OF LIBRARY ELEMENTS TO CARLOS

Update SAP data tables

Update SAP data tables (the most recent version of SAP v9.92) and change solar gains calculation. Eg Table U5. Check issues raised by Tom (see spreadsheet called 'Tom tests')

Applying Measure the second time displays CV1

Hi Carlos,
pastedgraphic-7
pastedgraphic-6

We've come across a bug that needs to be fixed asap. It occurs when we try to add a measure to an element.

The screen shots below hopefully illustrate it clearly enough, but essentially when you go to apply a measure, come out of it, and then go back, the fields seem to have populated with the info for measure CV1 (one of Trystan's).

This happens whatever element you try to apply the measure to, and for both me and Gervase.

This is pretty high priority, as it's not possible for us to confidently apply measures until this is sorted.

Hope that's clear, but give me a call if it's not.

I'll be in the office til 5ish.

Thanks,

Marianne

Measures for appliances - Appliances

eg monitors and master-switches

AP! CARLOS TO ADD UNDER APPLIANCES UNDER 'Appliances CarbonCoop calculation' NEW SUB-HEAD WITHIN APPLIANCES

MARIANNE NEEDS TO SEND A RUN DOWN OF LIBRARY ELEMENTS TO CARLOS

NO IMPACT ON CALCS

Measures for ventilation - Ventilation

Laundry and clothes drying facilities

AP! CARLOS TO ADD UNDER 'VENTILATION AND INFILTRATION' WITHOUT EFFECTING MODEL

MARIANNE NEEDS TO SEND A RUN DOWN OF LIBRARY ELEMENTS TO CARLOS

Coloured elements

Coloured elements of tool not visible (tried in chrome, firefox and safari) Colour now visible in firefox, still not visible in chrome or safari.

Secondary heating - Energy System

Need a separate field for secondary space heating, as per SAP, with standard assumptions etc (may be multiple secondary space heating systems, so option to add more than one?). Could simply be a tick box that confirms which space heating system is 'secondary'.

Do in labelling on our notes for now - label which is primary and which is secondary heating. Something to look at for future feature.

back compatibility 1

I opened 63 Nicholas Road last week with Marianne and we found that in the Windows section of Fabric in the “subtract from” drop down every window had shifted up one in the drop down list. Also this list includes all elements including roofs and floors as well as walls. The selection glitch rotated through rotated through only the walls and floors. So "Front Brick” became “OUTRIGGER” and “Side Brick” became “Front Brick” etc.

Calla’s assessment (63 Nicholas road) has gone blank. Totally empty. Nada. Nichts. Rien. Zip. It is, you might say, an ex-assessment.

Hi
Looking at Calla’s assessment (63 Nicholas road). I can’t quite figure out what is going on with the electricity demand. I’ve ticked and filled the “Appliances Carbon Co Op calc” in the extended input.

However in Energy System I can’t see how the figure for Appliances relates to that from the above calc. It seems way too much. But the figures at the bottom of the Carbon Co OP calc seem to relate to Primary energy only. So I’m not sure where its getting the number from.

In Core Input I have ticked sap calc for lighting but not for appliances and cooking.

Ok now I’ve just gone to check something to write here and the entire assessment has gone blank. Totally empty. Nada. Nichts. Rien. Zip. It is, you might say, an ex-assessment.

Tried refresh, closing tab and re-loading but still nothing.

I expect it is in there somewhere. Seems like a similar thing that happened to the assessment with my house.

There is a definite stability issue.

Best

Gervase Mangwana

Waxwing Energy
07956378981
[email protected]

Taps

Taps section: If you change the name or the type of flow reduction in one it makes them all the same.

Windows library

Doors and Roof lights seem to be playing up. Specifically the parameters g,gl and ff disappear when using them in a different assessment (actually maybe in the same assessment in some circs. Then when you edit them other parameters drop out like Tag

Water Heating to core inputs

Move water heating to core inputs section - at present may give non-expert users false impression, as water heating energy can easily be missed from assessment. Include in this an input field to provide an overide if actual water heating energy use is known (we know the SAP calculation is an approximation, which doesn't work for all).

draught-proofing measures - Ventilation / infiltration

Need to be able to apply particular draught-proofing measures

DECISION: CREATE NEW LIBRARY FOR THIS

AP! CARLOS - WHEN 'CALCULATE BASED ON AIR TIGHTNESS TEST' IS TICKED LIBRARY CAN BE APPLIED TO - AIR PERMEABILITY VALUE

Test

Homepage not displaying as expected
heat_loss_house

Water Heating Demand

In 5 Pev assessment

water heating demand in energy system is 49000kWh.

figures in water heating section don't seem to indicate this high demand

Scroll accros

Ability to scroll across the page - this is particularly important for when we start to input assessments using tablets.

Measures wihout impact in calcs - Fabric / ventilation

Loft Hatch and access hatches - new or refurbished; eg loft storage

TO BE APPLIED UNDER ROOF; ELEMENTS TO BE GIVEN AN AREA AND ADDED AS AN ELEMENT AND A MEASURE;

MARIANNE NEEDS TO SEND A RUN DOWN OF LIBRARY ELEMENTS TO CARLOS

NO IMPACT ON CALCS

Bars - Current Energy

The bars at the bottom need to be clearly labelled so that people can understand the difference between the set of information at the top of the page and the set below their actual usage figures.

Total energy income - Energy system

Need to be clear on exactly what this is. Given current climate, and fact FIT rates are soon to be demolished, may be best to just omit any reference and base calculations solely on energy used on site vs imported from grid. (Another loose apostophe here too!)

editing windows in library

Not a biggie
When editing elements in windows library you only have to click edit and it closes. In other libraries you need to click finish after clicking edit.

Economy 7 - Current Energy

Unclear as to how economy 7 type tariffs can be taken into account here - need a second/ third mains electricity field so different tariff can be entered for day/night electricity.

This still needs resolving - if you have already selected 'electricity - economy 7' you can't then select it again in order to add another rate.

Assesment lock

Locking assessments to avoid accidental overwrite of data.

Energy system puzzles - What is going on with the electricity demand

Hi

Looking at Calla’s assessment (63 Nicholas road). I can’t quite figure out what is going on with the electricity demand. I’ve ticked and filled the “Appliances Carbon Co Op calc” in the extended input.

However in Energy System I can’t see how the figure for Appliances relates to that from the above calc. It seems way too much. But the figures at the bottom of the Carbon Co OP calc seem to relate to Primary energy only. So I’m not sure where its getting the number from.

In Core Input I have ticked sap calc for lighting but not for appliances and cooking.

Ok now I’ve just gone to check something to write here and the entire assessment has gone blank. Totally empty. Nada. Nichts. Rien. Zip. It is, you might say, an ex-assessment

Tried refresh, closing tab and re-loading but still nothing.

I expect it is in there somewhere. Seems like a similar thing that happened to the assessment with my house.

There is a definite stability issue.

Best

Gervase Mangwana

Waxwing Energy
07956378981
[email protected]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.