I put on Youtube a video that explains in detail how to connect to the serial port of Pylontech batteries. But my explanations can be applied to any serial port.
I use Nodered which is a “home automation” tool that allows you to build your own software in the form of web pages. So everything is accessible via a browser.
So for those who want to understand how I was able to dialogue with the Pylontech inverter and batteries, here is the explanation in detail.
Yes sorry, 20 minutes to view 😇 Courage 😉