I have the app working great with all 4 feeds for my grid connection with solar.
However I also have a second grid connection without solar and would therefore like to only use 2 feeds for this. The problem I have is that even if I don’t select the optional feeds they auto select from the other grid connection. I can partially mitigate this by setting the use_kwh to the same feed as import_kwh but I can’t find a way to deselect these optional feeds and therefore completely ignore the solar data from the other grid connection.
Thanks @dbrooke good point. Probably the easiest solution in this case is to rename the feed to something the auto selector wont pick up. e.g solarkwh rather than solar_kwh and then manually selecting this feed in the first app, the second will then not pick it up…
I had a look at this app, having seen encouriging 2 yr data in the other thread (and SpeakEV) from @Zarch.
Unfortunately I only have 2 weeks of data on emonCMS, but this app tells me my overall unit price will be only 6.2p.
(EV charging, solar panels and we rarely use electric oven to cook dinner)
Same question as above, is it really overall average per unit cost of energy for my usage?
A similar but related question: any way to get current Agile unit price as an input in emonCMS?
let cost_import = data.agile[z-1][1]*0.01; // conversion from p/kWh to £/kWh
total_cost_import += kwh_import*cost_import // kWH in half hour x cost £/kWh
The average unit cost and running totals are then printed to the table just below that:
var unit_cost_import = (total_cost_import/total_kwh_import);
var out = "";
out += "<tr>";
out += "<td>Import</td>";
out += "<td>"+total_kwh_import.toFixed(1)+" kWh</td>";
out += "<td>£"+total_cost_import.toFixed(2)+"</td>";
out += "<td>"+(unit_cost_import*100*1.05).toFixed(1)+"p/kWh (inc VAT)</td>";
out += "</tr>";
There’s a multiplication by 1.05 to account for 5% VAT in the final unit price there too.
I’m wondering whether it is possible to get the instantaneous price into the rest of emonCMS.
In the app, there’s a “Current Price” display. This information would be very useful to display somewhere if I were to switch to Agile. Hence it would be great if it can be made available as an Input in the input table on emonCMS.
As the data has already been pulled in, it is in the ‘database’ somewhere. Looking at the code I think a craftily constructed API call might pull the information out. @TrystanLea will be able to confirm.
The data is actually pulled straight from emoncms.org in this app rather than mirrored locally. The data is available here Emoncms - user login including options to export selected views as CSV.
@TrystanLea I notice there has been an update to this app recently. I really like the new square lines for each half-hour and the drop-down for named periods. But… the agile outgoing prices in the table below were broken in the update.
Ref. Screenshots. Between 4pm and 7pm today the outgoing price was between 10.87p and 12.26p. The line on the graph looks right, but the 3.8kW export must be worth circa. 40p not 15p as shown in the table.
Been using the Octopus Agile app for quite a few months now and found it really useful. Noticed yesterday that a newer version was available so updated and now the totals are incorrect for cost over the period selected. Agile tariffs rates are correct.
Very noticeable early this morning as the cost per kWh was 0p and the bar total for that half says 19.6p? (see photos)
So I checked the monthly totals and they are also incorrect… 450kWh coming in at £37.11 which is also incorrect. It’s actually £16.85.
If you want my data give me a shout. It’s stored locally on the EmonPi but I can upload if needed.