Agile and Octopus Energy in HA

19 comments started 2023-10-29 last 2023-11-04
Home Automation
W
#1 Wavy Davy

Have managed to get HA up and running and added a few integrations.
Is anyone using bottlecapdaves Octopus energy integration for agile.
Been trying to set it up but cant seem to get the hang of times settings to use with agile.
Could anyone share their settings?
Thanks

G
#2 geoffreycoan

Wavy Davy there’s no real settings to have to make for agile.

Just configure the integration with your octopus account details and it’ll pickup your account and the right agile rates automatically.

When I changed from flux to agile I didn’t need to reconfigure anything, all magically worked

D
#3 deepanshus

Wavy Davy with BottleCapDave, it runs on a 24 hour cycle so the start and end time should be same. As the rates are available after 4PM, to be safe a time of around 9PM or 10PM should suffice.

When configuring the entity, make sure you select the correct meter (import, and not export) so that it can get the right rates. No other option needs selecting.

the integration will create a sensor that will come on at specific times when the rates are lowest. Based on its state, you can write an automation to charge the batter.

G
#4 geoffreycoan

A couple of useful add-on's to HA:

All of these available as HACS add-on's and I use all of them

J
#6 Jellybaby

I tried predbat couldn't get it to work, after nearly an hour gave up, left it at this

I tried following the video guide and everything the guy was doing at every stage pausing and catching up and backtracking and everything but in the logs whilst his was fine I was getting nothing but warnings so decided to give up.

Had like 10-15 tabs open in browser.

G
#7 geoffreycoan

Jellybaby the above error is because predbat hasn't calculated your forecast.

what does predbat.status say ?

the most common thing is you need to comment out the template=true line in apps.yaml

it is worth perseveering with, its worth it. If you are having problems getting it to work, you can raise an issue on the predbat github page. Trefor is very helpful

J
#8 Jellybaby

geoffreycoan ill reinstall it and see, sec

Edit
Where do I find the status?

Edit 2
Found it

Outside of the video guide on the predbat github that I followed up til the point where he had no issues but I did I couldn't find any other videos to aid in setting it up.

G
#9 geoffreycoan

Jellybaby ok thsnks, it’s not finding your historic load information on your inverter.

Assume you have givtcp installed and working? Did you change the prefix for the givtcp entities?

It should automatically find your serial number for your inverter, but for some reason it hasn’t.
Edit the apps.yaml file and find the load line, change it to match the entity from givtcp that has your load today kwh

J
#10 Jellybaby

geoffreycoan I wouldnt know how to change the entities, I worse than a noob with home assistant lol

Givtcp works fine, been collecting data like a champ.

That isn't typical usage as usually my gaming PC is off overnight but its the only thing I got to run home assistant atm and I wanted to fiddle with it.

The guy doing the video mentioned I think they had a GE system and all he done was copy and pasted the example chart and it worked for him but I get that small window you see above.

W
#11 Wavy Davy

I did manage to instal predate following his instructions, did take quite a while but have only set it to monitor as I don't have the agile info sorted out yet.

J
#12 Jellybaby

Wavy Davy Nice, I gave up and uninstalled.

W
#14 Wavy Davy

deepanshus Yes I have it installed and configured, but no idea how to use it.
What can you do with it?

D
#15 deepanshus

once you have it configured, you will get an entity for import and another for export, this can be any name you give at the time of configuration. Those two entity will switch on and off based on your configuration, ie if you asked for 3hrs of import, the entity will be on for cheapest 6 slots and you can use an automation to charge battery if the switch is on and stop charging once the state changes to off

J
#16 Jellybaby

deepanshus I did install that but in logs I was getting an error in reference to octopus for something but its not running now so not 100% what it said, something about size too big I think for log entry.

Not sure if it was related to that program specifically but didn't want to spend all evening troubleshooting it.

D
#20 deepanshus

write an automation such as this to charge whenever the entity turns on

and dont forget to write a stop automation as well...

W
#22 Wavy Davy

deepanshus Thanks for the reply, but when I set the actions to change time slots it asks for a time, I don't understand what time to set. Could you tell me what you used?