Making best use of Agile with a battery and ASHP
I'm new to the forum, and finding the existing posts very helpful in planning my system. I have solar PV already, and am in the early stages of planning to change my heating from gas to an ASHP (probably >10kW) and battery storage (maybe 13kWh or thereabouts). No EV (or at least I have no off-road parking to add it to my domestic mix).
I'm attracted by the Octopus Agile tariff and the possibility afforded by using a battery to avoid the peaks in prices. I'd be very interested to hear how people do that in practice - do you do it manually (e.g. by manually choosing when your battery will charge / provide energy), or do you use some automated system?
It seems to me that there are several factors that would affect when to charge, including the Agile prices, anticipated ASHP (and non-ASHP) power use through the day, and to an extent anticipated PV generation (although I'm most concerned about the winter situation when generation is minimal).
I've read about a couple of people who use home-brew systems to automate this. I'd love to do a project like that if I had the time but I don't at the moment. I'm also aware that the GivEnergy web portal for its battery systems has some sort of integration with the Agile API, but I can't find any information about it. Does anyone use that? How sophisticated is it - for instance, will it take into account expected ASHP power demands, which may vary a lot from day to day depending on the weather?
Also, forgive my ignorant question, but in terms of programming a battery storage system to charge / store charge / provide power, is it actually the attached inverter that needs to be programmed to do this? I know that some systems (e.g. Powerwall, GivEnergy) have an inverter as part of the package. In other cases I understand that they can be from separate manufacturers (e.g. a Fronius inverter with BYD batteries). In the latter case, is it the inverter that has to provide the interface (through e.g. an app or API) to permit programming of battery behaviour?
Hello Jamesw, I’m in a similar situation as I have 8.1 kWp. of PV, 27 kWh of Tesla Powerwalls and I’m very much in favour of the Agile tariff. I have an 8 kW Daikin ASHP and a Sunamp Thermino ePV20 for my DHW needs. I did swap to Cosy tariff for a few months then swapped back to Agile; I found the timing of the cheap rate did not fit in as well as the Agile regime due to them not being symmetrical leaving a longer gap from 16:00 to the next morning for the next cheap slot.
I manually programme my Tesla app to gorge one the cheapest hours and though this takes a few minutes to do each day, I find it very satisfying finding the cleanest / cheapest times to charge the battery. I don’t know of any app that can work with my OE API and the Tesla app though OE are talking about extending the ability to integrate other storage than just GiveEnery systems. My MyEnergi Eddi is programmed to charge my DHW system during the early hours as this is usually some of the cheapest times on Agile. The Tesla integration of inverter in the Gateway keeps it all neat and I have mine set to allow discharge to grid if I wish to and this comes in very handy when Agile rates are very favourable (even plunge or negative pricing sometimes!) I have no knowledge of the other battery systems as I went for the Tesla from the start. Regards, Toodles.
Toodles, he heats his home with cold draughts and cooks his food with magnets.

Hi, @jamesw. I have the pretty much classic mix of an air source heat pump, solar PV and a battery alongside Octopus agile tariffs for both import and export. I settled on managing the mix with Home Assistant, so it was not a huge time investment to get things set up and even less of a financial investment given it’s open source software.
I have several rules set up that govern how things do what and when. I won’t go into exhaustive detail but for example:
- If the import price goes negative the battery will charge from grid.
- If the import price turns positive and the battery is set to charge from grid then this setting is turned off.
- At 4pm (the start of the expensive period) the battery will be told not to charge from grid.
- I have somewhere to set a date and time manually so that when that point is reached the battery will charge from grid. This means I can make off-the-cuff tweaks to ensure a full battery ti tide us over the expensive stretch.
- If the import price goes negative and the hot water tank is not up to temperature, tell the heat pump to work on DHW.
These are some of the decisions I’ve automated but I can, if I want, take into account the weather forecast, the solar PV forecast, whether or not there’s anyone at home and so forth. At the moment the few rules I’ve got in place cover the bulk of the efficiency maximisation sk what I have left outstanding will steadily provide fewer and fewer extra returns.
105 m2 bungalow in South East England
Mitsubishi Ecodan 8.5 kW air source heat pump
18 x 360W solar panels
1 x 6 kW GroWatt battery and SPH5000 inverter
1 x Myenergi Zappi
1 x VW ID3
Raised beds for home-grown veg and chickens for eggs
"Semper in excretia; suus solum profundum variat"
@majordennisbloodnok EMNTK what kW rating do the hens have? 🤔 Toodles.
Toodles, he heats his home with cold draughts and cooks his food with magnets.
Hi @toodles and @majordennisbloodnok, many thanks for your helpful replies. I have been contemplating using Home Assistant if a suitable off-the-shelf control solution isn't available, so it's good to know that this approach works and that there's an integration for GroWatt inverters. Your combination of rules with a possibility of manual override looks like a very practical approach.
I shall try to establish what other inverters are supported on Home Assistant, since it's not immediately obvious from its integrations page. Somewhat surprisingly, given the well-documented GivEnergy API, I can't see a GivEnergy integration. Also it's not clear to me whether the Fronius integration just allows polling of data, or also control of batter charge/discharge.

@toodles, it ranges from just a few clucks to 7 or 8 kiloSquawks depending on whether mealworms are available or not.
@jamesw, it’s worth bearing in mind that the standard Growatt integration works through Growatt’s API which is patchy at best. If you want to manage locally (I do) then one of the community integrations is the ticket. It also happens that there are certainly similar community integrations for GivEnergy; I’ve just looked. There are likely to be integrations for most of the popular inverter brands so I would focus on which inverter/battery will suit your needs and then check compatibility with Home Assistant afterwards - tail, dog, wag, let’s get the order right 😉.
Bear in mind too that although many of us download and install Home Assistant onto a spare old computer we may have picked up from somewhere, it is also possible to pick up a pre-installed Home Assistant box (Home Assistant Green, for instance, at £86).
105 m2 bungalow in South East England
Mitsubishi Ecodan 8.5 kW air source heat pump
18 x 360W solar panels
1 x 6 kW GroWatt battery and SPH5000 inverter
1 x Myenergi Zappi
1 x VW ID3
Raised beds for home-grown veg and chickens for eggs
"Semper in excretia; suus solum profundum variat"
@majordennisbloodnok Does that make them ‘Battery Fed’? 😉
Toodles, he heats his home with cold draughts and cooks his food with magnets.

Posted by: @toodles@majordennisbloodnok Does that make them ‘Battery Fed’? 😉
He, he.
Most decidedly not. They represent entirely renewable henergy.
105 m2 bungalow in South East England
Mitsubishi Ecodan 8.5 kW air source heat pump
18 x 360W solar panels
1 x 6 kW GroWatt battery and SPH5000 inverter
1 x Myenergi Zappi
1 x VW ID3
Raised beds for home-grown veg and chickens for eggs
"Semper in excretia; suus solum profundum variat"
@majordennisbloodnok Eggsellant!
Toodles, he heats his home with cold draughts and cooks his food with magnets.

105 m2 bungalow in South East England
Mitsubishi Ecodan 8.5 kW air source heat pump
18 x 360W solar panels
1 x 6 kW GroWatt battery and SPH5000 inverter
1 x Myenergi Zappi
1 x VW ID3
Raised beds for home-grown veg and chickens for eggs
"Semper in excretia; suus solum profundum variat"
@majordennisbloodnok Treading on eggshells then?
Toodles, he heats his home with cold draughts and cooks his food with magnets.

105 m2 bungalow in South East England
Mitsubishi Ecodan 8.5 kW air source heat pump
18 x 360W solar panels
1 x 6 kW GroWatt battery and SPH5000 inverter
1 x Myenergi Zappi
1 x VW ID3
Raised beds for home-grown veg and chickens for eggs
"Semper in excretia; suus solum profundum variat"
- 21 Forums
- 1,962 Topics
- 42.6 K Posts
- 66 Online
- 2,276 Members
Join Us!
Heat Pump Dramas?
Thinking about installing a heat pump but unsure where to start? Already have one but it’s not performing as expected? Or are you locked in a frustrating dispute with an installer or manufacturer? We’re here to help.
✅ Pre-Installation Planning
✅ Post-Installation Troubleshooting
✅ Performance Optimisation
✅ Complaint Support (Manufacturer & Installer)
Latest Posts
-
RE: Volumisers in Heat Pump Systems: Does Placement Matter?
@jamespa the key point, from my own logical thought pro...
By Mars , 46 seconds ago
-
RE: Newbie out of her depth – Samsung AE120RXYDEG 12kW heat pump
@bami I think if the heat loss documentation matches a ...
By bontwoody , 17 minutes ago
-
@eliuccio Hi. Firstly, I am not associated with any co...
By Heatgeek , 21 minutes ago
-
RE: What is the best strategy for operating a very oversized heat pump?
@jamespa I'm afraid that's over my head but if anyon...
By IRMartini , 46 minutes ago
-
RE: Setback savings - fact or fiction?
And here in case any one wants it is the code I used in...
By cathodeRay , 56 minutes ago
-
RE: Samsung Gen 7 R290 12kW is not behaving how I expected
Definitely its in the 20xx FSVs. Conversely it may be...
By JamesPa , 1 hour ago
-
RE: Towel rails. An unexpected final hurdle
We have both Normal Rad for heating the room and then a...
By IRMartini , 3 hours ago
-
RE: Heat Pump Sizing & Installation Costs
Perhaps useful to have installed date too? To get conte...
By Tim441 , 5 hours ago
-
RE: SolarPV tables / online calculator
I'd be interested what others find whilst using that we...
By Majordennisbloodnok , 7 hours ago
-
RE: F.788 Building circuit pump reports internal fault - Vaillant Arotherm
Guess I have to wait for engineer visit. I really hope ...
By jeegnesh , 19 hours ago
-
RE: Act now to defer the UK road tax increase on EVs
@majordennisbloodnok Damn right sir. my attempt at iron...
By Jancold , 22 hours ago
-
RE: ASHP and heating issues in new build house
That’s good gives you more capacity. It made me think, ...
By Terry1812 , 23 hours ago
-
RE: Seewet manhole cover within r290 exclusion zone
Thanks! I asked Vaillant, and they say I should be fi...
By dbrb2 , 1 day ago
-
Looking for the Grant Aerona 3 setting to turn off completely at 20 OAT
I'm running my Aerona 3 on WC and the 'warm end of that...
By damonc , 1 day ago
-
RE: Do I just go with the lowest quote for my heat pump?
So after signing in Sept in two weeks the install may s...
By Jancold , 1 day ago
-
RE: Victorian Semi Retrofit / Extension ASHP and UFH Advice
When you are renovating is always a good time, as it ma...
By JamesPa , 1 day ago
-
RE: Just one room not reaching desired temperature
Looks like this issue is now resolved. Aira installed a...
By ChandyKris , 1 day ago
-
There have been several people on the OpenEnergyMonitor...
By RobS , 2 days ago
-
RE: Say hello and introduce yourself
Good point @jamespa But that probably strengthens @ch...
By Transparent , 2 days ago
Latest Topics
-
Heat Pump Sizing & Installation Costs
By Mars 7 hours ago
-
Volumisers in Heat Pump Systems: Does Placement Matter?
By Mars 8 hours ago
-
SolarPV tables / online calculator
By MichelleC 15 hours ago
-
By Toodles 2 days ago