pv_opt icon indicating copy to clipboard operation
pv_opt copied to clipboard

Support for Free Electricity Sessions

Open stevebuk1 opened this issue 2 months ago • 5 comments

Looking to have support added for Free Electricity Sessions, as these are now appearing quite frequently.

The BottlecapDave Integration now has an entity that detects the sessions and reports current event and next event with start and end times.

I'm thinking there wouldn't be much benefit for Agile users, as the prices in these periods are expected to be zero or near zero, and it may be the case that "normal" consumption in these periods would have been high anyway making the actual cost benefit difficult to calculate. However, for Octopus Intelligent Go it would be expected that the house would have been running on battery anyway so suggest the new entity can be interrogated and used to set the import price to zero for the duration of the session.

stevebuk1 avatar Oct 24 '25 18:10 stevebuk1

May be useful for Agile, even if it did the equivalent of setting prevent discharge. today we have a 3 hour session at lunch time and it looks like we are getting little or no solar.

Any news on #417 ?

Pyinthesky99 avatar Oct 25 '25 09:10 Pyinthesky99

This would be great - I was wondering why I didn’t have charges scheduled this afternoon

lazy-pete avatar Oct 25 '25 09:10 lazy-pete

This would be great - I was wondering why I didn’t have charges scheduled this afternoon

Yes, its a different system to the Savings Sessions, that Pv_opt does support. Its only fairly recently (back end of last year) that Octopus added it to the API and then BottleCapDave added it to the Octopus Energy Integration.

stevebuk1 avatar Oct 25 '25 20:10 stevebuk1

May be useful for Agile, even if it did the equivalent of setting prevent discharge. today we have a 3 hour session at lunch time and it looks like we are getting little or no solar.

Ok no issues, I'll add it for all tariffs and one can opt in or opt out of each one via the Octopus app.

Any news on #417 ?

No I'm baffled. Everything that Pv_opt logs says the start and end entities are being updated correctly. The last bit of your most recent log is the readback from the inverter where it says the end time is at 11.30.

10:31:39     INFO:   charge            :
10:31:39     INFO:     start           : 25-Oct 10:21 BST
10:31:39     INFO:     end             : 25-Oct 11:30 BST
10:31:39     INFO:     current         : 0.0 A
10:31:39     INFO:     power           : 0.0 W
10:31:39     INFO:     active          : True 
10:31:39     INFO:   discharge         :
10:31:39     INFO:     start           : 25-Oct 09:00 BST
10:31:39     INFO:     end             : 25-Oct 09:00 BST
10:31:39     INFO:     current         : 0.0 A
10:31:39     INFO:     power           : 0.0 W
10:31:39     INFO:     active          : False 

stevebuk1 avatar Oct 25 '25 20:10 stevebuk1

I have something written and installed for this, just waiting for the next free session so I can check it works and doesn't have any other deleterious effects.

stevebuk1 avatar Nov 03 '25 21:11 stevebuk1

Released as v5.0.0-Beta-8. Unfortunately there hasn't been a Free Electricity Session to test this with so this is truly Beta.

stevebuk1 avatar Dec 07 '25 21:12 stevebuk1