Hi Max! You’re going to need to provide a lot more information before we can help you solve your challenge. Everyone here is volunteering their time, so we ask people to tell us as much as you can when asking for help.
This post is a good starting point to help you formulate your question:
To also help you get started, a quick “go-echarger” search of the community led me to this discussion:
So, it seems like others have this working via MQTT, and they may be your best resource when asking for help. You might want to pick up on that discussion rather than starting anew.