Category Archives: Energy

Octopus Agile Tariff

Much of the optimisation of my home exploits the cost-saving potential of the Octopus Agile electricity tariff. This tariff is a radical departure from a typical UK tariff. Rather than a fixed unit price that applies 24/7, the Agile tariff exploits the smart meter to provide up to 48 different half-hourly prices per day which change day-to-day according to a formula linked to daily electricity auctions in an absolutely transparent manner.

Octopus’ transparent pricing

The prices can vary from several pence per kWh negative (i.e. being paid to use electricity) to a cap at 35 p/kWh which might apply in the early evening. That therefore places a some risk on the consumer, but equally can provide significant benefit. There are regional differences in the equation reflecting variation in the costs to distribute electricity in different parts of the country, so your formula might not be exactly the same as mine, but will be very similar.

Agile bill summary for two months ending mid-April 2020.

That average 5.02 p/kWh is not just competitive versus other tariffs – it tramples all over them. Personally I’m continually plagued by advertising claiming to save me £100s versus existing tariffs, but none ever comes remotely close to this rate. Thus, with my consumption pattern, I think that this is an unrivalled tariff. The Energy Saving Trust has calculated the average UK electricity cost at 15.75 p/kWh as at March 2019 (their latest analysis at the time of writing), so I’m currently paying a third of that average rate.

Of course you won’t ever see this tariff recommended on a switching website. Indeed, I’ve never seen any smart tariff recommended on a switching website, because they only ever seem to offer the choice between flat rate tariffs and Economy 7. In my opinion the lack of smart tariffs always denies consumers access to what may genuinely be the cheapest tariff for them by short term switches between tariffs that are pretty much alike. Those switching sites don’t want consumers to find long-term value, instead they want consumers to keep switching so that they keep earning commission.

However for me, not only have Octopus demonstrated long-term value, but they provide 100% renewable power, and are the only electricity company to be Which? recommended for 3 consecutive years. For you there’s a further £50 to be saved if you click on the image below and sign-up for any one of Octopus’ tariffs.

Octopus referral

The ‘Appiest Days of My Life

One of the consequences of integrating a smart home is the large number of different apps, web portals and potentially sources of APIs involved. The ones I use include:

TitleAppPortalAPIPurposeComment
BrightYNYReads and stores consumption from smart meter.No price data for my tariff due to smart meter limitations.
EveY /3NNEve’s alternative to Home for all HomeKit accessories with additional functionality for Eve’s own devices.I prefer this to Home for editing rules.
I use Eve products mostly for central heating control.
HomeY /3NNApple’s own app for the HomeKit smart home ecosystem.Need to refer to device manufacturers own apps (such as Eve or WIFIPLUG) for some configuration and data.
HEMSNYN My own web portal to view HEMS schedule and status via Apache web-server on Raspberry Pi.
MyImmersunYYY /1Control of ImmerSUN power diverter.Available API provides some measurement and status data as per main screen of the app.
PowervaultNYY /2Control of Powervault storage system.Available APIs provide some user scheduling and status capability.
OctoWatchdogY /3YYFuture cost, and historic costs and consumption (30 prior days) from Octopus (electricity supplier).APIs provided by Octopus.
App developed by an enthusiast using Octopus APIs.
Octopus’s own web portal provides historic consumption but does not pair this with cost. Monthly statements show graph of consumption and cost for each day.
WIFIPLUGYNYControl and measurements from own brand smart plugs.Plugs also appear in Home and Eve apps.
I use for dishwasher and washing machine.

Notes to table:

  1. APIs not officially released. Reverse-engineered by an enthusiast and available on line.
  2. APIs not officially released. Used as part of a sponsored trial when I first got the battery and re-used by myself with some manufacturer support.
  3. iOS only. Not available for Android.

Some of these apps have similarities:

  • Both Bright and OctoWatchdog show whole of house energy consumption (and potentially cost) derived from the smart meter. However they have differences too. A smart meter sits on two networks: (i) the Wide Area Network (WAN) via which the meter communicates with the energy supplier and (ii) the Home Area Network (HAN) which links the devices in the home (electricity meter, gas meter, CADs/IHD and gateway). Bright connects to the HAN via small piece of hardware called a Glow Stick Wi-Fi CAD and collects its own data in real time and stores its own records of energy consumption in the cloud; while OctoWatchdog involves no extra in-home hardware, and takes data a day in arrears from Octopus not storing anything in the cloud itself. Bright’s USP is the real time consumption and current day’s data (neither of which OctoWatchdog supports), while OctoWatchdog’s USP is the availability of electricity price which isn’t available from the meter.
  • Both Eve and Home interact with all devices in the whole HomeKit ecosystem. Eve is best for creating rules and has more ability to configure Eve’s own devices, while Home is best for sharing access with family members. WIFIPLUG’s app is more limited only interacting with their own devices, and thus cannot see Eve or other HomeKit devices.
  • Both MyImmersun and WIFIPLUG apps, and the Powervault portal, allow configuration of their own manufacturer devices. They all have, for example, timer capability and data logging. MyImmersun is better for giving a whole-of-home view showing solar panel output and net input to house (so provides a more comprehensive energy monitor), Powervault shows no solar panel output but does give a view of whole-of-home, while WIFIPLUG provides only a view of the energy consumption of devices plugged in to the WIFIPLUGs.

The Big Picture

After a series of quite detailed posts, I think that the time has come for an updated high level overview of what we have.

Heat loss from the home

We moved to our early 1970s house almost 4 years ago bringing with us our electric vehicle. The house had already been refurbished with new double-glazed windows, had cavity insulation (although that wasn’t recorded on EPC so must have predated the prior owners), and a token level of loft insulation. The existing gas boiler was arthritic, couldn’t heat the whole house, but was quite good at heating the header tanks in the loft! We had gravity-fed gas hot water (i.e. no thermostat or pump on the cylinder) which was completely obsolete, the cylinder dated back to the building of the house and had no immersion heater (although we had the wiring for one). So what did we do?

Space heating:

Eve Thermo eTRV
  • We substantially increased the loft insulation to reduce heat loss.
  • We had a modern condensing gas boiler installed to improve efficiency.
  • We updated to smart controls using eTRVs to set both temperature set points and schedules at room level. I built a smart interface to the boiler so that heating can be enabled remotely. I programmed a series of rules into Apple Home allowing the smart thermostats to enable the boiler when any thermostat wants heat and disable it when no thermostat wants heat. Some rooms also have additional rules linking heating to open windows or movement sensors. All of this reduces heat losses by only heating rooms that are (or will be shortly be) in use.

Electricity supply:

Solar panels
  • We installed our own solar panels given 4 kWp generation. (I also own a small share of a solar farm although there’s no contract that I’m aware of between that farm and my home energy supplier)
  • I invested in an immerSUN to maximise self-use of our own solar by enabling loads when surplus solar is available.
  • We switched to a green electricity supplier so when we need to buy electricity it comes from renewable sources.
  • We bought a small storage battery 4 kWh to store some of our solar production for use later in the day. Subsequently I can also use it in winter to buy when the electricity price is relatively low to avoid buying when the price is relatively high.
  • We chose a dynamic smart tariff to buy electricity at the lowest price based on market prices established the day before. The prices change each half hour and are established in the late afternoon on the day before.

Water heating:

Hot water cylinder
  • We replaced the old hot water cylinder with a modern insulated one (to reduce heat loss) with a low immersion heater (to allow more of the water volume to be heated).
  • Our principal water heating is now by diverting surplus solar electricity proportionately to the immersion heater, that’s backed up by the gas boiler which is enabled briefly in the evening for water heating in case the water isn’t yet up to temperature, and when the electricity price falls below the gas price I can enable the immersion heater on full power.
  • All accessible hot water pipes are insulated.

Electric car charger:

Electric car charger.
  • I built my own electric car charger that takes an external radio signal to switch between four settings 0, 6, 10 and 16 Amps to help me adjust consumption to match to availability of output from my solar panels. (Subsequently such products were developed commercially with continuously variable current limits, but the limitations of my immersun and on/off radio signal don’t allow me to go quite that far. Having said that my car only does 0, 6, 10 and 14 Amps so I would gain no benefit from a continuously-variable charger paired with a 4-level car).

Smart electricity controls:

Smart controls
top: HEMS (to manage bought electricity) and junction box
mid: radio transmitter (to car charger)
bottom: immersun (to manage self-consumption)
  • We have two systems for smart control of electricity:
    1. The immersun to maximise self-use of our solar electricity by proportional control of loads.
    2. A HEMS to manage the purchase of electricity (when necessary) at the lowest price by maximising consumption when the price is lowest.
  • When both systems want to enable loads (because the bought price is low and we have a surplus from our own panels) then cost is prioritised, so we’ll buy from the grid any demand not being met from our own panels.
  • Both systems are linked to 3 devices:
    1. Battery storage. The immersun is configured to work alongside the battery storage with the battery storage as the top priority to receive surplus solar PV. The HEMS can switch the status of the battery as required to charge from the grid when the price is lowest, or to discharge when the price is highest, or indeed to revert to default behaviour.
    2. Car charger. Second priority for the immersun after battery storage.
    3. Immersion heater. Third priority for the immersun after car charging.

The future

I have no firm plans for the future. I’m toying with adding to the HEMS various features including:

  • Making the display switch between GMS and BST as appropriate (it’s all UTC at the moment).
  • Edit configuration via the web interface rather than a virtual terminal.
  • Control a domestic appliance. Our washing machine was replaced relatively recently, but the dishwasher is playing up a little and may be a candiadte for HEMS integration where the optimum start time is selected to deliver lowest energy price.

Different perspectives

The above images show four different perspectives on the same day of data (April 24th) from different sources within the home.

Smart Meter HAN

Firstly, the Smart Meter HAN image shows bought electricity to the home. Each smart meter sits on a Home Area Network (HAN) which is how the In-home display provided with the meter gets its data. The in-home display is an example of a Consumer Access Device (CAD). In my case I also have a Hildebrand Glow Stick as a CAD. The Glow Stick, which looks something like an oversized USB stick, also connects as a CAD to the smart meter allowing the meter to be read. An associated app, Hildebrand’s Bright, allows the Glow Stick to be read via the cloud. In principle the Bright app can display either energy in kWh or cost, but in my case can only display energy in kWh as Octopus don’t push the price data into the smart meter so energy cost always reports as zero. The data is presented by the minute.

Smart Meter WAN

Secondly, the Smart Meter WAN image shows the same data but from the perspective of the Wide Area Network (WAN) whch connects the smart meter to the energy retailer (Octopus for me). This half-hourly data is reported via the Octo Watchdog app. The data reported is cost per kWh (the blue line) and energy consumer / kWh (the red columns). The energy data in the red columns follows that of the red line in the prior illustration but in lower resolution (half-hourly versus minute-by-minute). You can clearly see most energy being bought when the price is lowest.

Powervault

Thirdly, the Powervault image shows grid in/out and battery in/out. The green grid-in line mimics the red data from the above images. The battery in/out data is solely visible in this image. The resolution is good enough to see shorter events like kettle boil cycles.

Immersun

The final image, from the Immerun, is probably the most useful although it lacks energy price and hides battery in/out within the House data (hence ‘House’ being zero at times). The immersun alone reports output data from the solar panels and diversion to the immersion heater. It also lumps the car charger energy within ‘House’, indeed none of these views can directly report the car charger behaviour although its the dominant energy consumer here.

I’m planning to construct my own view showing all the different prices of data together in one place. I already have access to:

  1. The Immersun data via the same API called by their app. I came across a blog post that described how to do this.
  2. The Powervault data API (I only have a control API at the moment) which should give me battery in/out (at least I’m on a promise of the API at the moment).
  3. The Hilbebrand data which duplicates the Powervault Import/Export at the moment, but has the potential to provide independent monitoring of my car charger.

In principle then that would leave me able to report 3 x energy sources (grid, panels and battery; of which grid and battery would be bi-directional) and report 3 x energy consumers (car, water heating and home).

Export metering and battery storage

A recent discussion centred on whether, as someone in receipt of UK feed-in tariff (FiT) and having a smart meter, I should be on metered export or deemed export. I had previously been advised that my smart meter did not have an export register, but playing with the buttons revealed an active export register.

The illustration above taken from OFGEM’s Guidance for generators: Co-location of electricity storage facilities with renewable generation supported under the Renewables Obligation or Feed-in Tariff schemes (Version 2) shows a configuration like mine, but rules out metered export since I can charge my battery from the grid and then export that power back to the grid. FiT terms are that only generated renewable power can be exported for FiT payment and thus, regardless of the capability of my meter, I’m only permitted to deem export. Deemed export does not incentivise purchase of power from the grid and then export.

There could be an opportunity to use the export meter as part of an export tariff instead of the FiT export component, which wouldn’t have a restriction on buying and exporting grid power, but my high levels of self-use make this unattractive compared to deemed export at 50% of generation.

Smart meter and tariffs

Earlier in the week I received notification from my electricity and gas supplier that my 12 month contract was coming to an end.  I did my usual search for the best value Economy 7 tariff but drew a blank – everything including renewal with my existing supplier was rather more expensive than I’m paying now – so I decided to be rather more adventurous.

My decision was a significant change – not just a move from Economy 7 to a smart meter, but also the addition of a smart tariff (one that changes rate multiple times per day), and indeed my chosen tariff is dynamic so it potentially changes every half hour and day-to-day.  As I don’t yet have a smart meter then I’ll continue on Economy 7 until the meter is replaced, but then adopt the dynamic tariff.  With flexible loads like electric car charging and my storage battery then I should be well equipped to make the most of such a tariff.

On the dynamic tariff rates are published each day at 4:00 PM for the next day.  Some times (not very often!) prices even go negative so one is being paid to consume.  At other times electricity is relatively expensive (early evening’s principally) but the battery should help me minimise purchases during such times.

I’ve already checked the battery storage and it has the ability to be programmed very flexibly around different electricity prices at different times of day so that it doesn’t just absorb surplus solar but charges at lower cost times to discharge at higher cost times.

I also want to explore opportunities to automate the response to tariff changes – potentially linking storage battery, car charging, and water heating to tariff as well as self-consumption.

Electricity Purchase to July 2018

In the last few days I’ve reported our status on electricity generation from our solar panels and our gas consumption, so here comes some thoughts on electricity purchase from the grid.

Starting in late 2015 after the meter was changed to Economy 7, there’s a general downward trend from November 2015 to March 2016, before my car charger project kicks in maximising use of my own solar electricity to charge my car (when available) which causes a significant drop in purchased electricity between march and April 2016.  That seasonal saving gradually drops through the autumn, although it’s interesting that by November 2016 we’re back on what seems to be a continuation of a downward trend from January to March 2016.  Electricity purchased is also significantly lower than 2015 as we enter the second year.

The second significant change is the addition of the storage battery in December 2016.  However from January to August 2017 (yellow) electricity purchased is significantly below the prior year (magenta) – potentially showing the benefit of the battery in saving electricity generated during the day to reduce consumption later in the day.  This benefit largely disappears from September to December 2017, presumably because my increased vehicle mileage after my daughter started school is offsetting the prior savings.

2018 (orange) generally falls somewhere between 2016 and 2017 as it combines both the storage battery and the higher vehicle mileage throughout the year to date.

The August 2018 figure is a projection based on the first few days of the month only, but may yet come to represent the month as a whole being a function of:  (i) record solar outputs, (ii) continuing battery storage availability, and (ii) no school in August leading to reduced mileage.

Mid-year thoughts

Summer is definitely upon us now as we enjoy the glorious summer weather.  Disappointing weather earlier in 2018 has given way to two record months in May and June which yielded the highest monthly outputs for their respective months since the system was installed back in 2015.  Some days we buy no measurable electricity or gas  (given that the electricity meter has a resolution of 1 kWh) depending on what the need to charge the car.  If the car is at home then I can fully charge it from the solar panels, whereas if the car is at away from home during the day then I may need to give it some charge overnight.  When charging overnight I have been tending to charge for the minimum number of hours up to 7:30 AM when I typically leave home on a weekday – that pattern provides for mostly Economy 7 Energy from the grid less whatever comes off the solar panels from the rising sun less whatever might be left in the PowerVault from the previous day as illustrated below:
The green ‘hill’ from around 3:30 to 7:30 AM is created by car charging.  Normally this would be seen as a rectangular block as the car charger effectively runs at a constant 10 Amps (2.3 kW) through the operating period.  However in the illustration the charging event (at least in terms of power drawn from the grid) seems rounded at both the beginning and the end.  At the beginning of the car charging period the mustard ‘Device Power Out’ curve shows the last remaining stored energy from yesterday being drawn from the PowerVault, while at the end of the charging period the ramp down is a result of increasing output from the solar panels reducing the need for power from the grid.  Hence at the moment the car charging ends there’s a sudden switch to charging the PowerVault at full power (the blue line) and some surplus power not used by the PowerVault (the purple line) – suggesting that something around 1 kW is suddenly available.  Although the purple line is described as ‘Grid Power Out’ that’s not strictly true here as much of that surplus is being diverted to make hot water (although this is invisible to the PowerVault).

After that digression, my actual purpose in making this post was to reflect upon relative energy costs and the best use of my solar power to reduce energy cost.

Energy usagePetrolDaytime ElectricityNighttime ElectricityGasSolar Electricity
Battery Storagen/an/a - no economic case to charge battery from grid during dayOptional - need to consider value of saved energy versus cost of 1 cycle of battery cycle-lifen/aSelf-use Priority #1 via PowerVault (daytime electricity -> solar)
Car ChargingManual 3rd backup (typically only used for long journeys when charging en-route becomes impractical) Manual 2nd back-upAutomated 1st backupn/aSelf-use Priority #2 via ImmerSUN (nighttime electricity -> solar)
Water Heatingn/aManual 3rd backup (never used in 3 years)Manual 2nd backup (never used in 3 years)Automated 1st backup for dull daysSelf-use Priority #3 via ImmerSUN (gas to solar)
Space Heatingn/aManual backupManual backupDefaultn/a - a summer solar surplus is a poor match to winter heating demand but could be Priority #4

 
The table above shows columns of energy sources ordered by reverse energy cost versus the major energy consumers in the house: battery storage, car charging, space heating and water heating. Energy consumers are ranked according to the value of displacing the the alternative energy course if not solar:

  1. Battery storage – I currently only charge the battery storage from solar, although there would be a seasonal economic argument to charge from cheap rate electricity if the differential between day and night rates was higher.
  2. Car charging – I generally charge on cheap night-rate electricity when I don’t have enough solar. In summer I program my car charger via the ImmerSUN’s 7-day timer to deliver sufficient charge for the day ahead, but sufficient headroom to make use of any available solar.
  3. Water heating – water heating is my 3rd priority for solar self-use and is automatically based up by the gas boiler which runs for an hour making hot water in the early evening if the tank isn’t already hot from diverted solar power during the day. The gas thermostat is also set slightly colder than the immersion heater – still very usable for a bath or shower from gas but giving some ability to delay water heating from a dull day to a following sunny day.
  4. Space heating – my space heating is generally gas. It would be possible to run a heater (or heaters) such as storage radiators via the ImmerSUN’s third output, but I consider that the cost of the heater(s) and installation is unlikely to be recouped given the major mismatch between surplus solar generally being in summer and heat demand being in winter.

Here’s a little Tonik..


Today my energy supplier Tonik wrote to me inviting me to consider solar panels, a car charger, or a storage battery – all of which I already have.  However on their website I found a wider vision of the future home which they thought could halve energy consumption. I thought it would be interesting to compare their vision with my status.

As you can see from the table below the content is quite similar, although I have more ambitious use of solar and more sophisticated smart heating management.

Tonik's VisionMy Q3 2017 statusMy Q3 2019 status
Switch to Tonik for lowest cost renewable electricity.Done.Now with Octopus
Smart meterWaiting on TonikSupplied via Octopus
Connected thermostat (whole of house device)Connected thermostats (individual room temperatures and schedules)
LED bulbsDone.
Smart tariffWithout a smart meter on nearest equivalent (Economy 7)Agile Octopus dynamic smart tariff.
Solar PV Done.
Battery storage.Done.
-Surplus solar electricity diverted to charge electric car.
-Surplus solar electricity diverted to heat water.

Solar output – 2017 Jan – Jun

2017 H1

Now that we’re half way through 2017 it seemed appropriate to have a look at energy usage from the solar panels – especially as those six months reflect the first six months with the battery storage system.

The graph is taken from my ImmerSUN smart controller which automatically diverts surplus solar electricity to the car charger or immersion heater.  The battery storage system has independent controls but its benefits can be seen via the ImmerSUN.

The purple line shows the consumption of electricity (excluding the immersion heater) and is relatively stable month by month.  Consumption is relatively large due to my electric car and cooking with electricity.

The green line shows the generation of electricity from my solar panels.  Not surprisingly output is lower in the winter, but from April we generate more electricity than we use despite our relatively high consumption.  In principle we could be electricity independent during those months but for the time of consumption not matching the time of generation.

The red line complements the green line as it shows the import or purchase of electricity from the grid, and thus reduces as the generation rises.

The blue line shows the diversion  of electricity to heat water via the immersion heater when neither the battery storage system nor the car charger can absorb the available electricity.

Finally on the graph the turquoise line shows export of electricity to the grid when all smart capability within the house to use electricity is exhausted i.e. battery storage system at maximum power or full, electric car battery full or absent, and water in cylinder is hot.

Among the numbers:

‘Savings” at £80 refer only to the value of the water heating achieved from solar electricity versus buying electricity (although our backup is mains gas).

“Self consumption” at 86% refers to the proportion of solar panel output used i.e. not exported to the grid.

“Green contribution” at 59% refers to the proportion of total electricity consumption (excluding water heating) derived from the panels rather than from the grid.