First of all i wanted to say what excellent work you have all done, the integration is great and i have had it running for a few months.
In the UK we have Octopus Agile tariff and there are some specific settings for battery charging and discharging against this 1/2 hourly pricing, these are hidden under the plant list and revenue info.
I would like to automatically update the numbers each night based on the day ahead calculation for the next day, i can calculate the price, but i don't know how i would build this into the node red flow and trigger it to send.
I captured the API call that is sent back to update
{"id":"262605","currency":366,"invest":10000,"charges":[{"price":0,"type":"3","startRange":"","endRange":""}],"products":[{"direction":1,"ratesThreshold":14.5,"provider":1,"regionId":2},{"direction":0,"ratesThreshold":"52","provider":1,"regionId":2}]}
the two numbers are 14.5 & 52
Any help or pointing me in the right direction would be much appreciated