I'm looking to do some ghetto IO style on my Agile tariff.
At 10pm, check charge level of car, take number of half hour slots required to charge to full, use the BottleCapDave Octopus integration to find the cheapest half hour slots between 11pm-6am, and then set the Hypervolt schedule to match.
I'm currently achieving this by changing between plug and charge/schedule for each half hour period, but this could be prone to failure with internet outages, API outages etc. Setting a schedule before bedtime will allow me to receive a notification, and check its been applied so I can sleep soundly.
I think I could use the current integration to set 4 time periods and then activate the apply schedule button, but if the 30 min sessions aren't continuous there could be a few more sessions than just 4.
It would be awesome if there was a service call that just took an array of times/time tuples? Probably just exposing the API call more directly really. Or to really go to town take a BottleCapDave target rate entity as an input ;)
I may try to attempt this myself if/when I can find the time
I'm looking to do some ghetto IO style on my Agile tariff.
At 10pm, check charge level of car, take number of half hour slots required to charge to full, use the BottleCapDave Octopus integration to find the cheapest half hour slots between 11pm-6am, and then set the Hypervolt schedule to match.
I'm currently achieving this by changing between plug and charge/schedule for each half hour period, but this could be prone to failure with internet outages, API outages etc. Setting a schedule before bedtime will allow me to receive a notification, and check its been applied so I can sleep soundly.
I think I could use the current integration to set 4 time periods and then activate the apply schedule button, but if the 30 min sessions aren't continuous there could be a few more sessions than just 4.
It would be awesome if there was a service call that just took an array of times/time tuples? Probably just exposing the API call more directly really. Or to really go to town take a BottleCapDave target rate entity as an input ;)
I may try to attempt this myself if/when I can find the time