Web Servers

Sending Data to a Web Service

As a standalone unit, eMon Energy is a very capable data logger with an integrated web server/API interface that can provide real-time as well as historical data, using the provided graph interface, or otherwise to any web connected client. That said, there are limitations in that queries can take several seconds and the web server currently works with locally connected clients on the same WiFi network and requires port forwarding and dynamic DNS to access from outside. There is also a chance that the local datalogs could be lost along with all of the accumulated history and there is no local backup capability yet.

There are cloud based services available that will store uploaded data logger information and present that data to client applications across the internet. Some of those databases can also be installed on a private server hosted by anything from a Raspberry Pi to a commercial hosting service. eMon Energy has the capability to upload selected data while still maintaining all of its own local logging and reporting capabilities.

When one of these services becomes unavailable for any reason, eMon Energy will upload the backlog when service is restored, whether that backlog is a minute or a month.

eMon Energy can support multiple upload services simultaneously, so it's not necessary to sacrifice uploading to an influxDB database in order to participate in the PVoutput project.

To initiate configuration of any web server, hover over **Setup button** and select **Web Server**.

**Setup Menu**

click the Web Service: dropdown and select a server you would like to use from the dropdown list. Each service is designated as

  • (add) - New service specification

  • (edit) - modify existing service configuration (including delete)

**Select Web Server Menu**

When you select a server, the configuration menu for that particular server will appear. For details of configuring each unique server type, click on the heading of the corresponding section below.

eMon Monitoring Service

eMon Indonesia offers a minimal configuration service that is tailor-made for use with the eMon Energy Device. It is a InfluxDB/Grafana service.

Subscribe including a 60 day trial: https://emonindonesia.com/emondash/

eMon Dashboard

eMon Dashboard

influxDB

influxDB is a free industrial strength, open-source, schema-less time series database. It is fast, efficient and scalable. You can install on a Raspberry Pi, a home server, or a commercial web host site.

There are several excellent visualization packages that can be used to visualize and report the data.

influxDB/Grafana

grafana dashboard with influxDB

Emoncms

Emoncms is another open-source time series database that was specifically designed to handle energy monitoring data with robust set of visualization tools.

**An Emoncms Dashboard**

An Emoncms Dashboard

Like influxDB, it can be local hosted on almost any machine, including Raspberry Pi, but also is available as a relatively inexpensive pay-as-you-go cloud service at emoncms.org.