项目 / emoncms/emoncms

emoncms/emoncms

行业推荐
语言 PHP标签 emoncmsphpopenenergymonitorenergy-monitordashboardssustainability数据更新 2026-11-24 06:50:13 · 仓库 2026-11-23

一段话介绍

开源 Web 应用,用来处理、记录和可视化能源、温度及其他环境数据,属于 OpenEnergyMonitor 项目。可按[安装说明](https://docs.openenergymonitor.org/emonsd/install.html)部署,也可下载 emonSD 镜像或使用 Docker 容器;托管服务见[emoncms.org](https://emoncms.org),用户指南见[项目文档](https://docs.openenergymonitor.org/emoncms)。

本站整理,非 GitHub 官方 description。

官方 description(GitHub API 原样)
Web-app for processing, logging and visualising energy, temperature and other environmental data
1,323累计星
535Fork
—峰值日增
0上榜次数
总榜
暂未入榜
日榜
暂未入榜
周榜
暂未入榜
月榜
暂未入榜

官方快照(gh_history.db,2026-11-25):总榜 未进 Top50 · 日榜 未进 Top50 · 周榜未满 7 天基线(官方不生成) · 月榜暂无官方口径;下方四卡为站内趋势聚合(周卡按上榜次数,非官方 7 日增量窗)。

行业与场景

按行业选型 →

能耗监测与能效优化

适配系统:能源管理系统、能耗监测平台 · 得分 1.4

面向能耗采集与负荷分析建模,可用于园区/楼宇能效诊断与用能优化建议。

BI 可视化与自助分析

适配系统:BI/报表平台、自助分析平台 · 得分 1.2

提供图表渲染与自助取数能力,可作为业务看板与经营管理分析的展示层。

更多信息

以下三段按该项目自己的 GitHub README 章节摘录(可合理截断并标明);README 没有对应章节的留空,不编造。

我的用法
Emoncms可在Raspberry Pi OS、Ubuntu等Debian系统运行,需后台服务,因此不支持共享托管和XAMPP,并提供脚本、镜像、预装SD卡及Docker安装方式。
特点或设计要点
源文写明在 Raspberry Pi OS 和 Ubuntu 上做过测试,需要 PHP 8.1 及以上、MySQL 或 MariaDB,以及 Apache 的 `mod_rewrite`;建议启用 Redis,MQTT 输入可配合 Mosquitto。功能可按模块扩展,emonSD 镜像中预装图表、设备模板、仪表盘、备份和同步等模块。每个安装实例都带有输入与数据源(Feed)的 API 说明,托管站点的接口参考见 [Input API](https://emoncms.org/site/api#input) 和 [Feed API](https://emoncms.org/site/api#feed)。
局限和适用边界
Emoncms 可在无 Redis 环境下运行,但标记为需要 Redis 的输入处理进程将无法工作。
星标走势还差一天的数据,明天就能看到曲线
每天 10:30 记一次星标,连续两天后自动生成曲线
首次发现 — · 最近在榜 2026-11-13 · 语言 PHP · 贡献者 —
php

GitHub 项目主页介绍

来自 GitHub 仓库 README / 主页介绍正文,原样摘录,共 5,535 字节。

# Emoncms

Emoncms is an open source web application for processing, logging and visualising energy, temperature and other environmental data. It is part of the [OpenEnergyMonitor project](https://openenergymonitor.org).

![Emoncms](emoncms_graphic.png)

Emoncms 12 moves the interface to Bootstrap 5. See the [release notes](docs/developer/notes/bootstrap5-release.md).

## Documentation

- User guide: [docs.openenergymonitor.org/emoncms](https://docs.openenergymonitor.org/emoncms)
- Docs contents, user guide and developer docs: [docs/README.md](docs/README.md)
- Development setup: [docs/developer/development.md](docs/developer/development.md)
- Glossary of terms such as input, node, feed and process: [glossary](https://docs.openenergymonitor.org/emoncms/glossary.html)

### API

Every install includes its API reference:

- **API Help** on the **Inputs** page and **Feed API Help** on the **Feeds** page.
- `/llms-full.txt` or `/api.md`: the full reference as Markdown, for AI assistants and other tools. `/llms.txt` is a short index.

The emoncms.org reference: [Input API](https://emoncms.org/site/api#input), [Feed API](https://emoncms.org/site/api#feed).

## Install

Emoncms is tested on Raspberry Pi OS and Ubuntu. It should work on other Debian systems. Shared hosting and XAMPP are not supported, because Emoncms needs background services. A small Linux VPS works well.

- [Install with EmonScripts](https://docs.openenergymonitor.org/emonsd/install.html)
- [Download the emonSD image](https://docs.openenergymonitor.org/emonsd/download.html) for a Raspberry Pi
- [Buy an SD card with emonSD installed](https://shop.openenergymonitor.com/emonsd-pre-loaded-raspberry-pi-sd-card/)

### Docker

An [all-in-one Docker container](https://hub.docker.com/r/alexjunk/emoncms) is available for amd64, arm64 and arm/v7. It is built from the Emoncms `stable` branch on Alpine Linux, and tagged with the Alpine and Emoncms versions. It includes MariaDB, Redis, Mosquitto, the graph, sync, backup, dashboard and app modules, and the `emoncms_mqtt`, `service-runner` and `feedwriter` services.

```
sudo docker pull alexjunk/emoncms
```

See [emoncms-docker.github.io](https://emoncms-docker.github.io).

## Requirements

- PHP 8.1 or later. CI tests PHP 8.1 to 8.4.
- PHP extensions: `mysqli`, `redis`, `gettext`, `mbstring`, `curl`, `gd`, `xml`.
- MySQL or MariaDB.
- Apache with `mod_rewrite`.
- Redis, recommended.
- Mosquitto, for MQTT input.

Redis reduces disk writes, which extends the life of SD cards. Emoncms runs without Redis where it is not available, but input processes marked as needing Redis do not work.

## Modules

Install a module by cloning it into the `Modules` folder, or into `/opt/emoncms/modules` with a symlink for modules that have background scripts. Run **Update Database** on the **Admin** page after installing a module.

Modules installed on the emonSD image:

- [Graph](https://github.com/emoncms/graph): feed viewer.
- [Device](https://github.com/emoncms/device): set up inputs and feeds from device templates.
- [Dashboard](https://github.com/emoncms/dashboard): dashboard builder.
- [App](https://github.com/emoncms/app): ready-made dashboards such as My Electric Flow and My Heatpump.
- [Config](https://github.com/emoncms/config): emonHub configuration editor and log viewer.
- [Network](https://github.com/emoncms/network): WiFi and network settings.
- [Backup](https://github.com/emoncms/backup): backup, restore and SD card import.
- [Sync](https://github.com/emoncms/sync): upload or download feeds between servers.
- [Post Process](https://github.com/emoncms/postprocess): process recorded feed data.
- [Usefulscripts](https://github.com/emoncms/usefulscripts): maintenance scripts.

Other modules include [Email reports](https://github.com/emoncms/emailreport) and the [DemandShaper](https://github.com/emoncms/demandshaper). See the [Emoncms repositories](https://github.com/emoncms).

## Branches

- [master](https://github.com/emoncms/emoncms): latest development. Open pull requests against `master`.
- [stable](https://github.com/emoncms/emoncms/tree/stable): release branch, used by emonPi and emonBase updates. See the [releases](https://github.com/emoncms/emoncms/releases).

## Contributing

Please read the [state of development and contributing page](CONTRIBUTING.md) before starting significant work. Then discuss your idea with us in the issue list, by email (hello@openenergymonitor.zendesk.com), or on a call (email us to arrange one). We are happy to talk ideas through from the start. Trystan & Glyn, OpenEnergyMonitor.

Issues and pull requests made with the help of an AI agent are welcome. See [AGENTS.md](AGENTS.md).

Report security problems privately. See [SECURITY.md](SECURITY.md).

## Tools

- [PHPFina data file viewer](https://github.com/trystanlea/phpfinaview): explore PHPFina feed data files without an Emoncms install. Useful for checking backups and archived data.
- Android app: [Google Play](https://play.google.com/store/apps/details?id=org.emoncms.myapps&hl=en_GB), [source](https://github.com/emoncms/AndroidApp), [forum](https://community.openenergymonitor.org/c/emoncms/mobile-app).

## More information

- [Emoncms.org](https://emoncms.org), hosted Emoncms
- [OpenEnergyMonitor forum](https://community.openenergymonitor.org)
- [OpenEnergyMonitor](https://openenergymonitor.org)

## Licence

Emoncms is released under the GNU Affero General Public License, version 3 or later. See [LICENSE.txt](LICENSE.txt) and [COPYRIGHT.txt](COPYRIGHT.txt).
↑