Categories
Data Visualization Energy Monitoring Time Series Data Heat Pump Monitoring IoT Data Logger Solar Monitoring Home EnergyStars
Forks
Watchers
Developer links
Emoncms
Energy meters, solar systems, heat pumps, and temperature sensors report to Emoncms, which logs every reading as a time series and turns it into graphs, dashboards, and ready-made apps. Readings arrive over an HTTP input API, MQTT topics beneath emon/, or AES-encrypted posts for devices without HTTPS, from scripts, Node-RED, Home Assistant, or emonHub. Input processing calibrates values, combines inputs, converts watts to cumulative kilowatt-hours, and logs the result to a feed. Device templates configure known hardware in one step, and schedules limit processes to set time windows. The graph viewer plots feeds on two axes, groups them into daily, weekly, monthly, or annual bars, and offers feed statistics and CSV export. Virtual feeds calculate values like heat pump COP on request and store nothing; post processing rebuilds feeds from recorded data. My Electric Flow charts live solar, battery, and grid power with an energy-flow breakdown and a Tariff explorer for Octopus Agile and other time-of-use tariffs. My Heatpump reports COP and SCOP. Other apps cover boilers, solar diversion, CO2 air change rates, and the UK grid fuel mix. The dashboard editor places dials, gauges, thermometers, charts, text, and images, and a dashboard can be made public. Sync uploads feeds to another server on a schedule and downloads them for recovery; the Backup module backs up and restores data. Running on a dedicated VPS on RepoCloud with guaranteed CPU, RAM, and SSD, full root SSH access, and a browser serial console. AGPL-3.0 licensed.
Benefits
- Compact Storage for Long Histories
- A fixed-interval feed costs 4 bytes per interval, about 12 MB per year at 10-second resolution, so years of power and temperature history per feed stay small on a modest VPS disk.
- Send Data Many Different Ways
- Post JSON or CSV to input/post over HTTP, bulk-load history with input/bulk, publish to MQTT topics under emon/, or use AES-128-CBC encrypted posts when a device cannot use HTTPS.
- Solar and Heat Pump Apps Included
- My Electric Flow tracks solar, battery, and grid flows with tariff costing, and My Heatpump reports COP and SCOP; both locate feeds automatically when you use their default names.
- Keep an Offsite Copy of Feeds
- Sync uploads feeds to a second server in compact binary on a 5-minute to daily schedule, resumes after outages, and downloads them back to recover data after a failure.
Features
- Input Processing Pipeline
- Each input runs an ordered process list: scale, offset, combine with other inputs, convert power to kWh, apply schedules, then log to a feed or publish to MQTT.
- Fixed, Variable, and Virtual Feeds
- PHPFina stores fixed-interval values, PHPTimeSeries stores each value with its timestamp, and virtual feeds calculate from other feeds on read and use no disk space.
- Graph Viewer and CSV Export
- Compare feeds on left and right axes as lines, bars, points, or steps, read Min, Max, Mean, and Stdev in Feed Stats, and export CSV.
- Apps and Dashboard Builder
- Ready-made apps such as My Electric Flow and My Heatpump sit beside a widget editor with dials, gauges, charts, and images for public or private dashboards.
- Device Templates and Schedules
- Device templates create inputs, processing, and feeds for known hardware in one step, schedules gate processes by time window, and device keys limit a device to its own node.
- Docker and EmonScripts Install
- Run the all-in-one Docker image with MariaDB, Redis, and Mosquitto for amd64, arm64, and arm/v7, or build on Debian-based Linux such as Ubuntu with EmonScripts.