# Virtual feed support on emoncms.org

**URL:** <https://community.openenergymonitor.org/t/virtual-feed-support-on-emoncms-org/21712>\
**Category:** Emoncms.org\
**Created:** [30 October 2022 21:25 UTC](https://community.openenergymonitor.org/t/virtual-feed-support-on-emoncms-org/21712 "2022-10-30T21:25:25Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [30 October 2022 21:25 UTC](https://community.openenergymonitor.org/t/virtual-feed-support-on-emoncms-org/21712/1 "2022-10-30T21:25:26Z")

</div>

A little note to say that Virtual feeds are now finally supported on [emoncms.org](http://emoncms.org) and they are free (as they do not use disk space).

Virtual feeds were first developed by @nchaveiro to provide a way to apply post processing to feed data on the fly. Much later ([end of 2021](https://github.com/emoncms/emoncms/pull/1748)) I did a fair bit of work to optimise the implementation, making use of new features available from the underlying feed engines. I’ve been meaning to get this feature onto [emoncms.org](http://emoncms.org) since then as it can save disk space and associated costs.

* * *

Here’s a quick example of how to use a virtual feed to obtain a feed of the instantaneous COP of a heat pump assuming that you already have a heat output feed and an electricity consumption feed.

1. On the emoncms feeds page, scroll to the bottom and click on New feed. In the dialog that opens up, select the VIRTUAL Feed engine and enter a feed name and tag, e.g:

![image](https://community.openenergymonitor.org/uploads/default/original/3X/5/6/56865e3bd8e3fc215d5f94efacf1f7b3ee8d421e.png)

You should now see a new feed appear in your feed list.

2. Put a tick in the checkbox for the new virtual feed we have just created. A spanner button will appear at the top of the page. Click on this to bring up the feed process list configuration dialog:

 ![image](https://community.openenergymonitor.org/uploads/default/original/3X/f/d/fdb74cd1225192a6e7f83a2e8c6bd7e8456b51c1.png)

3. Select the Source Feed process and select your heatpump\_heat feed. Click Add. Then select a ‘/ source feed’ process and select your heatpump\_elec feed:

 ![image](https://community.openenergymonitor.org/uploads/default/original/3X/a/f/af675abc635a4a66f6bf6c4e9e142ed757c7fcb9.png)

4. Click Save to complete and then open the virtual feed in the graph view. If you are calculating COP you may want to set minimum and maximum limits on the y-axis as the calculation can momentarily go off the scale when the compressor starts and stops:

 ![image](https://community.openenergymonitor.org/uploads/default/original/3X/b/e/be7138f4dfb742954ae78650a9d10db4afbf35b6.png)

The clever thing about this feed is that it does not use any additional disk space, the COP calculation here is done on the fly from the underlying heat output and electricity consumption feeds.

Virtual feeds created on [emoncms.org](http://emoncms.org) are free, they are not included in the pay-per-feed billing given that they do not use any additional disk space 🙂

---

<div class="post-metadata">

**Author:** ![TrystanLea](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/trystanlea/32/31_2.png) [@TrystanLea](https://community.openenergymonitor.org/u/TrystanLea)\
**Post date:** [1 November 2022 13:07 UTC](https://community.openenergymonitor.org/t/virtual-feed-support-on-emoncms-org/21712/2 "2022-11-01T13:07:28Z")

</div>

The CSV data import feature is also now available on [emoncms.org](http://emoncms.org):

1. Click on ‘Import data’ at the bottom of the emoncms feed list:

![image](https://community.openenergymonitor.org/uploads/default/original/3X/3/3/33ae871cca0b1a9334f0cc645a3fea79b801d0bd.png)

2. Paste the CSV data into the window (it will check the format and work out the interval):

 ![image](https://community.openenergymonitor.org/uploads/default/original/3X/2/6/26d43450b7a06918202dd713404997a88c14c92e.png)

3. Enter a tag and name for the feed and click to Import!

---

<div class="post-metadata">

**Author:** ![rkirk](https://community.openenergymonitor.org/letter_avatar_proxy/v4/letter/r/da6949/32.png) [@rkirk](https://community.openenergymonitor.org/u/rkirk)\
**Post date:** [28 January 2023 15:17 UTC](https://community.openenergymonitor.org/t/virtual-feed-support-on-emoncms-org/21712/3 "2023-01-28T15:17:56Z")

</div>

How can a virtual feed (eg Amp calculation) be used in a dashboard?

---

<div class="post-metadata">

**Author:** ![borpin](https://community.openenergymonitor.org/user_avatar/community.openenergymonitor.org/borpin/32/193_2.png) [@borpin](https://community.openenergymonitor.org/u/borpin)\
**Post date:** [29 January 2023 13:11 UTC](https://community.openenergymonitor.org/t/virtual-feed-support-on-emoncms-org/21712/4 "2023-01-29T13:11:38Z")

</div>

@TrystanLea - one for the docs?
