I've created a simple dash for display on a mobile phone using the 'feed value' widget and 'blueline container'
I would like to add to the dashboard a feed value for the daily cost of electricity usage, but I can't seem to be able to do this.
I can get the value displayed in my dashboard using a 'dial' widget and setting the 'scale' to the unit cost of electricity, but my phone doesn't play well with the dial widgets.
Is there another way round this or could I possibly make some edits to Emoncms somewhere so that I can display this data?
Phil.T
Re: adding daily electricity cost to a dashboard using a 'feed value' widget
If you have a single rate tariff you can use a "calibration x " process, just multiply your "consumption" feed by the unit price and log to another feed "cost" which will give you a varying current cost per hour value, then use a "power to kwh/d" process to give you a "DailyCost" feed.
If you have a multi rate tarriff or solar PV it's not so straight forward, but fairly easy to do.
Paul
Re: adding daily electricity cost to a dashboard using a 'feed value' widget
Hi, thanks for the reply. I have looked at this before, would I not then be able to log the power consumed? I couldn't work out how to get both from the same feed.
Re: adding daily electricity cost to a dashboard using a 'feed value' widget
Most of the processors pass their value back so you can continue with other processing, the input processing page on emoncms.org is being updated so have a look here https://github.com/emoncms/docs/blob/master/inputprocessing.md
The energy feed processors tend to return the power value although the "power to...." processors also divide by 1000 to convert from watts to kilowatts (that can be countered by a x 1000) and can be used to count most measures watts kilowatts pence or pounds with some "level" adjustments.
Have a look at this thread http://openenergymonitor.org/emon/node/4297 although it deals with solar pv and feed-in the theory is exactly the same for consumption and cost at the end of the day.
Even if you cannot continue a processing chain it is possible to "reset" and reuse a processing chain by using the "reset to ZERO" (or on pre v8.1 emoncms or emoncms.org until v8.1 is released "allow pos" "allow neg" "add input") and add input or feed to start a fresh.
If you still need further help, post some details on what processing you currently have for more specific steps.
Paul
Re: adding daily electricity cost to a dashboard using a 'feed value' widget
I'll have a try of that tonight.
Thanks for your help Paul.
Phil.T