Micro Grid Inverter Envertech integration

HI Guys,
does anyone have a step-by-step instruction for people like me who don’t have a clue :sweat_smile:

I already tried the in instruction here: https://tomapor.de/download/Envertech%20Integration.pdf but unfortunately without success.
I get this Error “Exception in </config/pyscript/getpv.py> line 11: response = task.executor(requests.post, url, headers=headers, data=payload) ^ NameError: name 'headers' is not defined

Can anyone help?