I’ve managed to get the octopus energy agile pricing working directly via a curl command as i was having issues with IFTTT delays
You may have to edit the API URL to retrieve the agile pricing for you region. Those values can be found on the octopus developers page. YOU DO NOT NEED YOUR API KEY FOR THIS TO WORK
Really getting into this now and seems a great way to make full use of Agile.
BTW my main use is to make ‘smart’ my very old Economy 7 heaters (electrician installing contactors controlled by a Sonoff which I will flash with Tasmota) avoiding cloud based issues. Going to try and use some Zigbee temperature sensors, your Agile pricing sensor and person tracking to only heat when really needed and when the price is low enough…
Interesting, thanks! I have just been looking at the tariff and thought that using HA to automate things based on the tariff would be interesting. Eg. switch on the dishwasher or tumble drier at the cheapest point overnight (yes, I appreciate the fire hazards, perhaps I need a smart smoke detector too!)
They generate the following day’s tariff daily “usually” around 4pm, so it might be possible to schedule a single download and cache it I think?
I’m currently with Bulb, but after having a SMETS2 meter installed I find I can’t actually use their best smart tariff, and they don’t have any sort of detailed usage API available, so I might jump ship…
Yes, eventually want to be a bit smarter, but at the moment just switching below/above thresholds. Want to work out how to calculate lowest cost periods* for similar reasons to you @Gareth79, and maybe start controlling my immersion heater too.
You can do this using Octopus’ IFTTT triggers already but want to move away from IFTTT as find it unreliable
I’m about to sign up for the tariff myself so I’ll be looking at this sort of thing myself. A graph with the future pricing and a red/amber/green highlight would be useful, plus perhaps a countdown to the next time period where the price is below a certain threshold. Given the price is quite seasonal, it would probably need to be based on a statistical function of the day’s pricing itself, you couldn’t say “when the price drops below 8p” or similar.
Cannot fault Octopus, customer service excellent, and with Agile, my average price for electric (now I control my Economy 7 heaters) is already at 7p/kWh and I am hoping to reduce this further using Home Assitant Automations. If you need a referral link for Octopus, this is mine - https://share.octopus.energy/ruby-gnat-30 - £50 off your first bill.
Great news, I am really enjoying making the most of the cheap periods of electricity. Here is my ‘Heating on timer’ and heating off… Warm in the morning and ready for when I get home from work. I find my Economy7 heaters take about 2 hours from start of charge to give out full heat. I am using a Conbee Zigbee stick and Xiaomi Aqara Temperature sensors for my temperature monitoring and a Sonoff Zigbee Switch to control the Contactor I have had installed at the consumer unit to turn the heaters on and off
I just get 24 hours of data starting with the current half hour period
I use the last element of the array. Octopus return the data in reverse order so [0] is the furthest away value not the current one.
You will see you get all the results - I need to work out how to use that to get the minimum value over the period which could be used in an automation.
Ordering of results returned. Default is that results are returned in reverse order from latest available figure. Valid values: * ‘period’, to give results ordered forward. * ‘-period’, (default), to give results ordered from most recent backwards.