A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

Emoncms

A powerful open source web application for processing, logging and visualizing energy, temperature and other environmental data.
https://github.com/emoncms/emoncms

Category: Energy Systems
Sub Category: Building Energy Monitoring

Keywords

dashboards emoncms energy-monitor openenergymonitor php sustainability

Keywords from Contributors

emonpi hardware-designs rfm12b rfm12pi rfm69cw rfm69pi varta-storage varta esp32 esp8266-arduino

Last synced: about 16 hours ago
JSON representation

Repository metadata

Web-app for processing, logging and visualising energy, temperature and other environmental data

readme.md

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


Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 4 days ago

Total Commits: 3,752
Total Committers: 141
Avg Commits per committer: 26.61
Development Distribution Score (DDS): 0.803

Commits in past year: 87
Committers in past year: 10
Avg Commits per committer in past year: 8.7
Development Distribution Score (DDS) in past year: 0.437

Name Email Commits
TrystanLea g****n@o****g 740
TrystanLea t****a@g****m 726
Emrys e****s@o****g 452
Trystan Lea t****a@g****m 274
Aymeric THIBAUT t****6 218
chaveiro n****o@g****m 205
Trystan t****n@t****) 126
Paul Reed p****d@g****m 95
trystan t****n@e****g 67
Alexandre CUER a****r@c****r 63
borpin b****n@g****m 52
Adrian Minde A****e@l****e 46
fake-name l****x@g****m 38
Dave McCraw d****e@m****k 37
AndyTaylorTweet a****y@a****k 34
Ildefonso Martínez i****a@g****m 34
Rubén de Celis Hernández r****s@i****s 33
Paul p****6 31
cagabi c****i@l****g 30
Malachi Soord i****i@g****m 27
Sam Reed s****m@r****t 26
PlaneteDomo c****t@p****m 24
CDuffers 4****4@o****m 22
Gabriele Lauricella g****u@g****m 21
Paul-Reed d****9 15
Dave d****8@h****m 14
Arjen Hiemstra a****h@m****m 14
Marco Bisioli b****i@g****m 13
Erik Karlsson e****k@i****m 11
JSidrach j****h@g****m 10
and 111 more...

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 813
Total pull requests: 1,109
Average time to close issues: 8 months
Average time to close pull requests: 24 days
Total issue authors: 302
Total pull request authors: 168
Average comments per issue: 3.26
Average comments per pull request: 2.06
Merged pull request: 917
Bot issues: 0
Bot pull requests: 0

Past year issues: 19
Past year pull requests: 24
Past year average time to close issues: 4 days
Past year average time to close pull requests: 27 days
Past year issue authors: 15
Past year pull request authors: 11
Past year average comments per issue: 2.79
Past year average comments per pull request: 2.25
Past year merged pull request: 17
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/emoncms/emoncms

Top Issue Authors

  • borpin (85)
  • TrystanLea (76)
  • pb66 (52)
  • glynhudson (39)
  • emrysr (34)
  • chaveiro (19)
  • reedy (19)
  • Paul-Reed (19)
  • danbates2 (16)
  • kumarmohan7 (10)
  • arthurlutz (8)
  • euqip (8)
  • lafrech (8)
  • inverse (6)
  • spike3312 (6)

Top Pull Request Authors

  • emrysr (207)
  • TrystanLea (135)
  • chaveiro (76)
  • thib66 (65)
  • glynhudson (57)
  • borpin (46)
  • Paul-Reed (36)
  • pb66 (32)
  • reedy (31)
  • AndyTaylorTweet (21)
  • alexandrecuer (20)
  • cagabi (18)
  • inverse (18)
  • Twincarb (17)
  • gablau (14)

Top Issue Labels

  • enhancement (127)
  • bug (98)
  • Needs User Feedback (12)
  • question (9)
  • testing required (7)
  • locale (7)
  • BuildScript (6)
  • emoncms.org (4)
  • Design (4)
  • Priority: Low (4)
  • notice (2)
  • wontfix (2)
  • admin (1)
  • documentation (1)
  • virtual feed (1)
  • androidapp (1)
  • feature request (1)
  • duplicate (1)
  • Priority: High (1)

Top Pull Request Labels

  • enhancement (8)
  • process (4)
  • Priority: Low (3)
  • testing required (2)
  • bug (2)
  • Needs User Feedback (1)
  • feature request (1)
  • mysql (1)

Dependencies

tests/package.json npm
  • selenium-standalone ^6.15.3 development
  • wdio-jasmine-framework ^0.3.6 development
  • wdio-spec-reporter ^0.1.5 development
  • webdriverajax ^2.2.0 development
  • webdriverio ^4.13.2 development
composer.json packagist
  • php-parallel-lint/php-parallel-lint ^1.2.0 development
  • ext-ctype *
  • ext-curl *
  • ext-gettext *
  • ext-json *
  • ext-mysqli *
  • ext-openssl *
.github/workflows/PHP.yml actions
  • actions/checkout v3 composite
  • shivammathur/setup-php v2 composite

Score: 12.17351329614614