I have started work on a fork from MMM-Tesla, since I could not get this working either.

It is located at https://github.com/martinburheimtingstad/MMM-Tesla2/