Hi Simbieki,
Thank you for your post. I would be interested to see how you are getting on with it (now over 2 years later). I would also like to see the other automations you are using.
I am trying to do similar myself;
i3 Automation Charging
Any pointers would be welcome.